2
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.64 for desktop-switcher 0.5.2.
3
# Generated by GNU Autoconf 2.64 for desktop-switcher 0.5.4.
5
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
6
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
2538
2541
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2541
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2542
# We used to keeping the `.' as first argument, in order to
2543
# allow $(mkdir_p) to be used without argument. As in
2544
# $(mkdir_p) $(somedir)
2545
# where $(somedir) is conditionally defined. However this is wrong
2547
# 1. if the package is installed by a user who cannot write `.'
2548
# make install will fail,
2549
# 2. the above comment should most certainly read
2550
# $(mkdir_p) $(DESTDIR)$(somedir)
2551
# so it does not work when $(somedir) is undefined and
2552
# $(DESTDIR) is not.
2553
# To support the latter case, we have to write
2554
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2555
# so the `.' trick is pointless.
2556
mkdir_p='mkdir -p --'
2544
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2545
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2546
if test -z "$MKDIR_P"; then
2547
if test "${ac_cv_path_mkdir+set}" = set; then :
2548
$as_echo_n "(cached) " >&6
2558
# On NextStep and OpenStep, the `mkdir' command does not
2559
# recognize any option. It will interpret all options as
2560
# directories to create, and then abort because `.' already
2562
for d in ./-p ./--version;
2564
test -d $d && rmdir $d
2550
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2551
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2554
test -z "$as_dir" && as_dir=.
2555
for ac_prog in mkdir gmkdir; do
2556
for ac_exec_ext in '' $ac_executable_extensions; do
2557
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2558
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2559
'mkdir (GNU coreutils) '* | \
2560
'mkdir (coreutils) '* | \
2561
'mkdir (fileutils) '4.1*)
2562
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2566
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2567
if test -f "$ac_aux_dir/mkinstalldirs"; then
2568
mkdir_p='$(mkinstalldirs)'
2572
if test "${ac_cv_path_mkdir+set}" = set; then
2573
MKDIR_P="$ac_cv_path_mkdir -p"
2570
mkdir_p='$(install_sh) -d'
2575
# As a last resort, use the slow shell script. Don't cache a
2576
# value for MKDIR_P within a source directory, because that will
2577
# break other packages using the cache if that directory is
2578
# removed, or if the value is a relative name.
2579
test -d ./--version && rmdir ./--version
2580
MKDIR_P="$ac_install_sh -d"
2583
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2584
$as_echo "$MKDIR_P" >&6; }
2588
[\\/$]* | ?:[\\/]*) ;;
2589
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2574
2592
for ac_prog in gawk mawk nawk awk
2654
2672
rmdir .tst 2>/dev/null
2656
# test to see if srcdir already configured
2657
if test "`cd $srcdir && pwd`" != "`pwd`" &&
2658
test -f $srcdir/config.status; then
2659
as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2674
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2675
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2676
# is not polluted with repeated "-I."
2677
am__isrc=' -I$(srcdir)'
2678
# test to see if srcdir already configured
2679
if test -f $srcdir/config.status; then
2680
as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2662
2684
# test whether we have cygpath
5419
5435
lt_cv_nm_interface="BSD nm"
5420
5436
echo "int some_variable = 0;" > conftest.$ac_ext
5421
(eval echo "\"\$as_me:5421: $ac_compile\"" >&5)
5437
(eval echo "\"\$as_me:5437: $ac_compile\"" >&5)
5422
5438
(eval "$ac_compile" 2>conftest.err)
5423
5439
cat conftest.err >&5
5424
(eval echo "\"\$as_me:5424: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5440
(eval echo "\"\$as_me:5440: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5425
5441
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5426
5442
cat conftest.err >&5
5427
(eval echo "\"\$as_me:5427: output\"" >&5)
5443
(eval echo "\"\$as_me:5443: output\"" >&5)
5428
5444
cat conftest.out >&5
5429
5445
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5430
5446
lt_cv_nm_interface="MS dumpbin"
7905
7921
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7906
7922
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7907
7923
-e 's:$: $lt_compiler_flag:'`
7908
(eval echo "\"\$as_me:7908: $lt_compile\"" >&5)
7924
(eval echo "\"\$as_me:7924: $lt_compile\"" >&5)
7909
7925
(eval "$lt_compile" 2>conftest.err)
7911
7927
cat conftest.err >&5
7912
echo "$as_me:7912: \$? = $ac_status" >&5
7928
echo "$as_me:7928: \$? = $ac_status" >&5
7913
7929
if (exit $ac_status) && test -s "$ac_outfile"; then
7914
7930
# The compiler can only warn and ignore the option if not recognized
7915
7931
# So say no if there are warnings other than the usual output.
8244
8260
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8245
8261
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8246
8262
-e 's:$: $lt_compiler_flag:'`
8247
(eval echo "\"\$as_me:8247: $lt_compile\"" >&5)
8263
(eval echo "\"\$as_me:8263: $lt_compile\"" >&5)
8248
8264
(eval "$lt_compile" 2>conftest.err)
8250
8266
cat conftest.err >&5
8251
echo "$as_me:8251: \$? = $ac_status" >&5
8267
echo "$as_me:8267: \$? = $ac_status" >&5
8252
8268
if (exit $ac_status) && test -s "$ac_outfile"; then
8253
8269
# The compiler can only warn and ignore the option if not recognized
8254
8270
# So say no if there are warnings other than the usual output.
8349
8365
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8350
8366
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8351
8367
-e 's:$: $lt_compiler_flag:'`
8352
(eval echo "\"\$as_me:8352: $lt_compile\"" >&5)
8368
(eval echo "\"\$as_me:8368: $lt_compile\"" >&5)
8353
8369
(eval "$lt_compile" 2>out/conftest.err)
8355
8371
cat out/conftest.err >&5
8356
echo "$as_me:8356: \$? = $ac_status" >&5
8372
echo "$as_me:8372: \$? = $ac_status" >&5
8357
8373
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8359
8375
# The compiler can only warn and ignore the option if not recognized
8404
8420
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8405
8421
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8406
8422
-e 's:$: $lt_compiler_flag:'`
8407
(eval echo "\"\$as_me:8407: $lt_compile\"" >&5)
8423
(eval echo "\"\$as_me:8423: $lt_compile\"" >&5)
8408
8424
(eval "$lt_compile" 2>out/conftest.err)
8410
8426
cat out/conftest.err >&5
8411
echo "$as_me:8411: \$? = $ac_status" >&5
8427
echo "$as_me:8427: \$? = $ac_status" >&5
8412
8428
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8414
8430
# The compiler can only warn and ignore the option if not recognized
14246
14267
|| as_fn_error "could not create -" "$LINENO" 5
14248
14269
# Compute "$ac_file"'s index in $config_headers.
14249
14271
_am_stamp_count=1
14250
14272
for _am_header in $config_headers :; do
14251
14273
case $_am_header in
14252
"$ac_file" | "$ac_file":* )
14274
$_am_arg | $_am_arg:* )
14255
14277
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
14258
echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
14259
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14260
X"$ac_file" : 'X\(//\)[^/]' \| \
14261
X"$ac_file" : 'X\(//\)$' \| \
14262
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14263
$as_echo X"$ac_file" |
14280
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14281
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14282
X"$_am_arg" : 'X\(//\)[^/]' \| \
14283
X"$_am_arg" : 'X\(//\)$' \| \
14284
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14285
$as_echo X"$_am_arg" |
14264
14286
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14289
14311
case $ac_file$ac_mode in
14290
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
14291
# Strip MF so we end up with the name of the file.
14292
mf=`echo "$mf" | sed -e 's/:.*$//'`
14293
# Check whether this is an Automake generated Makefile or not.
14294
# We used to match only the files named `Makefile.in', but
14295
# some people rename them; so instead we look at the file content.
14296
# Grep'ing the first line is not enough: some people post-process
14297
# each Makefile.in and add a new line on top of each file to say so.
14298
# So let's grep whole file.
14299
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
14300
dirpart=`$as_dirname -- "$mf" ||
14312
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14313
# Autoconf 2.62 quotes --file arguments for eval, but not when files
14314
# are listed without --file. Let's play safe and only enable the eval
14315
# if we detect the quoting.
14316
case $CONFIG_FILES in
14317
*\'*) eval set x "$CONFIG_FILES" ;;
14318
*) set x $CONFIG_FILES ;;
14323
# Strip MF so we end up with the name of the file.
14324
mf=`echo "$mf" | sed -e 's/:.*$//'`
14325
# Check whether this is an Automake generated Makefile or not.
14326
# We used to match only the files named `Makefile.in', but
14327
# some people rename them; so instead we look at the file content.
14328
# Grep'ing the first line is not enough: some people post-process
14329
# each Makefile.in and add a new line on top of each file to say so.
14330
# Grep'ing the whole file is not good either: AIX grep has a line
14331
# limit of 2048, but all sed's we know have understand at least 4000.
14332
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14333
dirpart=`$as_dirname -- "$mf" ||
14301
14334
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14302
14335
X"$mf" : 'X\(//\)[^/]' \| \
14303
14336
X"$mf" : 'X\(//\)$' \| \
14326
# Extract the definition of DEPDIR, am__include, and am__quote
14327
# from the Makefile without running `make'.
14328
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14329
test -z "$DEPDIR" && continue
14330
am__include=`sed -n 's/^am__include = //p' < "$mf"`
14331
test -z "am__include" && continue
14332
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14333
# When using ansi2knr, U may be empty or an underscore; expand it
14334
U=`sed -n 's/^U = //p' < "$mf"`
14335
# Find all dependency output files, they are included files with
14336
# $(DEPDIR) in their names. We invoke sed twice because it is the
14337
# simplest approach to changing $(DEPDIR) to its actual value in the
14339
for file in `sed -n "
14340
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14341
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14342
# Make sure the directory exists.
14343
test -f "$dirpart/$file" && continue
14344
fdir=`$as_dirname -- "$file" ||
14359
# Extract the definition of DEPDIR, am__include, and am__quote
14360
# from the Makefile without running `make'.
14361
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14362
test -z "$DEPDIR" && continue
14363
am__include=`sed -n 's/^am__include = //p' < "$mf"`
14364
test -z "am__include" && continue
14365
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14366
# When using ansi2knr, U may be empty or an underscore; expand it
14367
U=`sed -n 's/^U = //p' < "$mf"`
14368
# Find all dependency output files, they are included files with
14369
# $(DEPDIR) in their names. We invoke sed twice because it is the
14370
# simplest approach to changing $(DEPDIR) to its actual value in the
14372
for file in `sed -n "
14373
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14374
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14375
# Make sure the directory exists.
14376
test -f "$dirpart/$file" && continue
14377
fdir=`$as_dirname -- "$file" ||
14345
14378
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14346
14379
X"$file" : 'X\(//\)[^/]' \| \
14347
14380
X"$file" : 'X\(//\)$' \| \