[15285] | 1 | #! /bin/sh |
---|
| 2 | |
---|
[18403] | 3 | # From configure.in Revision: 1.43 |
---|
[15285] | 4 | |
---|
| 5 | |
---|
| 6 | |
---|
| 7 | |
---|
| 8 | |
---|
| 9 | |
---|
| 10 | |
---|
| 11 | |
---|
| 12 | |
---|
| 13 | |
---|
| 14 | |
---|
| 15 | # Guess values for system-dependent variables and create Makefiles. |
---|
| 16 | # Generated automatically using autoconf version 2.13 |
---|
| 17 | # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. |
---|
| 18 | # |
---|
| 19 | # This configure script is free software; the Free Software Foundation |
---|
| 20 | # gives unlimited permission to copy, distribute and modify it. |
---|
| 21 | |
---|
| 22 | # Defaults: |
---|
| 23 | ac_help= |
---|
| 24 | ac_default_prefix=/usr/local |
---|
| 25 | # Any additions from configure.in: |
---|
| 26 | ac_help="$ac_help |
---|
| 27 | --with-rep-prefix=PFX Prefix where rep is installed (optional)" |
---|
| 28 | ac_help="$ac_help |
---|
| 29 | --with-gnome Build GNOME wrappers |
---|
| 30 | --without-gnome Don't wrap GNOME" |
---|
| 31 | ac_help="$ac_help |
---|
| 32 | --with-libglade Build libglade wrappers (dynamic GUI builder) |
---|
| 33 | --without-libglade Don't wrap libglade" |
---|
| 34 | |
---|
| 35 | # Initialize some variables set by options. |
---|
| 36 | # The variables have the same names as the options, with |
---|
| 37 | # dashes changed to underlines. |
---|
| 38 | build=NONE |
---|
| 39 | cache_file=./config.cache |
---|
| 40 | exec_prefix=NONE |
---|
| 41 | host=NONE |
---|
| 42 | no_create= |
---|
| 43 | nonopt=NONE |
---|
| 44 | no_recursion= |
---|
| 45 | prefix=NONE |
---|
| 46 | program_prefix=NONE |
---|
| 47 | program_suffix=NONE |
---|
| 48 | program_transform_name=s,x,x, |
---|
| 49 | silent= |
---|
| 50 | site= |
---|
| 51 | srcdir= |
---|
| 52 | target=NONE |
---|
| 53 | verbose= |
---|
| 54 | x_includes=NONE |
---|
| 55 | x_libraries=NONE |
---|
| 56 | bindir='${exec_prefix}/bin' |
---|
| 57 | sbindir='${exec_prefix}/sbin' |
---|
| 58 | libexecdir='${exec_prefix}/libexec' |
---|
| 59 | datadir='${prefix}/share' |
---|
| 60 | sysconfdir='${prefix}/etc' |
---|
| 61 | sharedstatedir='${prefix}/com' |
---|
| 62 | localstatedir='${prefix}/var' |
---|
| 63 | libdir='${exec_prefix}/lib' |
---|
| 64 | includedir='${prefix}/include' |
---|
| 65 | oldincludedir='/usr/include' |
---|
| 66 | infodir='${prefix}/info' |
---|
| 67 | mandir='${prefix}/man' |
---|
| 68 | |
---|
| 69 | # Initialize some other variables. |
---|
| 70 | subdirs= |
---|
| 71 | MFLAGS= MAKEFLAGS= |
---|
| 72 | SHELL=${CONFIG_SHELL-/bin/sh} |
---|
| 73 | # Maximum number of lines to put in a shell here document. |
---|
| 74 | ac_max_here_lines=12 |
---|
| 75 | |
---|
| 76 | ac_prev= |
---|
| 77 | for ac_option |
---|
| 78 | do |
---|
| 79 | |
---|
| 80 | # If the previous option needs an argument, assign it. |
---|
| 81 | if test -n "$ac_prev"; then |
---|
| 82 | eval "$ac_prev=\$ac_option" |
---|
| 83 | ac_prev= |
---|
| 84 | continue |
---|
| 85 | fi |
---|
| 86 | |
---|
| 87 | case "$ac_option" in |
---|
| 88 | -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; |
---|
| 89 | *) ac_optarg= ;; |
---|
| 90 | esac |
---|
| 91 | |
---|
| 92 | # Accept the important Cygnus configure options, so we can diagnose typos. |
---|
| 93 | |
---|
| 94 | case "$ac_option" in |
---|
| 95 | |
---|
| 96 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
---|
| 97 | ac_prev=bindir ;; |
---|
| 98 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
---|
| 99 | bindir="$ac_optarg" ;; |
---|
| 100 | |
---|
| 101 | -build | --build | --buil | --bui | --bu) |
---|
| 102 | ac_prev=build ;; |
---|
| 103 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
---|
| 104 | build="$ac_optarg" ;; |
---|
| 105 | |
---|
| 106 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
| 107 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
| 108 | ac_prev=cache_file ;; |
---|
| 109 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
| 110 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
---|
| 111 | cache_file="$ac_optarg" ;; |
---|
| 112 | |
---|
| 113 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
---|
| 114 | ac_prev=datadir ;; |
---|
| 115 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
---|
| 116 | | --da=*) |
---|
| 117 | datadir="$ac_optarg" ;; |
---|
| 118 | |
---|
| 119 | -disable-* | --disable-*) |
---|
| 120 | ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` |
---|
| 121 | # Reject names that are not valid shell variable names. |
---|
| 122 | if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then |
---|
| 123 | { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } |
---|
| 124 | fi |
---|
| 125 | ac_feature=`echo $ac_feature| sed 's/-/_/g'` |
---|
| 126 | eval "enable_${ac_feature}=no" ;; |
---|
| 127 | |
---|
| 128 | -enable-* | --enable-*) |
---|
| 129 | ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` |
---|
| 130 | # Reject names that are not valid shell variable names. |
---|
| 131 | if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then |
---|
| 132 | { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } |
---|
| 133 | fi |
---|
| 134 | ac_feature=`echo $ac_feature| sed 's/-/_/g'` |
---|
| 135 | case "$ac_option" in |
---|
| 136 | *=*) ;; |
---|
| 137 | *) ac_optarg=yes ;; |
---|
| 138 | esac |
---|
| 139 | eval "enable_${ac_feature}='$ac_optarg'" ;; |
---|
| 140 | |
---|
| 141 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
---|
| 142 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
---|
| 143 | | --exec | --exe | --ex) |
---|
| 144 | ac_prev=exec_prefix ;; |
---|
| 145 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
---|
| 146 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
---|
| 147 | | --exec=* | --exe=* | --ex=*) |
---|
| 148 | exec_prefix="$ac_optarg" ;; |
---|
| 149 | |
---|
| 150 | -gas | --gas | --ga | --g) |
---|
| 151 | # Obsolete; use --with-gas. |
---|
| 152 | with_gas=yes ;; |
---|
| 153 | |
---|
| 154 | -help | --help | --hel | --he) |
---|
| 155 | # Omit some internal or obsolete options to make the list less imposing. |
---|
| 156 | # This message is too long to be a string in the A/UX 3.1 sh. |
---|
| 157 | cat << EOF |
---|
| 158 | Usage: configure [options] [host] |
---|
| 159 | Options: [defaults in brackets after descriptions] |
---|
| 160 | Configuration: |
---|
| 161 | --cache-file=FILE cache test results in FILE |
---|
| 162 | --help print this message |
---|
| 163 | --no-create do not create output files |
---|
| 164 | --quiet, --silent do not print \`checking...' messages |
---|
| 165 | --version print the version of autoconf that created configure |
---|
| 166 | Directory and file names: |
---|
| 167 | --prefix=PREFIX install architecture-independent files in PREFIX |
---|
| 168 | [$ac_default_prefix] |
---|
| 169 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
---|
| 170 | [same as prefix] |
---|
| 171 | --bindir=DIR user executables in DIR [EPREFIX/bin] |
---|
| 172 | --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] |
---|
| 173 | --libexecdir=DIR program executables in DIR [EPREFIX/libexec] |
---|
| 174 | --datadir=DIR read-only architecture-independent data in DIR |
---|
| 175 | [PREFIX/share] |
---|
| 176 | --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] |
---|
| 177 | --sharedstatedir=DIR modifiable architecture-independent data in DIR |
---|
| 178 | [PREFIX/com] |
---|
| 179 | --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] |
---|
| 180 | --libdir=DIR object code libraries in DIR [EPREFIX/lib] |
---|
| 181 | --includedir=DIR C header files in DIR [PREFIX/include] |
---|
| 182 | --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] |
---|
| 183 | --infodir=DIR info documentation in DIR [PREFIX/info] |
---|
| 184 | --mandir=DIR man documentation in DIR [PREFIX/man] |
---|
| 185 | --srcdir=DIR find the sources in DIR [configure dir or ..] |
---|
| 186 | --program-prefix=PREFIX prepend PREFIX to installed program names |
---|
| 187 | --program-suffix=SUFFIX append SUFFIX to installed program names |
---|
| 188 | --program-transform-name=PROGRAM |
---|
| 189 | run sed PROGRAM on installed program names |
---|
| 190 | EOF |
---|
| 191 | cat << EOF |
---|
| 192 | Host type: |
---|
| 193 | --build=BUILD configure for building on BUILD [BUILD=HOST] |
---|
| 194 | --host=HOST configure for HOST [guessed] |
---|
| 195 | --target=TARGET configure for TARGET [TARGET=HOST] |
---|
| 196 | Features and packages: |
---|
| 197 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
---|
| 198 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
---|
| 199 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
---|
| 200 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
---|
| 201 | --x-includes=DIR X include files are in DIR |
---|
| 202 | --x-libraries=DIR X library files are in DIR |
---|
| 203 | EOF |
---|
| 204 | if test -n "$ac_help"; then |
---|
| 205 | echo "--enable and --with options recognized:$ac_help" |
---|
| 206 | fi |
---|
| 207 | exit 0 ;; |
---|
| 208 | |
---|
| 209 | -host | --host | --hos | --ho) |
---|
| 210 | ac_prev=host ;; |
---|
| 211 | -host=* | --host=* | --hos=* | --ho=*) |
---|
| 212 | host="$ac_optarg" ;; |
---|
| 213 | |
---|
| 214 | -includedir | --includedir | --includedi | --included | --include \ |
---|
| 215 | | --includ | --inclu | --incl | --inc) |
---|
| 216 | ac_prev=includedir ;; |
---|
| 217 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
---|
| 218 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
---|
| 219 | includedir="$ac_optarg" ;; |
---|
| 220 | |
---|
| 221 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
---|
| 222 | ac_prev=infodir ;; |
---|
| 223 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
---|
| 224 | infodir="$ac_optarg" ;; |
---|
| 225 | |
---|
| 226 | -libdir | --libdir | --libdi | --libd) |
---|
| 227 | ac_prev=libdir ;; |
---|
| 228 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
---|
| 229 | libdir="$ac_optarg" ;; |
---|
| 230 | |
---|
| 231 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
---|
| 232 | | --libexe | --libex | --libe) |
---|
| 233 | ac_prev=libexecdir ;; |
---|
| 234 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
---|
| 235 | | --libexe=* | --libex=* | --libe=*) |
---|
| 236 | libexecdir="$ac_optarg" ;; |
---|
| 237 | |
---|
| 238 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
---|
| 239 | | --localstate | --localstat | --localsta | --localst \ |
---|
| 240 | | --locals | --local | --loca | --loc | --lo) |
---|
| 241 | ac_prev=localstatedir ;; |
---|
| 242 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
---|
| 243 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
---|
| 244 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
---|
| 245 | localstatedir="$ac_optarg" ;; |
---|
| 246 | |
---|
| 247 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
---|
| 248 | ac_prev=mandir ;; |
---|
| 249 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
---|
| 250 | mandir="$ac_optarg" ;; |
---|
| 251 | |
---|
| 252 | -nfp | --nfp | --nf) |
---|
| 253 | # Obsolete; use --without-fp. |
---|
| 254 | with_fp=no ;; |
---|
| 255 | |
---|
| 256 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
---|
| 257 | | --no-cr | --no-c) |
---|
| 258 | no_create=yes ;; |
---|
| 259 | |
---|
| 260 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
---|
| 261 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
---|
| 262 | no_recursion=yes ;; |
---|
| 263 | |
---|
| 264 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
---|
| 265 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
---|
| 266 | | --oldin | --oldi | --old | --ol | --o) |
---|
| 267 | ac_prev=oldincludedir ;; |
---|
| 268 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
---|
| 269 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
---|
| 270 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
---|
| 271 | oldincludedir="$ac_optarg" ;; |
---|
| 272 | |
---|
| 273 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
---|
| 274 | ac_prev=prefix ;; |
---|
| 275 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
---|
| 276 | prefix="$ac_optarg" ;; |
---|
| 277 | |
---|
| 278 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
---|
| 279 | | --program-pre | --program-pr | --program-p) |
---|
| 280 | ac_prev=program_prefix ;; |
---|
| 281 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
---|
| 282 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
---|
| 283 | program_prefix="$ac_optarg" ;; |
---|
| 284 | |
---|
| 285 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
---|
| 286 | | --program-suf | --program-su | --program-s) |
---|
| 287 | ac_prev=program_suffix ;; |
---|
| 288 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
---|
| 289 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
---|
| 290 | program_suffix="$ac_optarg" ;; |
---|
| 291 | |
---|
| 292 | -program-transform-name | --program-transform-name \ |
---|
| 293 | | --program-transform-nam | --program-transform-na \ |
---|
| 294 | | --program-transform-n | --program-transform- \ |
---|
| 295 | | --program-transform | --program-transfor \ |
---|
| 296 | | --program-transfo | --program-transf \ |
---|
| 297 | | --program-trans | --program-tran \ |
---|
| 298 | | --progr-tra | --program-tr | --program-t) |
---|
| 299 | ac_prev=program_transform_name ;; |
---|
| 300 | -program-transform-name=* | --program-transform-name=* \ |
---|
| 301 | | --program-transform-nam=* | --program-transform-na=* \ |
---|
| 302 | | --program-transform-n=* | --program-transform-=* \ |
---|
| 303 | | --program-transform=* | --program-transfor=* \ |
---|
| 304 | | --program-transfo=* | --program-transf=* \ |
---|
| 305 | | --program-trans=* | --program-tran=* \ |
---|
| 306 | | --progr-tra=* | --program-tr=* | --program-t=*) |
---|
| 307 | program_transform_name="$ac_optarg" ;; |
---|
| 308 | |
---|
| 309 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 310 | | -silent | --silent | --silen | --sile | --sil) |
---|
| 311 | silent=yes ;; |
---|
| 312 | |
---|
| 313 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
---|
| 314 | ac_prev=sbindir ;; |
---|
| 315 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
---|
| 316 | | --sbi=* | --sb=*) |
---|
| 317 | sbindir="$ac_optarg" ;; |
---|
| 318 | |
---|
| 319 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
---|
| 320 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
---|
| 321 | | --sharedst | --shareds | --shared | --share | --shar \ |
---|
| 322 | | --sha | --sh) |
---|
| 323 | ac_prev=sharedstatedir ;; |
---|
| 324 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
---|
| 325 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
---|
| 326 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
---|
| 327 | | --sha=* | --sh=*) |
---|
| 328 | sharedstatedir="$ac_optarg" ;; |
---|
| 329 | |
---|
| 330 | -site | --site | --sit) |
---|
| 331 | ac_prev=site ;; |
---|
| 332 | -site=* | --site=* | --sit=*) |
---|
| 333 | site="$ac_optarg" ;; |
---|
| 334 | |
---|
| 335 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
| 336 | ac_prev=srcdir ;; |
---|
| 337 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
| 338 | srcdir="$ac_optarg" ;; |
---|
| 339 | |
---|
| 340 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
---|
| 341 | | --syscon | --sysco | --sysc | --sys | --sy) |
---|
| 342 | ac_prev=sysconfdir ;; |
---|
| 343 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
---|
| 344 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
---|
| 345 | sysconfdir="$ac_optarg" ;; |
---|
| 346 | |
---|
| 347 | -target | --target | --targe | --targ | --tar | --ta | --t) |
---|
| 348 | ac_prev=target ;; |
---|
| 349 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
---|
| 350 | target="$ac_optarg" ;; |
---|
| 351 | |
---|
| 352 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
---|
| 353 | verbose=yes ;; |
---|
| 354 | |
---|
| 355 | -version | --version | --versio | --versi | --vers) |
---|
| 356 | echo "configure generated by autoconf version 2.13" |
---|
| 357 | exit 0 ;; |
---|
| 358 | |
---|
| 359 | -with-* | --with-*) |
---|
| 360 | ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` |
---|
| 361 | # Reject names that are not valid shell variable names. |
---|
| 362 | if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then |
---|
| 363 | { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } |
---|
| 364 | fi |
---|
| 365 | ac_package=`echo $ac_package| sed 's/-/_/g'` |
---|
| 366 | case "$ac_option" in |
---|
| 367 | *=*) ;; |
---|
| 368 | *) ac_optarg=yes ;; |
---|
| 369 | esac |
---|
| 370 | eval "with_${ac_package}='$ac_optarg'" ;; |
---|
| 371 | |
---|
| 372 | -without-* | --without-*) |
---|
| 373 | ac_package=`echo $ac_option|sed -e 's/-*without-//'` |
---|
| 374 | # Reject names that are not valid shell variable names. |
---|
| 375 | if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then |
---|
| 376 | { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } |
---|
| 377 | fi |
---|
| 378 | ac_package=`echo $ac_package| sed 's/-/_/g'` |
---|
| 379 | eval "with_${ac_package}=no" ;; |
---|
| 380 | |
---|
| 381 | --x) |
---|
| 382 | # Obsolete; use --with-x. |
---|
| 383 | with_x=yes ;; |
---|
| 384 | |
---|
| 385 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
---|
| 386 | | --x-incl | --x-inc | --x-in | --x-i) |
---|
| 387 | ac_prev=x_includes ;; |
---|
| 388 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
---|
| 389 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
---|
| 390 | x_includes="$ac_optarg" ;; |
---|
| 391 | |
---|
| 392 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
---|
| 393 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
---|
| 394 | ac_prev=x_libraries ;; |
---|
| 395 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
---|
| 396 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
---|
| 397 | x_libraries="$ac_optarg" ;; |
---|
| 398 | |
---|
| 399 | -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } |
---|
| 400 | ;; |
---|
| 401 | |
---|
| 402 | *) |
---|
| 403 | if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then |
---|
| 404 | echo "configure: warning: $ac_option: invalid host type" 1>&2 |
---|
| 405 | fi |
---|
| 406 | if test "x$nonopt" != xNONE; then |
---|
| 407 | { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } |
---|
| 408 | fi |
---|
| 409 | nonopt="$ac_option" |
---|
| 410 | ;; |
---|
| 411 | |
---|
| 412 | esac |
---|
| 413 | done |
---|
| 414 | |
---|
| 415 | if test -n "$ac_prev"; then |
---|
| 416 | { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } |
---|
| 417 | fi |
---|
| 418 | |
---|
| 419 | trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
---|
| 420 | |
---|
| 421 | # File descriptor usage: |
---|
| 422 | # 0 standard input |
---|
| 423 | # 1 file creation |
---|
| 424 | # 2 errors and warnings |
---|
| 425 | # 3 some systems may open it to /dev/tty |
---|
| 426 | # 4 used on the Kubota Titan |
---|
| 427 | # 6 checking for... messages and results |
---|
| 428 | # 5 compiler messages saved in config.log |
---|
| 429 | if test "$silent" = yes; then |
---|
| 430 | exec 6>/dev/null |
---|
| 431 | else |
---|
| 432 | exec 6>&1 |
---|
| 433 | fi |
---|
| 434 | exec 5>./config.log |
---|
| 435 | |
---|
| 436 | echo "\ |
---|
| 437 | This file contains any messages produced by compilers while |
---|
| 438 | running configure, to aid debugging if configure makes a mistake. |
---|
| 439 | " 1>&5 |
---|
| 440 | |
---|
| 441 | # Strip out --no-create and --no-recursion so they do not pile up. |
---|
| 442 | # Also quote any args containing shell metacharacters. |
---|
| 443 | ac_configure_args= |
---|
| 444 | for ac_arg |
---|
| 445 | do |
---|
| 446 | case "$ac_arg" in |
---|
| 447 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
---|
| 448 | | --no-cr | --no-c) ;; |
---|
| 449 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
---|
| 450 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; |
---|
| 451 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) |
---|
| 452 | ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
---|
| 453 | *) ac_configure_args="$ac_configure_args $ac_arg" ;; |
---|
| 454 | esac |
---|
| 455 | done |
---|
| 456 | |
---|
| 457 | # NLS nuisances. |
---|
| 458 | # Only set these to C if already set. These must not be set unconditionally |
---|
| 459 | # because not all systems understand e.g. LANG=C (notably SCO). |
---|
| 460 | # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! |
---|
| 461 | # Non-C LC_CTYPE values break the ctype check. |
---|
| 462 | if test "${LANG+set}" = set; then LANG=C; export LANG; fi |
---|
| 463 | if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi |
---|
| 464 | if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi |
---|
| 465 | if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi |
---|
| 466 | |
---|
| 467 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
---|
| 468 | rm -rf conftest* confdefs.h |
---|
| 469 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. |
---|
| 470 | echo > confdefs.h |
---|
| 471 | |
---|
| 472 | # A filename unique to this package, relative to the directory that |
---|
| 473 | # configure is in, which we can look for to find out if srcdir is correct. |
---|
| 474 | ac_unique_file=rep-gtk.h |
---|
| 475 | |
---|
| 476 | # Find the source files, if location was not specified. |
---|
| 477 | if test -z "$srcdir"; then |
---|
| 478 | ac_srcdir_defaulted=yes |
---|
| 479 | # Try the directory containing this script, then its parent. |
---|
| 480 | ac_prog=$0 |
---|
| 481 | ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` |
---|
| 482 | test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. |
---|
| 483 | srcdir=$ac_confdir |
---|
| 484 | if test ! -r $srcdir/$ac_unique_file; then |
---|
| 485 | srcdir=.. |
---|
| 486 | fi |
---|
| 487 | else |
---|
| 488 | ac_srcdir_defaulted=no |
---|
| 489 | fi |
---|
| 490 | if test ! -r $srcdir/$ac_unique_file; then |
---|
| 491 | if test "$ac_srcdir_defaulted" = yes; then |
---|
| 492 | { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } |
---|
| 493 | else |
---|
| 494 | { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } |
---|
| 495 | fi |
---|
| 496 | fi |
---|
| 497 | srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` |
---|
| 498 | |
---|
| 499 | # Prefer explicitly selected file to automatically selected ones. |
---|
| 500 | if test -z "$CONFIG_SITE"; then |
---|
| 501 | if test "x$prefix" != xNONE; then |
---|
| 502 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
---|
| 503 | else |
---|
| 504 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
---|
| 505 | fi |
---|
| 506 | fi |
---|
| 507 | for ac_site_file in $CONFIG_SITE; do |
---|
| 508 | if test -r "$ac_site_file"; then |
---|
| 509 | echo "loading site script $ac_site_file" |
---|
| 510 | . "$ac_site_file" |
---|
| 511 | fi |
---|
| 512 | done |
---|
| 513 | |
---|
| 514 | if test -r "$cache_file"; then |
---|
| 515 | echo "loading cache $cache_file" |
---|
| 516 | . $cache_file |
---|
| 517 | else |
---|
| 518 | echo "creating cache $cache_file" |
---|
| 519 | > $cache_file |
---|
| 520 | fi |
---|
| 521 | |
---|
| 522 | ac_ext=c |
---|
| 523 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
---|
| 524 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 525 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
---|
| 526 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
---|
| 527 | cross_compiling=$ac_cv_prog_cc_cross |
---|
| 528 | |
---|
| 529 | ac_exeext= |
---|
| 530 | ac_objext=o |
---|
| 531 | if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then |
---|
| 532 | # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. |
---|
| 533 | if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then |
---|
| 534 | ac_n= ac_c=' |
---|
| 535 | ' ac_t=' ' |
---|
| 536 | else |
---|
| 537 | ac_n=-n ac_c= ac_t= |
---|
| 538 | fi |
---|
| 539 | else |
---|
| 540 | ac_n= ac_c='\c' ac_t= |
---|
| 541 | fi |
---|
| 542 | |
---|
| 543 | |
---|
| 544 | |
---|
| 545 | |
---|
[18403] | 546 | version="0.17" |
---|
[15285] | 547 | |
---|
[18403] | 548 | OUT="gtk-2/types.la gtk-2/gtk.la" |
---|
[15285] | 549 | |
---|
| 550 | |
---|
| 551 | ac_aux_dir= |
---|
| 552 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
---|
| 553 | if test -f $ac_dir/install-sh; then |
---|
| 554 | ac_aux_dir=$ac_dir |
---|
| 555 | ac_install_sh="$ac_aux_dir/install-sh -c" |
---|
| 556 | break |
---|
| 557 | elif test -f $ac_dir/install.sh; then |
---|
| 558 | ac_aux_dir=$ac_dir |
---|
| 559 | ac_install_sh="$ac_aux_dir/install.sh -c" |
---|
| 560 | break |
---|
| 561 | fi |
---|
| 562 | done |
---|
| 563 | if test -z "$ac_aux_dir"; then |
---|
| 564 | { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } |
---|
| 565 | fi |
---|
| 566 | ac_config_guess=$ac_aux_dir/config.guess |
---|
| 567 | ac_config_sub=$ac_aux_dir/config.sub |
---|
| 568 | ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. |
---|
| 569 | |
---|
| 570 | |
---|
| 571 | # Make sure we can run config.sub. |
---|
| 572 | if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : |
---|
| 573 | else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } |
---|
| 574 | fi |
---|
| 575 | |
---|
| 576 | echo $ac_n "checking host system type""... $ac_c" 1>&6 |
---|
[18403] | 577 | echo "configure:578: checking host system type" >&5 |
---|
[15285] | 578 | |
---|
| 579 | host_alias=$host |
---|
| 580 | case "$host_alias" in |
---|
| 581 | NONE) |
---|
| 582 | case $nonopt in |
---|
| 583 | NONE) |
---|
| 584 | if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : |
---|
| 585 | else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } |
---|
| 586 | fi ;; |
---|
| 587 | *) host_alias=$nonopt ;; |
---|
| 588 | esac ;; |
---|
| 589 | esac |
---|
| 590 | |
---|
| 591 | host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` |
---|
| 592 | host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
---|
| 593 | host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
---|
| 594 | host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
---|
| 595 | echo "$ac_t""$host" 1>&6 |
---|
| 596 | |
---|
| 597 | |
---|
| 598 | # Extract the first word of "gcc", so it can be a program name with args. |
---|
| 599 | set dummy gcc; ac_word=$2 |
---|
| 600 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
[18403] | 601 | echo "configure:602: checking for $ac_word" >&5 |
---|
[15285] | 602 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
---|
| 603 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 604 | else |
---|
| 605 | if test -n "$CC"; then |
---|
| 606 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 607 | else |
---|
| 608 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
---|
| 609 | ac_dummy="$PATH" |
---|
| 610 | for ac_dir in $ac_dummy; do |
---|
| 611 | test -z "$ac_dir" && ac_dir=. |
---|
| 612 | if test -f $ac_dir/$ac_word; then |
---|
| 613 | ac_cv_prog_CC="gcc" |
---|
| 614 | break |
---|
| 615 | fi |
---|
| 616 | done |
---|
| 617 | IFS="$ac_save_ifs" |
---|
| 618 | fi |
---|
| 619 | fi |
---|
| 620 | CC="$ac_cv_prog_CC" |
---|
| 621 | if test -n "$CC"; then |
---|
| 622 | echo "$ac_t""$CC" 1>&6 |
---|
| 623 | else |
---|
| 624 | echo "$ac_t""no" 1>&6 |
---|
| 625 | fi |
---|
| 626 | |
---|
| 627 | if test -z "$CC"; then |
---|
| 628 | # Extract the first word of "cc", so it can be a program name with args. |
---|
| 629 | set dummy cc; ac_word=$2 |
---|
| 630 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
[18403] | 631 | echo "configure:632: checking for $ac_word" >&5 |
---|
[15285] | 632 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
---|
| 633 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 634 | else |
---|
| 635 | if test -n "$CC"; then |
---|
| 636 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 637 | else |
---|
| 638 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
---|
| 639 | ac_prog_rejected=no |
---|
| 640 | ac_dummy="$PATH" |
---|
| 641 | for ac_dir in $ac_dummy; do |
---|
| 642 | test -z "$ac_dir" && ac_dir=. |
---|
| 643 | if test -f $ac_dir/$ac_word; then |
---|
| 644 | if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
---|
| 645 | ac_prog_rejected=yes |
---|
| 646 | continue |
---|
| 647 | fi |
---|
| 648 | ac_cv_prog_CC="cc" |
---|
| 649 | break |
---|
| 650 | fi |
---|
| 651 | done |
---|
| 652 | IFS="$ac_save_ifs" |
---|
| 653 | if test $ac_prog_rejected = yes; then |
---|
| 654 | # We found a bogon in the path, so make sure we never use it. |
---|
| 655 | set dummy $ac_cv_prog_CC |
---|
| 656 | shift |
---|
| 657 | if test $# -gt 0; then |
---|
| 658 | # We chose a different compiler from the bogus one. |
---|
| 659 | # However, it has the same basename, so the bogon will be chosen |
---|
| 660 | # first if we set CC to just the basename; use the full file name. |
---|
| 661 | shift |
---|
| 662 | set dummy "$ac_dir/$ac_word" "$@" |
---|
| 663 | shift |
---|
| 664 | ac_cv_prog_CC="$@" |
---|
| 665 | fi |
---|
| 666 | fi |
---|
| 667 | fi |
---|
| 668 | fi |
---|
| 669 | CC="$ac_cv_prog_CC" |
---|
| 670 | if test -n "$CC"; then |
---|
| 671 | echo "$ac_t""$CC" 1>&6 |
---|
| 672 | else |
---|
| 673 | echo "$ac_t""no" 1>&6 |
---|
| 674 | fi |
---|
| 675 | |
---|
| 676 | if test -z "$CC"; then |
---|
| 677 | case "`uname -s`" in |
---|
| 678 | *win32* | *WIN32*) |
---|
| 679 | # Extract the first word of "cl", so it can be a program name with args. |
---|
| 680 | set dummy cl; ac_word=$2 |
---|
| 681 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
[18403] | 682 | echo "configure:683: checking for $ac_word" >&5 |
---|
[15285] | 683 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
---|
| 684 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 685 | else |
---|
| 686 | if test -n "$CC"; then |
---|
| 687 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 688 | else |
---|
| 689 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
---|
| 690 | ac_dummy="$PATH" |
---|
| 691 | for ac_dir in $ac_dummy; do |
---|
| 692 | test -z "$ac_dir" && ac_dir=. |
---|
| 693 | if test -f $ac_dir/$ac_word; then |
---|
| 694 | ac_cv_prog_CC="cl" |
---|
| 695 | break |
---|
| 696 | fi |
---|
| 697 | done |
---|
| 698 | IFS="$ac_save_ifs" |
---|
| 699 | fi |
---|
| 700 | fi |
---|
| 701 | CC="$ac_cv_prog_CC" |
---|
| 702 | if test -n "$CC"; then |
---|
| 703 | echo "$ac_t""$CC" 1>&6 |
---|
| 704 | else |
---|
| 705 | echo "$ac_t""no" 1>&6 |
---|
| 706 | fi |
---|
| 707 | ;; |
---|
| 708 | esac |
---|
| 709 | fi |
---|
| 710 | test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
---|
| 711 | fi |
---|
| 712 | |
---|
| 713 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
---|
[18403] | 714 | echo "configure:715: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
---|
[15285] | 715 | |
---|
| 716 | ac_ext=c |
---|
| 717 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
---|
| 718 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 719 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
---|
| 720 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
---|
| 721 | cross_compiling=$ac_cv_prog_cc_cross |
---|
| 722 | |
---|
| 723 | cat > conftest.$ac_ext << EOF |
---|
| 724 | |
---|
[18403] | 725 | #line 726 "configure" |
---|
[15285] | 726 | #include "confdefs.h" |
---|
| 727 | |
---|
| 728 | main(){return(0);} |
---|
| 729 | EOF |
---|
[18403] | 730 | if { (eval echo configure:731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
---|
[15285] | 731 | ac_cv_prog_cc_works=yes |
---|
| 732 | # If we can't run a trivial program, we are probably using a cross compiler. |
---|
| 733 | if (./conftest; exit) 2>/dev/null; then |
---|
| 734 | ac_cv_prog_cc_cross=no |
---|
| 735 | else |
---|
| 736 | ac_cv_prog_cc_cross=yes |
---|
| 737 | fi |
---|
| 738 | else |
---|
| 739 | echo "configure: failed program was:" >&5 |
---|
| 740 | cat conftest.$ac_ext >&5 |
---|
| 741 | ac_cv_prog_cc_works=no |
---|
| 742 | fi |
---|
| 743 | rm -fr conftest* |
---|
| 744 | ac_ext=c |
---|
| 745 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
---|
| 746 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 747 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
---|
| 748 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
---|
| 749 | cross_compiling=$ac_cv_prog_cc_cross |
---|
| 750 | |
---|
| 751 | echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
---|
| 752 | if test $ac_cv_prog_cc_works = no; then |
---|
| 753 | { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
---|
| 754 | fi |
---|
| 755 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
---|
[18403] | 756 | echo "configure:757: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
---|
[15285] | 757 | echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
---|
| 758 | cross_compiling=$ac_cv_prog_cc_cross |
---|
| 759 | |
---|
| 760 | echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
---|
[18403] | 761 | echo "configure:762: checking whether we are using GNU C" >&5 |
---|
[15285] | 762 | if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
---|
| 763 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 764 | else |
---|
| 765 | cat > conftest.c <<EOF |
---|
| 766 | #ifdef __GNUC__ |
---|
| 767 | yes; |
---|
| 768 | #endif |
---|
| 769 | EOF |
---|
[18403] | 770 | if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:771: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
---|
[15285] | 771 | ac_cv_prog_gcc=yes |
---|
| 772 | else |
---|
| 773 | ac_cv_prog_gcc=no |
---|
| 774 | fi |
---|
| 775 | fi |
---|
| 776 | |
---|
| 777 | echo "$ac_t""$ac_cv_prog_gcc" 1>&6 |
---|
| 778 | |
---|
| 779 | if test $ac_cv_prog_gcc = yes; then |
---|
| 780 | GCC=yes |
---|
| 781 | else |
---|
| 782 | GCC= |
---|
| 783 | fi |
---|
| 784 | |
---|
| 785 | ac_test_CFLAGS="${CFLAGS+set}" |
---|
| 786 | ac_save_CFLAGS="$CFLAGS" |
---|
| 787 | CFLAGS= |
---|
| 788 | echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
---|
[18403] | 789 | echo "configure:790: checking whether ${CC-cc} accepts -g" >&5 |
---|
[15285] | 790 | if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
---|
| 791 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 792 | else |
---|
| 793 | echo 'void f(){}' > conftest.c |
---|
| 794 | if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
---|
| 795 | ac_cv_prog_cc_g=yes |
---|
| 796 | else |
---|
| 797 | ac_cv_prog_cc_g=no |
---|
| 798 | fi |
---|
| 799 | rm -f conftest* |
---|
| 800 | |
---|
| 801 | fi |
---|
| 802 | |
---|
| 803 | echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 |
---|
| 804 | if test "$ac_test_CFLAGS" = set; then |
---|
| 805 | CFLAGS="$ac_save_CFLAGS" |
---|
| 806 | elif test $ac_cv_prog_cc_g = yes; then |
---|
| 807 | if test "$GCC" = yes; then |
---|
| 808 | CFLAGS="-g -O2" |
---|
| 809 | else |
---|
| 810 | CFLAGS="-g" |
---|
| 811 | fi |
---|
| 812 | else |
---|
| 813 | if test "$GCC" = yes; then |
---|
| 814 | CFLAGS="-O2" |
---|
| 815 | else |
---|
| 816 | CFLAGS= |
---|
| 817 | fi |
---|
| 818 | fi |
---|
| 819 | |
---|
| 820 | echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
---|
[18403] | 821 | echo "configure:822: checking how to run the C preprocessor" >&5 |
---|
[15285] | 822 | # On Suns, sometimes $CPP names a directory. |
---|
| 823 | if test -n "$CPP" && test -d "$CPP"; then |
---|
| 824 | CPP= |
---|
| 825 | fi |
---|
| 826 | if test -z "$CPP"; then |
---|
| 827 | if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then |
---|
| 828 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 829 | else |
---|
| 830 | # This must be in double quotes, not single quotes, because CPP may get |
---|
| 831 | # substituted into the Makefile and "${CC-cc}" will confuse make. |
---|
| 832 | CPP="${CC-cc} -E" |
---|
| 833 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
| 834 | # not just through cpp. |
---|
| 835 | cat > conftest.$ac_ext <<EOF |
---|
[18403] | 836 | #line 837 "configure" |
---|
[15285] | 837 | #include "confdefs.h" |
---|
| 838 | #include <assert.h> |
---|
| 839 | Syntax Error |
---|
| 840 | EOF |
---|
| 841 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
---|
[18403] | 842 | { (eval echo configure:843: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
---|
[15285] | 843 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
---|
| 844 | if test -z "$ac_err"; then |
---|
| 845 | : |
---|
| 846 | else |
---|
| 847 | echo "$ac_err" >&5 |
---|
| 848 | echo "configure: failed program was:" >&5 |
---|
| 849 | cat conftest.$ac_ext >&5 |
---|
| 850 | rm -rf conftest* |
---|
| 851 | CPP="${CC-cc} -E -traditional-cpp" |
---|
| 852 | cat > conftest.$ac_ext <<EOF |
---|
[18403] | 853 | #line 854 "configure" |
---|
[15285] | 854 | #include "confdefs.h" |
---|
| 855 | #include <assert.h> |
---|
| 856 | Syntax Error |
---|
| 857 | EOF |
---|
| 858 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
---|
[18403] | 859 | { (eval echo configure:860: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
---|
[15285] | 860 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
---|
| 861 | if test -z "$ac_err"; then |
---|
| 862 | : |
---|
| 863 | else |
---|
| 864 | echo "$ac_err" >&5 |
---|
| 865 | echo "configure: failed program was:" >&5 |
---|
| 866 | cat conftest.$ac_ext >&5 |
---|
| 867 | rm -rf conftest* |
---|
| 868 | CPP="${CC-cc} -nologo -E" |
---|
| 869 | cat > conftest.$ac_ext <<EOF |
---|
[18403] | 870 | #line 871 "configure" |
---|
[15285] | 871 | #include "confdefs.h" |
---|
| 872 | #include <assert.h> |
---|
| 873 | Syntax Error |
---|
| 874 | EOF |
---|
| 875 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
---|
[18403] | 876 | { (eval echo configure:877: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
---|
[15285] | 877 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
---|
| 878 | if test -z "$ac_err"; then |
---|
| 879 | : |
---|
| 880 | else |
---|
| 881 | echo "$ac_err" >&5 |
---|
| 882 | echo "configure: failed program was:" >&5 |
---|
| 883 | cat conftest.$ac_ext >&5 |
---|
| 884 | rm -rf conftest* |
---|
| 885 | CPP=/lib/cpp |
---|
| 886 | fi |
---|
| 887 | rm -f conftest* |
---|
| 888 | fi |
---|
| 889 | rm -f conftest* |
---|
| 890 | fi |
---|
| 891 | rm -f conftest* |
---|
| 892 | ac_cv_prog_CPP="$CPP" |
---|
| 893 | fi |
---|
| 894 | CPP="$ac_cv_prog_CPP" |
---|
| 895 | else |
---|
| 896 | ac_cv_prog_CPP="$CPP" |
---|
| 897 | fi |
---|
| 898 | echo "$ac_t""$CPP" 1>&6 |
---|
| 899 | |
---|
| 900 | # Find a good install program. We prefer a C program (faster), |
---|
| 901 | # so one script is as good as another. But avoid the broken or |
---|
| 902 | # incompatible versions: |
---|
| 903 | # SysV /etc/install, /usr/sbin/install |
---|
| 904 | # SunOS /usr/etc/install |
---|
| 905 | # IRIX /sbin/install |
---|
| 906 | # AIX /bin/install |
---|
| 907 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
---|
| 908 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
---|
| 909 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
---|
| 910 | # ./install, which can be erroneously created by make from ./install.sh. |
---|
| 911 | echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
---|
[18403] | 912 | echo "configure:913: checking for a BSD compatible install" >&5 |
---|
[15285] | 913 | if test -z "$INSTALL"; then |
---|
| 914 | if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
---|
| 915 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 916 | else |
---|
| 917 | IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
---|
| 918 | for ac_dir in $PATH; do |
---|
| 919 | # Account for people who put trailing slashes in PATH elements. |
---|
| 920 | case "$ac_dir/" in |
---|
| 921 | /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; |
---|
| 922 | *) |
---|
| 923 | # OSF1 and SCO ODT 3.0 have their own names for install. |
---|
| 924 | # Don't use installbsd from OSF since it installs stuff as root |
---|
| 925 | # by default. |
---|
| 926 | for ac_prog in ginstall scoinst install; do |
---|
| 927 | if test -f $ac_dir/$ac_prog; then |
---|
| 928 | if test $ac_prog = install && |
---|
| 929 | grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then |
---|
| 930 | # AIX install. It has an incompatible calling convention. |
---|
| 931 | : |
---|
| 932 | else |
---|
| 933 | ac_cv_path_install="$ac_dir/$ac_prog -c" |
---|
| 934 | break 2 |
---|
| 935 | fi |
---|
| 936 | fi |
---|
| 937 | done |
---|
| 938 | ;; |
---|
| 939 | esac |
---|
| 940 | done |
---|
| 941 | IFS="$ac_save_IFS" |
---|
| 942 | |
---|
| 943 | fi |
---|
| 944 | if test "${ac_cv_path_install+set}" = set; then |
---|
| 945 | INSTALL="$ac_cv_path_install" |
---|
| 946 | else |
---|
| 947 | # As a last resort, use the slow shell script. We don't cache a |
---|
| 948 | # path for INSTALL within a source directory, because that will |
---|
| 949 | # break other packages using the cache if that directory is |
---|
| 950 | # removed, or if the path is relative. |
---|
| 951 | INSTALL="$ac_install_sh" |
---|
| 952 | fi |
---|
| 953 | fi |
---|
| 954 | echo "$ac_t""$INSTALL" 1>&6 |
---|
| 955 | |
---|
| 956 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
---|
| 957 | # It thinks the first close brace ends the variable substitution. |
---|
| 958 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
---|
| 959 | |
---|
| 960 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' |
---|
| 961 | |
---|
| 962 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
---|
| 963 | |
---|
| 964 | echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
---|
[18403] | 965 | echo "configure:966: checking whether ln -s works" >&5 |
---|
[15285] | 966 | if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then |
---|
| 967 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 968 | else |
---|
| 969 | rm -f conftestdata |
---|
| 970 | if ln -s X conftestdata 2>/dev/null |
---|
| 971 | then |
---|
| 972 | rm -f conftestdata |
---|
| 973 | ac_cv_prog_LN_S="ln -s" |
---|
| 974 | else |
---|
| 975 | ac_cv_prog_LN_S=ln |
---|
| 976 | fi |
---|
| 977 | fi |
---|
| 978 | LN_S="$ac_cv_prog_LN_S" |
---|
| 979 | if test "$ac_cv_prog_LN_S" = "ln -s"; then |
---|
| 980 | echo "$ac_t""yes" 1>&6 |
---|
| 981 | else |
---|
| 982 | echo "$ac_t""no" 1>&6 |
---|
| 983 | fi |
---|
| 984 | |
---|
| 985 | echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
---|
[18403] | 986 | echo "configure:987: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
---|
[15285] | 987 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
---|
| 988 | if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
---|
| 989 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 990 | else |
---|
| 991 | cat > conftestmake <<\EOF |
---|
| 992 | all: |
---|
| 993 | @echo 'ac_maketemp="${MAKE}"' |
---|
| 994 | EOF |
---|
| 995 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
---|
| 996 | eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` |
---|
| 997 | if test -n "$ac_maketemp"; then |
---|
| 998 | eval ac_cv_prog_make_${ac_make}_set=yes |
---|
| 999 | else |
---|
| 1000 | eval ac_cv_prog_make_${ac_make}_set=no |
---|
| 1001 | fi |
---|
| 1002 | rm -f conftestmake |
---|
| 1003 | fi |
---|
| 1004 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
---|
| 1005 | echo "$ac_t""yes" 1>&6 |
---|
| 1006 | SET_MAKE= |
---|
| 1007 | else |
---|
| 1008 | echo "$ac_t""no" 1>&6 |
---|
| 1009 | SET_MAKE="MAKE=${MAKE-make}" |
---|
| 1010 | fi |
---|
| 1011 | |
---|
| 1012 | if test $ac_cv_prog_gcc = yes; then |
---|
| 1013 | echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 |
---|
[18403] | 1014 | echo "configure:1015: checking whether ${CC-cc} needs -traditional" >&5 |
---|
[15285] | 1015 | if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then |
---|
| 1016 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1017 | else |
---|
| 1018 | ac_pattern="Autoconf.*'x'" |
---|
| 1019 | cat > conftest.$ac_ext <<EOF |
---|
[18403] | 1020 | #line 1021 "configure" |
---|
[15285] | 1021 | #include "confdefs.h" |
---|
| 1022 | #include <sgtty.h> |
---|
| 1023 | Autoconf TIOCGETP |
---|
| 1024 | EOF |
---|
| 1025 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
| 1026 | egrep "$ac_pattern" >/dev/null 2>&1; then |
---|
| 1027 | rm -rf conftest* |
---|
| 1028 | ac_cv_prog_gcc_traditional=yes |
---|
| 1029 | else |
---|
| 1030 | rm -rf conftest* |
---|
| 1031 | ac_cv_prog_gcc_traditional=no |
---|
| 1032 | fi |
---|
| 1033 | rm -f conftest* |
---|
| 1034 | |
---|
| 1035 | |
---|
| 1036 | if test $ac_cv_prog_gcc_traditional = no; then |
---|
| 1037 | cat > conftest.$ac_ext <<EOF |
---|
[18403] | 1038 | #line 1039 "configure" |
---|
[15285] | 1039 | #include "confdefs.h" |
---|
| 1040 | #include <termio.h> |
---|
| 1041 | Autoconf TCGETA |
---|
| 1042 | EOF |
---|
| 1043 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
| 1044 | egrep "$ac_pattern" >/dev/null 2>&1; then |
---|
| 1045 | rm -rf conftest* |
---|
| 1046 | ac_cv_prog_gcc_traditional=yes |
---|
| 1047 | fi |
---|
| 1048 | rm -f conftest* |
---|
| 1049 | |
---|
| 1050 | fi |
---|
| 1051 | fi |
---|
| 1052 | |
---|
| 1053 | echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6 |
---|
| 1054 | if test $ac_cv_prog_gcc_traditional = yes; then |
---|
| 1055 | CC="$CC -traditional" |
---|
| 1056 | fi |
---|
| 1057 | fi |
---|
| 1058 | |
---|
| 1059 | |
---|
| 1060 | if test "x${GCC}" = "xyes" -a "x$CFLAGS" = "x-g -O2"; then |
---|
| 1061 | CFLAGS="${CFLAGS} -Wall -Wmissing-prototypes -Wno-implicit-int" |
---|
| 1062 | fi |
---|
| 1063 | |
---|
| 1064 | # Check whether --with-rep_prefix or --without-rep_prefix was given. |
---|
| 1065 | if test "${with_rep_prefix+set}" = set; then |
---|
| 1066 | withval="$with_rep_prefix" |
---|
| 1067 | rep_prefix="$withval" |
---|
| 1068 | else |
---|
| 1069 | rep_prefix="" |
---|
| 1070 | fi |
---|
| 1071 | |
---|
| 1072 | if test "x$rep_prefix" = "x"; then |
---|
| 1073 | rep_config="rep-config" |
---|
| 1074 | else |
---|
| 1075 | rep_config="${rep_prefix}/bin/rep-config" |
---|
| 1076 | fi |
---|
| 1077 | min_rep_version=0.13 |
---|
| 1078 | echo $ac_n "checking for rep - version >= $min_rep_version""... $ac_c" 1>&6 |
---|
[18403] | 1079 | echo "configure:1080: checking for rep - version >= $min_rep_version" >&5 |
---|
[15285] | 1080 | rep_version=`$rep_config --version` |
---|
| 1081 | if test $? -eq 0; then |
---|
| 1082 | rep_major=`echo $rep_version \ |
---|
| 1083 | | sed -e 's/\([0-9]*\)\..*/\1/'` |
---|
| 1084 | rep_minor=`echo $rep_version \ |
---|
| 1085 | | sed -e 's/\([0-9]*\)\.\([0-9]*\).*/\2/'` |
---|
| 1086 | min_rep_major=`echo $min_rep_version \ |
---|
| 1087 | | sed -e 's/\([0-9]*\)\..*/\1/'` |
---|
| 1088 | min_rep_minor=`echo $min_rep_version \ |
---|
| 1089 | | sed -e 's/\([0-9]*\)\.\([0-9]*\).*/\2/'` |
---|
| 1090 | if test '(' $rep_major -gt $min_rep_major ')' \ |
---|
| 1091 | -o '(' $rep_major -eq $min_rep_major \ |
---|
| 1092 | -a $rep_minor -ge $min_rep_minor ')'; |
---|
| 1093 | then |
---|
| 1094 | REP_VERSION="${rep_version}" |
---|
| 1095 | REP_CFLAGS="`$rep_config --cflags`" |
---|
| 1096 | REP_LIBS="`$rep_config --libs`" |
---|
| 1097 | REP_EXECDIR="`$rep_config --execdir`" |
---|
| 1098 | |
---|
| 1099 | |
---|
| 1100 | |
---|
| 1101 | |
---|
| 1102 | echo "$ac_t""version ${rep_version}" 1>&6 |
---|
| 1103 | else |
---|
| 1104 | { echo "configure: error: version ${rep_version}; require $min_rep_version" 1>&2; exit 1; } |
---|
| 1105 | fi |
---|
| 1106 | else |
---|
| 1107 | { echo "configure: error: can't find librep; is it installed?" 1>&2; exit 1; } |
---|
| 1108 | fi |
---|
| 1109 | |
---|
| 1110 | echo $ac_n "checking for GNU msgfmt""... $ac_c" 1>&6 |
---|
[18403] | 1111 | echo "configure:1112: checking for GNU msgfmt" >&5 |
---|
[15285] | 1112 | REP_MSGFMT= |
---|
| 1113 | for p in `echo "$PATH" | sed -e 's/:/ /g'`; do |
---|
| 1114 | if test -x $p/msgfmt; then |
---|
| 1115 | if $p/msgfmt --version 2>&1 | grep GNU >/dev/null; then |
---|
| 1116 | REP_MSGFMT=$p/msgfmt |
---|
| 1117 | fi |
---|
| 1118 | fi |
---|
| 1119 | done |
---|
| 1120 | if test x$REP_MSGFMT != x; then |
---|
| 1121 | echo "$ac_t""$REP_MSGFMT" 1>&6 |
---|
| 1122 | else |
---|
| 1123 | echo "$ac_t""unavailable" 1>&6 |
---|
| 1124 | REP_MSGFMT=true |
---|
| 1125 | fi |
---|
| 1126 | |
---|
| 1127 | |
---|
| 1128 | |
---|
| 1129 | |
---|
[18403] | 1130 | succeeded=no |
---|
[15285] | 1131 | |
---|
[18403] | 1132 | if test -z "$PKG_CONFIG"; then |
---|
| 1133 | # Extract the first word of "pkg-config", so it can be a program name with args. |
---|
| 1134 | set dummy pkg-config; ac_word=$2 |
---|
[15285] | 1135 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
[18403] | 1136 | echo "configure:1137: checking for $ac_word" >&5 |
---|
| 1137 | if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then |
---|
[15285] | 1138 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1139 | else |
---|
[18403] | 1140 | case "$PKG_CONFIG" in |
---|
[15285] | 1141 | /*) |
---|
[18403] | 1142 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
---|
[15285] | 1143 | ;; |
---|
| 1144 | ?:/*) |
---|
[18403] | 1145 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a dos path. |
---|
[15285] | 1146 | ;; |
---|
| 1147 | *) |
---|
| 1148 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
---|
| 1149 | ac_dummy="$PATH" |
---|
| 1150 | for ac_dir in $ac_dummy; do |
---|
| 1151 | test -z "$ac_dir" && ac_dir=. |
---|
| 1152 | if test -f $ac_dir/$ac_word; then |
---|
[18403] | 1153 | ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word" |
---|
[15285] | 1154 | break |
---|
| 1155 | fi |
---|
| 1156 | done |
---|
| 1157 | IFS="$ac_save_ifs" |
---|
[18403] | 1158 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
---|
[15285] | 1159 | ;; |
---|
| 1160 | esac |
---|
| 1161 | fi |
---|
[18403] | 1162 | PKG_CONFIG="$ac_cv_path_PKG_CONFIG" |
---|
| 1163 | if test -n "$PKG_CONFIG"; then |
---|
| 1164 | echo "$ac_t""$PKG_CONFIG" 1>&6 |
---|
[15285] | 1165 | else |
---|
| 1166 | echo "$ac_t""no" 1>&6 |
---|
| 1167 | fi |
---|
| 1168 | |
---|
[18403] | 1169 | fi |
---|
| 1170 | |
---|
| 1171 | if test "$PKG_CONFIG" = "no" ; then |
---|
| 1172 | echo "*** The pkg-config script could not be found. Make sure it is" |
---|
| 1173 | echo "*** in your path, or set the PKG_CONFIG environment variable" |
---|
| 1174 | echo "*** to the full path to pkg-config." |
---|
| 1175 | echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." |
---|
[15285] | 1176 | else |
---|
[18403] | 1177 | PKG_CONFIG_MIN_VERSION=0.9.0 |
---|
| 1178 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
---|
| 1179 | echo $ac_n "checking for glib-2.0 >= 1.3""... $ac_c" 1>&6 |
---|
| 1180 | echo "configure:1181: checking for glib-2.0 >= 1.3" >&5 |
---|
[15285] | 1181 | |
---|
[18403] | 1182 | if $PKG_CONFIG --exists "glib-2.0 >= 1.3" ; then |
---|
| 1183 | echo "$ac_t""yes" 1>&6 |
---|
| 1184 | succeeded=yes |
---|
[15285] | 1185 | |
---|
[18403] | 1186 | echo $ac_n "checking GLIB_CFLAGS""... $ac_c" 1>&6 |
---|
| 1187 | echo "configure:1188: checking GLIB_CFLAGS" >&5 |
---|
| 1188 | GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 1.3"` |
---|
| 1189 | echo "$ac_t""$GLIB_CFLAGS" 1>&6 |
---|
[15285] | 1190 | |
---|
[18403] | 1191 | echo $ac_n "checking GLIB_LIBS""... $ac_c" 1>&6 |
---|
| 1192 | echo "configure:1193: checking GLIB_LIBS" >&5 |
---|
| 1193 | GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 1.3"` |
---|
| 1194 | echo "$ac_t""$GLIB_LIBS" 1>&6 |
---|
| 1195 | else |
---|
| 1196 | GLIB_CFLAGS="" |
---|
| 1197 | GLIB_LIBS="" |
---|
| 1198 | ## If we have a custom action on failure, don't print errors, but |
---|
| 1199 | ## do set a variable so people can do so. |
---|
| 1200 | GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 1.3"` |
---|
| 1201 | echo $GLIB_PKG_ERRORS |
---|
| 1202 | fi |
---|
[15285] | 1203 | |
---|
[18403] | 1204 | |
---|
| 1205 | |
---|
[15285] | 1206 | else |
---|
[18403] | 1207 | echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." |
---|
| 1208 | echo "*** See http://www.freedesktop.org/software/pkgconfig" |
---|
[15285] | 1209 | fi |
---|
| 1210 | fi |
---|
| 1211 | |
---|
[18403] | 1212 | if test $succeeded = yes; then |
---|
[15285] | 1213 | : |
---|
[18403] | 1214 | else |
---|
| 1215 | { echo "configure: error: Library requirements (glib-2.0 >= 1.3) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." 1>&2; exit 1; } |
---|
[15285] | 1216 | fi |
---|
| 1217 | |
---|
| 1218 | |
---|
| 1219 | |
---|
[18403] | 1220 | succeeded=no |
---|
[15285] | 1221 | |
---|
[18403] | 1222 | if test -z "$PKG_CONFIG"; then |
---|
| 1223 | # Extract the first word of "pkg-config", so it can be a program name with args. |
---|
| 1224 | set dummy pkg-config; ac_word=$2 |
---|
[15285] | 1225 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
[18403] | 1226 | echo "configure:1227: checking for $ac_word" >&5 |
---|
| 1227 | if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then |
---|
[15285] | 1228 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1229 | else |
---|
[18403] | 1230 | case "$PKG_CONFIG" in |
---|
[15285] | 1231 | /*) |
---|
[18403] | 1232 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
---|
[15285] | 1233 | ;; |
---|
| 1234 | ?:/*) |
---|
[18403] | 1235 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a dos path. |
---|
[15285] | 1236 | ;; |
---|
| 1237 | *) |
---|
| 1238 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
---|
| 1239 | ac_dummy="$PATH" |
---|
| 1240 | for ac_dir in $ac_dummy; do |
---|
| 1241 | test -z "$ac_dir" && ac_dir=. |
---|
| 1242 | if test -f $ac_dir/$ac_word; then |
---|
[18403] | 1243 | ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word" |
---|
[15285] | 1244 | break |
---|
| 1245 | fi |
---|
| 1246 | done |
---|
| 1247 | IFS="$ac_save_ifs" |
---|
[18403] | 1248 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
---|
[15285] | 1249 | ;; |
---|
| 1250 | esac |
---|
| 1251 | fi |
---|
[18403] | 1252 | PKG_CONFIG="$ac_cv_path_PKG_CONFIG" |
---|
| 1253 | if test -n "$PKG_CONFIG"; then |
---|
| 1254 | echo "$ac_t""$PKG_CONFIG" 1>&6 |
---|
[15285] | 1255 | else |
---|
| 1256 | echo "$ac_t""no" 1>&6 |
---|
| 1257 | fi |
---|
| 1258 | |
---|
[18403] | 1259 | fi |
---|
| 1260 | |
---|
| 1261 | if test "$PKG_CONFIG" = "no" ; then |
---|
| 1262 | echo "*** The pkg-config script could not be found. Make sure it is" |
---|
| 1263 | echo "*** in your path, or set the PKG_CONFIG environment variable" |
---|
| 1264 | echo "*** to the full path to pkg-config." |
---|
| 1265 | echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." |
---|
[15285] | 1266 | else |
---|
[18403] | 1267 | PKG_CONFIG_MIN_VERSION=0.9.0 |
---|
| 1268 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
---|
| 1269 | echo $ac_n "checking for gtk+-2.0 >= 1.3""... $ac_c" 1>&6 |
---|
| 1270 | echo "configure:1271: checking for gtk+-2.0 >= 1.3" >&5 |
---|
[15285] | 1271 | |
---|
[18403] | 1272 | if $PKG_CONFIG --exists "gtk+-2.0 >= 1.3" ; then |
---|
| 1273 | echo "$ac_t""yes" 1>&6 |
---|
| 1274 | succeeded=yes |
---|
[15285] | 1275 | |
---|
[18403] | 1276 | echo $ac_n "checking GTK_CFLAGS""... $ac_c" 1>&6 |
---|
| 1277 | echo "configure:1278: checking GTK_CFLAGS" >&5 |
---|
| 1278 | GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 1.3"` |
---|
| 1279 | echo "$ac_t""$GTK_CFLAGS" 1>&6 |
---|
[15285] | 1280 | |
---|
[18403] | 1281 | echo $ac_n "checking GTK_LIBS""... $ac_c" 1>&6 |
---|
| 1282 | echo "configure:1283: checking GTK_LIBS" >&5 |
---|
| 1283 | GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 1.3"` |
---|
| 1284 | echo "$ac_t""$GTK_LIBS" 1>&6 |
---|
| 1285 | else |
---|
| 1286 | GTK_CFLAGS="" |
---|
| 1287 | GTK_LIBS="" |
---|
| 1288 | ## If we have a custom action on failure, don't print errors, but |
---|
| 1289 | ## do set a variable so people can do so. |
---|
| 1290 | GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 1.3"` |
---|
| 1291 | |
---|
| 1292 | fi |
---|
[15285] | 1293 | |
---|
[18403] | 1294 | |
---|
| 1295 | |
---|
[15285] | 1296 | else |
---|
[18403] | 1297 | echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." |
---|
| 1298 | echo "*** See http://www.freedesktop.org/software/pkgconfig" |
---|
[15285] | 1299 | fi |
---|
| 1300 | fi |
---|
| 1301 | |
---|
[18403] | 1302 | if test $succeeded = yes; then |
---|
| 1303 | : |
---|
[15285] | 1304 | else |
---|
[18403] | 1305 | { echo "configure: error: need at least Gtk+ version 1.3" 1>&2; exit 1; } |
---|
[15285] | 1306 | fi |
---|
| 1307 | |
---|
| 1308 | |
---|
| 1309 | |
---|
[18403] | 1310 | succeeded=no |
---|
[15285] | 1311 | |
---|
[18403] | 1312 | if test -z "$PKG_CONFIG"; then |
---|
| 1313 | # Extract the first word of "pkg-config", so it can be a program name with args. |
---|
| 1314 | set dummy pkg-config; ac_word=$2 |
---|
[15285] | 1315 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
[18403] | 1316 | echo "configure:1317: checking for $ac_word" >&5 |
---|
| 1317 | if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then |
---|
[15285] | 1318 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1319 | else |
---|
[18403] | 1320 | case "$PKG_CONFIG" in |
---|
[15285] | 1321 | /*) |
---|
[18403] | 1322 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
---|
[15285] | 1323 | ;; |
---|
| 1324 | ?:/*) |
---|
[18403] | 1325 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a dos path. |
---|
[15285] | 1326 | ;; |
---|
| 1327 | *) |
---|
| 1328 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
---|
| 1329 | ac_dummy="$PATH" |
---|
| 1330 | for ac_dir in $ac_dummy; do |
---|
| 1331 | test -z "$ac_dir" && ac_dir=. |
---|
| 1332 | if test -f $ac_dir/$ac_word; then |
---|
[18403] | 1333 | ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word" |
---|
[15285] | 1334 | break |
---|
| 1335 | fi |
---|
| 1336 | done |
---|
| 1337 | IFS="$ac_save_ifs" |
---|
[18403] | 1338 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
---|
[15285] | 1339 | ;; |
---|
| 1340 | esac |
---|
| 1341 | fi |
---|
[18403] | 1342 | PKG_CONFIG="$ac_cv_path_PKG_CONFIG" |
---|
| 1343 | if test -n "$PKG_CONFIG"; then |
---|
| 1344 | echo "$ac_t""$PKG_CONFIG" 1>&6 |
---|
[15285] | 1345 | else |
---|
| 1346 | echo "$ac_t""no" 1>&6 |
---|
| 1347 | fi |
---|
| 1348 | |
---|
| 1349 | fi |
---|
| 1350 | |
---|
[18403] | 1351 | if test "$PKG_CONFIG" = "no" ; then |
---|
| 1352 | echo "*** The pkg-config script could not be found. Make sure it is" |
---|
| 1353 | echo "*** in your path, or set the PKG_CONFIG environment variable" |
---|
| 1354 | echo "*** to the full path to pkg-config." |
---|
| 1355 | echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." |
---|
| 1356 | else |
---|
| 1357 | PKG_CONFIG_MIN_VERSION=0.9.0 |
---|
| 1358 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
---|
| 1359 | echo $ac_n "checking for gdk-pixbuf-2.0 >= 1.3.11""... $ac_c" 1>&6 |
---|
| 1360 | echo "configure:1361: checking for gdk-pixbuf-2.0 >= 1.3.11" >&5 |
---|
[15285] | 1361 | |
---|
[18403] | 1362 | if $PKG_CONFIG --exists "gdk-pixbuf-2.0 >= 1.3.11" ; then |
---|
| 1363 | echo "$ac_t""yes" 1>&6 |
---|
| 1364 | succeeded=yes |
---|
[15285] | 1365 | |
---|
[18403] | 1366 | echo $ac_n "checking GDK_PIXBUF_CFLAGS""... $ac_c" 1>&6 |
---|
| 1367 | echo "configure:1368: checking GDK_PIXBUF_CFLAGS" >&5 |
---|
| 1368 | GDK_PIXBUF_CFLAGS=`$PKG_CONFIG --cflags "gdk-pixbuf-2.0 >= 1.3.11"` |
---|
| 1369 | echo "$ac_t""$GDK_PIXBUF_CFLAGS" 1>&6 |
---|
[15285] | 1370 | |
---|
[18403] | 1371 | echo $ac_n "checking GDK_PIXBUF_LIBS""... $ac_c" 1>&6 |
---|
| 1372 | echo "configure:1373: checking GDK_PIXBUF_LIBS" >&5 |
---|
| 1373 | GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs "gdk-pixbuf-2.0 >= 1.3.11"` |
---|
| 1374 | echo "$ac_t""$GDK_PIXBUF_LIBS" 1>&6 |
---|
| 1375 | else |
---|
| 1376 | GDK_PIXBUF_CFLAGS="" |
---|
| 1377 | GDK_PIXBUF_LIBS="" |
---|
| 1378 | ## If we have a custom action on failure, don't print errors, but |
---|
| 1379 | ## do set a variable so people can do so. |
---|
| 1380 | GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-pixbuf-2.0 >= 1.3.11"` |
---|
| 1381 | echo $GDK_PIXBUF_PKG_ERRORS |
---|
| 1382 | fi |
---|
[15285] | 1383 | |
---|
[18403] | 1384 | |
---|
| 1385 | |
---|
| 1386 | else |
---|
| 1387 | echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." |
---|
| 1388 | echo "*** See http://www.freedesktop.org/software/pkgconfig" |
---|
| 1389 | fi |
---|
| 1390 | fi |
---|
[15285] | 1391 | |
---|
[18403] | 1392 | if test $succeeded = yes; then |
---|
| 1393 | : |
---|
[15285] | 1394 | else |
---|
[18403] | 1395 | { echo "configure: error: Library requirements (gdk-pixbuf-2.0 >= 1.3.11) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." 1>&2; exit 1; } |
---|
[15285] | 1396 | fi |
---|
| 1397 | |
---|
[18403] | 1398 | |
---|
| 1399 | echo $ac_n "checking for GNOME libs""... $ac_c" 1>&6 |
---|
| 1400 | echo "configure:1401: checking for GNOME libs" >&5 |
---|
| 1401 | # Check whether --with-gnome or --without-gnome was given. |
---|
| 1402 | if test "${with_gnome+set}" = set; then |
---|
| 1403 | withval="$with_gnome" |
---|
[15285] | 1404 | : |
---|
| 1405 | else |
---|
[18403] | 1406 | with_gnome=no |
---|
[15285] | 1407 | fi |
---|
| 1408 | |
---|
[18403] | 1409 | if test "$with_gnome" != "no"; then |
---|
| 1410 | GNOME_VERSION="`pkg-config --modversion libgnome-2.0`" |
---|
| 1411 | if test $? -eq 0; then |
---|
| 1412 | GNOME_LIBS="`pkg-config --libs libgnome-2.0`" |
---|
| 1413 | GNOME_CFLAGS="`pkg-config --cflags libgnome-2.0`" |
---|
| 1414 | GNOMEUI_LIBS="`pkg-config --libs libgnomeui-2.0`" |
---|
| 1415 | GNOMEUI_CFLAGS="`pkg-config --cflags libgnomeui-2.0`" |
---|
| 1416 | GNOME_CANVAS_LIBS="`pkg-config --libs libgnomecanvas-2.0`" |
---|
| 1417 | GNOME_CANVAS_CFLAGS="`pkg-config --cflags libgnomecanvas-2.0`" |
---|
| 1418 | echo "$ac_t""$GNOME_VERSION" 1>&6 |
---|
| 1419 | OUT="$OUT gtk-2/gnome-lib.la gtk-2/gnome-ui.la gtk-2/gnome-canvas.la" |
---|
| 1420 | with_gnome=yes |
---|
| 1421 | elif test "$with_gnome" = "yes"; then |
---|
| 1422 | { echo "configure: error: can't run pkg-config" 1>&2; exit 1; }; |
---|
| 1423 | else |
---|
| 1424 | with_gnome=no |
---|
| 1425 | fi |
---|
[15285] | 1426 | fi |
---|
| 1427 | |
---|
| 1428 | |
---|
[18403] | 1429 | |
---|
| 1430 | |
---|
| 1431 | |
---|
| 1432 | |
---|
| 1433 | |
---|
| 1434 | |
---|
| 1435 | # Check whether --with-libglade or --without-libglade was given. |
---|
| 1436 | if test "${with_libglade+set}" = set; then |
---|
| 1437 | withval="$with_libglade" |
---|
[15285] | 1438 | : |
---|
| 1439 | else |
---|
[18403] | 1440 | with_libglade=yes |
---|
[15285] | 1441 | fi |
---|
| 1442 | |
---|
[18403] | 1443 | if test "$with_libglade" = "yes"; then |
---|
| 1444 | |
---|
| 1445 | succeeded=no |
---|
[15285] | 1446 | |
---|
[18403] | 1447 | if test -z "$PKG_CONFIG"; then |
---|
| 1448 | # Extract the first word of "pkg-config", so it can be a program name with args. |
---|
| 1449 | set dummy pkg-config; ac_word=$2 |
---|
[15285] | 1450 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
[18403] | 1451 | echo "configure:1452: checking for $ac_word" >&5 |
---|
| 1452 | if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then |
---|
[15285] | 1453 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1454 | else |
---|
[18403] | 1455 | case "$PKG_CONFIG" in |
---|
[15285] | 1456 | /*) |
---|
[18403] | 1457 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
---|
[15285] | 1458 | ;; |
---|
| 1459 | ?:/*) |
---|
[18403] | 1460 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a dos path. |
---|
[15285] | 1461 | ;; |
---|
| 1462 | *) |
---|
| 1463 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
---|
| 1464 | ac_dummy="$PATH" |
---|
| 1465 | for ac_dir in $ac_dummy; do |
---|
| 1466 | test -z "$ac_dir" && ac_dir=. |
---|
| 1467 | if test -f $ac_dir/$ac_word; then |
---|
[18403] | 1468 | ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word" |
---|
[15285] | 1469 | break |
---|
| 1470 | fi |
---|
| 1471 | done |
---|
| 1472 | IFS="$ac_save_ifs" |
---|
[18403] | 1473 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
---|
[15285] | 1474 | ;; |
---|
| 1475 | esac |
---|
| 1476 | fi |
---|
[18403] | 1477 | PKG_CONFIG="$ac_cv_path_PKG_CONFIG" |
---|
| 1478 | if test -n "$PKG_CONFIG"; then |
---|
| 1479 | echo "$ac_t""$PKG_CONFIG" 1>&6 |
---|
[15285] | 1480 | else |
---|
| 1481 | echo "$ac_t""no" 1>&6 |
---|
| 1482 | fi |
---|
| 1483 | |
---|
[18403] | 1484 | fi |
---|
[15285] | 1485 | |
---|
[18403] | 1486 | if test "$PKG_CONFIG" = "no" ; then |
---|
| 1487 | echo "*** The pkg-config script could not be found. Make sure it is" |
---|
| 1488 | echo "*** in your path, or set the PKG_CONFIG environment variable" |
---|
| 1489 | echo "*** to the full path to pkg-config." |
---|
| 1490 | echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." |
---|
[15285] | 1491 | else |
---|
[18403] | 1492 | PKG_CONFIG_MIN_VERSION=0.9.0 |
---|
| 1493 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
---|
| 1494 | echo $ac_n "checking for libglade-2.0 >= 1.99""... $ac_c" 1>&6 |
---|
| 1495 | echo "configure:1496: checking for libglade-2.0 >= 1.99" >&5 |
---|
[15285] | 1496 | |
---|
[18403] | 1497 | if $PKG_CONFIG --exists "libglade-2.0 >= 1.99" ; then |
---|
| 1498 | echo "$ac_t""yes" 1>&6 |
---|
| 1499 | succeeded=yes |
---|
[15285] | 1500 | |
---|
[18403] | 1501 | echo $ac_n "checking LIBGLADE_CFLAGS""... $ac_c" 1>&6 |
---|
| 1502 | echo "configure:1503: checking LIBGLADE_CFLAGS" >&5 |
---|
| 1503 | LIBGLADE_CFLAGS=`$PKG_CONFIG --cflags "libglade-2.0 >= 1.99"` |
---|
| 1504 | echo "$ac_t""$LIBGLADE_CFLAGS" 1>&6 |
---|
[15285] | 1505 | |
---|
[18403] | 1506 | echo $ac_n "checking LIBGLADE_LIBS""... $ac_c" 1>&6 |
---|
| 1507 | echo "configure:1508: checking LIBGLADE_LIBS" >&5 |
---|
| 1508 | LIBGLADE_LIBS=`$PKG_CONFIG --libs "libglade-2.0 >= 1.99"` |
---|
| 1509 | echo "$ac_t""$LIBGLADE_LIBS" 1>&6 |
---|
| 1510 | else |
---|
| 1511 | LIBGLADE_CFLAGS="" |
---|
| 1512 | LIBGLADE_LIBS="" |
---|
| 1513 | ## If we have a custom action on failure, don't print errors, but |
---|
| 1514 | ## do set a variable so people can do so. |
---|
| 1515 | LIBGLADE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libglade-2.0 >= 1.99"` |
---|
| 1516 | echo $LIBGLADE_PKG_ERRORS |
---|
| 1517 | fi |
---|
[15285] | 1518 | |
---|
[18403] | 1519 | |
---|
| 1520 | |
---|
| 1521 | else |
---|
| 1522 | echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." |
---|
| 1523 | echo "*** See http://www.freedesktop.org/software/pkgconfig" |
---|
[15285] | 1524 | fi |
---|
| 1525 | fi |
---|
| 1526 | |
---|
[18403] | 1527 | if test $succeeded = yes; then |
---|
| 1528 | OUT="$OUT gtk-2/libglade.la" |
---|
| 1529 | else |
---|
| 1530 | { echo "configure: error: Library requirements (libglade-2.0 >= 1.99) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." 1>&2; exit 1; } |
---|
[15285] | 1531 | fi |
---|
| 1532 | |
---|
| 1533 | fi |
---|
| 1534 | |
---|
| 1535 | echo $ac_n "checking for working const""... $ac_c" 1>&6 |
---|
[18403] | 1536 | echo "configure:1537: checking for working const" >&5 |
---|
[15285] | 1537 | if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then |
---|
| 1538 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1539 | else |
---|
| 1540 | cat > conftest.$ac_ext <<EOF |
---|
[18403] | 1541 | #line 1542 "configure" |
---|
[15285] | 1542 | #include "confdefs.h" |
---|
| 1543 | |
---|
| 1544 | int main() { |
---|
| 1545 | |
---|
| 1546 | /* Ultrix mips cc rejects this. */ |
---|
| 1547 | typedef int charset[2]; const charset x; |
---|
| 1548 | /* SunOS 4.1.1 cc rejects this. */ |
---|
| 1549 | char const *const *ccp; |
---|
| 1550 | char **p; |
---|
| 1551 | /* NEC SVR4.0.2 mips cc rejects this. */ |
---|
| 1552 | struct point {int x, y;}; |
---|
| 1553 | static struct point const zero = {0,0}; |
---|
| 1554 | /* AIX XL C 1.02.0.0 rejects this. |
---|
| 1555 | It does not let you subtract one const X* pointer from another in an arm |
---|
| 1556 | of an if-expression whose if-part is not a constant expression */ |
---|
| 1557 | const char *g = "string"; |
---|
| 1558 | ccp = &g + (g ? g-g : 0); |
---|
| 1559 | /* HPUX 7.0 cc rejects these. */ |
---|
| 1560 | ++ccp; |
---|
| 1561 | p = (char**) ccp; |
---|
| 1562 | ccp = (char const *const *) p; |
---|
| 1563 | { /* SCO 3.2v4 cc rejects this. */ |
---|
| 1564 | char *t; |
---|
| 1565 | char const *s = 0 ? (char *) 0 : (char const *) 0; |
---|
| 1566 | |
---|
| 1567 | *t++ = 0; |
---|
| 1568 | } |
---|
| 1569 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
---|
| 1570 | int x[] = {25, 17}; |
---|
| 1571 | const int *foo = &x[0]; |
---|
| 1572 | ++foo; |
---|
| 1573 | } |
---|
| 1574 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
---|
| 1575 | typedef const int *iptr; |
---|
| 1576 | iptr p = 0; |
---|
| 1577 | ++p; |
---|
| 1578 | } |
---|
| 1579 | { /* AIX XL C 1.02.0.0 rejects this saying |
---|
| 1580 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
---|
| 1581 | struct s { int j; const int *ap[3]; }; |
---|
| 1582 | struct s *b; b->j = 5; |
---|
| 1583 | } |
---|
| 1584 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
---|
| 1585 | const int foo = 10; |
---|
| 1586 | } |
---|
| 1587 | |
---|
| 1588 | ; return 0; } |
---|
| 1589 | EOF |
---|
[18403] | 1590 | if { (eval echo configure:1591: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
---|
[15285] | 1591 | rm -rf conftest* |
---|
| 1592 | ac_cv_c_const=yes |
---|
| 1593 | else |
---|
| 1594 | echo "configure: failed program was:" >&5 |
---|
| 1595 | cat conftest.$ac_ext >&5 |
---|
| 1596 | rm -rf conftest* |
---|
| 1597 | ac_cv_c_const=no |
---|
| 1598 | fi |
---|
| 1599 | rm -f conftest* |
---|
| 1600 | fi |
---|
| 1601 | |
---|
| 1602 | echo "$ac_t""$ac_cv_c_const" 1>&6 |
---|
| 1603 | if test $ac_cv_c_const = no; then |
---|
| 1604 | cat >> confdefs.h <<\EOF |
---|
| 1605 | #define const |
---|
| 1606 | EOF |
---|
| 1607 | |
---|
| 1608 | fi |
---|
| 1609 | |
---|
| 1610 | echo $ac_n "checking for inline""... $ac_c" 1>&6 |
---|
[18403] | 1611 | echo "configure:1612: checking for inline" >&5 |
---|
[15285] | 1612 | if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then |
---|
| 1613 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1614 | else |
---|
| 1615 | ac_cv_c_inline=no |
---|
| 1616 | for ac_kw in inline __inline__ __inline; do |
---|
| 1617 | cat > conftest.$ac_ext <<EOF |
---|
[18403] | 1618 | #line 1619 "configure" |
---|
[15285] | 1619 | #include "confdefs.h" |
---|
| 1620 | |
---|
| 1621 | int main() { |
---|
| 1622 | } $ac_kw foo() { |
---|
| 1623 | ; return 0; } |
---|
| 1624 | EOF |
---|
[18403] | 1625 | if { (eval echo configure:1626: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
---|
[15285] | 1626 | rm -rf conftest* |
---|
| 1627 | ac_cv_c_inline=$ac_kw; break |
---|
| 1628 | else |
---|
| 1629 | echo "configure: failed program was:" >&5 |
---|
| 1630 | cat conftest.$ac_ext >&5 |
---|
| 1631 | fi |
---|
| 1632 | rm -f conftest* |
---|
| 1633 | done |
---|
| 1634 | |
---|
| 1635 | fi |
---|
| 1636 | |
---|
| 1637 | echo "$ac_t""$ac_cv_c_inline" 1>&6 |
---|
| 1638 | case "$ac_cv_c_inline" in |
---|
| 1639 | inline | yes) ;; |
---|
| 1640 | no) cat >> confdefs.h <<\EOF |
---|
| 1641 | #define inline |
---|
| 1642 | EOF |
---|
| 1643 | ;; |
---|
| 1644 | *) cat >> confdefs.h <<EOF |
---|
| 1645 | #define inline $ac_cv_c_inline |
---|
| 1646 | EOF |
---|
| 1647 | ;; |
---|
| 1648 | esac |
---|
| 1649 | |
---|
| 1650 | echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
---|
[18403] | 1651 | echo "configure:1652: checking for ANSI C header files" >&5 |
---|
[15285] | 1652 | if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
---|
| 1653 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1654 | else |
---|
| 1655 | cat > conftest.$ac_ext <<EOF |
---|
[18403] | 1656 | #line 1657 "configure" |
---|
[15285] | 1657 | #include "confdefs.h" |
---|
| 1658 | #include <stdlib.h> |
---|
| 1659 | #include <stdarg.h> |
---|
| 1660 | #include <string.h> |
---|
| 1661 | #include <float.h> |
---|
| 1662 | EOF |
---|
| 1663 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
---|
[18403] | 1664 | { (eval echo configure:1665: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
---|
[15285] | 1665 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
---|
| 1666 | if test -z "$ac_err"; then |
---|
| 1667 | rm -rf conftest* |
---|
| 1668 | ac_cv_header_stdc=yes |
---|
| 1669 | else |
---|
| 1670 | echo "$ac_err" >&5 |
---|
| 1671 | echo "configure: failed program was:" >&5 |
---|
| 1672 | cat conftest.$ac_ext >&5 |
---|
| 1673 | rm -rf conftest* |
---|
| 1674 | ac_cv_header_stdc=no |
---|
| 1675 | fi |
---|
| 1676 | rm -f conftest* |
---|
| 1677 | |
---|
| 1678 | if test $ac_cv_header_stdc = yes; then |
---|
| 1679 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
---|
| 1680 | cat > conftest.$ac_ext <<EOF |
---|
[18403] | 1681 | #line 1682 "configure" |
---|
[15285] | 1682 | #include "confdefs.h" |
---|
| 1683 | #include <string.h> |
---|
| 1684 | EOF |
---|
| 1685 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
| 1686 | egrep "memchr" >/dev/null 2>&1; then |
---|
| 1687 | : |
---|
| 1688 | else |
---|
| 1689 | rm -rf conftest* |
---|
| 1690 | ac_cv_header_stdc=no |
---|
| 1691 | fi |
---|
| 1692 | rm -f conftest* |
---|
| 1693 | |
---|
| 1694 | fi |
---|
| 1695 | |
---|
| 1696 | if test $ac_cv_header_stdc = yes; then |
---|
| 1697 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
---|
| 1698 | cat > conftest.$ac_ext <<EOF |
---|
[18403] | 1699 | #line 1700 "configure" |
---|
[15285] | 1700 | #include "confdefs.h" |
---|
| 1701 | #include <stdlib.h> |
---|
| 1702 | EOF |
---|
| 1703 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
| 1704 | egrep "free" >/dev/null 2>&1; then |
---|
| 1705 | : |
---|
| 1706 | else |
---|
| 1707 | rm -rf conftest* |
---|
| 1708 | ac_cv_header_stdc=no |
---|
| 1709 | fi |
---|
| 1710 | rm -f conftest* |
---|
| 1711 | |
---|
| 1712 | fi |
---|
| 1713 | |
---|
| 1714 | if test $ac_cv_header_stdc = yes; then |
---|
| 1715 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
---|
| 1716 | if test "$cross_compiling" = yes; then |
---|
| 1717 | : |
---|
| 1718 | else |
---|
| 1719 | cat > conftest.$ac_ext <<EOF |
---|
[18403] | 1720 | #line 1721 "configure" |
---|
[15285] | 1721 | #include "confdefs.h" |
---|
| 1722 | #include <ctype.h> |
---|
| 1723 | #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
---|
| 1724 | #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
---|
| 1725 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
---|
| 1726 | int main () { int i; for (i = 0; i < 256; i++) |
---|
| 1727 | if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
---|
| 1728 | exit (0); } |
---|
| 1729 | |
---|
| 1730 | EOF |
---|
[18403] | 1731 | if { (eval echo configure:1732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
---|
[15285] | 1732 | then |
---|
| 1733 | : |
---|
| 1734 | else |
---|
| 1735 | echo "configure: failed program was:" >&5 |
---|
| 1736 | cat conftest.$ac_ext >&5 |
---|
| 1737 | rm -fr conftest* |
---|
| 1738 | ac_cv_header_stdc=no |
---|
| 1739 | fi |
---|
| 1740 | rm -fr conftest* |
---|
| 1741 | fi |
---|
| 1742 | |
---|
| 1743 | fi |
---|
| 1744 | fi |
---|
| 1745 | |
---|
| 1746 | echo "$ac_t""$ac_cv_header_stdc" 1>&6 |
---|
| 1747 | if test $ac_cv_header_stdc = yes; then |
---|
| 1748 | cat >> confdefs.h <<\EOF |
---|
| 1749 | #define STDC_HEADERS 1 |
---|
| 1750 | EOF |
---|
| 1751 | |
---|
| 1752 | fi |
---|
| 1753 | |
---|
| 1754 | echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
---|
[18403] | 1755 | echo "configure:1756: checking for size_t" >&5 |
---|
[15285] | 1756 | if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then |
---|
| 1757 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1758 | else |
---|
| 1759 | cat > conftest.$ac_ext <<EOF |
---|
[18403] | 1760 | #line 1761 "configure" |
---|
[15285] | 1761 | #include "confdefs.h" |
---|
| 1762 | #include <sys/types.h> |
---|
| 1763 | #if STDC_HEADERS |
---|
| 1764 | #include <stdlib.h> |
---|
| 1765 | #include <stddef.h> |
---|
| 1766 | #endif |
---|
| 1767 | EOF |
---|
| 1768 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
| 1769 | egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
---|
| 1770 | rm -rf conftest* |
---|
| 1771 | ac_cv_type_size_t=yes |
---|
| 1772 | else |
---|
| 1773 | rm -rf conftest* |
---|
| 1774 | ac_cv_type_size_t=no |
---|
| 1775 | fi |
---|
| 1776 | rm -f conftest* |
---|
| 1777 | |
---|
| 1778 | fi |
---|
| 1779 | echo "$ac_t""$ac_cv_type_size_t" 1>&6 |
---|
| 1780 | if test $ac_cv_type_size_t = no; then |
---|
| 1781 | cat >> confdefs.h <<\EOF |
---|
| 1782 | #define size_t unsigned |
---|
| 1783 | EOF |
---|
| 1784 | |
---|
| 1785 | fi |
---|
| 1786 | |
---|
| 1787 | |
---|
| 1788 | saved_LIBS="$LIBS" |
---|
| 1789 | LIBS="$GTK_LIBS $saved_LIBS" |
---|
| 1790 | for ac_func in gdk_color_copy gtk_widget_peek_colormap gtk_type_get_info gtk_signal_set_class_function_full |
---|
| 1791 | do |
---|
| 1792 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
---|
[18403] | 1793 | echo "configure:1794: checking for $ac_func" >&5 |
---|
[15285] | 1794 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
---|
| 1795 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1796 | else |
---|
| 1797 | cat > conftest.$ac_ext <<EOF |
---|
[18403] | 1798 | #line 1799 "configure" |
---|
[15285] | 1799 | #include "confdefs.h" |
---|
| 1800 | /* System header to define __stub macros and hopefully few prototypes, |
---|
| 1801 | which can conflict with char $ac_func(); below. */ |
---|
| 1802 | #include <assert.h> |
---|
| 1803 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
| 1804 | /* We use char because int might match the return type of a gcc2 |
---|
| 1805 | builtin and then its argument prototype would still apply. */ |
---|
| 1806 | char $ac_func(); |
---|
| 1807 | |
---|
| 1808 | int main() { |
---|
| 1809 | |
---|
| 1810 | /* The GNU C library defines this for functions which it implements |
---|
| 1811 | to always fail with ENOSYS. Some functions are actually named |
---|
| 1812 | something starting with __ and the normal name is an alias. */ |
---|
| 1813 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
---|
| 1814 | choke me |
---|
| 1815 | #else |
---|
| 1816 | $ac_func(); |
---|
| 1817 | #endif |
---|
| 1818 | |
---|
| 1819 | ; return 0; } |
---|
| 1820 | EOF |
---|
[18403] | 1821 | if { (eval echo configure:1822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
---|
[15285] | 1822 | rm -rf conftest* |
---|
| 1823 | eval "ac_cv_func_$ac_func=yes" |
---|
| 1824 | else |
---|
| 1825 | echo "configure: failed program was:" >&5 |
---|
| 1826 | cat conftest.$ac_ext >&5 |
---|
| 1827 | rm -rf conftest* |
---|
| 1828 | eval "ac_cv_func_$ac_func=no" |
---|
| 1829 | fi |
---|
| 1830 | rm -f conftest* |
---|
| 1831 | fi |
---|
| 1832 | |
---|
| 1833 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
---|
| 1834 | echo "$ac_t""yes" 1>&6 |
---|
| 1835 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
---|
| 1836 | cat >> confdefs.h <<EOF |
---|
| 1837 | #define $ac_tr_func 1 |
---|
| 1838 | EOF |
---|
| 1839 | |
---|
| 1840 | else |
---|
| 1841 | echo "$ac_t""no" 1>&6 |
---|
| 1842 | fi |
---|
| 1843 | done |
---|
| 1844 | |
---|
| 1845 | LIBS="$saved_LIBS" |
---|
| 1846 | |
---|
| 1847 | for ac_func in setlocale |
---|
| 1848 | do |
---|
| 1849 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
---|
[18403] | 1850 | echo "configure:1851: checking for $ac_func" >&5 |
---|
[15285] | 1851 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
---|
| 1852 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1853 | else |
---|
| 1854 | cat > conftest.$ac_ext <<EOF |
---|
[18403] | 1855 | #line 1856 "configure" |
---|
[15285] | 1856 | #include "confdefs.h" |
---|
| 1857 | /* System header to define __stub macros and hopefully few prototypes, |
---|
| 1858 | which can conflict with char $ac_func(); below. */ |
---|
| 1859 | #include <assert.h> |
---|
| 1860 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
| 1861 | /* We use char because int might match the return type of a gcc2 |
---|
| 1862 | builtin and then its argument prototype would still apply. */ |
---|
| 1863 | char $ac_func(); |
---|
| 1864 | |
---|
| 1865 | int main() { |
---|
| 1866 | |
---|
| 1867 | /* The GNU C library defines this for functions which it implements |
---|
| 1868 | to always fail with ENOSYS. Some functions are actually named |
---|
| 1869 | something starting with __ and the normal name is an alias. */ |
---|
| 1870 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
---|
| 1871 | choke me |
---|
| 1872 | #else |
---|
| 1873 | $ac_func(); |
---|
| 1874 | #endif |
---|
| 1875 | |
---|
| 1876 | ; return 0; } |
---|
| 1877 | EOF |
---|
[18403] | 1878 | if { (eval echo configure:1879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
---|
[15285] | 1879 | rm -rf conftest* |
---|
| 1880 | eval "ac_cv_func_$ac_func=yes" |
---|
| 1881 | else |
---|
| 1882 | echo "configure: failed program was:" >&5 |
---|
| 1883 | cat conftest.$ac_ext >&5 |
---|
| 1884 | rm -rf conftest* |
---|
| 1885 | eval "ac_cv_func_$ac_func=no" |
---|
| 1886 | fi |
---|
| 1887 | rm -f conftest* |
---|
| 1888 | fi |
---|
| 1889 | |
---|
| 1890 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
---|
| 1891 | echo "$ac_t""yes" 1>&6 |
---|
| 1892 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
---|
| 1893 | cat >> confdefs.h <<EOF |
---|
| 1894 | #define $ac_tr_func 1 |
---|
| 1895 | EOF |
---|
| 1896 | |
---|
| 1897 | else |
---|
| 1898 | echo "$ac_t""no" 1>&6 |
---|
| 1899 | fi |
---|
| 1900 | done |
---|
| 1901 | |
---|
| 1902 | for ac_hdr in locale.h |
---|
| 1903 | do |
---|
| 1904 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
---|
| 1905 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
---|
[18403] | 1906 | echo "configure:1907: checking for $ac_hdr" >&5 |
---|
[15285] | 1907 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
---|
| 1908 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1909 | else |
---|
| 1910 | cat > conftest.$ac_ext <<EOF |
---|
[18403] | 1911 | #line 1912 "configure" |
---|
[15285] | 1912 | #include "confdefs.h" |
---|
| 1913 | #include <$ac_hdr> |
---|
| 1914 | EOF |
---|
| 1915 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
---|
[18403] | 1916 | { (eval echo configure:1917: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
---|
[15285] | 1917 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
---|
| 1918 | if test -z "$ac_err"; then |
---|
| 1919 | rm -rf conftest* |
---|
| 1920 | eval "ac_cv_header_$ac_safe=yes" |
---|
| 1921 | else |
---|
| 1922 | echo "$ac_err" >&5 |
---|
| 1923 | echo "configure: failed program was:" >&5 |
---|
| 1924 | cat conftest.$ac_ext >&5 |
---|
| 1925 | rm -rf conftest* |
---|
| 1926 | eval "ac_cv_header_$ac_safe=no" |
---|
| 1927 | fi |
---|
| 1928 | rm -f conftest* |
---|
| 1929 | fi |
---|
| 1930 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
---|
| 1931 | echo "$ac_t""yes" 1>&6 |
---|
| 1932 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
---|
| 1933 | cat >> confdefs.h <<EOF |
---|
| 1934 | #define $ac_tr_hdr 1 |
---|
| 1935 | EOF |
---|
| 1936 | |
---|
| 1937 | else |
---|
| 1938 | echo "$ac_t""no" 1>&6 |
---|
| 1939 | fi |
---|
| 1940 | done |
---|
| 1941 | |
---|
| 1942 | |
---|
| 1943 | |
---|
| 1944 | |
---|
| 1945 | |
---|
| 1946 | |
---|
| 1947 | |
---|
| 1948 | |
---|
| 1949 | cat >> confdefs.h <<EOF |
---|
| 1950 | #define REP_GTK_VERSION "${version}" |
---|
| 1951 | EOF |
---|
| 1952 | |
---|
| 1953 | |
---|
| 1954 | trap '' 1 2 15 |
---|
| 1955 | cat > confcache <<\EOF |
---|
| 1956 | # This file is a shell script that caches the results of configure |
---|
| 1957 | # tests run on this system so they can be shared between configure |
---|
| 1958 | # scripts and configure runs. It is not useful on other systems. |
---|
| 1959 | # If it contains results you don't want to keep, you may remove or edit it. |
---|
| 1960 | # |
---|
| 1961 | # By default, configure uses ./config.cache as the cache file, |
---|
| 1962 | # creating it if it does not exist already. You can give configure |
---|
| 1963 | # the --cache-file=FILE option to use a different cache file; that is |
---|
| 1964 | # what configure does when it calls configure scripts in |
---|
| 1965 | # subdirectories, so they share the cache. |
---|
| 1966 | # Giving --cache-file=/dev/null disables caching, for debugging configure. |
---|
| 1967 | # config.status only pays attention to the cache file if you give it the |
---|
| 1968 | # --recheck option to rerun configure. |
---|
| 1969 | # |
---|
| 1970 | EOF |
---|
| 1971 | # The following way of writing the cache mishandles newlines in values, |
---|
| 1972 | # but we know of no workaround that is simple, portable, and efficient. |
---|
| 1973 | # So, don't put newlines in cache variables' values. |
---|
| 1974 | # Ultrix sh set writes to stderr and can't be redirected directly, |
---|
| 1975 | # and sets the high bit in the cache file unless we assign to the vars. |
---|
| 1976 | (set) 2>&1 | |
---|
| 1977 | case `(ac_space=' '; set | grep ac_space) 2>&1` in |
---|
| 1978 | *ac_space=\ *) |
---|
| 1979 | # `set' does not quote correctly, so add quotes (double-quote substitution |
---|
| 1980 | # turns \\\\ into \\, and sed turns \\ into \). |
---|
| 1981 | sed -n \ |
---|
| 1982 | -e "s/'/'\\\\''/g" \ |
---|
| 1983 | -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" |
---|
| 1984 | ;; |
---|
| 1985 | *) |
---|
| 1986 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
---|
| 1987 | sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' |
---|
| 1988 | ;; |
---|
| 1989 | esac >> confcache |
---|
| 1990 | if cmp -s $cache_file confcache; then |
---|
| 1991 | : |
---|
| 1992 | else |
---|
| 1993 | if test -w $cache_file; then |
---|
| 1994 | echo "updating cache $cache_file" |
---|
| 1995 | cat confcache > $cache_file |
---|
| 1996 | else |
---|
| 1997 | echo "not updating unwritable cache $cache_file" |
---|
| 1998 | fi |
---|
| 1999 | fi |
---|
| 2000 | rm -f confcache |
---|
| 2001 | |
---|
| 2002 | trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
---|
| 2003 | |
---|
| 2004 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
---|
| 2005 | # Let make expand exec_prefix. |
---|
| 2006 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
---|
| 2007 | |
---|
| 2008 | # Any assignment to VPATH causes Sun make to only execute |
---|
| 2009 | # the first set of double-colon rules, so remove it if not needed. |
---|
| 2010 | # If there is a colon in the path, we need to keep it. |
---|
| 2011 | if test "x$srcdir" = x.; then |
---|
| 2012 | ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' |
---|
| 2013 | fi |
---|
| 2014 | |
---|
| 2015 | trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 |
---|
| 2016 | |
---|
| 2017 | DEFS=-DHAVE_CONFIG_H |
---|
| 2018 | |
---|
| 2019 | # Without the "./", some shells look in PATH for config.status. |
---|
| 2020 | : ${CONFIG_STATUS=./config.status} |
---|
| 2021 | |
---|
| 2022 | echo creating $CONFIG_STATUS |
---|
| 2023 | rm -f $CONFIG_STATUS |
---|
| 2024 | cat > $CONFIG_STATUS <<EOF |
---|
| 2025 | #! /bin/sh |
---|
| 2026 | # Generated automatically by configure. |
---|
| 2027 | # Run this file to recreate the current configuration. |
---|
| 2028 | # This directory was configured as follows, |
---|
| 2029 | # on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
---|
| 2030 | # |
---|
| 2031 | # $0 $ac_configure_args |
---|
| 2032 | # |
---|
| 2033 | # Compiler output produced by configure, useful for debugging |
---|
| 2034 | # configure, is in ./config.log if it exists. |
---|
| 2035 | |
---|
| 2036 | ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" |
---|
| 2037 | for ac_option |
---|
| 2038 | do |
---|
| 2039 | case "\$ac_option" in |
---|
| 2040 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
---|
| 2041 | echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" |
---|
| 2042 | exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; |
---|
| 2043 | -version | --version | --versio | --versi | --vers | --ver | --ve | --v) |
---|
| 2044 | echo "$CONFIG_STATUS generated by autoconf version 2.13" |
---|
| 2045 | exit 0 ;; |
---|
| 2046 | -help | --help | --hel | --he | --h) |
---|
| 2047 | echo "\$ac_cs_usage"; exit 0 ;; |
---|
| 2048 | *) echo "\$ac_cs_usage"; exit 1 ;; |
---|
| 2049 | esac |
---|
| 2050 | done |
---|
| 2051 | |
---|
| 2052 | ac_given_srcdir=$srcdir |
---|
| 2053 | ac_given_INSTALL="$INSTALL" |
---|
| 2054 | |
---|
| 2055 | trap 'rm -fr `echo "Makefile rep-gtk.spec config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 |
---|
| 2056 | EOF |
---|
| 2057 | cat >> $CONFIG_STATUS <<EOF |
---|
| 2058 | |
---|
| 2059 | # Protect against being on the right side of a sed subst in config.status. |
---|
| 2060 | sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; |
---|
| 2061 | s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF |
---|
| 2062 | $ac_vpsub |
---|
| 2063 | $extrasub |
---|
| 2064 | s%@SHELL@%$SHELL%g |
---|
| 2065 | s%@CFLAGS@%$CFLAGS%g |
---|
| 2066 | s%@CPPFLAGS@%$CPPFLAGS%g |
---|
| 2067 | s%@CXXFLAGS@%$CXXFLAGS%g |
---|
| 2068 | s%@FFLAGS@%$FFLAGS%g |
---|
| 2069 | s%@DEFS@%$DEFS%g |
---|
| 2070 | s%@LDFLAGS@%$LDFLAGS%g |
---|
| 2071 | s%@LIBS@%$LIBS%g |
---|
| 2072 | s%@exec_prefix@%$exec_prefix%g |
---|
| 2073 | s%@prefix@%$prefix%g |
---|
| 2074 | s%@program_transform_name@%$program_transform_name%g |
---|
| 2075 | s%@bindir@%$bindir%g |
---|
| 2076 | s%@sbindir@%$sbindir%g |
---|
| 2077 | s%@libexecdir@%$libexecdir%g |
---|
| 2078 | s%@datadir@%$datadir%g |
---|
| 2079 | s%@sysconfdir@%$sysconfdir%g |
---|
| 2080 | s%@sharedstatedir@%$sharedstatedir%g |
---|
| 2081 | s%@localstatedir@%$localstatedir%g |
---|
| 2082 | s%@libdir@%$libdir%g |
---|
| 2083 | s%@includedir@%$includedir%g |
---|
| 2084 | s%@oldincludedir@%$oldincludedir%g |
---|
| 2085 | s%@infodir@%$infodir%g |
---|
| 2086 | s%@mandir@%$mandir%g |
---|
| 2087 | s%@OUT@%$OUT%g |
---|
| 2088 | s%@host@%$host%g |
---|
| 2089 | s%@host_alias@%$host_alias%g |
---|
| 2090 | s%@host_cpu@%$host_cpu%g |
---|
| 2091 | s%@host_vendor@%$host_vendor%g |
---|
| 2092 | s%@host_os@%$host_os%g |
---|
| 2093 | s%@CC@%$CC%g |
---|
| 2094 | s%@CPP@%$CPP%g |
---|
| 2095 | s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g |
---|
| 2096 | s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g |
---|
| 2097 | s%@INSTALL_DATA@%$INSTALL_DATA%g |
---|
| 2098 | s%@LN_S@%$LN_S%g |
---|
| 2099 | s%@SET_MAKE@%$SET_MAKE%g |
---|
| 2100 | s%@REP_VERSION@%$REP_VERSION%g |
---|
| 2101 | s%@REP_CFLAGS@%$REP_CFLAGS%g |
---|
| 2102 | s%@REP_LIBS@%$REP_LIBS%g |
---|
| 2103 | s%@REP_EXECDIR@%$REP_EXECDIR%g |
---|
| 2104 | s%@REP_MSGFMT@%$REP_MSGFMT%g |
---|
[18403] | 2105 | s%@PKG_CONFIG@%$PKG_CONFIG%g |
---|
[15285] | 2106 | s%@GLIB_CFLAGS@%$GLIB_CFLAGS%g |
---|
| 2107 | s%@GLIB_LIBS@%$GLIB_LIBS%g |
---|
| 2108 | s%@GTK_CFLAGS@%$GTK_CFLAGS%g |
---|
| 2109 | s%@GTK_LIBS@%$GTK_LIBS%g |
---|
[18403] | 2110 | s%@GDK_PIXBUF_CFLAGS@%$GDK_PIXBUF_CFLAGS%g |
---|
| 2111 | s%@GDK_PIXBUF_LIBS@%$GDK_PIXBUF_LIBS%g |
---|
[15285] | 2112 | s%@GNOME_VERSION@%$GNOME_VERSION%g |
---|
| 2113 | s%@GNOME_LIBS@%$GNOME_LIBS%g |
---|
| 2114 | s%@GNOME_CFLAGS@%$GNOME_CFLAGS%g |
---|
[18403] | 2115 | s%@GNOMEUI_LIBS@%$GNOMEUI_LIBS%g |
---|
| 2116 | s%@GNOMEUI_CFLAGS@%$GNOMEUI_CFLAGS%g |
---|
| 2117 | s%@GNOME_CANVAS_LIBS@%$GNOME_CANVAS_LIBS%g |
---|
| 2118 | s%@GNOME_CANVAS_CFLAGS@%$GNOME_CANVAS_CFLAGS%g |
---|
[15285] | 2119 | s%@LIBGLADE_CFLAGS@%$LIBGLADE_CFLAGS%g |
---|
| 2120 | s%@LIBGLADE_LIBS@%$LIBGLADE_LIBS%g |
---|
| 2121 | s%@version@%$version%g |
---|
| 2122 | s%@repexecdir@%$repexecdir%g |
---|
| 2123 | |
---|
| 2124 | CEOF |
---|
| 2125 | EOF |
---|
| 2126 | |
---|
| 2127 | cat >> $CONFIG_STATUS <<\EOF |
---|
| 2128 | |
---|
| 2129 | # Split the substitutions into bite-sized pieces for seds with |
---|
| 2130 | # small command number limits, like on Digital OSF/1 and HP-UX. |
---|
| 2131 | ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. |
---|
| 2132 | ac_file=1 # Number of current file. |
---|
| 2133 | ac_beg=1 # First line for current file. |
---|
| 2134 | ac_end=$ac_max_sed_cmds # Line after last line for current file. |
---|
| 2135 | ac_more_lines=: |
---|
| 2136 | ac_sed_cmds="" |
---|
| 2137 | while $ac_more_lines; do |
---|
| 2138 | if test $ac_beg -gt 1; then |
---|
| 2139 | sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file |
---|
| 2140 | else |
---|
| 2141 | sed "${ac_end}q" conftest.subs > conftest.s$ac_file |
---|
| 2142 | fi |
---|
| 2143 | if test ! -s conftest.s$ac_file; then |
---|
| 2144 | ac_more_lines=false |
---|
| 2145 | rm -f conftest.s$ac_file |
---|
| 2146 | else |
---|
| 2147 | if test -z "$ac_sed_cmds"; then |
---|
| 2148 | ac_sed_cmds="sed -f conftest.s$ac_file" |
---|
| 2149 | else |
---|
| 2150 | ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" |
---|
| 2151 | fi |
---|
| 2152 | ac_file=`expr $ac_file + 1` |
---|
| 2153 | ac_beg=$ac_end |
---|
| 2154 | ac_end=`expr $ac_end + $ac_max_sed_cmds` |
---|
| 2155 | fi |
---|
| 2156 | done |
---|
| 2157 | if test -z "$ac_sed_cmds"; then |
---|
| 2158 | ac_sed_cmds=cat |
---|
| 2159 | fi |
---|
| 2160 | EOF |
---|
| 2161 | |
---|
| 2162 | cat >> $CONFIG_STATUS <<EOF |
---|
| 2163 | |
---|
| 2164 | CONFIG_FILES=\${CONFIG_FILES-"Makefile rep-gtk.spec"} |
---|
| 2165 | EOF |
---|
| 2166 | cat >> $CONFIG_STATUS <<\EOF |
---|
| 2167 | for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then |
---|
| 2168 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
---|
| 2169 | case "$ac_file" in |
---|
| 2170 | *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` |
---|
| 2171 | ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
---|
| 2172 | *) ac_file_in="${ac_file}.in" ;; |
---|
| 2173 | esac |
---|
| 2174 | |
---|
| 2175 | # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. |
---|
| 2176 | |
---|
| 2177 | # Remove last slash and all that follows it. Not all systems have dirname. |
---|
| 2178 | ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` |
---|
| 2179 | if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
---|
| 2180 | # The file is in a subdirectory. |
---|
| 2181 | test ! -d "$ac_dir" && mkdir "$ac_dir" |
---|
| 2182 | ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" |
---|
| 2183 | # A "../" for each directory in $ac_dir_suffix. |
---|
| 2184 | ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` |
---|
| 2185 | else |
---|
| 2186 | ac_dir_suffix= ac_dots= |
---|
| 2187 | fi |
---|
| 2188 | |
---|
| 2189 | case "$ac_given_srcdir" in |
---|
| 2190 | .) srcdir=. |
---|
| 2191 | if test -z "$ac_dots"; then top_srcdir=. |
---|
| 2192 | else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; |
---|
| 2193 | /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; |
---|
| 2194 | *) # Relative path. |
---|
| 2195 | srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" |
---|
| 2196 | top_srcdir="$ac_dots$ac_given_srcdir" ;; |
---|
| 2197 | esac |
---|
| 2198 | |
---|
| 2199 | case "$ac_given_INSTALL" in |
---|
| 2200 | [/$]*) INSTALL="$ac_given_INSTALL" ;; |
---|
| 2201 | *) INSTALL="$ac_dots$ac_given_INSTALL" ;; |
---|
| 2202 | esac |
---|
| 2203 | |
---|
| 2204 | echo creating "$ac_file" |
---|
| 2205 | rm -f "$ac_file" |
---|
| 2206 | configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." |
---|
| 2207 | case "$ac_file" in |
---|
| 2208 | *Makefile*) ac_comsub="1i\\ |
---|
| 2209 | # $configure_input" ;; |
---|
| 2210 | *) ac_comsub= ;; |
---|
| 2211 | esac |
---|
| 2212 | |
---|
| 2213 | ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` |
---|
| 2214 | sed -e "$ac_comsub |
---|
| 2215 | s%@configure_input@%$configure_input%g |
---|
| 2216 | s%@srcdir@%$srcdir%g |
---|
| 2217 | s%@top_srcdir@%$top_srcdir%g |
---|
| 2218 | s%@INSTALL@%$INSTALL%g |
---|
| 2219 | " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file |
---|
| 2220 | fi; done |
---|
| 2221 | rm -f conftest.s* |
---|
| 2222 | |
---|
| 2223 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where |
---|
| 2224 | # NAME is the cpp macro being defined and VALUE is the value it is being given. |
---|
| 2225 | # |
---|
| 2226 | # ac_d sets the value in "#define NAME VALUE" lines. |
---|
| 2227 | ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
---|
| 2228 | ac_dB='\([ ][ ]*\)[^ ]*%\1#\2' |
---|
| 2229 | ac_dC='\3' |
---|
| 2230 | ac_dD='%g' |
---|
| 2231 | # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". |
---|
| 2232 | ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
---|
| 2233 | ac_uB='\([ ]\)%\1#\2define\3' |
---|
| 2234 | ac_uC=' ' |
---|
| 2235 | ac_uD='\4%g' |
---|
| 2236 | # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
---|
| 2237 | ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
---|
| 2238 | ac_eB='$%\1#\2define\3' |
---|
| 2239 | ac_eC=' ' |
---|
| 2240 | ac_eD='%g' |
---|
| 2241 | |
---|
| 2242 | if test "${CONFIG_HEADERS+set}" != set; then |
---|
| 2243 | EOF |
---|
| 2244 | cat >> $CONFIG_STATUS <<EOF |
---|
| 2245 | CONFIG_HEADERS="config.h" |
---|
| 2246 | EOF |
---|
| 2247 | cat >> $CONFIG_STATUS <<\EOF |
---|
| 2248 | fi |
---|
| 2249 | for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then |
---|
| 2250 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
---|
| 2251 | case "$ac_file" in |
---|
| 2252 | *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` |
---|
| 2253 | ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
---|
| 2254 | *) ac_file_in="${ac_file}.in" ;; |
---|
| 2255 | esac |
---|
| 2256 | |
---|
| 2257 | echo creating $ac_file |
---|
| 2258 | |
---|
| 2259 | rm -f conftest.frag conftest.in conftest.out |
---|
| 2260 | ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` |
---|
| 2261 | cat $ac_file_inputs > conftest.in |
---|
| 2262 | |
---|
| 2263 | EOF |
---|
| 2264 | |
---|
| 2265 | # Transform confdefs.h into a sed script conftest.vals that substitutes |
---|
| 2266 | # the proper values into config.h.in to produce config.h. And first: |
---|
| 2267 | # Protect against being on the right side of a sed subst in config.status. |
---|
| 2268 | # Protect against being in an unquoted here document in config.status. |
---|
| 2269 | rm -f conftest.vals |
---|
| 2270 | cat > conftest.hdr <<\EOF |
---|
| 2271 | s/[\\&%]/\\&/g |
---|
| 2272 | s%[\\$`]%\\&%g |
---|
| 2273 | s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp |
---|
| 2274 | s%ac_d%ac_u%gp |
---|
| 2275 | s%ac_u%ac_e%gp |
---|
| 2276 | EOF |
---|
| 2277 | sed -n -f conftest.hdr confdefs.h > conftest.vals |
---|
| 2278 | rm -f conftest.hdr |
---|
| 2279 | |
---|
| 2280 | # This sed command replaces #undef with comments. This is necessary, for |
---|
| 2281 | # example, in the case of _POSIX_SOURCE, which is predefined and required |
---|
| 2282 | # on some systems where configure will not decide to define it. |
---|
| 2283 | cat >> conftest.vals <<\EOF |
---|
| 2284 | s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */% |
---|
| 2285 | EOF |
---|
| 2286 | |
---|
| 2287 | # Break up conftest.vals because some shells have a limit on |
---|
| 2288 | # the size of here documents, and old seds have small limits too. |
---|
| 2289 | |
---|
| 2290 | rm -f conftest.tail |
---|
| 2291 | while : |
---|
| 2292 | do |
---|
| 2293 | ac_lines=`grep -c . conftest.vals` |
---|
| 2294 | # grep -c gives empty output for an empty file on some AIX systems. |
---|
| 2295 | if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi |
---|
| 2296 | # Write a limited-size here document to conftest.frag. |
---|
| 2297 | echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS |
---|
| 2298 | sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS |
---|
| 2299 | echo 'CEOF |
---|
| 2300 | sed -f conftest.frag conftest.in > conftest.out |
---|
| 2301 | rm -f conftest.in |
---|
| 2302 | mv conftest.out conftest.in |
---|
| 2303 | ' >> $CONFIG_STATUS |
---|
| 2304 | sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail |
---|
| 2305 | rm -f conftest.vals |
---|
| 2306 | mv conftest.tail conftest.vals |
---|
| 2307 | done |
---|
| 2308 | rm -f conftest.vals |
---|
| 2309 | |
---|
| 2310 | cat >> $CONFIG_STATUS <<\EOF |
---|
| 2311 | rm -f conftest.frag conftest.h |
---|
| 2312 | echo "/* $ac_file. Generated automatically by configure. */" > conftest.h |
---|
| 2313 | cat conftest.in >> conftest.h |
---|
| 2314 | rm -f conftest.in |
---|
| 2315 | if cmp -s $ac_file conftest.h 2>/dev/null; then |
---|
| 2316 | echo "$ac_file is unchanged" |
---|
| 2317 | rm -f conftest.h |
---|
| 2318 | else |
---|
| 2319 | # Remove last slash and all that follows it. Not all systems have dirname. |
---|
| 2320 | ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` |
---|
| 2321 | if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
---|
| 2322 | # The file is in a subdirectory. |
---|
| 2323 | test ! -d "$ac_dir" && mkdir "$ac_dir" |
---|
| 2324 | fi |
---|
| 2325 | rm -f $ac_file |
---|
| 2326 | mv conftest.h $ac_file |
---|
| 2327 | fi |
---|
| 2328 | fi; done |
---|
| 2329 | |
---|
| 2330 | EOF |
---|
| 2331 | cat >> $CONFIG_STATUS <<EOF |
---|
| 2332 | |
---|
| 2333 | EOF |
---|
| 2334 | cat >> $CONFIG_STATUS <<\EOF |
---|
| 2335 | |
---|
| 2336 | exit 0 |
---|
| 2337 | EOF |
---|
| 2338 | chmod +x $CONFIG_STATUS |
---|
| 2339 | rm -fr confdefs* $ac_clean_files |
---|
| 2340 | test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 |
---|
| 2341 | |
---|
| 2342 | |
---|