annotate configure @ 431:561acf6de39a

Changes for MacOS X.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 27 May 2003 21:23:42 +0000
parents a8015e02b590
children 0b52875e1588
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1 #! /bin/sh
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2 # Guess values for system-dependent variables and create Makefiles.
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3 # Generated by GNU Autoconf 2.57.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4 #
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6 # Free Software Foundation, Inc.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
7 # This configure script is free software; the Free Software Foundation
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
8 # gives unlimited permission to copy, distribute and modify it.
120
7d2108cbcd3e Porting DW 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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
13 # Be Bourne compatible
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
15 emulate sh
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
21 set -o posix
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
22 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
193
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
194 if expr a : '\(a\)' >/dev/null 2>&1; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
195 as_expr=expr
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
196 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
197 as_expr=false
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
198 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
199
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
200 rm -f conf$$ conf$$.exe conf$$.file
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
201 echo >conf$$.file
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
203 # We could just check for DJGPP; but this test a) works b) is more generic
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
205 if test -f conf$$.exe; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
206 # Don't use ln at all; we don't have any links
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
207 as_ln_s='cp -p'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
208 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
209 as_ln_s='ln -s'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
210 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
211 elif ln conf$$.file conf$$ 2>/dev/null; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
212 as_ln_s=ln
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
213 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
214 as_ln_s='cp -p'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
215 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
216 rm -f conf$$ conf$$.exe conf$$.file
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
224 as_executable_p="test -f"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
232
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
233 # IFS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
234 # We need space, tab and new line, in precisely that order.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
235 as_nl='
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
236 '
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
237 IFS=" $as_nl"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
238
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
242
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
243 # Name of the host.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
245 # so uname gets run too.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
246 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
247
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
248 exec 6>&1
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
249
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
250 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
251 # Initializations.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
252 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
255 cross_compiling=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
259 SHELL=${CONFIG_SHELL-/bin/sh}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
260
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
261 # Maximum number of lines to put in a shell here document.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
262 # This variable seems obsolete. It should probably be removed, and
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
263 # only ac_max_sed_lines should be used.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
264 : ${ac_max_here_lines=38}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
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 DW_SRC DW_DEFINE LIBOBJS LTLIBOBJS'
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
312 ac_subst_files=''
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
313
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
314 # Initialize some variables set by options.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
315 ac_init_help=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
316 ac_init_version=false
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
317 # The variables have the same names as the options, with
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
318 # dashes changed to underlines.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
319 cache_file=/dev/null
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
320 exec_prefix=NONE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
321 no_create=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
322 no_recursion=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
323 prefix=NONE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
324 program_prefix=NONE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
325 program_suffix=NONE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
326 program_transform_name=s,x,x,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
327 silent=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
328 site=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
329 srcdir=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
330 verbose=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
331 x_includes=NONE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
332 x_libraries=NONE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
333
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
334 # Installation directory options.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
336 # and all the variables that are supposed to be based on exec_prefix
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
337 # by default will actually change.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
338 # Use braces instead of parens because sh, perl, etc. also accept them.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
339 bindir='${exec_prefix}/bin'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
340 sbindir='${exec_prefix}/sbin'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
341 libexecdir='${exec_prefix}/libexec'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
342 datadir='${prefix}/share'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
343 sysconfdir='${prefix}/etc'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
344 sharedstatedir='${prefix}/com'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
345 localstatedir='${prefix}/var'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
346 libdir='${exec_prefix}/lib'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
347 includedir='${prefix}/include'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
348 oldincludedir='/usr/include'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
349 infodir='${prefix}/info'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
350 mandir='${prefix}/man'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
351
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
352 ac_prev=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
353 for ac_option
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
354 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
355 # If the previous option needs an argument, assign it.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
356 if test -n "$ac_prev"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
357 eval "$ac_prev=\$ac_option"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
358 ac_prev=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
359 continue
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
360 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
361
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
363
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
364 # Accept the important Cygnus configure options, so we can diagnose typos.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
365
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
366 case $ac_option in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
367
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
368 -bindir | --bindir | --bindi | --bind | --bin | --bi)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
369 ac_prev=bindir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
370 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
371 bindir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
372
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
373 -build | --build | --buil | --bui | --bu)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
374 ac_prev=build_alias ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
375 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
376 build_alias=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
377
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
378 -cache-file | --cache-file | --cache-fil | --cache-fi \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
379 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
380 ac_prev=cache_file ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
381 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
382 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
383 cache_file=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
384
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
385 --config-cache | -C)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
386 cache_file=config.cache ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
387
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
389 ac_prev=datadir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
391 | --da=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
392 datadir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
393
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
394 -disable-* | --disable-*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
395 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
399 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
400 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
401 eval "enable_$ac_feature=no" ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
402
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
403 -enable-* | --enable-*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
404 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
408 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
409 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
410 case $ac_option in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
411 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
412 *) ac_optarg=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
413 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
414 eval "enable_$ac_feature='$ac_optarg'" ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
415
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
416 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
417 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
418 | --exec | --exe | --ex)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
419 ac_prev=exec_prefix ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
420 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
421 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
422 | --exec=* | --exe=* | --ex=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
423 exec_prefix=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
424
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
425 -gas | --gas | --ga | --g)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
426 # Obsolete; use --with-gas.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
427 with_gas=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
428
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
429 -help | --help | --hel | --he | -h)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
430 ac_init_help=long ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
431 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
432 ac_init_help=recursive ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
433 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
434 ac_init_help=short ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
435
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
436 -host | --host | --hos | --ho)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
437 ac_prev=host_alias ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
438 -host=* | --host=* | --hos=* | --ho=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
439 host_alias=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
440
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
441 -includedir | --includedir | --includedi | --included | --include \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
442 | --includ | --inclu | --incl | --inc)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
443 ac_prev=includedir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
444 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
445 | --includ=* | --inclu=* | --incl=* | --inc=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
446 includedir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
447
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
448 -infodir | --infodir | --infodi | --infod | --info | --inf)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
449 ac_prev=infodir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
450 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
451 infodir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
452
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
453 -libdir | --libdir | --libdi | --libd)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
454 ac_prev=libdir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
455 -libdir=* | --libdir=* | --libdi=* | --libd=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
456 libdir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
457
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
458 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
459 | --libexe | --libex | --libe)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
460 ac_prev=libexecdir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
461 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
462 | --libexe=* | --libex=* | --libe=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
463 libexecdir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
464
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
465 -localstatedir | --localstatedir | --localstatedi | --localstated \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
466 | --localstate | --localstat | --localsta | --localst \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
467 | --locals | --local | --loca | --loc | --lo)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
468 ac_prev=localstatedir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
469 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
470 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
471 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
472 localstatedir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
473
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
474 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
475 ac_prev=mandir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
476 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
477 mandir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
478
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
479 -nfp | --nfp | --nf)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
480 # Obsolete; use --without-fp.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
481 with_fp=no ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
482
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
485 no_create=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
486
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
487 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
488 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
489 no_recursion=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
490
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
491 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
492 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
493 | --oldin | --oldi | --old | --ol | --o)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
494 ac_prev=oldincludedir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
495 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
496 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
497 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
498 oldincludedir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
499
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
500 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
501 ac_prev=prefix ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
502 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
503 prefix=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
504
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
505 -program-prefix | --program-prefix | --program-prefi | --program-pref \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
506 | --program-pre | --program-pr | --program-p)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
507 ac_prev=program_prefix ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
508 -program-prefix=* | --program-prefix=* | --program-prefi=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
509 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
510 program_prefix=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
511
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
512 -program-suffix | --program-suffix | --program-suffi | --program-suff \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
513 | --program-suf | --program-su | --program-s)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
514 ac_prev=program_suffix ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
515 -program-suffix=* | --program-suffix=* | --program-suffi=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
516 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
517 program_suffix=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
518
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
519 -program-transform-name | --program-transform-name \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
520 | --program-transform-nam | --program-transform-na \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
521 | --program-transform-n | --program-transform- \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
522 | --program-transform | --program-transfor \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
523 | --program-transfo | --program-transf \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
524 | --program-trans | --program-tran \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
525 | --progr-tra | --program-tr | --program-t)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
526 ac_prev=program_transform_name ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
527 -program-transform-name=* | --program-transform-name=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
528 | --program-transform-nam=* | --program-transform-na=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
529 | --program-transform-n=* | --program-transform-=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
530 | --program-transform=* | --program-transfor=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
531 | --program-transfo=* | --program-transf=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
532 | --program-trans=* | --program-tran=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
533 | --progr-tra=* | --program-tr=* | --program-t=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
534 program_transform_name=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
535
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
537 | -silent | --silent | --silen | --sile | --sil)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
538 silent=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
539
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
540 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
541 ac_prev=sbindir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
542 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
543 | --sbi=* | --sb=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
544 sbindir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
545
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
546 -sharedstatedir | --sharedstatedir | --sharedstatedi \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
547 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
548 | --sharedst | --shareds | --shared | --share | --shar \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
549 | --sha | --sh)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
550 ac_prev=sharedstatedir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
551 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
552 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
553 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
554 | --sha=* | --sh=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
555 sharedstatedir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
556
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
557 -site | --site | --sit)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
558 ac_prev=site ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
559 -site=* | --site=* | --sit=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
560 site=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
561
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
562 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
563 ac_prev=srcdir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
564 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
565 srcdir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
566
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
567 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
568 | --syscon | --sysco | --sysc | --sys | --sy)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
569 ac_prev=sysconfdir ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
570 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
571 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
572 sysconfdir=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
573
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
574 -target | --target | --targe | --targ | --tar | --ta | --t)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
575 ac_prev=target_alias ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
576 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
577 target_alias=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
578
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
579 -v | -verbose | --verbose | --verbos | --verbo | --verb)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
580 verbose=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
581
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
582 -version | --version | --versio | --versi | --vers | -V)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
583 ac_init_version=: ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
584
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
585 -with-* | --with-*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
586 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
590 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
591 ac_package=`echo $ac_package| sed 's/-/_/g'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
592 case $ac_option in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
593 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
594 *) ac_optarg=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
595 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
596 eval "with_$ac_package='$ac_optarg'" ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
597
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
598 -without-* | --without-*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
599 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
602 { echo "$as_me: error: invalid package name: $ac_package" >&2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
603 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
604 ac_package=`echo $ac_package | sed 's/-/_/g'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
605 eval "with_$ac_package=no" ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
606
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
607 --x)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
608 # Obsolete; use --with-x.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
609 with_x=yes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
610
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
611 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
612 | --x-incl | --x-inc | --x-in | --x-i)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
613 ac_prev=x_includes ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
614 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
615 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
616 x_includes=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
617
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
618 -x-libraries | --x-libraries | --x-librarie | --x-librari \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
619 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
620 ac_prev=x_libraries ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
621 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
622 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
623 x_libraries=$ac_optarg ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
624
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
626 Try \`$0 --help' for more information." >&2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
627 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
628 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
629
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
630 *=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
631 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
635 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
636 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
637 eval "$ac_envvar='$ac_optarg'"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
638 export $ac_envvar ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
639
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
640 *)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
641 # FIXME: should be removed in autoconf 3.0.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
646 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
647
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
648 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
649 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
650
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
651 if test -n "$ac_prev"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
652 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
653 { echo "$as_me: error: missing argument to $ac_option" >&2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
654 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
655 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
656
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
671 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
672 eval ac_val=$`echo $ac_var`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
673 case $ac_val in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
676 { (exit 1); exit 1; }; };;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
677 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
678 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
679
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
680 # There might be people who depend on the old broken behavior: `$host'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
683 build=$build_alias
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
684 host=$host_alias
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
685 target=$target_alias
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
688 if test "x$host_alias" != x; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
689 if test "x$build_alias" = x; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
690 cross_compiling=maybe
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
692 If a cross compiler is detected then cross compile mode will be used." >&2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
693 elif test "x$build_alias" != "x$host_alias"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
694 cross_compiling=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
695 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
696 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
697
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
698 ac_tool_prefix=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
699 test -n "$host_alias" && ac_tool_prefix=$host_alias-
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
700
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
701 test "$silent" = yes && exec 6>/dev/null
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
704 # Find the source files, if location was not specified.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
705 if test -z "$srcdir"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
706 ac_srcdir_defaulted=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
720 srcdir=$ac_confdir
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
721 if test ! -r $srcdir/$ac_unique_file; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
722 srcdir=..
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
723 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
724 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
725 ac_srcdir_defaulted=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
726 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
727 if test ! -r $srcdir/$ac_unique_file; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
730 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
733 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
734 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
739 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
740 ac_env_build_alias_set=${build_alias+set}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
741 ac_env_build_alias_value=$build_alias
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
742 ac_cv_env_build_alias_set=${build_alias+set}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
743 ac_cv_env_build_alias_value=$build_alias
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
744 ac_env_host_alias_set=${host_alias+set}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
745 ac_env_host_alias_value=$host_alias
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
746 ac_cv_env_host_alias_set=${host_alias+set}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
747 ac_cv_env_host_alias_value=$host_alias
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
748 ac_env_target_alias_set=${target_alias+set}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
749 ac_env_target_alias_value=$target_alias
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
750 ac_cv_env_target_alias_set=${target_alias+set}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
751 ac_cv_env_target_alias_value=$target_alias
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
752 ac_env_CC_set=${CC+set}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
753 ac_env_CC_value=$CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
754 ac_cv_env_CC_set=${CC+set}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
755 ac_cv_env_CC_value=$CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
756 ac_env_CFLAGS_set=${CFLAGS+set}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
757 ac_env_CFLAGS_value=$CFLAGS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
758 ac_cv_env_CFLAGS_set=${CFLAGS+set}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
759 ac_cv_env_CFLAGS_value=$CFLAGS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
760 ac_env_LDFLAGS_set=${LDFLAGS+set}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
761 ac_env_LDFLAGS_value=$LDFLAGS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
762 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
768 ac_env_CPP_set=${CPP+set}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
769 ac_env_CPP_value=$CPP
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
770 ac_cv_env_CPP_set=${CPP+set}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
771 ac_cv_env_CPP_value=$CPP
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
772
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
773 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
774 # Report the --help message.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
775 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
776 if test "$ac_init_help" = "long"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
777 # Omit some internal or obsolete options to make the list less imposing.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
780 \`configure' configures this package to adapt to many kinds of systems.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
781
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
782 Usage: $0 [OPTION]... [VAR=VALUE]...
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
783
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
784 To assign environment variables (e.g., CC, CFLAGS...), specify them as
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
785 VAR=VALUE. See below for descriptions of some of the useful variables.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
786
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
787 Defaults for the options are specified in brackets.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
788
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
789 Configuration:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
790 -h, --help display this help and exit
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
791 --help=short display options specific to this package
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
792 --help=recursive display the short help of all the included packages
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
793 -V, --version display version information and exit
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
794 -q, --quiet, --silent do not print \`checking...' messages
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
795 --cache-file=FILE cache test results in FILE [disabled]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
796 -C, --config-cache alias for \`--cache-file=config.cache'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
797 -n, --no-create do not create output files
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
798 --srcdir=DIR find the sources in DIR [configure dir or \`..']
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
803 Installation directories:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
804 --prefix=PREFIX install architecture-independent files in PREFIX
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
805 [$ac_default_prefix]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
806 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
807 [PREFIX]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
808
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
809 By default, \`make install' will install all the files in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
810 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
811 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
812 for instance \`--prefix=\$HOME'.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
813
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
814 For better control, use the options below.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
815
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
816 Fine tuning of the installation directories:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
817 --bindir=DIR user executables [EPREFIX/bin]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
818 --sbindir=DIR system admin executables [EPREFIX/sbin]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
819 --libexecdir=DIR program executables [EPREFIX/libexec]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
820 --datadir=DIR read-only architecture-independent data [PREFIX/share]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
821 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
822 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
823 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
824 --libdir=DIR object code libraries [EPREFIX/lib]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
825 --includedir=DIR C header files [PREFIX/include]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
826 --oldincludedir=DIR C header files for non-gcc [/usr/include]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
827 --infodir=DIR info documentation [PREFIX/info]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
833 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
834
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
835 if test -n "$ac_init_help"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
838
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
839 Optional Features:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
840 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
841 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
842 --disable-glibtest Do not try to compile and run a test GLIB program
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
843 --disable-gtktest Do not try to compile and run a test GTK program
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
844 --disable-imlibtest Do not try to compile and run a test IMLIB program
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
845
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
846 Optional Packages:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
847 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
848 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
849 --with-glib-prefix=PFX Prefix where GLIB is installed (optional)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
850 --with-glib-exec-prefix=PFX Exec prefix where GLIB is installed (optional)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
851 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
852 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
853 --with-imlib-prefix=PFX Prefix where IMLIB is installed (optional)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
854 --with-imlib-exec-prefix=PFX Exec prefix where IMLIB is installed (optional)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
855
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
856 Some influential environment variables:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
857 CC C compiler command
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
858 CFLAGS C compiler flags
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
859 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
860 nonstandard directory <lib dir>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
861 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
864
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
865 Use these variables to override the choices made by `configure' or to help
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
866 it to find libraries and programs with nonstandard names/locations.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
869 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
870
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
871 if test "$ac_init_help" = "recursive"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
872 # If there are subdirs, report their specific --help.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
918 echo
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
919 $ac_configure --help
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
922 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
923 cd $ac_popdir
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
924 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
925 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
926
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
927 test -n "$ac_init_help" && exit 0
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
932 Free Software Foundation, Inc.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
933 This configure script is free software; the Free Software Foundation
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
936 exit 0
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
937 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
940 This file contains any messages produced by compilers while
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
941 running configure, to aid debugging if configure makes a mistake.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
942
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
945
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
946 $ $0 $@
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
949 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
954
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
955 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
956 uname -m = `(uname -m) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
957 uname -r = `(uname -r) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
958 uname -s = `(uname -s) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
959 uname -v = `(uname -v) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
960
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
961 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
962 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
963
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
964 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
965 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
966 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
967 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
968 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
969 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
970 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
971
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
982 } >&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
993
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
994 # Keep a trace of the command line.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1044
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1045 # When interrupted or exit'd, cleanup temporary files, and complete
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1046 # config.log. We remove comments because anyway the quotes in there
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1050 trap 'exit_status=$?
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1062 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1063 (set) 2>&1 |
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1064 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1065 *ac_space=\ *)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1066 sed -n \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1069 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1070 *)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1073 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1122 exit $exit_status
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1123 ' 0
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1126 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1127 ac_signal=0
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1128
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1129 # confdefs.h avoids OS command line length limits that DEFS can exceed.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1130 rm -rf conftest* confdefs.h
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1131 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1132 echo >confdefs.h
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1161 # Let the site file select an alternate cache file if it wants to.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1162 # Prefer explicitly selected file to automatically selected ones.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1163 if test -z "$CONFIG_SITE"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1164 if test "x$prefix" != xNONE; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1165 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1166 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1167 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1168 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1169 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1170 for ac_site_file in $CONFIG_SITE; do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1175 . "$ac_site_file"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1176 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1177 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1178
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1179 if test -r "$cache_file"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1180 # Some versions of bash will fail to source /dev/null (special
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1181 # files actually), so we avoid doing that.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1184 echo "$as_me: loading cache $cache_file" >&6;}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1185 case $cache_file in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1186 [\\/]* | ?:[\\/]* ) . $cache_file;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1187 *) . ./$cache_file;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1188 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1189 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1192 echo "$as_me: creating cache $cache_file" >&6;}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1193 >$cache_file
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1194 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1195
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1196 # Check that the precious variables saved in the cache have kept the same
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1199 for ac_var in `(set) 2>&1 |
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1200 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1201 eval ac_old_set=\$ac_cv_env_${ac_var}_set
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1202 eval ac_new_set=\$ac_env_${ac_var}_set
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1203 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1204 eval ac_new_val="\$ac_env_${ac_var}_value"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1205 case $ac_old_set,$ac_new_set in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1214 ,);;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1215 *)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1224 fi;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1245 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1246
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1247 ac_ext=c
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1248 ac_cpp='$CPP $CPPFLAGS'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1281
7d2108cbcd3e Porting DW 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
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1285 INCLUDES="-I."
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1286
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1287 ac_ext=c
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1288 ac_cpp='$CPP $CPPFLAGS'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1292 if test -n "$ac_tool_prefix"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1293 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1294 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
1295 echo "$as_me:$LINENO: checking for $ac_word" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1296 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1297 if test "${ac_cv_prog_CC+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1298 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1299 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1300 if test -n "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1301 ac_cv_prog_CC="$CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1302 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
1303 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
1304 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
1305 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
1306 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
1307 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
1308 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
1309 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
1310 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
1311 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
1312 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
1313 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
1314 done
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1315 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1316
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1317 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1318 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1319 CC=$ac_cv_prog_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1320 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
1321 echo "$as_me:$LINENO: result: $CC" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1322 echo "${ECHO_T}$CC" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1323 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
1324 echo "$as_me:$LINENO: result: no" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1325 echo "${ECHO_T}no" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1326 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1327
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1328 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1329 if test -z "$ac_cv_prog_CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1330 ac_ct_CC=$CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1331 # Extract the first word of "gcc", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1332 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
1333 echo "$as_me:$LINENO: checking for $ac_word" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1335 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1336 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1337 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1338 if test -n "$ac_ct_CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1339 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1340 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
1341 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
1342 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
1343 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
1344 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
1345 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
1346 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
1347 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
1348 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
1349 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
1350 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
1351 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
1352 done
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1353 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1354
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1355 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1356 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1357 ac_ct_CC=$ac_cv_prog_ac_ct_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1358 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
1359 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1360 echo "${ECHO_T}$ac_ct_CC" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1361 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
1362 echo "$as_me:$LINENO: result: no" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1363 echo "${ECHO_T}no" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1364 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1365
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1366 CC=$ac_ct_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1367 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1368 CC="$ac_cv_prog_CC"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1369 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1370
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1371 if test -z "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1372 if test -n "$ac_tool_prefix"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1373 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1374 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
1375 echo "$as_me:$LINENO: checking for $ac_word" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1377 if test "${ac_cv_prog_CC+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1378 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1379 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1380 if test -n "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1381 ac_cv_prog_CC="$CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1382 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
1383 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
1384 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
1385 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
1386 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
1387 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
1388 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
1389 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
1390 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
1391 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
1392 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
1393 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
1394 done
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1395 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1396
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1397 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1398 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1399 CC=$ac_cv_prog_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1400 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
1401 echo "$as_me:$LINENO: result: $CC" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1402 echo "${ECHO_T}$CC" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1403 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
1404 echo "$as_me:$LINENO: result: no" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1405 echo "${ECHO_T}no" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1406 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1407
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1408 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1409 if test -z "$ac_cv_prog_CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1410 ac_ct_CC=$CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1411 # Extract the first word of "cc", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1412 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
1413 echo "$as_me:$LINENO: checking for $ac_word" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1414 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1415 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1416 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1417 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1418 if test -n "$ac_ct_CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1419 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1420 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
1421 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
1422 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
1423 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
1424 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
1425 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
1426 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
1427 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
1428 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
1429 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
1430 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
1431 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
1432 done
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1433 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1434
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1435 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1436 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1437 ac_ct_CC=$ac_cv_prog_ac_ct_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1438 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
1439 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1440 echo "${ECHO_T}$ac_ct_CC" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1441 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
1442 echo "$as_me:$LINENO: result: no" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1443 echo "${ECHO_T}no" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1444 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1445
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1446 CC=$ac_ct_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1447 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1448 CC="$ac_cv_prog_CC"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1449 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1450
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1451 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1452 if test -z "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1453 # Extract the first word of "cc", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1454 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
1455 echo "$as_me:$LINENO: checking for $ac_word" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1457 if test "${ac_cv_prog_CC+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1458 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1459 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1460 if test -n "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1461 ac_cv_prog_CC="$CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1462 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1463 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
1464 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
1465 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
1466 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
1467 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
1468 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
1469 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
1470 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
1471 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
1472 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
1473 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
1474 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
1475 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
1476 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
1477 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
1478 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
1479 done
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1480 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1481
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1482 if test $ac_prog_rejected = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1483 # We found a bogon in the path, so make sure we never use it.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1484 set dummy $ac_cv_prog_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1485 shift
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1486 if test $# != 0; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1487 # We chose a different compiler from the bogus one.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1488 # However, it has the same basename, so the bogon will be chosen
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1489 # first if we set CC to just the basename; use the full file name.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1490 shift
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1491 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1492 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1493 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1494 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1495 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1496 CC=$ac_cv_prog_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1497 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
1498 echo "$as_me:$LINENO: result: $CC" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1499 echo "${ECHO_T}$CC" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1500 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
1501 echo "$as_me:$LINENO: result: no" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1502 echo "${ECHO_T}no" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1503 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1504
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1505 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1506 if test -z "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1507 if test -n "$ac_tool_prefix"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1508 for ac_prog in cl
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1509 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1510 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1511 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
1512 echo "$as_me:$LINENO: checking for $ac_word" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1514 if test "${ac_cv_prog_CC+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1515 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1516 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1517 if test -n "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1518 ac_cv_prog_CC="$CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1519 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
1520 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
1521 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
1522 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
1523 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
1524 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
1525 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
1526 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
1527 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
1528 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
1529 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
1530 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
1531 done
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1532 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1533
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1534 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1535 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1536 CC=$ac_cv_prog_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1537 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
1538 echo "$as_me:$LINENO: result: $CC" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1539 echo "${ECHO_T}$CC" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1540 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
1541 echo "$as_me:$LINENO: result: no" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1542 echo "${ECHO_T}no" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1543 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1544
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1545 test -n "$CC" && break
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1546 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1547 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1548 if test -z "$CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1549 ac_ct_CC=$CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1550 for ac_prog in cl
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1551 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1552 # Extract the first word of "$ac_prog", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1553 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
1554 echo "$as_me:$LINENO: checking for $ac_word" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1556 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1557 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1558 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1559 if test -n "$ac_ct_CC"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1560 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1561 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
1562 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
1563 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
1564 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
1565 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
1566 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
1567 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
1568 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
1569 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
1570 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
1571 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
1572 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
1573 done
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1574 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1575
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1576 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1577 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1578 ac_ct_CC=$ac_cv_prog_ac_ct_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1579 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
1580 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1581 echo "${ECHO_T}$ac_ct_CC" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1582 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
1583 echo "$as_me:$LINENO: result: no" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1584 echo "${ECHO_T}no" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1585 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1586
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1587 test -n "$ac_ct_CC" && break
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1588 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1589
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1590 CC=$ac_ct_CC
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1591 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1592
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1593 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1594
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1595
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1596 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
1597 See \`config.log' for more details." >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1598 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
1599 See \`config.log' for more details." >&2;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1600 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1601
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1602 # 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
1603 echo "$as_me:$LINENO:" \
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1604 "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
1605 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
1606 { (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
1607 (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
1608 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
1609 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
1610 (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
1611 { (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
1612 (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
1613 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
1614 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
1615 (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
1616 { (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
1617 (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
1618 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
1619 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
1620 (exit $ac_status); }
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1621
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1622 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
1623 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1624 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1625 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1626 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1627 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1628 /* end confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1629
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1630 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1631 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1632 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1633
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1634 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1635 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1636 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1637 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1638 ac_clean_files_save=$ac_clean_files
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1639 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1640 # 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
1641 # It will help us diagnose broken compilers, and finding out an intuition
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1642 # 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
1643 echo "$as_me:$LINENO: checking for C compiler default output" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1644 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1645 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
1646 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1647 (eval $ac_link_default) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1648 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
1649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1650 (exit $ac_status); }; then
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
1651 # 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
1652 # 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
1653 # 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
1654
7d2108cbcd3e Porting DW 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 # 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
1656 # 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
1657 ac_cv_exeext=
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1658 # b.out is created by i960 compilers.
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1659 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
1660 do
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1661 test -f "$ac_file" || continue
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1662 case $ac_file in
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1663 *.$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
1664 ;;
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1665 conftest.$ac_ext )
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1666 # This is the source file.
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1667 ;;
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1668 [ab].out )
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1669 # We found the default executable, but exeext='' is most
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1670 # certainly right.
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1671 break;;
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1672 *.* )
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1673 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1674 # 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
1675 # 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
1676 # maintain Libtool? --akim.
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1677 export ac_cv_exeext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1678 break;;
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1679 * )
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1680 break;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1681 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1682 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1683 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1684 echo "$as_me: failed program was:" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1685 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1686
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1687 { { 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
1688 See \`config.log' for more details." >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1689 echo "$as_me: error: C compiler cannot create executables
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1690 See \`config.log' for more details." >&2;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1691 { (exit 77); exit 77; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1692 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1693
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1694 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
1695 echo "$as_me:$LINENO: result: $ac_file" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1696 echo "${ECHO_T}$ac_file" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1697
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1698 # Check the compiler produces executables we can run. If not, either
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1699 # 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
1700 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1701 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1702 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1703 # If not cross compiling, check that we can run a simple program.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1704 if test "$cross_compiling" != yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1705 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
1706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1707 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1708 ac_status=$?
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1710 (exit $ac_status); }; }; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1711 cross_compiling=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1712 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1713 if test "$cross_compiling" = maybe; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1714 cross_compiling=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1715 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
1716 { { 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
1717 If you meant to cross compile, use \`--host'.
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1718 See \`config.log' for more details." >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1719 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
1720 If you meant to cross compile, use \`--host'.
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1721 See \`config.log' for more details." >&2;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1722 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1723 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1724 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1725 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
1726 echo "$as_me:$LINENO: result: yes" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1727 echo "${ECHO_T}yes" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1728
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1729 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1730 ac_clean_files=$ac_clean_files_save
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1731 # Check the compiler produces executables we can run. If not, either
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1732 # 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
1733 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1734 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
1735 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1736 echo "${ECHO_T}$cross_compiling" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1737
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1738 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
1739 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
1740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1741 (eval $ac_link) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1742 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
1743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1744 (exit $ac_status); }; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1745 # If both `conftest.exe' and `conftest' are `present' (well, observable)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1746 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1747 # work properly (i.e., refer to `conftest.exe'), while it won't with
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1748 # `rm'.
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1749 for ac_file in conftest.exe conftest conftest.*; do
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1750 test -f "$ac_file" || continue
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1751 case $ac_file in
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1752 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1753 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1754 export ac_cv_exeext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1755 break;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1756 * ) break;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1757 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1758 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1759 else
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1760 { { 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
1761 See \`config.log' for more details." >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1762 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
1763 See \`config.log' for more details." >&2;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1764 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1765 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1766
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1767 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
1768 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1769 echo "${ECHO_T}$ac_cv_exeext" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1770
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1771 rm -f conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1772 EXEEXT=$ac_cv_exeext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1773 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
1774 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
1775 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1776 if test "${ac_cv_objext+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1777 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1778 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1779 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
1780 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1781 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1782 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1783 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1784 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1785 /* end confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1786
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1787 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1788 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1789 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1790
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1791 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1792 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1793 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1794 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1795 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
1796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1797 (eval $ac_compile) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1798 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
1799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1800 (exit $ac_status); }; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1801 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1802 case $ac_file in
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1803 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1804 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1805 break;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1806 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1807 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1808 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1809 echo "$as_me: failed program was:" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1810 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1811
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1812 { { 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
1813 See \`config.log' for more details." >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1814 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
1815 See \`config.log' for more details." >&2;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1816 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1817 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1818
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1819 rm -f conftest.$ac_cv_objext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1820 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
1821 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1822 echo "${ECHO_T}$ac_cv_objext" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1823 OBJEXT=$ac_cv_objext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1824 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
1825 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1826 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1827 if test "${ac_cv_c_compiler_gnu+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1828 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1829 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1830 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
1831 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1832 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1833 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1834 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1835 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1836 /* end confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1837
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1838 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1839 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1840 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1841 #ifndef __GNUC__
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1842 choke me
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1843 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1844
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1845 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1846 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1847 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1848 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1849 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
1850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1851 (eval $ac_compile) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1852 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
1853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1854 (exit $ac_status); } &&
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1855 { 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
1856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1857 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1858 ac_status=$?
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
1859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1860 (exit $ac_status); }; }; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1861 ac_compiler_gnu=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1862 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1863 echo "$as_me: failed program was:" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1864 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1865
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1866 ac_compiler_gnu=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1867 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1868 rm -f conftest.$ac_objext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1869 ac_cv_c_compiler_gnu=$ac_compiler_gnu
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1870
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1871 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
1872 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1873 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1874 GCC=`test $ac_compiler_gnu = yes && echo yes`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1875 ac_test_CFLAGS=${CFLAGS+set}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1876 ac_save_CFLAGS=$CFLAGS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1877 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
1878 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1879 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1880 if test "${ac_cv_prog_cc_g+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1881 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1882 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1883 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
1884 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1885 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1886 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1887 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1888 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1889 /* end confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1890
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1891 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1892 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1893 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1894
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1895 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1896 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1897 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1898 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1899 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
1900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1901 (eval $ac_compile) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1902 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
1903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1904 (exit $ac_status); } &&
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1905 { 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
1906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1907 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1908 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
1909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1910 (exit $ac_status); }; }; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1911 ac_cv_prog_cc_g=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1912 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1913 echo "$as_me: failed program was:" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1914 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1915
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1916 ac_cv_prog_cc_g=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1917 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1918 rm -f conftest.$ac_objext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1919 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
1920 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1921 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1922 if test "$ac_test_CFLAGS" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1923 CFLAGS=$ac_save_CFLAGS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1924 elif test $ac_cv_prog_cc_g = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1925 if test "$GCC" = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1926 CFLAGS="-g -O2"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1927 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1928 CFLAGS="-g"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1929 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1930 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1931 if test "$GCC" = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1932 CFLAGS="-O2"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1933 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1934 CFLAGS=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1935 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1936 fi
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1937 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
1938 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
1939 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
1940 echo $ECHO_N "(cached) $ECHO_C" >&6
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1941 else
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1942 ac_cv_prog_cc_stdc=no
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1943 ac_save_CC=$CC
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1944 cat >conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1945 #line $LINENO "configure"
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1946 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1947 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1948 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1949 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1950 /* end confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1951 #include <stdarg.h>
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1952 #include <stdio.h>
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1953 #include <sys/types.h>
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1954 #include <sys/stat.h>
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1955 /* 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
1956 struct buf { int x; };
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1957 FILE * (*rcsopen) (struct buf *, struct stat *, int);
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1958 static char *e (p, i)
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1959 char **p;
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1960 int i;
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1961 {
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1962 return p[i];
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1963 }
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1964 static char *f (char * (*g) (char **, int), char **p, ...)
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1965 {
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1966 char *s;
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1967 va_list v;
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1968 va_start (v,p);
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1969 s = g (p, va_arg (v,int));
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1970 va_end (v);
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1971 return s;
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1972 }
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1973 int test (int i, double x);
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1974 struct s1 {int (*f) (int a);};
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1975 struct s2 {int (*f) (double a);};
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1976 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
1977 int argc;
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1978 char **argv;
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1979 int
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1980 main ()
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1981 {
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1982 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
1983 ;
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1984 return 0;
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1985 }
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1986 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1987 # 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
1988 # breaks some systems' header files.
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1989 # AIX -qlanglvl=ansi
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1990 # Ultrix and OSF/1 -std1
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1991 # HP-UX 10.20 and later -Ae
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1992 # HP-UX older versions -Aa -D_HPUX_SOURCE
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1993 # SVR4 -Xc -D__EXTENSIONS__
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1994 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
1995 do
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1996 CC="$ac_save_CC $ac_arg"
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1997 rm -f conftest.$ac_objext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
1999 (eval $ac_compile) 2>&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2000 ac_status=$?
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2002 (exit $ac_status); } &&
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2003 { ac_try='test -s conftest.$ac_objext'
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2005 (eval $ac_try) 2>&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2006 ac_status=$?
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2008 (exit $ac_status); }; }; then
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2009 ac_cv_prog_cc_stdc=$ac_arg
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2010 break
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2011 else
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2012 echo "$as_me: failed program was:" >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2013 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2014
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2015 fi
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2016 rm -f conftest.$ac_objext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2017 done
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2018 rm -f conftest.$ac_ext conftest.$ac_objext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2019 CC=$ac_save_CC
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2020
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2021 fi
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2022
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2023 case "x$ac_cv_prog_cc_stdc" in
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2024 x|xno)
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2025 echo "$as_me:$LINENO: result: none needed" >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2026 echo "${ECHO_T}none needed" >&6 ;;
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2027 *)
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2028 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
2029 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2030 CC="$CC $ac_cv_prog_cc_stdc" ;;
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2031 esac
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2032
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2033 # Some people use a C++ compiler to compile C. Since we use `exit',
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2034 # in C++ we need to declare it. In case someone uses the same compiler
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2035 # for both compiling C and C++ we need to have the C++ compiler decide
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2036 # the declaration of exit, since it's the most demanding environment.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2037 cat >conftest.$ac_ext <<_ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2038 #ifndef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2039 choke me
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2040 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2041 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2042 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
2043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2044 (eval $ac_compile) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2045 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
2046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2047 (exit $ac_status); } &&
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2048 { 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
2049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2050 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2051 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
2052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2053 (exit $ac_status); }; }; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2054 for ac_declaration in \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2055 ''\
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2056 '#include <stdlib.h>' \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2057 'extern "C" void std::exit (int) throw (); using std::exit;' \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2058 'extern "C" void std::exit (int); using std::exit;' \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2059 'extern "C" void exit (int) throw ();' \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2060 'extern "C" void exit (int);' \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2061 'void exit (int);'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2062 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2063 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
2064 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2065 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2066 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2067 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2068 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2069 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2070 #include <stdlib.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2071 $ac_declaration
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2072 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2073 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2074 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2075 exit (42);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2076 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2077 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2078 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2079 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2080 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
2081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2082 (eval $ac_compile) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2083 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
2084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2085 (exit $ac_status); } &&
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2086 { 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
2087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2088 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2089 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
2090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2091 (exit $ac_status); }; }; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2092 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2093 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2094 echo "$as_me: failed program was:" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2095 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2096
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2097 continue
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2098 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2099 rm -f conftest.$ac_objext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2100 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
2101 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2102 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2103 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2104 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2105 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2106 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2107 $ac_declaration
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2108 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2109 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2110 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2111 exit (42);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2112 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2113 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2114 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2115 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2116 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
2117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2118 (eval $ac_compile) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2119 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
2120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2121 (exit $ac_status); } &&
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2122 { 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
2123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2124 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2125 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
2126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2127 (exit $ac_status); }; }; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2128 break
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2129 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2130 echo "$as_me: failed program was:" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2131 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2132
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2133 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2134 rm -f conftest.$ac_objext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2135 done
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2136 rm -f conftest*
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2137 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
2138 echo '#ifdef __cplusplus' >>confdefs.h
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2139 echo $ac_declaration >>confdefs.h
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2140 echo '#endif' >>confdefs.h
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2141 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2142
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2143 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2144 echo "$as_me: failed program was:" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2145 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2146
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2147 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2148 rm -f conftest.$ac_objext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2149 ac_ext=c
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2150 ac_cpp='$CPP $CPPFLAGS'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2154
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2155
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2156 # Extract the first word of "gmake", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2157 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
2158 echo "$as_me:$LINENO: checking for $ac_word" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2160 if test "${ac_cv_prog_MAKE+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2161 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2162 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2163 if test -n "$MAKE"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2164 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2165 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
2166 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
2167 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
2168 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
2169 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
2170 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
2171 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
2172 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
2173 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
2174 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
2175 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
2176 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
2177 done
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2178 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2179
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2180 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2181 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2182 MAKE=$ac_cv_prog_MAKE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2183 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
2184 echo "$as_me:$LINENO: result: $MAKE" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2185 echo "${ECHO_T}$MAKE" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2186 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
2187 echo "$as_me:$LINENO: result: no" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2188 echo "${ECHO_T}no" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2189 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2190
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2191 if test x"$MAKE" = x; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2192 # Extract the first word of "make", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2193 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
2194 echo "$as_me:$LINENO: checking for $ac_word" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2196 if test "${ac_cv_prog_MAKE+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2197 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2198 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2199 if test -n "$MAKE"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2200 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2201 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
2202 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
2203 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
2204 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
2205 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
2206 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
2207 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
2208 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
2209 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
2210 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
2211 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
2212 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
2213 done
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2214 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2215
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2216 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2217 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2218 MAKE=$ac_cv_prog_MAKE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2219 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
2220 echo "$as_me:$LINENO: result: $MAKE" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2221 echo "${ECHO_T}$MAKE" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2222 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
2223 echo "$as_me:$LINENO: result: no" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2224 echo "${ECHO_T}no" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2225 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2226
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2227 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2228
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2229 ac_aux_dir=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2230 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2231 if test -f $ac_dir/install-sh; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2232 ac_aux_dir=$ac_dir
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2233 ac_install_sh="$ac_aux_dir/install-sh -c"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2234 break
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2235 elif test -f $ac_dir/install.sh; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2236 ac_aux_dir=$ac_dir
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2237 ac_install_sh="$ac_aux_dir/install.sh -c"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2238 break
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2239 elif test -f $ac_dir/shtool; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2240 ac_aux_dir=$ac_dir
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2241 ac_install_sh="$ac_aux_dir/shtool install -c"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2242 break
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2243 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2244 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2245 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
2246 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2247 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2248 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2249 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2250 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2251 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2252 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2253
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2254 # Find a good install program. We prefer a C program (faster),
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2255 # so one script is as good as another. But avoid the broken or
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2256 # incompatible versions:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2257 # SysV /etc/install, /usr/sbin/install
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2258 # SunOS /usr/etc/install
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2259 # IRIX /sbin/install
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2260 # AIX /bin/install
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2261 # AmigaOS /C/install, which installs bootblocks on floppy discs
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2262 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2263 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2264 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2265 # ./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
2266 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
2267 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2268 if test -z "$INSTALL"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2269 if test "${ac_cv_path_install+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2270 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2271 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
2272 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
2273 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
2274 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
2275 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
2276 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
2277 # 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
2278 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
2279 ./ | .// | /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
2280 /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
2281 /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
2282 *)
7d2108cbcd3e Porting DW 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 # 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
2284 # 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
2285 # 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
2286 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
2287 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
2288 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
2289 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
2290 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
2291 # 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
2292 :
7d2108cbcd3e Porting DW 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 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
2294 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
2295 # 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
2296 :
7d2108cbcd3e Porting DW 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 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
2298 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
2299 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
2300 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
2301 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2302 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
2303 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
2304 ;;
7d2108cbcd3e Porting DW 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 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
2306 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
2307
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2308
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2309 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2310 if test "${ac_cv_path_install+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2311 INSTALL=$ac_cv_path_install
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2312 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2313 # As a last resort, use the slow shell script. We don't cache a
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2314 # path for INSTALL within a source directory, because that will
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2315 # break other packages using the cache if that directory is
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2316 # removed, or if the path is relative.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2317 INSTALL=$ac_install_sh
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2318 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2319 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
2320 echo "$as_me:$LINENO: result: $INSTALL" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2321 echo "${ECHO_T}$INSTALL" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2322
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2323 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2324 # It thinks the first close brace ends the variable substitution.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2325 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2326
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2327 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2328
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2329 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2330
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2331
7d2108cbcd3e Porting DW 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
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2335 ac_ext=c
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2336 ac_cpp='$CPP $CPPFLAGS'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2339 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
2340 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2341 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2342 # On Suns, sometimes $CPP names a directory.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2343 if test -n "$CPP" && test -d "$CPP"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2344 CPP=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2345 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2346 if test -z "$CPP"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2347 if test "${ac_cv_prog_CPP+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2348 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2349 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2350 # Double quotes because CPP needs to be expanded
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2351 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2352 do
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2353 ac_preproc_ok=false
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2354 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
2355 do
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2356 # 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
2357 # with a fresh cross-compiler works.
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2358 # 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
2359 # <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
2360 # 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
2361 # 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
2362 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
2363 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2364 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2365 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2366 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2367 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2368 /* end confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2369 #ifdef __STDC__
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2370 # include <limits.h>
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2371 #else
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2372 # include <assert.h>
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2373 #endif
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2374 Syntax error
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2375 _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
2376 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2377 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2378 ac_status=$?
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2379 grep -v '^ *+' conftest.er1 >conftest.err
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2380 rm -f conftest.er1
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2381 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
2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2383 (exit $ac_status); } >/dev/null; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2384 if test -s conftest.err; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2385 ac_cpp_err=$ac_c_preproc_warn_flag
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2386 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2387 ac_cpp_err=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2388 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2389 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2390 ac_cpp_err=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2391 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2392 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
2393 :
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2394 else
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2395 echo "$as_me: failed program was:" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2396 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2397
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2398 # Broken: fails on valid input.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2399 continue
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2400 fi
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2401 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
2402
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2403 # 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
2404 # can be detected and how.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2405 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
2406 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2407 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2408 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2409 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2410 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2411 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2412 #include <ac_nonexistent.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2413 _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
2414 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2415 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2416 ac_status=$?
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2417 grep -v '^ *+' conftest.er1 >conftest.err
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2418 rm -f conftest.er1
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2419 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
2420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2421 (exit $ac_status); } >/dev/null; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2422 if test -s conftest.err; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2423 ac_cpp_err=$ac_c_preproc_warn_flag
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2424 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2425 ac_cpp_err=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2426 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2427 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2428 ac_cpp_err=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2429 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2430 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
2431 # Broken: success on invalid input.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2432 continue
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2433 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2434 echo "$as_me: failed program was:" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2435 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2436
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2437 # Passes both tests.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2438 ac_preproc_ok=:
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2439 break
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2440 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2441 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
2442
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2443 done
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2444 # 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
2445 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
2446 if $ac_preproc_ok; then
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2447 break
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2448 fi
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2449
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2450 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2451 ac_cv_prog_CPP=$CPP
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2452
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2453 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2454 CPP=$ac_cv_prog_CPP
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2455 else
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2456 ac_cv_prog_CPP=$CPP
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2457 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
2458 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
2459 echo "${ECHO_T}$CPP" >&6
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2460 ac_preproc_ok=false
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2461 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
2462 do
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2463 # 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
2464 # with a fresh cross-compiler works.
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2465 # 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
2466 # <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
2467 # 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
2468 # 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
2469 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
2470 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2471 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2472 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2473 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2474 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2475 /* end confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2476 #ifdef __STDC__
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2477 # include <limits.h>
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2478 #else
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2479 # include <assert.h>
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2480 #endif
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2481 Syntax error
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2482 _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
2483 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2484 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2485 ac_status=$?
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2486 grep -v '^ *+' conftest.er1 >conftest.err
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2487 rm -f conftest.er1
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2488 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
2489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2490 (exit $ac_status); } >/dev/null; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2491 if test -s conftest.err; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2492 ac_cpp_err=$ac_c_preproc_warn_flag
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2493 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2494 ac_cpp_err=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2495 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2496 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2497 ac_cpp_err=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2498 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2499 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
2500 :
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2501 else
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2502 echo "$as_me: failed program was:" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2503 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2504
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2505 # Broken: fails on valid input.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2506 continue
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2507 fi
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2508 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
2509
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2510 # 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
2511 # can be detected and how.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2512 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
2513 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2514 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2515 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2516 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2517 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2518 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2519 #include <ac_nonexistent.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2520 _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
2521 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2522 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2523 ac_status=$?
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2524 grep -v '^ *+' conftest.er1 >conftest.err
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2525 rm -f conftest.er1
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2526 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
2527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2528 (exit $ac_status); } >/dev/null; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2529 if test -s conftest.err; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2530 ac_cpp_err=$ac_c_preproc_warn_flag
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2531 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2532 ac_cpp_err=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2533 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2534 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2535 ac_cpp_err=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2536 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2537 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
2538 # Broken: success on invalid input.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2539 continue
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2540 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2541 echo "$as_me: failed program was:" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2542 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2543
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2544 # Passes both tests.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2545 ac_preproc_ok=:
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2546 break
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2547 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2548 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
2549
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2550 done
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2551 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2552 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
2553 if $ac_preproc_ok; then
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2554 :
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2555 else
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2556 { { 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
2557 See \`config.log' for more details." >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2558 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
2559 See \`config.log' for more details." >&2;}
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2560 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2561 fi
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2562
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2563 ac_ext=c
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2564 ac_cpp='$CPP $CPPFLAGS'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2568
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2569
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2570 echo "$as_me:$LINENO: checking for egrep" >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2571 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2572 if test "${ac_cv_prog_egrep+set}" = set; then
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2573 echo $ECHO_N "(cached) $ECHO_C" >&6
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2574 else
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2575 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
2576 then ac_cv_prog_egrep='grep -E'
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2577 else ac_cv_prog_egrep='egrep'
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2578 fi
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 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
2581 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2582 EGREP=$ac_cv_prog_egrep
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2583
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2584
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2585 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2586 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2587 if test "${ac_cv_header_stdc+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2588 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2589 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2590 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
2591 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2592 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2593 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2594 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2595 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2596 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2597 #include <stdlib.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2598 #include <stdarg.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2599 #include <string.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2600 #include <float.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2601
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2602 int
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2603 main ()
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2604 {
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 return 0;
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2608 }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2609 _ACEOF
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2610 rm -f conftest.$ac_objext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2612 (eval $ac_compile) 2>&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2613 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
2614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2615 (exit $ac_status); } &&
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2616 { ac_try='test -s conftest.$ac_objext'
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2618 (eval $ac_try) 2>&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2619 ac_status=$?
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2621 (exit $ac_status); }; }; then
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2622 ac_cv_header_stdc=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2623 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2624 echo "$as_me: failed program was:" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2625 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2626
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2627 ac_cv_header_stdc=no
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2628 fi
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2629 rm -f conftest.$ac_objext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2630
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2631 if test $ac_cv_header_stdc = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2632 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2633 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
2634 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2635 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2636 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2637 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2638 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2639 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2640 #include <string.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2641
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2642 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2643 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
2644 $EGREP "memchr" >/dev/null 2>&1; then
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2645 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2646 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2647 ac_cv_header_stdc=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2648 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2649 rm -f conftest*
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2650
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2651 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2652
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2653 if test $ac_cv_header_stdc = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2654 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2655 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
2656 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2657 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2658 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2659 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2660 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2661 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2662 #include <stdlib.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2663
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2664 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2665 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
2666 $EGREP "free" >/dev/null 2>&1; then
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2667 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2668 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2669 ac_cv_header_stdc=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2670 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2671 rm -f conftest*
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2672
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2673 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2674
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2675 if test $ac_cv_header_stdc = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2676 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2677 if test "$cross_compiling" = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2678 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2679 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2680 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
2681 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2682 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2683 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2684 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2685 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2686 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2687 #include <ctype.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2688 #if ((' ' & 0x0FF) == 0x020)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2689 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2690 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2691 #else
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2692 # define ISLOWER(c) \
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2693 (('a' <= (c) && (c) <= 'i') \
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2694 || ('j' <= (c) && (c) <= 'r') \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2695 || ('s' <= (c) && (c) <= 'z'))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2696 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2697 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2698
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2699 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2700 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2701 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2702 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2703 int i;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2704 for (i = 0; i < 256; i++)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2705 if (XOR (islower (i), ISLOWER (i))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2706 || toupper (i) != TOUPPER (i))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2707 exit(2);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2708 exit (0);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2709 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2710 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2711 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
2712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2713 (eval $ac_link) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2714 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
2715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2716 (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
2717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2718 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2719 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
2720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2721 (exit $ac_status); }; }; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2722 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2723 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2724 echo "$as_me: program exited with status $ac_status" >&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2725 echo "$as_me: failed program was:" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2726 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2727
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2728 ( exit $ac_status )
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2729 ac_cv_header_stdc=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2730 fi
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2731 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2732 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2733 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2734 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
2735 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2736 echo "${ECHO_T}$ac_cv_header_stdc" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2737 if test $ac_cv_header_stdc = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2738
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2739 cat >>confdefs.h <<\_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2740 #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
2741 _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
2742
7d2108cbcd3e Porting DW 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 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
2744
7d2108cbcd3e Porting DW 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
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2749
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2750 ac_header_dirent=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2751 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
2752 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
2753 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2754 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
2755 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2756 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2757 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2758 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
2759 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2760 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2761 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2762 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2763 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2764 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2765 #include <sys/types.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2766 #include <$ac_hdr>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2767
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2768 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2769 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2770 {
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2771 if ((DIR *) 0)
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2772 return 0;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2773 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2774 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2775 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2776 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2777 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
2778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2779 (eval $ac_compile) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2780 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
2781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2782 (exit $ac_status); } &&
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2783 { 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
2784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2785 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2786 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
2787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2788 (exit $ac_status); }; }; then
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2789 eval "$as_ac_Header=yes"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2790 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2791 echo "$as_me: failed program was:" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2792 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2793
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2794 eval "$as_ac_Header=no"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2795 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2796 rm -f conftest.$ac_objext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2797 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
2798 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
2799 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
2800 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
2801 cat >>confdefs.h <<_ACEOF
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
2802 #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
2803 _ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2804
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2805 ac_header_dirent=$ac_hdr; break
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2806 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2807
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2808 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2809 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2810 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
2811 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
2812 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
2813 if test "${ac_cv_search_opendir+set}" = set; then
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2814 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2815 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
2816 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
2817 ac_cv_search_opendir=no
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2818 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
2819 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2820 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2821 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2822 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2823 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2824 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2825
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2826 /* Override any gcc2 internal prototype to avoid an error. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2827 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2828 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2829 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2830 /* We use char because int might match the return type of a gcc2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2831 builtin and then its argument prototype would still apply. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2832 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
2833 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
2834 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
2835 {
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2836 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
2837 ;
7d2108cbcd3e Porting DW 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 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
2839 }
7d2108cbcd3e Porting DW 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 _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
2841 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
2842 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
2843 (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
2844 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
2845 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
2846 (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
2847 { 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
2848 { (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
2849 (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
2850 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
2851 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
2852 (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
2853 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
2854 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
2855 echo "$as_me: failed program was:" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2856 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2857
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2858 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
2859 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
2860 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
2861 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
2862 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
2863 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
2864 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2865 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2866 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2867 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2868 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2869 /* 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
2870
7d2108cbcd3e Porting DW 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 /* 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
2872 #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
2873 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
2874 #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
2875 /* 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
2876 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
2877 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
2878 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
2879 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
2880 {
7d2108cbcd3e Porting DW 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 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
2882 ;
7d2108cbcd3e Porting DW 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 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
2884 }
7d2108cbcd3e Porting DW 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 _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
2886 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
2887 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
2888 (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
2889 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
2890 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
2891 (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
2892 { 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
2893 { (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
2894 (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
2895 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
2896 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
2897 (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
2898 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
2899 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
2900 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
2901 echo "$as_me: failed program was:" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2902 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2903
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
2904 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
2905 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
2906 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
2907 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
2908 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
2909 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
2910 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
2911 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
2912 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
2913 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
2914
7d2108cbcd3e Porting DW 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 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
2916
7d2108cbcd3e Porting DW 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 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
2918 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
2919 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
2920 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
2921 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
2922 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
2923 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
2924 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
2925 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
2926 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2927 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2928 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2929 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2930 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2931 /* 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
2932
7d2108cbcd3e Porting DW 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 /* 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
2934 #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
2935 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
2936 #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
2937 /* 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
2938 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
2939 char opendir ();
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2940 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2941 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2942 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2943 opendir ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2944 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2945 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2946 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2947 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2948 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
2949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2950 (eval $ac_link) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2951 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
2952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2953 (exit $ac_status); } &&
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2954 { 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
2955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2956 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2957 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
2958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2959 (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
2960 ac_cv_search_opendir="none required"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2961 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2962 echo "$as_me: failed program was:" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2963 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2964
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2965 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2966 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
2967 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
2968 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
2969 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
2970 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
2971 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2972 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2973 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2974 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2975 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
2976 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2977
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2978 /* Override any gcc2 internal prototype to avoid an error. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2979 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2980 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2981 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2982 /* We use char because int might match the return type of a gcc2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2983 builtin and then its argument prototype would still apply. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2984 char opendir ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2985 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2986 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2987 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2988 opendir ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2989 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2990 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2991 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2992 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2993 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
2994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2995 (eval $ac_link) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2996 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
2997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2998 (exit $ac_status); } &&
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2999 { 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
3000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3001 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3002 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
3003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3004 (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
3005 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
3006 break
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3007 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3008 echo "$as_me: failed program was:" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3009 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3010
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3011 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3012 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
3013 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
3014 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
3015 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
3016 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
3017 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
3018 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
3019 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
3020 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
3021
7d2108cbcd3e Porting DW 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 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
3023
7d2108cbcd3e Porting DW 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 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
3025
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3026 # 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
3027
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3028
7d2108cbcd3e Porting DW 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 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
3037 inttypes.h stdint.h unistd.h
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3038 do
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3039 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
3040 echo "$as_me:$LINENO: checking for $ac_header" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3041 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
3042 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3043 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3044 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3045 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
3046 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3047 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3048 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3049 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3050 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3051 /* 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
3052 $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
3053
7d2108cbcd3e Porting DW 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 #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
3055 _ACEOF
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3056 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
3057 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
3058 (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
3059 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
3060 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
3061 (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
3062 { 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
3063 { (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
3064 (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
3065 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
3066 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
3067 (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
3068 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
3069 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
3070 echo "$as_me: failed program was:" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3071 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3072
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3073 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
3074 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
3075 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
3076 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
3077 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
3078 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
3079 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
3080 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
3081 #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
3082 _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
3083
7d2108cbcd3e Porting DW 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 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
3085
7d2108cbcd3e Porting DW 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 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
3087
7d2108cbcd3e Porting DW 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 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
3091 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
3092 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
3093 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
3094 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
3095 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
3096 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
3097 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
3098 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
3099 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
3100 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
3101 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
3102 # 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
3103 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
3104 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
3105 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
3106 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3107 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3108 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3109 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3110 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3111 /* 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
3112 $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
3113 #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
3114 _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
3115 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
3116 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
3117 (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
3118 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
3119 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
3120 (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
3121 { 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
3122 { (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
3123 (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
3124 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
3125 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
3126 (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
3127 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
3128 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
3129 echo "$as_me: failed program was:" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3130 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3131
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3132 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
3133 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
3134 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
3135 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
3136 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
3137
7d2108cbcd3e Porting DW 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 # 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
3139 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
3140 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
3141 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
3142 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3143 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3144 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3145 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3146 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3147 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3148 #include <$ac_header>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3149 _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
3150 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3151 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3152 ac_status=$?
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3153 grep -v '^ *+' conftest.er1 >conftest.err
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3154 rm -f conftest.er1
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3155 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
3156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3157 (exit $ac_status); } >/dev/null; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3158 if test -s conftest.err; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3159 ac_cpp_err=$ac_c_preproc_warn_flag
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3160 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3161 ac_cpp_err=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3162 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3163 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3164 ac_cpp_err=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3165 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3166 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
3167 ac_header_preproc=yes
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3168 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3169 echo "$as_me: failed program was:" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3170 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3171
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3172 ac_header_preproc=no
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3173 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3174 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
3175 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
3176 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
3177
7d2108cbcd3e Porting DW 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 # 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
3179 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
3180 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
3181 { 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
3182 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
3183 { 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
3184 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
3185 (
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3186 cat <<\_ASBOX
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3187 ## ------------------------------------ ##
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3188 ## Report this to bug-autoconf@gnu.org. ##
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3189 ## ------------------------------------ ##
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3190 _ASBOX
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3191 ) |
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3192 sed "s/^/$as_me: WARNING: /" >&2
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3193 ;;
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3194 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
3195 { 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
3196 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
3197 { 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
3198 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
3199 { 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
3200 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
3201 (
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3202 cat <<\_ASBOX
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3203 ## ------------------------------------ ##
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3204 ## Report this to bug-autoconf@gnu.org. ##
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3205 ## ------------------------------------ ##
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3206 _ASBOX
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3207 ) |
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3208 sed "s/^/$as_me: WARNING: /" >&2
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3209 ;;
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3210 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
3211 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
3212 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
3213 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
3214 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
3215 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
3216 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
3217 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
3218 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
3219 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
3220
7d2108cbcd3e Porting DW 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 fi
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3222 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
3223 cat >>confdefs.h <<_ACEOF
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3224 #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
3225 _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
3226
7d2108cbcd3e Porting DW 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 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
3228
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3229 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3230
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3231
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3232 for ac_header in sys/stat.h
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3233 do
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3234 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
3235 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
3236 echo "$as_me:$LINENO: checking for $ac_header" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3237 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
3238 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3239 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
3240 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
3241 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
3242 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3243 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
3244 # 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
3245 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
3246 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
3247 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
3248 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3249 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3250 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3251 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3252 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3253 /* 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
3254 $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
3255 #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
3256 _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
3257 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
3258 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
3259 (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
3260 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
3261 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
3262 (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
3263 { 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
3264 { (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
3265 (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
3266 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
3267 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
3268 (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
3269 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
3270 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
3271 echo "$as_me: failed program was:" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3272 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3273
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3274 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
3275 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
3276 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
3277 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
3278 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
3279
7d2108cbcd3e Porting DW 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 # 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
3281 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
3282 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
3283 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
3284 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3285 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3286 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3287 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3288 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3289 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3290 #include <$ac_header>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3291 _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
3292 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3293 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3294 ac_status=$?
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3295 grep -v '^ *+' conftest.er1 >conftest.err
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3296 rm -f conftest.er1
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3297 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
3298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3299 (exit $ac_status); } >/dev/null; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3300 if test -s conftest.err; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3301 ac_cpp_err=$ac_c_preproc_warn_flag
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3302 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3303 ac_cpp_err=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3304 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3305 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3306 ac_cpp_err=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3307 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3308 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
3309 ac_header_preproc=yes
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3310 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3311 echo "$as_me: failed program was:" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3312 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3313
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3314 ac_header_preproc=no
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3315 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3316 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
3317 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
3318 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
3319
7d2108cbcd3e Porting DW 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 # 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
3321 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
3322 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
3323 { 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
3324 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
3325 { 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
3326 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
3327 (
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3328 cat <<\_ASBOX
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3329 ## ------------------------------------ ##
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3330 ## Report this to bug-autoconf@gnu.org. ##
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3331 ## ------------------------------------ ##
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3332 _ASBOX
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3333 ) |
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3334 sed "s/^/$as_me: WARNING: /" >&2
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3335 ;;
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3336 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
3337 { 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
3338 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
3339 { 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
3340 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
3341 { 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
3342 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
3343 (
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3344 cat <<\_ASBOX
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3345 ## ------------------------------------ ##
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3346 ## Report this to bug-autoconf@gnu.org. ##
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3347 ## ------------------------------------ ##
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3348 _ASBOX
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3349 ) |
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3350 sed "s/^/$as_me: WARNING: /" >&2
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3351 ;;
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3352 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
3353 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
3354 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
3355 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
3356 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
3357 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
3358 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
3359 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
3360 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
3361 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
3362
7d2108cbcd3e Porting DW 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 fi
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3364 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
3365 cat >>confdefs.h <<_ACEOF
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3366 #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
3367 _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
3368
7d2108cbcd3e Porting DW 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 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
3370
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3371 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3372
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3373
7d2108cbcd3e Porting DW 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
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3375 for ac_func in pipe
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3376 do
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3377 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
3378 echo "$as_me:$LINENO: checking for $ac_func" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3379 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
3380 if eval "test \"\${$as_ac_var+set}\" = set"; then
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3381 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3382 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3383 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
3384 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3385 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3386 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3387 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3388 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3389 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3390 /* 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
3391 which can conflict with char $ac_func (); below.
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3392 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
3393 <limits.h> exists even on freestanding compilers. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3394 #ifdef __STDC__
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3395 # include <limits.h>
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3396 #else
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3397 # include <assert.h>
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3398 #endif
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3399 /* Override any gcc2 internal prototype to avoid an error. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3400 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3401 extern "C"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3402 {
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3403 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3404 /* We use char because int might match the return type of a gcc2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3405 builtin and then its argument prototype would still apply. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3406 char $ac_func ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3407 /* The GNU C library defines this for functions which it implements
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3408 to always fail with ENOSYS. Some functions are actually named
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3409 something starting with __ and the normal name is an alias. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3411 choke me
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3412 #else
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3413 char (*f) () = $ac_func;
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3414 #endif
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3415 #ifdef __cplusplus
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3416 }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3417 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3418
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3419 int
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3420 main ()
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3421 {
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3422 return f != $ac_func;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3423 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3424 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3425 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3426 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3427 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
3428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3429 (eval $ac_link) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3430 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
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3432 (exit $ac_status); } &&
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3433 { 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
3434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3435 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3436 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
3437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3438 (exit $ac_status); }; }; then
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3439 eval "$as_ac_var=yes"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3440 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3441 echo "$as_me: failed program was:" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3442 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3443
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3444 eval "$as_ac_var=no"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3445 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3446 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3447 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
3448 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
3449 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
3450 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
3451 cat >>confdefs.h <<_ACEOF
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3452 #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
3453 _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
3454
7d2108cbcd3e Porting DW 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 cat >>confdefs.h <<\_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3456 #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
3457 _ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3458
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3459 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3460 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3461
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3462
7d2108cbcd3e Porting DW 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
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3464 for ac_func in connect
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3465 do
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3466 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
3467 echo "$as_me:$LINENO: checking for $ac_func" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3468 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
3469 if eval "test \"\${$as_ac_var+set}\" = set"; then
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3470 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3471 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3472 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
3473 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3474 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3475 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3476 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3477 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3478 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3479 /* 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
3480 which can conflict with char $ac_func (); below.
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3481 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
3482 <limits.h> exists even on freestanding compilers. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3483 #ifdef __STDC__
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3484 # include <limits.h>
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3485 #else
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3486 # include <assert.h>
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3487 #endif
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3488 /* Override any gcc2 internal prototype to avoid an error. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3489 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3490 extern "C"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3491 {
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3492 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3493 /* We use char because int might match the return type of a gcc2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3494 builtin and then its argument prototype would still apply. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3495 char $ac_func ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3496 /* The GNU C library defines this for functions which it implements
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3497 to always fail with ENOSYS. Some functions are actually named
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3498 something starting with __ and the normal name is an alias. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3500 choke me
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3501 #else
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3502 char (*f) () = $ac_func;
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3503 #endif
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3504 #ifdef __cplusplus
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3505 }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3506 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3507
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3508 int
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3509 main ()
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3510 {
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3511 return f != $ac_func;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3512 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3513 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3514 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3515 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3516 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
3517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3518 (eval $ac_link) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3519 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
3520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3521 (exit $ac_status); } &&
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3522 { 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
3523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3524 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3525 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
3526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3527 (exit $ac_status); }; }; then
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3528 eval "$as_ac_var=yes"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3529 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3530 echo "$as_me: failed program was:" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3531 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3532
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3533 eval "$as_ac_var=no"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3534 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3535 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3536 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
3537 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
3538 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
3539 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
3540 cat >>confdefs.h <<_ACEOF
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
3541 #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
3542 _ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3543
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3544 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3545 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3546
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3547 if test x"$ac_cv_func_connect" = x"no"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3548 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
3549 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3550 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3551 if test "${ac_cv_lib_socket_socket+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3552 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3553 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3554 ac_check_lib_save_LIBS=$LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3555 LIBS="-lsocket $LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3556 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
3557 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3558 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3559 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3560 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3561 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3562 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3563
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3564 /* Override any gcc2 internal prototype to avoid an error. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3565 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3566 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3567 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3568 /* We use char because int might match the return type of a gcc2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3569 builtin and then its argument prototype would still apply. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3570 char socket ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3571 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3572 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3573 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3574 socket ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3575 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3576 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3577 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3578 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3579 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
3580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3581 (eval $ac_link) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3582 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
3583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3584 (exit $ac_status); } &&
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3585 { 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
3586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3587 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3588 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
3589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3590 (exit $ac_status); }; }; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3591 ac_cv_lib_socket_socket=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3592 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3593 echo "$as_me: failed program was:" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3594 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3595
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3596 ac_cv_lib_socket_socket=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3597 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3598 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3599 LIBS=$ac_check_lib_save_LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3600 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
3601 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3602 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3603 if test $ac_cv_lib_socket_socket = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3604 LIBS="$LIBS -lsocket"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3605 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3606
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3607 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3608
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3609 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
3610 echo "$as_me:$LINENO: checking for socket in -linet" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3611 echo $ECHO_N "checking for socket in -linet... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3612 if test "${ac_cv_lib_inet_socket+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3613 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3614 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3615 ac_check_lib_save_LIBS=$LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3616 LIBS="-linet $LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3617 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
3618 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3619 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3620 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3621 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3622 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3623 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3624
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3625 /* Override any gcc2 internal prototype to avoid an error. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3626 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3627 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3628 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3629 /* We use char because int might match the return type of a gcc2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3630 builtin and then its argument prototype would still apply. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3631 char socket ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3632 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3633 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3634 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3635 socket ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3636 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3637 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3638 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3639 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3640 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
3641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3642 (eval $ac_link) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3643 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
3644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3645 (exit $ac_status); } &&
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3646 { 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
3647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3648 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3649 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
3650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3651 (exit $ac_status); }; }; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3652 ac_cv_lib_inet_socket=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3653 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3654 echo "$as_me: failed program was:" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3655 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3656
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3657 ac_cv_lib_inet_socket=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3658 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3659 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3660 LIBS=$ac_check_lib_save_LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3661 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
3662 echo "$as_me:$LINENO: result: $ac_cv_lib_inet_socket" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3663 echo "${ECHO_T}$ac_cv_lib_inet_socket" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3664 if test $ac_cv_lib_inet_socket = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3665 libnsl=1; LIBS="$LIBS -linet -lnsl_s"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3666 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3667
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3668 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3669
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3670 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
3671 echo "$as_me:$LINENO: checking for gethostname in -lnsl" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3672 echo $ECHO_N "checking for gethostname in -lnsl... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3673 if test "${ac_cv_lib_nsl_gethostname+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3674 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3675 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3676 ac_check_lib_save_LIBS=$LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3677 LIBS="-lnsl $LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3678 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
3679 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3680 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3681 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3682 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3683 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3684 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3685
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3686 /* Override any gcc2 internal prototype to avoid an error. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3687 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3688 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3689 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3690 /* We use char because int might match the return type of a gcc2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3691 builtin and then its argument prototype would still apply. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3692 char gethostname ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3693 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3694 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3695 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3696 gethostname ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3697 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3698 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3699 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3700 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3701 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
3702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3703 (eval $ac_link) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3704 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
3705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3706 (exit $ac_status); } &&
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3707 { 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
3708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3709 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3710 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
3711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3712 (exit $ac_status); }; }; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3713 ac_cv_lib_nsl_gethostname=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3714 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3715 echo "$as_me: failed program was:" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3716 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3717
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3718 ac_cv_lib_nsl_gethostname=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3719 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3720 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3721 LIBS=$ac_check_lib_save_LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3722 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
3723 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostname" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3724 echo "${ECHO_T}$ac_cv_lib_nsl_gethostname" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3725 if test $ac_cv_lib_nsl_gethostname = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3726 LIBS="$LIBS -lnsl"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3727 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3728
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3729 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3730 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3731
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3732 echo "$as_me:$LINENO: checking for getpwnam in -lsun" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3733 echo $ECHO_N "checking for getpwnam in -lsun... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3734 if test "${ac_cv_lib_sun_getpwnam+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3735 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3736 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3737 ac_check_lib_save_LIBS=$LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3738 LIBS="-lsun $LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3739 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
3740 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3741 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3742 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3743 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3744 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3745 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3746
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3747 /* Override any gcc2 internal prototype to avoid an error. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3748 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3749 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3750 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3751 /* We use char because int might match the return type of a gcc2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3752 builtin and then its argument prototype would still apply. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3753 char getpwnam ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3754 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3755 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3756 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3757 getpwnam ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3758 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3759 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3760 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3761 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3762 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
3763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3764 (eval $ac_link) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3765 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
3766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3767 (exit $ac_status); } &&
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3768 { 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
3769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3770 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3771 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
3772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3773 (exit $ac_status); }; }; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3774 ac_cv_lib_sun_getpwnam=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3775 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3776 echo "$as_me: failed program was:" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3777 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3778
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3779 ac_cv_lib_sun_getpwnam=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3780 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3781 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3782 LIBS=$ac_check_lib_save_LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3783 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
3784 echo "$as_me:$LINENO: result: $ac_cv_lib_sun_getpwnam" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3785 echo "${ECHO_T}$ac_cv_lib_sun_getpwnam" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3786 if test $ac_cv_lib_sun_getpwnam = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3787 LIBS="$LIBS -lsun"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3788 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3789
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3790 echo "$as_me:$LINENO: checking for inet_addr in -ldgc" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3791 echo $ECHO_N "checking for inet_addr in -ldgc... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3792 if test "${ac_cv_lib_dgc_inet_addr+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3793 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3794 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3795 ac_check_lib_save_LIBS=$LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3796 LIBS="-ldgc $LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3797 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
3798 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3799 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3800 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3801 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3802 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3803 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3804
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3805 /* Override any gcc2 internal prototype to avoid an error. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3806 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3807 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3808 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3809 /* We use char because int might match the return type of a gcc2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3810 builtin and then its argument prototype would still apply. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3811 char inet_addr ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3812 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3813 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3814 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3815 inet_addr ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3816 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3817 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3818 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3819 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3820 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
3821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3822 (eval $ac_link) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3823 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
3824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3825 (exit $ac_status); } &&
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3826 { 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
3827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3828 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3829 ac_status=$?
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3831 (exit $ac_status); }; }; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3832 ac_cv_lib_dgc_inet_addr=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3833 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3834 echo "$as_me: failed program was:" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3835 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3836
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3837 ac_cv_lib_dgc_inet_addr=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3838 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3839 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3840 LIBS=$ac_check_lib_save_LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3841 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
3842 echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_inet_addr" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3843 echo "${ECHO_T}$ac_cv_lib_dgc_inet_addr" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3844 if test $ac_cv_lib_dgc_inet_addr = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3845 LIBS="$LIBS -ldgc"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3846 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3847
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3848 echo "$as_me:$LINENO: checking for gethostbyname in -lresolv" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3849 echo $ECHO_N "checking for gethostbyname in -lresolv... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3850 if test "${ac_cv_lib_resolv_gethostbyname+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3851 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3852 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3853 ac_check_lib_save_LIBS=$LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3854 LIBS="-lresolv $LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3855 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
3856 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3857 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3858 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3859 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3860 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3861 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3862
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3863 /* Override any gcc2 internal prototype to avoid an error. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3864 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3865 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3866 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3867 /* We use char because int might match the return type of a gcc2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3868 builtin and then its argument prototype would still apply. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3869 char gethostbyname ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3870 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3871 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3872 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3873 gethostbyname ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3874 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3875 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3876 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3877 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3878 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
3879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3880 (eval $ac_link) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3881 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
3882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3883 (exit $ac_status); } &&
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3884 { 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
3885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3886 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3887 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
3888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3889 (exit $ac_status); }; }; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3890 ac_cv_lib_resolv_gethostbyname=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3891 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3892 echo "$as_me: failed program was:" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3893 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3894
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3895 ac_cv_lib_resolv_gethostbyname=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3896 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3897 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3898 LIBS=$ac_check_lib_save_LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3899 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
3900 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_gethostbyname" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3901 echo "${ECHO_T}$ac_cv_lib_resolv_gethostbyname" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3902 if test $ac_cv_lib_resolv_gethostbyname = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3903 LIBS="$LIBS -lresolv"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3904 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3905
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
3906
412
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
3907 OPSYSTEM=`uname -s`
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
3908
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
3909 if test $OPSYSTEM = "Darwin"; then
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
3910 DW_SRC=mac
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
3911 DW_DEFINE=__MAC__
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3912 SHAREDFLAG=-dynamic
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
3913 LIBS="$LIBS -framework Carbon"
412
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
3914 else
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
3915 # 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
3916 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
3917 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
3918 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
3919 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
3920 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
3921 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
3922 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
3923 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
3924 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
3925 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
3926 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
3927 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
3928 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
3929 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
3930 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
3931 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
3932 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
3933 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
3934 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
3935 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
3936 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
3937 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
3938
7d2108cbcd3e Porting DW 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 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
3940 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
3941 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
3942 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
3943 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
3944 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
3945 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
3946 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
3947 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
3948 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
3949
412
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
3950 if test x"$PKG_CFG" != x; then
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
3951 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
3952 fi
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
3953
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
3954 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
3955
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3956 # Check whether --with-glib-prefix or --without-glib-prefix was given.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3957 if test "${with_glib_prefix+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3958 withval="$with_glib_prefix"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3959 glib_config_prefix="$withval"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3960 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3961 glib_config_prefix=""
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3962 fi;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3963
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3964 # Check whether --with-glib-exec-prefix or --without-glib-exec-prefix was given.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3965 if test "${with_glib_exec_prefix+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3966 withval="$with_glib_exec_prefix"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3967 glib_config_exec_prefix="$withval"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3968 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3969 glib_config_exec_prefix=""
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3970 fi;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3971 # Check whether --enable-glibtest or --disable-glibtest was given.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3972 if test "${enable_glibtest+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3973 enableval="$enable_glibtest"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3974
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3975 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3976 enable_glibtest=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3977 fi;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3978
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3979 if test x$glib_config_exec_prefix != x ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3980 glib_config_args="$glib_config_args --exec-prefix=$glib_config_exec_prefix"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3981 if test x${GLIB_CONFIG+set} != xset ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3982 GLIB_CONFIG=$glib_config_exec_prefix/bin/glib-config
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3983 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3984 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3985 if test x$glib_config_prefix != x ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3986 glib_config_args="$glib_config_args --prefix=$glib_config_prefix"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3987 if test x${GLIB_CONFIG+set} != xset ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3988 GLIB_CONFIG=$glib_config_prefix/bin/glib-config
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3989 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3990 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3991
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3992 for module in .
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3993 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3994 case "$module" in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3995 gmodule)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3996 glib_config_args="$glib_config_args gmodule"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3997 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3998 gthread)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3999 glib_config_args="$glib_config_args gthread"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4000 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4001 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4002 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4003
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4004 # Extract the first word of "glib-config", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4005 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
4006 echo "$as_me:$LINENO: checking for $ac_word" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4008 if test "${ac_cv_path_GLIB_CONFIG+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4009 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4010 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4011 case $GLIB_CONFIG in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4012 [\\/]* | ?:[\\/]*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4013 ac_cv_path_GLIB_CONFIG="$GLIB_CONFIG" # Let the user override the test with a path.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4014 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4015 *)
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4016 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
4017 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
4018 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
4019 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
4020 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
4021 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
4022 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
4023 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
4024 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
4025 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
4026 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
4027 done
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4028 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4029
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4030 test -z "$ac_cv_path_GLIB_CONFIG" && ac_cv_path_GLIB_CONFIG="no"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4031 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4032 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4033 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4034 GLIB_CONFIG=$ac_cv_path_GLIB_CONFIG
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4035
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4036 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
4037 echo "$as_me:$LINENO: result: $GLIB_CONFIG" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4038 echo "${ECHO_T}$GLIB_CONFIG" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4039 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
4040 echo "$as_me:$LINENO: result: no" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4041 echo "${ECHO_T}no" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4042 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4043
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4044 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
4045 echo "$as_me:$LINENO: checking for GLIB - version >= $min_glib_version" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4046 echo $ECHO_N "checking for GLIB - version >= $min_glib_version... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4047 no_glib=""
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4048 if test "$GLIB_CONFIG" = "no" ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4049 no_glib=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4050 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4051 GLIB_CFLAGS=`$GLIB_CONFIG $glib_config_args --cflags`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4052 GLIB_LIBS=`$GLIB_CONFIG $glib_config_args --libs`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4053 glib_config_major_version=`$GLIB_CONFIG $glib_config_args --version | \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4054 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4055 glib_config_minor_version=`$GLIB_CONFIG $glib_config_args --version | \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4056 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4057 glib_config_micro_version=`$GLIB_CONFIG $glib_config_args --version | \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4058 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4059 if test "x$enable_glibtest" = "xyes" ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4060 ac_save_CFLAGS="$CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4061 ac_save_LIBS="$LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4062 CFLAGS="$CFLAGS $GLIB_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4063 LIBS="$GLIB_LIBS $LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4064 rm -f conf.glibtest
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4065 if test "$cross_compiling" = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4066 echo $ac_n "cross compiling; assumed OK... $ac_c"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4067 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4068 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
4069 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4070 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4071 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4072 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4073 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4074 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4075
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4076 #include <glib.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4077 #include <stdio.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4078 #include <stdlib.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4079
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4080 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4081 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4082 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4083 int major, minor, micro;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4084 char *tmp_version;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4085
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4086 system ("touch conf.glibtest");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4087
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4088 /* HP/UX 9 (%@#!) writes to sscanf strings */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4089 tmp_version = g_strdup("$min_glib_version");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4090 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4091 printf("%s, bad version string\n", "$min_glib_version");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4092 exit(1);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4093 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4094
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4095 if ((glib_major_version != $glib_config_major_version) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4096 (glib_minor_version != $glib_config_minor_version) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4097 (glib_micro_version != $glib_config_micro_version))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4098 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4099 printf("\n*** 'glib-config --version' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4100 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4101 glib_major_version, glib_minor_version, glib_micro_version);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4102 printf ("*** was found! If glib-config was correct, then it is best\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4103 printf ("*** to remove the old version of GLIB. You may also be able to fix the error\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4104 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4105 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4106 printf("*** required on your system.\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4107 printf("*** If glib-config was wrong, set the environment variable GLIB_CONFIG\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4108 printf("*** to point to the correct copy of glib-config, and remove the file config.cache\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4109 printf("*** before re-running configure\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4110 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4111 else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4112 (glib_minor_version != GLIB_MINOR_VERSION) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4113 (glib_micro_version != GLIB_MICRO_VERSION))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4114 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4115 printf("*** GLIB header files (version %d.%d.%d) do not match\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4116 GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4117 printf("*** library (version %d.%d.%d)\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4118 glib_major_version, glib_minor_version, glib_micro_version);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4119 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4120 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4121 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4122 if ((glib_major_version > major) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4123 ((glib_major_version == major) && (glib_minor_version > minor)) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4124 ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4125 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4126 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4127 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4128 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4129 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4130 printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4131 glib_major_version, glib_minor_version, glib_micro_version);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4132 printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4133 major, minor, micro);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4134 printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4135 printf("***\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4136 printf("*** If you have already installed a sufficiently new version, this error\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4137 printf("*** probably means that the wrong copy of the glib-config shell script is\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4138 printf("*** being found. The easiest way to fix this is to remove the old version\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4139 printf("*** of GLIB, but you can also set the GLIB_CONFIG environment to point to the\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4140 printf("*** correct copy of glib-config. (In this case, you will have to\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4141 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4142 printf("*** so that the correct libraries are found at run-time))\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4143 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4144 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4145 return 1;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4146 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4147
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4148 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4149 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
4150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4151 (eval $ac_link) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4152 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
4153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4154 (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
4155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4156 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4157 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
4158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4159 (exit $ac_status); }; }; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4160 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4161 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4162 echo "$as_me: program exited with status $ac_status" >&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4163 echo "$as_me: failed program was:" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4164 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4165
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4166 ( exit $ac_status )
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4167 no_glib=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4168 fi
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4169 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4170 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4171 CFLAGS="$ac_save_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4172 LIBS="$ac_save_LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4173 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4174 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4175 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
4176 echo "$as_me:$LINENO: result: yes" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4177 echo "${ECHO_T}yes" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4178 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4179 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
4180 echo "$as_me:$LINENO: result: no" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4181 echo "${ECHO_T}no" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4182 if test "$GLIB_CONFIG" = "no" ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4183 echo "*** The glib-config script installed by GLIB could not be found"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4184 echo "*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4185 echo "*** your path, or set the GLIB_CONFIG environment variable to the"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4186 echo "*** full path to glib-config."
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4187 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4188 if test -f conf.glibtest ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4189 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4190 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4191 echo "*** Could not run GLIB test program, checking why..."
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4192 CFLAGS="$CFLAGS $GLIB_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4193 LIBS="$LIBS $GLIB_LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4194 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
4195 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4196 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4197 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4198 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4199 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4200 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4201
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4202 #include <glib.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4203 #include <stdio.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4204
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4205 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4206 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4207 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4208 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4209 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4210 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4211 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4212 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4213 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
4214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4215 (eval $ac_link) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4216 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
4217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4218 (exit $ac_status); } &&
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4219 { 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
4220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4221 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4222 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
4223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4224 (exit $ac_status); }; }; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4225 echo "*** The test program compiled, but did not run. This usually means"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4226 echo "*** that the run-time linker is not finding GLIB or finding the wrong"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4227 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4228 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4229 echo "*** to the installed location Also, make sure you have run ldconfig if that"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4230 echo "*** is required on your system"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4231 echo "***"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4232 echo "*** If you have an old version installed, it is best to remove it, although"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4233 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4234 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4235 echo "$as_me: failed program was:" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4236 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4237
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4238 echo "*** The test program failed to compile or link. See the file config.log for the"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4239 echo "*** exact error that occured. This usually means GLIB was incorrectly installed"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4240 echo "*** or that you have moved GLIB since it was installed. In the latter case, you"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4241 echo "*** may want to edit the glib-config script: $GLIB_CONFIG"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4242 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4243 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4244 CFLAGS="$ac_save_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4245 LIBS="$ac_save_LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4246 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4247 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4248 GLIB_CFLAGS=""
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4249 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
4250 { { echo "$as_me:$LINENO: error: { { echo \"$as_me:$LINENO: error: Cannot find GLIB: Is glib-config in path?\" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4251 echo \"$as_me: error: Cannot find GLIB: Is glib-config in path?\" >&2;}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4252 { (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
4253 echo "$as_me: error: { { echo \"$as_me:$LINENO: error: Cannot find GLIB: Is glib-config in path?\" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4254 echo \"$as_me: error: Cannot find GLIB: Is glib-config in path?\" >&2;}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4255 { (exit 1); exit 1; }; }" >&2;}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4256 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4257 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4258
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4259
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4260 rm -f conf.glibtest
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4261
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4262
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4263 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4264 if test "${with_gtk_prefix+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4265 withval="$with_gtk_prefix"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4266 gtk_config_prefix="$withval"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4267 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4268 gtk_config_prefix=""
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4269 fi;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4270
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4271 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4272 if test "${with_gtk_exec_prefix+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4273 withval="$with_gtk_exec_prefix"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4274 gtk_config_exec_prefix="$withval"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4275 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4276 gtk_config_exec_prefix=""
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4277 fi;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4278 # Check whether --enable-gtktest or --disable-gtktest was given.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4279 if test "${enable_gtktest+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4280 enableval="$enable_gtktest"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4281
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4282 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4283 enable_gtktest=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4284 fi;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4285
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4286 for module in . gthread
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4287 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4288 case "$module" in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4289 gthread)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4290 gtk_config_args="$gtk_config_args gthread"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4291 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4292 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4293 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4294
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4295 if test x$gtk_config_exec_prefix != x ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4296 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4297 if test x${GTK_CONFIG+set} != xset ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4298 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4299 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4300 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4301 if test x$gtk_config_prefix != x ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4302 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4303 if test x${GTK_CONFIG+set} != xset ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4304 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4305 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4306 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4307
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4308 # Extract the first word of "gtk-config", so it can be a program name with args.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4309 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
4310 echo "$as_me:$LINENO: checking for $ac_word" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4312 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4313 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4314 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4315 case $GTK_CONFIG in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4316 [\\/]* | ?:[\\/]*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4317 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4318 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4319 *)
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4320 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
4321 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
4322 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
4323 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
4324 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
4325 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
4326 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
4327 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
4328 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
4329 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
4330 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
4331 done
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4332 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4333
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4334 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4335 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4336 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4337 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4338 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4339
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4340 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
4341 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4342 echo "${ECHO_T}$GTK_CONFIG" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4343 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
4344 echo "$as_me:$LINENO: result: no" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4345 echo "${ECHO_T}no" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4346 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4347
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4348 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
4349 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4350 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4351 no_gtk=""
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4352 if test "$GTK_CONFIG" = "no" ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4353 no_gtk=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4354 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4355 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4356 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4357 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4358 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4359 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4360 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4361 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4362 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4363 if test "x$enable_gtktest" = "xyes" ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4364 ac_save_CFLAGS="$CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4365 ac_save_LIBS="$LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4366 CFLAGS="$CFLAGS $GTK_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4367 LIBS="$GTK_LIBS $LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4368 rm -f conf.gtktest
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4369 if test "$cross_compiling" = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4370 echo $ac_n "cross compiling; assumed OK... $ac_c"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4371 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4372 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
4373 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4374 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4375 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4376 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4377 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4378 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4379
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4380 #include <gtk/gtk.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4381 #include <stdio.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4382 #include <stdlib.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4383
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4384 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4385 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4386 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4387 int major, minor, micro;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4388 char *tmp_version;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4389
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4390 system ("touch conf.gtktest");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4391
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4392 /* HP/UX 9 (%@#!) writes to sscanf strings */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4393 tmp_version = g_strdup("$min_gtk_version");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4394 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4395 printf("%s, bad version string\n", "$min_gtk_version");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4396 exit(1);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4397 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4398
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4399 if ((gtk_major_version != $gtk_config_major_version) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4400 (gtk_minor_version != $gtk_config_minor_version) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4401 (gtk_micro_version != $gtk_config_micro_version))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4402 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4403 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4404 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4405 gtk_major_version, gtk_minor_version, gtk_micro_version);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4406 printf ("*** was found! If gtk-config was correct, then it is best\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4407 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4408 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4409 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4410 printf("*** required on your system.\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4411 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4412 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4413 printf("*** before re-running configure\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4414 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4415 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4416 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4417 (gtk_minor_version != GTK_MINOR_VERSION) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4418 (gtk_micro_version != GTK_MICRO_VERSION))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4419 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4420 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4421 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4422 printf("*** library (version %d.%d.%d)\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4423 gtk_major_version, gtk_minor_version, gtk_micro_version);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4424 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4425 #endif /* defined (GTK_MAJOR_VERSION) ... */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4426 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4427 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4428 if ((gtk_major_version > major) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4429 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4430 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4431 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4432 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4433 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4434 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4435 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4436 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4437 gtk_major_version, gtk_minor_version, gtk_micro_version);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4438 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4439 major, minor, micro);
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4440 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4441 printf("***\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4442 printf("*** If you have already installed a sufficiently new version, this error\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4443 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4444 printf("*** being found. The easiest way to fix this is to remove the old version\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4445 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4446 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4447 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4448 printf("*** so that the correct libraries are found at run-time))\n");
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4449 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4450 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4451 return 1;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4452 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4453
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4454 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4455 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
4456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4457 (eval $ac_link) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4458 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
4459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4460 (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
4461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4462 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4463 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
4464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4465 (exit $ac_status); }; }; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4466 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4467 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4468 echo "$as_me: program exited with status $ac_status" >&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4469 echo "$as_me: failed program was:" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4470 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4471
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4472 ( exit $ac_status )
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4473 no_gtk=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4474 fi
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4475 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4476 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4477 CFLAGS="$ac_save_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4478 LIBS="$ac_save_LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4479 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4480 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4481 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
4482 echo "$as_me:$LINENO: result: yes" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4483 echo "${ECHO_T}yes" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4484 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4485 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
4486 echo "$as_me:$LINENO: result: no" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4487 echo "${ECHO_T}no" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4488 if test "$GTK_CONFIG" = "no" ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4489 echo "*** The gtk-config script installed by GTK could not be found"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4490 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4491 echo "*** your path, or set the GTK_CONFIG environment variable to the"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4492 echo "*** full path to gtk-config."
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4493 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4494 if test -f conf.gtktest ; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4495 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4496 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4497 echo "*** Could not run GTK test program, checking why..."
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4498 CFLAGS="$CFLAGS $GTK_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4499 LIBS="$LIBS $GTK_LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4500 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
4501 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4502 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4503 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4504 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4505 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4506 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4507
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4508 #include <gtk/gtk.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4509 #include <stdio.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4510
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4511 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4512 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4513 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4514 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4515 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4516 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4517 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4518 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4519 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
4520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4521 (eval $ac_link) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4522 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
4523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4524 (exit $ac_status); } &&
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4525 { 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
4526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4527 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4528 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
4529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4530 (exit $ac_status); }; }; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4531 echo "*** The test program compiled, but did not run. This usually means"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4532 echo "*** that the run-time linker is not finding GTK or finding the wrong"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4533 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4534 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4535 echo "*** to the installed location Also, make sure you have run ldconfig if that"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4536 echo "*** is required on your system"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4537 echo "***"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4538 echo "*** If you have an old version installed, it is best to remove it, although"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4539 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4540 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4541 echo "$as_me: failed program was:" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4542 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4543
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4544 echo "*** The test program failed to compile or link. See the file config.log for the"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4545 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4546 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4547 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4548 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4549 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4550 CFLAGS="$ac_save_CFLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4551 LIBS="$ac_save_LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4552 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4553 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4554 GTK_CFLAGS=""
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4555 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
4556 { { echo "$as_me:$LINENO: error: { { echo \"$as_me:$LINENO: error: Cannot find GTK: Is gtk-config in path?\" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4557 echo \"$as_me: error: Cannot find GTK: Is gtk-config in path?\" >&2;}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4558 { (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
4559 echo "$as_me: error: { { echo \"$as_me:$LINENO: error: Cannot find GTK: Is gtk-config in path?\" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4560 echo \"$as_me: error: Cannot find GTK: Is gtk-config in path?\" >&2;}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4561 { (exit 1); exit 1; }; }" >&2;}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4562 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4563 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4564
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4565
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4566 rm -f conf.gtktest
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4567
121
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4568
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4569 # 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
4570 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
4571 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
4572 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
4573 else
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=""
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4575 fi;
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4576
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4577 # 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
4578 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
4579 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
4580 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
4581 else
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=""
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4583 fi;
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4584 # 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
4585 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
4586 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
4587
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4588 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4589 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
4590 fi;
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4591
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4592 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
4593 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
4594 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
4595 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
4596 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4597 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4598 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
4599 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
4600 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
4601 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
4602 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4603 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4604
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4605 # 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
4606 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
4607 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
4608 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
4609 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
4610 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
4611 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4612 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
4613 [\\/]* | ?:[\\/]*)
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4614 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
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 *)
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4617 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
4618 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
4619 do
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4620 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
4621 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
4622 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
4623 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
4624 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
4625 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
4626 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
4627 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4628 done
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4629 done
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4630
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4631 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
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 esac
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4634 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4635 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
4636
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4637 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
4638 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
4639 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
4640 else
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 "$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
4642 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
4643 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4644
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4645 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
4646 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
4647 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
4648 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
4649 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
4650 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
4651 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4652 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
4653 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
4654
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4655 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
4656 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
4657 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
4658 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
4659 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
4660 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
4661 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
4662 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
4663 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
4664 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
4665 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
4666 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
4667 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
4668 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
4669 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4670 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
4671 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4672 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4673 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4674 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4675 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4676 /* 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
4677
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4678 #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
4679 #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
4680 #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
4681
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4682 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
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 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
4685 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
4686
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4687 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
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 /* 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
4690 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
4691 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4692 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
4693 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
4694 }
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4695
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4696 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
4697 (($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
4698 (($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
4699 ($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
4700 {
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4701 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
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 else
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 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
4706 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
4707 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
4708 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
4709 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
4710 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
4711 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
4712 }
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4713 }
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 _ACEOF
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4717 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
4718 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
4719 (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
4720 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
4721 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
4722 (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
4723 { (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
4724 (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
4725 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
4726 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
4727 (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
4728 :
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4729 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4730 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
4731 echo "$as_me: failed program was:" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4732 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4733
121
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4734 ( 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
4735 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
4736 fi
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4737 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
4738 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4739 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
4740 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
4741 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4742 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4743 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
4744 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
4745 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
4746 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
4747 #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
4748 _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
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4750 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4751 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
4752 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
4753 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
4754 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
4755 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
4756 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
4757 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
4758 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4759 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
4760 :
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4761 else
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4762 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
4763 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
4764 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
4765 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
4766 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4767 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4768 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4769 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4770 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4771 /* 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
4772
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4773 #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
4774 #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
4775
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4776 int
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4777 main ()
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4778 {
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4779 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
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 _ACEOF
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4784 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
4785 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
4786 (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
4787 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
4788 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
4789 (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
4790 { 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
4791 { (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
4792 (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
4793 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
4794 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
4795 (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
4796 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
4797 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
4798 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
4799 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
4800 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
4801 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
4802 echo "***"
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 "*** 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
4804 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
4805 else
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 "$as_me: failed program was:" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4807 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4808
121
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4809 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
4810 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
4811 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
4812 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
4813 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4814 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
4815 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
4816 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
4817 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4818 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4819 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
4820 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
4821 { { 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
4822 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
4823 { (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
4824 fi
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4825
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4826
d8af32b1b1cd Switch back to using pixmaps and bitmaps, only use pixbufs for doing
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 120
diff changeset
4827 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
4828
412
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
4829 else
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
4830 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
4831 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
4832 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
4833 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
4834
7d2108cbcd3e Porting DW 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 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
4836 echo "$as_me:$LINENO: checking for pthread.h" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4837 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4838 if test "${ac_cv_header_pthread_h+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4839 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
4840 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
4841 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
4842 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4843 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
4844 # 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
4845 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
4846 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
4847 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
4848 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4849 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4850 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4851 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4852 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4853 /* 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
4854 $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
4855 #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
4856 _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
4857 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
4858 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
4859 (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
4860 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
4861 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
4862 (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
4863 { 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
4864 { (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
4865 (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
4866 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
4867 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
4868 (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
4869 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
4870 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
4871 echo "$as_me: failed program was:" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4872 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4873
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4874 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
4875 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
4876 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
4877 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
4878 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
4879
7d2108cbcd3e Porting DW 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 # 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
4881 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
4882 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
4883 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
4884 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4885 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4886 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4887 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4888 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4889 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4890 #include <pthread.h>
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4891 _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
4892 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4893 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4894 ac_status=$?
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4895 grep -v '^ *+' conftest.er1 >conftest.err
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4896 rm -f conftest.er1
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4897 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
4898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4899 (exit $ac_status); } >/dev/null; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4900 if test -s conftest.err; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4901 ac_cpp_err=$ac_c_preproc_warn_flag
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4902 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4903 ac_cpp_err=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4904 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4905 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4906 ac_cpp_err=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4907 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4908 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
4909 ac_header_preproc=yes
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4910 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4911 echo "$as_me: failed program was:" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4912 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4913
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4914 ac_header_preproc=no
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4915 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4916 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
4917 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
4918 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
4919
7d2108cbcd3e Porting DW 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 # 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
4921 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
4922 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
4923 { 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
4924 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
4925 { 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
4926 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
4927 (
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4928 cat <<\_ASBOX
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 ## Report this to bug-autoconf@gnu.org. ##
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 _ASBOX
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 sed "s/^/$as_me: WARNING: /" >&2
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4935 ;;
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4936 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
4937 { 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
4938 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
4939 { 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
4940 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
4941 { 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
4942 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
4943 (
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4944 cat <<\_ASBOX
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 ## Report this to bug-autoconf@gnu.org. ##
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 _ASBOX
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 sed "s/^/$as_me: WARNING: /" >&2
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4951 ;;
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4952 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
4953 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
4954 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
4955 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
4956 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
4957 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
4958 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
4959 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
4960 echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4961 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
4962
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4963 fi
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4964 if test $ac_cv_header_pthread_h = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4965 :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4966 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
4967 { { echo "$as_me:$LINENO: error: pthread header not found. Dynamic Windows cannot build without it." >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4968 echo "$as_me: error: pthread header not found. Dynamic Windows cannot build without it." >&2;}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4969 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4970 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4971
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4972
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
4973 echo "$as_me:$LINENO: checking for pthread_attr_init in -lpthread" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4974 echo $ECHO_N "checking for pthread_attr_init in -lpthread... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4975 if test "${ac_cv_lib_pthread_pthread_attr_init+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4976 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4977 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4978 ac_check_lib_save_LIBS=$LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4979 LIBS="-lpthread $LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4980 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
4981 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4982 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4983 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4984 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4985 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
4986 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4987
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4988 /* Override any gcc2 internal prototype to avoid an error. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4989 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4990 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4991 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4992 /* We use char because int might match the return type of a gcc2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4993 builtin and then its argument prototype would still apply. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4994 char pthread_attr_init ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4995 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4996 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4997 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4998 pthread_attr_init ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4999 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5000 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5001 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5002 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5003 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
5004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5005 (eval $ac_link) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5006 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
5007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5008 (exit $ac_status); } &&
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5009 { 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
5010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5011 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5012 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
5013 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
5014 (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
5015 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
5016 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
5017 echo "$as_me: failed program was:" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5018 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5019
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5020 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
5021 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
5022 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
5023 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
5024 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
5025 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
5026 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
5027 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
5028 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
5029 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
5030 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
5031 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
5032 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
5033 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
5034 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
5035 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
5036 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
5037 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
5038 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5039 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5040 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5041 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5042 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5043 /* 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
5044
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5045 /* 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
5046 #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
5047 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
5048 #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
5049 /* 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
5050 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
5051 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
5052 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
5053 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
5054 {
7d2108cbcd3e Porting DW 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 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
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 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
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 _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
5060 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
5061 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
5062 (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
5063 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
5064 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
5065 (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
5066 { 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
5067 { (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
5068 (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
5069 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
5070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5071 (exit $ac_status); }; }; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5072 ac_cv_lib_pthreads_pthread_attr_init=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5073 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5074 echo "$as_me: failed program was:" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5075 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5076
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5077 ac_cv_lib_pthreads_pthread_attr_init=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5078 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5079 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5080 LIBS=$ac_check_lib_save_LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5081 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
5082 echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_pthread_attr_init" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5083 echo "${ECHO_T}$ac_cv_lib_pthreads_pthread_attr_init" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5084 if test $ac_cv_lib_pthreads_pthread_attr_init = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5085 PTHREAD_LIBS="-lpthreads"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5086 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
5087 echo "$as_me:$LINENO: checking for pthread_attr_init in -lc_r" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5088 echo $ECHO_N "checking for pthread_attr_init in -lc_r... $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5089 if test "${ac_cv_lib_c_r_pthread_attr_init+set}" = set; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5090 echo $ECHO_N "(cached) $ECHO_C" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5091 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5092 ac_check_lib_save_LIBS=$LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5093 LIBS="-lc_r $LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5094 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
5095 #line $LINENO "configure"
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5096 /* confdefs.h. */
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5097 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5098 cat confdefs.h >>conftest.$ac_ext
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5099 cat >>conftest.$ac_ext <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5100 /* end confdefs.h. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5101
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5102 /* Override any gcc2 internal prototype to avoid an error. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5103 #ifdef __cplusplus
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5104 extern "C"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5105 #endif
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5106 /* We use char because int might match the return type of a gcc2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5107 builtin and then its argument prototype would still apply. */
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5108 char pthread_attr_init ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5109 int
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5110 main ()
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5111 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5112 pthread_attr_init ();
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5113 ;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5114 return 0;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5115 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5116 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5117 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
5118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5119 (eval $ac_link) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5120 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
5121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5122 (exit $ac_status); } &&
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5123 { 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
5124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5125 (eval $ac_try) 2>&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5126 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
5127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5128 (exit $ac_status); }; }; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5129 ac_cv_lib_c_r_pthread_attr_init=yes
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5130 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5131 echo "$as_me: failed program was:" >&5
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5132 sed 's/^/| /' conftest.$ac_ext >&5
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5133
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5134 ac_cv_lib_c_r_pthread_attr_init=no
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5135 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5136 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5137 LIBS=$ac_check_lib_save_LIBS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5138 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
5139 echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_attr_init" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5140 echo "${ECHO_T}$ac_cv_lib_c_r_pthread_attr_init" >&6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5141 if test $ac_cv_lib_c_r_pthread_attr_init = yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5142 PTHREAD_LIBS="-lc_r"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5143 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
5144 { { echo "$as_me:$LINENO: error: pthread library not found. HandyFTP cannot build without it.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5145 " >&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5146 echo "$as_me: error: pthread library not found. HandyFTP cannot build without it.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5147 " >&2;}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5148 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5149
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5150 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5151
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5152
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5153 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
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
7d2108cbcd3e Porting DW 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 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
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
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5159 CFLAGS="$CFLAGS $GTK_CFLAGS $GDK_IMLIB_FLAGS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5160 LIBS="$LIBS $GTK_LIBS $PTHREAD_LIBS $GDK_IMLIB_LIBS"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5161
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5162 RM="rm -f"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5163 LN="ln -s"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5164 CP="cp"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5165 MV="mv"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5166 MKDIR="mkdir"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5167
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5168
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5169
7d2108cbcd3e Porting DW 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
412
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
5176
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
5177
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
5178
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5179
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5180 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
5181
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5182 cat >confcache <<\_ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5183 # This file is a shell script that caches the results of configure
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5184 # tests run on this system so they can be shared between configure
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5185 # scripts and configure runs, see configure's option --config-cache.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5186 # It is not useful on other systems. If it contains results you don't
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5187 # want to keep, you may remove or edit it.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5188 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5189 # config.status only pays attention to the cache file if you give it
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5190 # the --recheck option to rerun configure.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5191 #
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5192 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5193 # loading this file, other *unset* `ac_cv_foo' will be assigned the
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5194 # following values.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5195
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5196 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5197
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5198 # The following way of writing the cache mishandles newlines in values,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5199 # but we know of no workaround that is simple, portable, and efficient.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5200 # So, don't put newlines in cache variables' values.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5201 # Ultrix sh set writes to stderr and can't be redirected directly,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5202 # and sets the high bit in the cache file unless we assign to the vars.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5203 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5204 (set) 2>&1 |
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5205 case `(ac_space=' '; set | grep ac_space) 2>&1` in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5206 *ac_space=\ *)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5207 # `set' does not quote correctly, so add quotes (double-quote
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5208 # substitution turns \\\\ into \\, and sed turns \\ into \).
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5209 sed -n \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5210 "s/'/'\\\\''/g;
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
5211 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5212 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5213 *)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5214 # `set' quotes correctly as required by POSIX, so do not add quotes.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5215 sed -n \
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
5216 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5217 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5218 esac;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5219 } |
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5220 sed '
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5221 t clear
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5222 : clear
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5223 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5224 t end
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5225 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5226 : end' >>confcache
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5227 if diff $cache_file confcache >/dev/null 2>&1; then :; else
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5228 if test -w $cache_file; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5229 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5230 cat confcache >$cache_file
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5231 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5232 echo "not updating unwritable cache $cache_file"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5233 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5234 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5235 rm -f confcache
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5236
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5237 test "x$prefix" = xNONE && prefix=$ac_default_prefix
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5238 # Let make expand exec_prefix.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5239 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5240
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5241 # VPATH may cause trouble with some makes, so we remove $(srcdir),
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5242 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5243 # trailing colons and then remove the whole line if VPATH becomes empty
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5244 # (actually we leave an empty line to preserve line numbers).
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5245 if test "x$srcdir" = x.; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5246 ac_vpsub='/^[ ]*VPATH[ ]*=/{
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5247 s/:*\$(srcdir):*/:/;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5248 s/:*\${srcdir}:*/:/;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5249 s/:*@srcdir@:*/:/;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5250 s/^\([^=]*=[ ]*\):*/\1/;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5251 s/:*$//;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5252 s/^[^=]*=[ ]*$//;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5253 }'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5254 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5255
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5256 DEFS=-DHAVE_CONFIG_H
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5257
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5258 ac_libobjs=
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5259 ac_ltlibobjs=
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5260 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
5261 # 1. Remove the extension, and $U if already installed.
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5262 ac_i=`echo "$ac_i" |
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5263 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5264 # 2. Add them.
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5265 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5266 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5267 done
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5268 LIBOBJS=$ac_libobjs
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5269
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5270 LTLIBOBJS=$ac_ltlibobjs
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5271
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5272
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5273
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5274 : ${CONFIG_STATUS=./config.status}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5275 ac_clean_files_save=$ac_clean_files
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5276 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
5277 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5278 echo "$as_me: creating $CONFIG_STATUS" >&6;}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5279 cat >$CONFIG_STATUS <<_ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5280 #! $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
5281 # Generated by $as_me.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5282 # Run this file to recreate the current configuration.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5283 # Compiler output produced by configure, useful for debugging
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5284 # configure, is in config.log if it exists.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5285
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5286 debug=false
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5287 ac_cs_recheck=false
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5288 ac_cs_silent=false
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5289 SHELL=\${CONFIG_SHELL-$SHELL}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5290 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5291
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5292 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
5293 ## --------------------- ##
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5294 ## 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
5295 ## --------------------- ##
7d2108cbcd3e Porting DW 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
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5297 # Be Bourne compatible
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5298 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5299 emulate sh
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5300 NULLCMD=:
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5301 # 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
5302 # is contrary to our usage. Disable this feature.
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5303 alias -g '${1+"$@"}'='"$@"'
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5304 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5305 set -o posix
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5306 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5307
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5308 # 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
5309 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
5310 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
5311 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
5312 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
5313 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
5314
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5315
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5316 # Work around bugs in pre-3.0 UWIN ksh.
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5317 $as_unset ENV MAIL MAILPATH
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5318 PS1='$ '
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5319 PS2='> '
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5320 PS4='+ '
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5321
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5322 # NLS nuisances.
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5323 for as_var in \
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5324 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
5325 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
5326 LC_TELEPHONE LC_TIME
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5327 do
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5328 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
5329 eval $as_var=C; export $as_var
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5330 else
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5331 $as_unset $as_var
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5332 fi
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5333 done
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5334
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5335 # Required to use basename.
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5336 if expr a : '\(a\)' >/dev/null 2>&1; then
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5337 as_expr=expr
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5338 else
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5339 as_expr=false
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5340 fi
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5341
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5342 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
5343 as_basename=basename
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5344 else
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5345 as_basename=false
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5346 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
5347
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5348
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5349 # Name of the executable.
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5350 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
5351 $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
5352 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
5353 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
5354 . : '\(.\)' 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
5355 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
5356 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
5357 /^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
5358 /^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
5359 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
5360
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5361
120
7d2108cbcd3e Porting DW 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 # 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
5363 # 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
5364 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
5365 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
5366 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
5367 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
5368 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
5369
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5370 # 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
5371 if test "${PATH_SEPARATOR+set}" != set; then
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5372 echo "#! /bin/sh" >conf$$.sh
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5373 echo "exit 0" >>conf$$.sh
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5374 chmod +x conf$$.sh
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5375 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
5376 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
5377 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
5378 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
5379 fi
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5380 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
5381 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
5382
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5383
7d2108cbcd3e Porting DW 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 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
5385 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
5386 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
5387 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
5388 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
5389 # 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
5390 # 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
5391 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
5392 *[\\/]* ) 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
5393 *) 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
5394 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
5395 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
5396 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
5397 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
5398 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
5399 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
5400
7d2108cbcd3e Porting DW 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 ;;
7d2108cbcd3e Porting DW 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 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
5403 # 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
5404 # 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
5405 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
5406 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
5407 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
5408 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
5409 { { 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
5410 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
5411 { (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
5412 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
5413 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
5414 '')
7d2108cbcd3e Porting DW 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 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
5416 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
5417 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
5418 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
5419 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
5420 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
5421 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
5422 /*)
7d2108cbcd3e Porting DW 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 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
5424 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
5425 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
5426 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
5427 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
5428 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
5429 $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
5430 $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
5431 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
5432 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
5433 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
5434 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
5435 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
5436 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
5437 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
5438 ;;
7d2108cbcd3e Porting DW 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 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
5440
7d2108cbcd3e Porting DW 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 # 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
5442 # 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
5443 # 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
5444 # 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
5445 # 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
5446 # 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
5447 # (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
5448 # 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
5449 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
5450 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
5451 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
5452 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
5453 : 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
5454 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
5455 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
5456 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
5457 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
5458 ' >$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
5459 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
5460 { { 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
5461 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
5462 { (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
5463
7d2108cbcd3e Porting DW 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 # 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
5465 # (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
5466 # 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
5467 . ./$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
5468 # 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
5469 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
5470 }
7d2108cbcd3e Porting DW 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
7d2108cbcd3e Porting DW 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
7d2108cbcd3e Porting DW 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 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
5474 *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
5475 ' 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
5476 *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
5477 *) 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
5478 esac
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5479
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5480 if expr a : '\(a\)' >/dev/null 2>&1; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5481 as_expr=expr
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5482 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5483 as_expr=false
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5484 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5485
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5486 rm -f conf$$ conf$$.exe conf$$.file
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5487 echo >conf$$.file
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5488 if ln -s conf$$.file conf$$ 2>/dev/null; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5489 # We could just check for DJGPP; but this test a) works b) is more generic
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5490 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5491 if test -f conf$$.exe; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5492 # Don't use ln at all; we don't have any links
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5493 as_ln_s='cp -p'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5494 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5495 as_ln_s='ln -s'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5496 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5497 elif ln conf$$.file conf$$ 2>/dev/null; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5498 as_ln_s=ln
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5499 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5500 as_ln_s='cp -p'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5501 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5502 rm -f conf$$ conf$$.exe conf$$.file
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5503
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5504 if mkdir -p . 2>/dev/null; then
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5505 as_mkdir_p=:
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5506 else
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5507 as_mkdir_p=false
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5508 fi
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5509
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5510 as_executable_p="test -f"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5511
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5512 # 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
5513 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
5514
7d2108cbcd3e Porting DW 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 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
5516 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
5517
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5518
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5519 # IFS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5520 # We need space, tab and new line, in precisely that order.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5521 as_nl='
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5522 '
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5523 IFS=" $as_nl"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5524
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5525 # CDPATH.
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5526 $as_unset CDPATH
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5527
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5528 exec 6>&1
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5529
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5530 # 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
5531 # 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
5532 # 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
5533 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
5534 {
7d2108cbcd3e Porting DW 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 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
5536 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
5537 ## 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
5538 _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
5539 } >&5
7d2108cbcd3e Porting DW 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 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
5541
7d2108cbcd3e Porting DW 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 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
5543 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
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 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
5546 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
5547 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
5548 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
5549 $ $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
5550
7d2108cbcd3e Porting DW 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 _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
5552 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
5553 echo >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5554 _ACEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5555
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5556 # Files that config.status was made for.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5557 if test -n "$ac_config_files"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5558 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5559 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5560
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5561 if test -n "$ac_config_headers"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5562 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5563 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5564
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5565 if test -n "$ac_config_links"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5566 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5567 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5568
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5569 if test -n "$ac_config_commands"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5570 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5571 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5572
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5573 cat >>$CONFIG_STATUS <<\_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5574
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5575 ac_cs_usage="\
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5576 \`$as_me' instantiates files from templates according to the
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5577 current configuration.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5578
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5579 Usage: $0 [OPTIONS] [FILE]...
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5580
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5581 -h, --help print this help, then exit
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5582 -V, --version print version number, then exit
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5583 -q, --quiet do not print progress messages
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5584 -d, --debug don't remove temporary files
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5585 --recheck update $as_me by reconfiguring in the same conditions
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5586 --file=FILE[:TEMPLATE]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5587 instantiate the configuration file FILE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5588 --header=FILE[:TEMPLATE]
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5589 instantiate the configuration header FILE
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5590
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5591 Configuration files:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5592 $config_files
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5593
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5594 Configuration headers:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5595 $config_headers
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5596
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5597 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
5598 _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
5599
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5600 cat >>$CONFIG_STATUS <<_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5601 ac_cs_version="\\
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5602 config.status
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5603 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
5604 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5605
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5606 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5607 Free Software Foundation, Inc.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5608 This config.status script is free software; the Free Software Foundation
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5609 gives unlimited permission to copy, distribute and modify it."
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5610 srcdir=$srcdir
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5611 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
5612 _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
5613
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5614 cat >>$CONFIG_STATUS <<\_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5615 # If no file are specified by the user, then we need to provide default
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5616 # value. By we need to know if files were specified by the user.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5617 ac_need_defaults=:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5618 while test $# != 0
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5619 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5620 case $1 in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5621 --*=*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5622 ac_option=`expr "x$1" : 'x\([^=]*\)='`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5623 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5624 ac_shift=:
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5625 ;;
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5626 -*)
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5627 ac_option=$1
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5628 ac_optarg=$2
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5629 ac_shift=shift
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5630 ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5631 *) # This is not an option, so the user has probably given explicit
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5632 # arguments.
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5633 ac_option=$1
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5634 ac_need_defaults=false;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5635 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5636
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5637 case $ac_option in
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5638 # 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
5639 _ACEOF
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5640 cat >>$CONFIG_STATUS <<\_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5641 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5642 ac_cs_recheck=: ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5643 --version | --vers* | -V )
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5644 echo "$ac_cs_version"; exit 0 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5645 --he | --h)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5646 # 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
5647 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5648 Try \`$0 --help' for more information." >&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5649 echo "$as_me: error: ambiguous option: $1
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5650 Try \`$0 --help' for more information." >&2;}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5651 { (exit 1); exit 1; }; };;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5652 --help | --hel | -h )
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5653 echo "$ac_cs_usage"; exit 0 ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5654 --debug | --d* | -d )
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5655 debug=: ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5656 --file | --fil | --fi | --f )
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5657 $ac_shift
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5658 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5659 ac_need_defaults=false;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5660 --header | --heade | --head | --hea )
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5661 $ac_shift
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5662 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5663 ac_need_defaults=false;;
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5664 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5665 | -silent | --silent | --silen | --sile | --sil | --si | --s)
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5666 ac_cs_silent=: ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5667
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5668 # 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
5669 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5670 Try \`$0 --help' for more information." >&5
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5671 echo "$as_me: error: unrecognized option: $1
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5672 Try \`$0 --help' for more information." >&2;}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5673 { (exit 1); exit 1; }; } ;;
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
5674
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
5675 *) 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
5676
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5677 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5678 shift
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5679 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5680
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5681 ac_configure_extra_args=
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5682
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5683 if $ac_cs_silent; then
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5684 exec 6>/dev/null
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5685 ac_configure_extra_args="$ac_configure_extra_args --silent"
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5686 fi
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5687
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5688 _ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5689 cat >>$CONFIG_STATUS <<_ACEOF
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5690 if \$ac_cs_recheck; then
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5691 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
5692 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
5693 fi
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5694
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5695 _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
5696
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5697
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5698
7d2108cbcd3e Porting DW 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 cat >>$CONFIG_STATUS <<\_ACEOF
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
5702 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
5703 do
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
5704 case "$ac_config_target" in
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
5705 # Handling of arguments.
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
5706 "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
5707 "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
5708 "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
5709 *) { { 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
5710 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
5711 { (exit 1); exit 1; }; };;
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
5712 esac
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
5713 done
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
5714
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5715 # If the user did not use the arguments to specify the items to instantiate,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5716 # then the envvar interface is used. Set only those that are not.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5717 # We use the long form for the default assignment because of an extremely
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5718 # bizarre bug on SunOS 4.1.3.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5719 if $ac_need_defaults; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5720 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5721 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5722 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5723
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5724 # 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
5725 # 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
5726 # creating and moving files from /tmp can sometimes cause problems.
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5727 # Create a temporary directory, and hook for its removal unless debugging.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5728 $debug ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5729 {
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5730 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
5731 trap '{ (exit 1); exit 1; }' 1 2 13 15
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5732 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5733
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5734 # Create a (secure) tmp directory for tmp files.
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5735
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5736 {
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5737 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5738 test -n "$tmp" && test -d "$tmp"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5739 } ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5740 {
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5741 tmp=./confstat$$-$RANDOM
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5742 (umask 077 && mkdir $tmp)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5743 } ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5744 {
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5745 echo "$me: cannot create a temporary directory in ." >&2
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5746 { (exit 1); exit 1; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5747 }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5748
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5749 _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
5750
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5751 cat >>$CONFIG_STATUS <<_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5752
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5753 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5754 # CONFIG_FILES section.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5755 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5756
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5757 # No need to generate the scripts if there are no CONFIG_FILES.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5758 # This happens for instance when ./config.status config.h
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5759 if test -n "\$CONFIG_FILES"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5760 # Protect against being on the right side of a sed subst in config.status.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5761 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5762 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5763 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
5764 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
5765 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
5766 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
5767 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
5768 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
5769 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5770 s,@exec_prefix@,$exec_prefix,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5771 s,@prefix@,$prefix,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5772 s,@program_transform_name@,$program_transform_name,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5773 s,@bindir@,$bindir,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5774 s,@sbindir@,$sbindir,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5775 s,@libexecdir@,$libexecdir,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5776 s,@datadir@,$datadir,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5777 s,@sysconfdir@,$sysconfdir,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5778 s,@sharedstatedir@,$sharedstatedir,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5779 s,@localstatedir@,$localstatedir,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5780 s,@libdir@,$libdir,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5781 s,@includedir@,$includedir,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5782 s,@oldincludedir@,$oldincludedir,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5783 s,@infodir@,$infodir,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5784 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
5785 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
5786 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
5787 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
5788 s,@DEFS@,$DEFS,;t t
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5789 s,@ECHO_C@,$ECHO_C,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5790 s,@ECHO_N@,$ECHO_N,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5791 s,@ECHO_T@,$ECHO_T,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5792 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
5793 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
5794 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
5795 s,@DW_SUB_VERSION@,$DW_SUB_VERSION,;t t
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5796 s,@CC@,$CC,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5797 s,@CFLAGS@,$CFLAGS,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5798 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
5799 s,@CPPFLAGS@,$CPPFLAGS,;t t
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5800 s,@ac_ct_CC@,$ac_ct_CC,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5801 s,@EXEEXT@,$EXEEXT,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5802 s,@OBJEXT@,$OBJEXT,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5803 s,@MAKE@,$MAKE,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5804 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5805 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5806 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5807 s,@CPP@,$CPP,;t t
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5808 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
5809 s,@PKG_CFG@,$PKG_CFG,;t t
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5810 s,@GLIB_CONFIG@,$GLIB_CONFIG,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5811 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5812 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5813 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5814 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5815 s,@GTK_LIBS@,$GTK_LIBS,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5816 s,@IMLIB_CONFIG@,$IMLIB_CONFIG,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5817 s,@GDK_IMLIB_CFLAGS@,$GDK_IMLIB_CFLAGS,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5818 s,@GDK_IMLIB_LIBS@,$GDK_IMLIB_LIBS,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5819 s,@INCLUDES@,$INCLUDES,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5820 s,@RM@,$RM,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5821 s,@LN@,$LN,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5822 s,@CP@,$CP,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5823 s,@MV@,$MV,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5824 s,@MKDIR@,$MKDIR,;t t
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5825 s,@SHAREDFLAG@,$SHAREDFLAG,;t t
412
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
5826 s,@DW_SRC@,$DW_SRC,;t t
a8015e02b590 Initial configure support for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 251
diff changeset
5827 s,@DW_DEFINE@,$DW_DEFINE,;t t
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5828 s,@LIBOBJS@,$LIBOBJS,;t t
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5829 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5830 CEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5831
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5832 _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
5833
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5834 cat >>$CONFIG_STATUS <<\_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5835 # Split the substitutions into bite-sized pieces for seds with
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5836 # small command number limits, like on Digital OSF/1 and HP-UX.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5837 ac_max_sed_lines=48
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5838 ac_sed_frag=1 # Number of current file.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5839 ac_beg=1 # First line for current file.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5840 ac_end=$ac_max_sed_lines # Line after last line for current file.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5841 ac_more_lines=:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5842 ac_sed_cmds=
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5843 while $ac_more_lines; do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5844 if test $ac_beg -gt 1; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5845 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5846 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5847 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5848 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5849 if test ! -s $tmp/subs.frag; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5850 ac_more_lines=false
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5851 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5852 # The purpose of the label and of the branching condition is to
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5853 # speed up the sed processing (if there are no `@' at all, there
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5854 # is no need to browse any of the substitutions).
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5855 # These are the two extra sed commands mentioned above.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5856 (echo ':t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5857 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5858 if test -z "$ac_sed_cmds"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5859 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5860 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5861 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5862 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5863 ac_sed_frag=`expr $ac_sed_frag + 1`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5864 ac_beg=$ac_end
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5865 ac_end=`expr $ac_end + $ac_max_sed_lines`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5866 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5867 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5868 if test -z "$ac_sed_cmds"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5869 ac_sed_cmds=cat
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5870 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5871 fi # test -n "$CONFIG_FILES"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5872
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5873 _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
5874 cat >>$CONFIG_STATUS <<\_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5875 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5876 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5877 case $ac_file in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5878 - | *:- | *:-:* ) # input from stdin
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5879 cat >$tmp/stdin
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5880 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5881 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5882 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5883 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5884 * ) ac_file_in=$ac_file.in ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5885 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5886
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5887 # 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
5888 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
5889 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5890 X"$ac_file" : 'X\(//\)[^/]' \| \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5891 X"$ac_file" : 'X\(//\)$' \| \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5892 X"$ac_file" : 'X\(/\)' \| \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5893 . : '\(.\)' 2>/dev/null ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5894 echo X"$ac_file" |
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5895 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5896 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5897 /^X\(\/\/\)$/{ s//\1/; q; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5898 /^X\(\/\).*/{ s//\1/; q; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5899 s/.*/./; q'`
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5900 { if $as_mkdir_p; then
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5901 mkdir -p "$ac_dir"
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5902 else
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5903 as_dir="$ac_dir"
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5904 as_dirs=
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5905 while test ! -d "$as_dir"; do
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5906 as_dirs="$as_dir $as_dirs"
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5907 as_dir=`(dirname "$as_dir") 2>/dev/null ||
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5908 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5909 X"$as_dir" : 'X\(//\)[^/]' \| \
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5910 X"$as_dir" : 'X\(//\)$' \| \
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5911 X"$as_dir" : 'X\(/\)' \| \
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5912 . : '\(.\)' 2>/dev/null ||
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5913 echo X"$as_dir" |
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5914 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5915 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5916 /^X\(\/\/\)$/{ s//\1/; q; }
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5917 /^X\(\/\).*/{ s//\1/; q; }
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5918 s/.*/./; q'`
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5919 done
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5920 test ! -n "$as_dirs" || mkdir $as_dirs
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
5921 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
5922 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
5923 { (exit 1); exit 1; }; }; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5924
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5925 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
5926
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
5927 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
5928 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
5929 # 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
5930 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
5931 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
5932 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
5933 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
5934
7d2108cbcd3e Porting DW 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 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
5936 .) # 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
5937 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
5938 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
5939 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
5940 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
5941 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
5942 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
5943 [\\/]* | ?:[\\/]* ) # 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
5944 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
5945 ac_top_srcdir=$srcdir ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5946 *) # 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
5947 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
5948 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
5949 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
5950 # 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
5951 # 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
5952 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
5953 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
5954 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
5955 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
5956
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5957
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5958 case $INSTALL in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5959 [\\/$]* | ?:[\\/]* ) 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
5960 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5961 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5962
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5963 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
5964 { echo "$as_me:$LINENO: creating $ac_file" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5965 echo "$as_me: creating $ac_file" >&6;}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5966 rm -f "$ac_file"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5967 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5968 # Let's still pretend it is `configure' which instantiates (i.e., don't
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5969 # 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
5970 # /* 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
5971 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
5972 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
5973 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
5974 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
5975 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
5976 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
5977 sed 's,.*/,,'` by configure."
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5978
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5979 # First look for the input files in the build tree, otherwise in the
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5980 # src tree.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5981 ac_file_inputs=`IFS=:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5982 for f in $ac_file_in; do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5983 case $f in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5984 -) echo $tmp/stdin ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5985 [\\/$]*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5986 # 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
5987 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5988 echo "$as_me: error: cannot find input file: $f" >&2;}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5989 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5990 echo $f;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5991 *) # Relative
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5992 if test -f "$f"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5993 # Build tree
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5994 echo $f
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5995 elif test -f "$srcdir/$f"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5996 # Source tree
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5997 echo $srcdir/$f
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5998 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5999 # /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
6000 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6001 echo "$as_me: error: cannot find input file: $f" >&2;}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6002 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6003 fi;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6004 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6005 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
6006 _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
6007 cat >>$CONFIG_STATUS <<_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6008 sed "$ac_vpsub
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6009 $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
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6012 :t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6013 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6014 s,@configure_input@,$configure_input,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6015 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
6016 s,@abs_srcdir@,$ac_abs_srcdir,;t t
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6017 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
6018 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
6019 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
6020 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
6021 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
6022 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6023 s,@INSTALL@,$ac_INSTALL,;t t
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6024 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6025 rm -f $tmp/stdin
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6026 if test x"$ac_file" != x-; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6027 mv $tmp/out $ac_file
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6028 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6029 cat $tmp/out
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6030 rm -f $tmp/out
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6031 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6032
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6033 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
6034 _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
6035 cat >>$CONFIG_STATUS <<\_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6036
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6037 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6038 # CONFIG_HEADER section.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6039 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6040
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6041 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6042 # NAME is the cpp macro being defined and VALUE is the value it is being given.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6043 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6044 # ac_d sets the value in "#define NAME VALUE" lines.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6045 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6046 ac_dB='[ ].*$,\1#\2'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6047 ac_dC=' '
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6048 ac_dD=',;t'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6049 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6050 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6051 ac_uB='$,\1#\2define\3'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6052 ac_uC=' '
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6053 ac_uD=',;t'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6054
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6055 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6056 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6057 case $ac_file in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6058 - | *:- | *:-:* ) # input from stdin
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6059 cat >$tmp/stdin
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6060 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6061 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6062 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6063 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6064 * ) ac_file_in=$ac_file.in ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6065 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6066
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6067 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6068 echo "$as_me: creating $ac_file" >&6;}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6069
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6070 # First look for the input files in the build tree, otherwise in the
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6071 # src tree.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6072 ac_file_inputs=`IFS=:
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6073 for f in $ac_file_in; do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6074 case $f in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6075 -) echo $tmp/stdin ;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6076 [\\/$]*)
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6077 # 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
6078 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6079 echo "$as_me: error: cannot find input file: $f" >&2;}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6080 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6081 echo $f;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6082 *) # Relative
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6083 if test -f "$f"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6084 # Build tree
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6085 echo $f
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6086 elif test -f "$srcdir/$f"; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6087 # Source tree
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6088 echo $srcdir/$f
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6089 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6090 # /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
6091 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6092 echo "$as_me: error: cannot find input file: $f" >&2;}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6093 { (exit 1); exit 1; }; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6094 fi;;
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6095 esac
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6096 done` || { (exit 1); exit 1; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6097 # Remove the trailing spaces.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6098 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6099
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6100 _ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6101
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6102 # Transform confdefs.h into two sed scripts, `conftest.defines' and
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6103 # `conftest.undefs', that substitutes the proper values into
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6104 # config.h.in to produce config.h. The first handles `#define'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6105 # templates, and the second `#undef' templates.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6106 # And first: Protect against being on the right side of a sed subst in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6107 # config.status. Protect against being in an unquoted here document
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6108 # in config.status.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6109 rm -f conftest.defines conftest.undefs
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6110 # Using a here document instead of a string reduces the quoting nightmare.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6111 # Putting comments in sed scripts is not portable.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6112 #
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6113 # `end' is used to avoid that the second main sed command (meant for
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6114 # 0-ary CPP macros) applies to n-ary macro definitions.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6115 # 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
6116 cat >confdef2sed.sed <<\_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6117 s/[\\&,]/\\&/g
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6118 s,[\\$`],\\&,g
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6119 t clear
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6120 : 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
6121 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6122 t end
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6123 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6124 : 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
6125 _ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6126 # If some macros were called several times there might be several times
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6127 # the same #defines, which is useless. Nevertheless, we may not want to
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6128 # sort them, since we want the *last* AC-DEFINE to be honored.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6129 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6130 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6131 rm -f confdef2sed.sed
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6132
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6133 # This sed command replaces #undef with comments. This is necessary, for
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6134 # example, in the case of _POSIX_SOURCE, which is predefined and required
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6135 # 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
6136 cat >>conftest.undefs <<\_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6137 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
6138 _ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6139
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6140 # Break up conftest.defines because some shells have a limit on the size
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6141 # of here documents, and old seds have small limits too (100 cmds).
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6142 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
6143 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6144 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6145 echo ' :' >>$CONFIG_STATUS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6146 rm -f conftest.tail
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6147 while grep . conftest.defines >/dev/null
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6148 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6149 # Write a limited-size here document to $tmp/defines.sed.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6150 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6151 # Speed up: don't consider the non `#define' lines.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6152 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6153 # Work around the forget-to-reset-the-flag bug.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6154 echo 't clr' >>$CONFIG_STATUS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6155 echo ': clr' >>$CONFIG_STATUS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6156 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6157 echo 'CEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6158 sed -f $tmp/defines.sed $tmp/in >$tmp/out
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6159 rm -f $tmp/in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6160 mv $tmp/out $tmp/in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6161 ' >>$CONFIG_STATUS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6162 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6163 rm -f conftest.defines
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6164 mv conftest.tail conftest.defines
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6165 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6166 rm -f conftest.defines
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
6167 echo ' fi # grep' >>$CONFIG_STATUS
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6168 echo >>$CONFIG_STATUS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6169
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6170 # Break up conftest.undefs because some shells have a limit on the size
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6171 # of here documents, and old seds have small limits too (100 cmds).
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6172 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6173 rm -f conftest.tail
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6174 while grep . conftest.undefs >/dev/null
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6175 do
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6176 # Write a limited-size here document to $tmp/undefs.sed.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6177 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6178 # Speed up: don't consider the non `#undef'
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6179 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6180 # Work around the forget-to-reset-the-flag bug.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6181 echo 't clr' >>$CONFIG_STATUS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6182 echo ': clr' >>$CONFIG_STATUS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6183 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6184 echo 'CEOF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6185 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6186 rm -f $tmp/in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6187 mv $tmp/out $tmp/in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6188 ' >>$CONFIG_STATUS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6189 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6190 rm -f conftest.undefs
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6191 mv conftest.tail conftest.undefs
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6192 done
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6193 rm -f conftest.undefs
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6194
120
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6195 cat >>$CONFIG_STATUS <<\_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6196 # Let's still pretend it is `configure' which instantiates (i.e., don't
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6197 # 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
6198 # /* config.h. Generated by config.status. */
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6199 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
6200 echo "/* Generated by configure. */" >$tmp/config.h
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6201 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
6202 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6203 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6204 cat $tmp/in >>$tmp/config.h
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6205 rm -f $tmp/in
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6206 if test x"$ac_file" != x-; then
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
6207 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
6208 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6209 echo "$as_me: $ac_file is unchanged" >&6;}
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6210 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
6211 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
6212 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6213 X"$ac_file" : 'X\(//\)[^/]' \| \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6214 X"$ac_file" : 'X\(//\)$' \| \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6215 X"$ac_file" : 'X\(/\)' \| \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6216 . : '\(.\)' 2>/dev/null ||
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6217 echo X"$ac_file" |
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6218 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6219 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6220 /^X\(\/\/\)$/{ s//\1/; q; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6221 /^X\(\/\).*/{ s//\1/; q; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6222 s/.*/./; q'`
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
6223 { if $as_mkdir_p; then
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
6224 mkdir -p "$ac_dir"
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
6225 else
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
6226 as_dir="$ac_dir"
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
6227 as_dirs=
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
6228 while test ! -d "$as_dir"; do
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
6229 as_dirs="$as_dir $as_dirs"
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
6230 as_dir=`(dirname "$as_dir") 2>/dev/null ||
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
6231 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
6232 X"$as_dir" : 'X\(//\)[^/]' \| \
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
6233 X"$as_dir" : 'X\(//\)$' \| \
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
6234 X"$as_dir" : 'X\(/\)' \| \
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
6235 . : '\(.\)' 2>/dev/null ||
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
6236 echo X"$as_dir" |
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
6237 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
6238 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
6239 /^X\(\/\/\)$/{ s//\1/; q; }
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
6240 /^X\(\/\).*/{ s//\1/; q; }
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
6241 s/.*/./; q'`
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
6242 done
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
6243 test ! -n "$as_dirs" || mkdir $as_dirs
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
6244 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
6245 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
6246 { (exit 1); exit 1; }; }; }
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6247
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6248 rm -f $ac_file
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6249 mv $tmp/config.h $ac_file
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6250 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6251 else
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6252 cat $tmp/config.h
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6253 rm -f $tmp/config.h
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6254 fi
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6255 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
6256 _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
6257
7d2108cbcd3e Porting DW to GTK 2.0... and changed the percent value from into to a float
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 80
diff changeset
6258 cat >>$CONFIG_STATUS <<\_ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6259
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6260 { (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
6261 _ACEOF
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6262 chmod +x $CONFIG_STATUS
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6263 ac_clean_files=$ac_clean_files_save
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6264
120
7d2108cbcd3e Porting DW 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
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6266 # configure is writing to config.log, and then calls config.status.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6267 # config.status does its own redirection, appending to config.log.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6268 # Unfortunately, on DOS this fails, as config.log is still kept open
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6269 # by configure, so config.status won't be able to write to it; its
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6270 # output is simply discarded. So we exec the FD to /dev/null,
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6271 # effectively closing config.log, so it can be properly (re)opened and
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6272 # appended to by config.status. When coming back to configure, we
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6273 # need to make the FD available again.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6274 if test "$no_create" != yes; then
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6275 ac_cs_success=:
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
6276 ac_config_status_args=
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
6277 test "$silent" = yes &&
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
6278 ac_config_status_args="$ac_config_status_args --quiet"
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6279 exec 5>/dev/null
431
561acf6de39a Changes for MacOS X.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 412
diff changeset
6280 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6281 exec 5>>config.log
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6282 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6283 # would make configure fail if this is the last instruction.
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6284 $ac_cs_success || { (exit 1); exit 1; }
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6285 fi
80
5e4730c42014 Added dw-config script to solve build problems.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents: 3
diff changeset
6286