~ubuntu-branches/ubuntu/lucid/libx11/lucid

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Timo Aaltonen
  • Date: 2009-01-17 16:34:54 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20090117163454-gaey3cd32xyavueo
Tags: 2:1.1.99.2-1build1
Fakesync with Debian, all previous Ubuntu changes are included
in the new upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.61 for libX11 1.1.5.
 
3
# Generated by GNU Autoconf 2.61 for libX11 1.1.99.2.
4
4
#
5
5
# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6
6
#
728
728
# Identity of this package.
729
729
PACKAGE_NAME='libX11'
730
730
PACKAGE_TARNAME='libX11'
731
 
PACKAGE_VERSION='1.1.5'
732
 
PACKAGE_STRING='libX11 1.1.5'
 
731
PACKAGE_VERSION='1.1.99.2'
 
732
PACKAGE_STRING='libX11 1.1.99.2'
733
733
PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
734
734
 
735
735
ac_unique_file="Makefile.am"
876
876
FFLAGS
877
877
ac_ct_F77
878
878
LIBTOOL
 
879
DOLT_BASH
 
880
LTCOMPILE
 
881
LTCXXCOMPILE
 
882
CC_FOR_BUILD
879
883
RAWCPP
880
884
RAWCPPFLAGS
881
885
XCB_TRUE
1480
1484
  # Omit some internal or obsolete options to make the list less imposing.
1481
1485
  # This message is too long to be a string in the A/UX 3.1 sh.
1482
1486
  cat <<_ACEOF
1483
 
\`configure' configures libX11 1.1.5 to adapt to many kinds of systems.
 
1487
\`configure' configures libX11 1.1.99.2 to adapt to many kinds of systems.
1484
1488
 
1485
1489
Usage: $0 [OPTION]... [VAR=VALUE]...
1486
1490
 
1550
1554
 
1551
1555
if test -n "$ac_init_help"; then
1552
1556
  case $ac_init_help in
1553
 
     short | recursive ) echo "Configuration of libX11 1.1.5:";;
 
1557
     short | recursive ) echo "Configuration of libX11 1.1.99.2:";;
1554
1558
   esac
1555
1559
  cat <<\_ACEOF
1556
1560
 
1591
1595
                          both]
1592
1596
  --with-tags[=TAGS]      include additional configurations [automatic]
1593
1597
  --with-xcb              use XCB for low-level protocol implementation
 
1598
  --with-local-transport-order=LIST
 
1599
                          preference sorted list of transport types to try for
 
1600
                          local connections
1594
1601
  --with-launchd          Build with support for Apple's launchd (default:
1595
1602
                          auto)
1596
1603
  --with-lint             Use a lint-style source code checker (default:
1694
1701
test -n "$ac_init_help" && exit $ac_status
1695
1702
if $ac_init_version; then
1696
1703
  cat <<\_ACEOF
1697
 
libX11 configure 1.1.5
 
1704
libX11 configure 1.1.99.2
1698
1705
generated by GNU Autoconf 2.61
1699
1706
 
1700
1707
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1708
1715
This file contains any messages produced by compilers while
1709
1716
running configure, to aid debugging if configure makes a mistake.
1710
1717
 
1711
 
It was created by libX11 $as_me 1.1.5, which was
 
1718
It was created by libX11 $as_me 1.1.99.2, which was
1712
1719
generated by GNU Autoconf 2.61.  Invocation command line was
1713
1720
 
1714
1721
  $ $0 $@
2399
2406
 
2400
2407
# Define the identity of the package.
2401
2408
 PACKAGE='libX11'
2402
 
 VERSION='1.1.5'
 
2409
 VERSION='1.1.99.2'
2403
2410
 
2404
2411
 
2405
2412
cat >>confdefs.h <<_ACEOF
4497
4504
  ;;
4498
4505
*-*-irix6*)
4499
4506
  # Find out which ABI we are using.
4500
 
  echo '#line 4500 "configure"' > conftest.$ac_ext
 
4507
  echo '#line 4507 "configure"' > conftest.$ac_ext
4501
4508
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4502
4509
  (eval $ac_compile) 2>&5
4503
4510
  ac_status=$?
7554
7561
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7555
7562
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7556
7563
   -e 's:$: $lt_compiler_flag:'`
7557
 
   (eval echo "\"\$as_me:7557: $lt_compile\"" >&5)
 
7564
   (eval echo "\"\$as_me:7564: $lt_compile\"" >&5)
7558
7565
   (eval "$lt_compile" 2>conftest.err)
7559
7566
   ac_status=$?
7560
7567
   cat conftest.err >&5
7561
 
   echo "$as_me:7561: \$? = $ac_status" >&5
 
7568
   echo "$as_me:7568: \$? = $ac_status" >&5
7562
7569
   if (exit $ac_status) && test -s "$ac_outfile"; then
7563
7570
     # The compiler can only warn and ignore the option if not recognized
7564
7571
     # So say no if there are warnings other than the usual output.
7844
7851
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7845
7852
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7846
7853
   -e 's:$: $lt_compiler_flag:'`
7847
 
   (eval echo "\"\$as_me:7847: $lt_compile\"" >&5)
 
7854
   (eval echo "\"\$as_me:7854: $lt_compile\"" >&5)
7848
7855
   (eval "$lt_compile" 2>conftest.err)
7849
7856
   ac_status=$?
7850
7857
   cat conftest.err >&5
7851
 
   echo "$as_me:7851: \$? = $ac_status" >&5
 
7858
   echo "$as_me:7858: \$? = $ac_status" >&5
7852
7859
   if (exit $ac_status) && test -s "$ac_outfile"; then
7853
7860
     # The compiler can only warn and ignore the option if not recognized
7854
7861
     # So say no if there are warnings other than the usual output.
7948
7955
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7949
7956
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7950
7957
   -e 's:$: $lt_compiler_flag:'`
7951
 
   (eval echo "\"\$as_me:7951: $lt_compile\"" >&5)
 
7958
   (eval echo "\"\$as_me:7958: $lt_compile\"" >&5)
7952
7959
   (eval "$lt_compile" 2>out/conftest.err)
7953
7960
   ac_status=$?
7954
7961
   cat out/conftest.err >&5
7955
 
   echo "$as_me:7955: \$? = $ac_status" >&5
 
7962
   echo "$as_me:7962: \$? = $ac_status" >&5
7956
7963
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7957
7964
   then
7958
7965
     # The compiler can only warn and ignore the option if not recognized
10325
10332
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10326
10333
  lt_status=$lt_dlunknown
10327
10334
  cat > conftest.$ac_ext <<EOF
10328
 
#line 10328 "configure"
 
10335
#line 10335 "configure"
10329
10336
#include "confdefs.h"
10330
10337
 
10331
10338
#if HAVE_DLFCN_H
10425
10432
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10426
10433
  lt_status=$lt_dlunknown
10427
10434
  cat > conftest.$ac_ext <<EOF
10428
 
#line 10428 "configure"
 
10435
#line 10435 "configure"
10429
10436
#include "confdefs.h"
10430
10437
 
10431
10438
#if HAVE_DLFCN_H
12826
12833
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12827
12834
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12828
12835
   -e 's:$: $lt_compiler_flag:'`
12829
 
   (eval echo "\"\$as_me:12829: $lt_compile\"" >&5)
 
12836
   (eval echo "\"\$as_me:12836: $lt_compile\"" >&5)
12830
12837
   (eval "$lt_compile" 2>conftest.err)
12831
12838
   ac_status=$?
12832
12839
   cat conftest.err >&5
12833
 
   echo "$as_me:12833: \$? = $ac_status" >&5
 
12840
   echo "$as_me:12840: \$? = $ac_status" >&5
12834
12841
   if (exit $ac_status) && test -s "$ac_outfile"; then
12835
12842
     # The compiler can only warn and ignore the option if not recognized
12836
12843
     # So say no if there are warnings other than the usual output.
12930
12937
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12931
12938
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12932
12939
   -e 's:$: $lt_compiler_flag:'`
12933
 
   (eval echo "\"\$as_me:12933: $lt_compile\"" >&5)
 
12940
   (eval echo "\"\$as_me:12940: $lt_compile\"" >&5)
12934
12941
   (eval "$lt_compile" 2>out/conftest.err)
12935
12942
   ac_status=$?
12936
12943
   cat out/conftest.err >&5
12937
 
   echo "$as_me:12937: \$? = $ac_status" >&5
 
12944
   echo "$as_me:12944: \$? = $ac_status" >&5
12938
12945
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
12939
12946
   then
12940
12947
     # The compiler can only warn and ignore the option if not recognized
14528
14535
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14529
14536
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14530
14537
   -e 's:$: $lt_compiler_flag:'`
14531
 
   (eval echo "\"\$as_me:14531: $lt_compile\"" >&5)
 
14538
   (eval echo "\"\$as_me:14538: $lt_compile\"" >&5)
14532
14539
   (eval "$lt_compile" 2>conftest.err)
14533
14540
   ac_status=$?
14534
14541
   cat conftest.err >&5
14535
 
   echo "$as_me:14535: \$? = $ac_status" >&5
 
14542
   echo "$as_me:14542: \$? = $ac_status" >&5
14536
14543
   if (exit $ac_status) && test -s "$ac_outfile"; then
14537
14544
     # The compiler can only warn and ignore the option if not recognized
14538
14545
     # So say no if there are warnings other than the usual output.
14632
14639
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14633
14640
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14634
14641
   -e 's:$: $lt_compiler_flag:'`
14635
 
   (eval echo "\"\$as_me:14635: $lt_compile\"" >&5)
 
14642
   (eval echo "\"\$as_me:14642: $lt_compile\"" >&5)
14636
14643
   (eval "$lt_compile" 2>out/conftest.err)
14637
14644
   ac_status=$?
14638
14645
   cat out/conftest.err >&5
14639
 
   echo "$as_me:14639: \$? = $ac_status" >&5
 
14646
   echo "$as_me:14646: \$? = $ac_status" >&5
14640
14647
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14641
14648
   then
14642
14649
     # The compiler can only warn and ignore the option if not recognized
16852
16859
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16853
16860
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16854
16861
   -e 's:$: $lt_compiler_flag:'`
16855
 
   (eval echo "\"\$as_me:16855: $lt_compile\"" >&5)
 
16862
   (eval echo "\"\$as_me:16862: $lt_compile\"" >&5)
16856
16863
   (eval "$lt_compile" 2>conftest.err)
16857
16864
   ac_status=$?
16858
16865
   cat conftest.err >&5
16859
 
   echo "$as_me:16859: \$? = $ac_status" >&5
 
16866
   echo "$as_me:16866: \$? = $ac_status" >&5
16860
16867
   if (exit $ac_status) && test -s "$ac_outfile"; then
16861
16868
     # The compiler can only warn and ignore the option if not recognized
16862
16869
     # So say no if there are warnings other than the usual output.
17142
17149
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17143
17150
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17144
17151
   -e 's:$: $lt_compiler_flag:'`
17145
 
   (eval echo "\"\$as_me:17145: $lt_compile\"" >&5)
 
17152
   (eval echo "\"\$as_me:17152: $lt_compile\"" >&5)
17146
17153
   (eval "$lt_compile" 2>conftest.err)
17147
17154
   ac_status=$?
17148
17155
   cat conftest.err >&5
17149
 
   echo "$as_me:17149: \$? = $ac_status" >&5
 
17156
   echo "$as_me:17156: \$? = $ac_status" >&5
17150
17157
   if (exit $ac_status) && test -s "$ac_outfile"; then
17151
17158
     # The compiler can only warn and ignore the option if not recognized
17152
17159
     # So say no if there are warnings other than the usual output.
17246
17253
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17247
17254
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17248
17255
   -e 's:$: $lt_compiler_flag:'`
17249
 
   (eval echo "\"\$as_me:17249: $lt_compile\"" >&5)
 
17256
   (eval echo "\"\$as_me:17256: $lt_compile\"" >&5)
17250
17257
   (eval "$lt_compile" 2>out/conftest.err)
17251
17258
   ac_status=$?
17252
17259
   cat out/conftest.err >&5
17253
 
   echo "$as_me:17253: \$? = $ac_status" >&5
 
17260
   echo "$as_me:17260: \$? = $ac_status" >&5
17254
17261
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
17255
17262
   then
17256
17263
     # The compiler can only warn and ignore the option if not recognized
19936
19943
 
19937
19944
 
19938
19945
 
 
19946
 
 
19947
 
 
19948
# dolt, a replacement for libtool
 
19949
# Josh Triplett <josh@freedesktop.org>
 
19950
# Extract the first word of "bash", so it can be a program name with args.
 
19951
set dummy bash; ac_word=$2
 
19952
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19953
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
19954
if test "${ac_cv_path_DOLT_BASH+set}" = set; then
 
19955
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19956
else
 
19957
  case $DOLT_BASH in
 
19958
  [\\/]* | ?:[\\/]*)
 
19959
  ac_cv_path_DOLT_BASH="$DOLT_BASH" # Let the user override the test with a path.
 
19960
  ;;
 
19961
  *)
 
19962
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
19963
for as_dir in $PATH
 
19964
do
 
19965
  IFS=$as_save_IFS
 
19966
  test -z "$as_dir" && as_dir=.
 
19967
  for ac_exec_ext in '' $ac_executable_extensions; do
 
19968
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
19969
    ac_cv_path_DOLT_BASH="$as_dir/$ac_word$ac_exec_ext"
 
19970
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
19971
    break 2
 
19972
  fi
 
19973
done
 
19974
done
 
19975
IFS=$as_save_IFS
 
19976
 
 
19977
  ;;
 
19978
esac
 
19979
fi
 
19980
DOLT_BASH=$ac_cv_path_DOLT_BASH
 
19981
if test -n "$DOLT_BASH"; then
 
19982
  { echo "$as_me:$LINENO: result: $DOLT_BASH" >&5
 
19983
echo "${ECHO_T}$DOLT_BASH" >&6; }
 
19984
else
 
19985
  { echo "$as_me:$LINENO: result: no" >&5
 
19986
echo "${ECHO_T}no" >&6; }
 
19987
fi
 
19988
 
 
19989
 
 
19990
{ echo "$as_me:$LINENO: checking if dolt supports this host" >&5
 
19991
echo $ECHO_N "checking if dolt supports this host... $ECHO_C" >&6; }
 
19992
dolt_supported=yes
 
19993
if test x$DOLT_BASH = x; then
 
19994
    dolt_supported=no
 
19995
fi
 
19996
if test x$GCC != xyes; then
 
19997
    dolt_supported=no
 
19998
fi
 
19999
case $host in
 
20000
i?86-*-linux*|x86_64-*-linux*|powerpc-*-linux* \
 
20001
|amd64-*-freebsd*|i?86-*-freebsd*|ia64-*-freebsd*)
 
20002
    pic_options='-fPIC'
 
20003
    ;;
 
20004
i?86-apple-darwin*)
 
20005
    pic_options='-fno-common'
 
20006
    ;;
 
20007
*)
 
20008
    dolt_supported=no
 
20009
    ;;
 
20010
esac
 
20011
if test x$dolt_supported = xno ; then
 
20012
    { echo "$as_me:$LINENO: result: no, falling back to libtool" >&5
 
20013
echo "${ECHO_T}no, falling back to libtool" >&6; }
 
20014
    LTCOMPILE='$(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(COMPILE)'
 
20015
    LTCXXCOMPILE='$(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXXCOMPILE)'
 
20016
else
 
20017
    { echo "$as_me:$LINENO: result: yes, replacing libtool" >&5
 
20018
echo "${ECHO_T}yes, replacing libtool" >&6; }
 
20019
 
 
20020
    cat <<__DOLTCOMPILE__EOF__ >doltcompile
 
20021
#!$DOLT_BASH
 
20022
__DOLTCOMPILE__EOF__
 
20023
    cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
 
20024
args=("$@")
 
20025
for ((arg=0; arg<${#args[@]}; arg++)) ; do
 
20026
    if test x"${args[$arg]}" = x-o ; then
 
20027
        objarg=$((arg+1))
 
20028
        break
 
20029
    fi
 
20030
done
 
20031
if test x$objarg = x ; then
 
20032
    echo 'Error: no -o on compiler command line' 1>&2
 
20033
    exit 1
 
20034
fi
 
20035
lo="${args[$objarg]}"
 
20036
obj="${lo%.lo}"
 
20037
if test x"$lo" = x"$obj" ; then
 
20038
    echo "Error: libtool object file name \"$lo\" does not end in .lo" 1>&2
 
20039
    exit 1
 
20040
fi
 
20041
objbase="${obj##*/}"
 
20042
__DOLTCOMPILE__EOF__
 
20043
 
 
20044
    if test x$enable_shared = xyes; then
 
20045
        cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
 
20046
libobjdir="${obj%$objbase}.libs"
 
20047
if test ! -d "$libobjdir" ; then
 
20048
    mkdir_out="$(mkdir "$libobjdir" 2>&1)"
 
20049
    mkdir_ret=$?
 
20050
    if test "$mkdir_ret" -ne 0 && test ! -d "$libobjdir" ; then
 
20051
        echo "$mkdir_out" 1>&2
 
20052
        exit $mkdir_ret
 
20053
    fi
 
20054
fi
 
20055
pic_object="$libobjdir/$objbase.o"
 
20056
args[$objarg]="$pic_object"
 
20057
__DOLTCOMPILE__EOF__
 
20058
    cat <<__DOLTCOMPILE__EOF__ >>doltcompile
 
20059
"\${args[@]}" $pic_options -DPIC || exit \$?
 
20060
__DOLTCOMPILE__EOF__
 
20061
    fi
 
20062
 
 
20063
    if test x$enable_static = xyes; then
 
20064
        cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
 
20065
non_pic_object="$obj.o"
 
20066
args[$objarg]="$non_pic_object"
 
20067
__DOLTCOMPILE__EOF__
 
20068
        if test x$enable_shared = xyes; then
 
20069
            cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
 
20070
"${args[@]}" >/dev/null 2>&1 || exit $?
 
20071
__DOLTCOMPILE__EOF__
 
20072
        else
 
20073
            cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
 
20074
"${args[@]}" || exit $?
 
20075
__DOLTCOMPILE__EOF__
 
20076
        fi
 
20077
    fi
 
20078
 
 
20079
    cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
 
20080
{
 
20081
echo "# $lo - a libtool object file"
 
20082
echo "# Generated by doltcompile, not libtool"
 
20083
__DOLTCOMPILE__EOF__
 
20084
 
 
20085
    if test x$enable_shared = xyes; then
 
20086
        cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
 
20087
echo "pic_object='.libs/${objbase}.o'"
 
20088
__DOLTCOMPILE__EOF__
 
20089
    else
 
20090
        cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
 
20091
echo pic_object=none
 
20092
__DOLTCOMPILE__EOF__
 
20093
    fi
 
20094
 
 
20095
    if test x$enable_static = xyes; then
 
20096
        cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
 
20097
echo "non_pic_object='${objbase}.o'"
 
20098
__DOLTCOMPILE__EOF__
 
20099
    else
 
20100
        cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
 
20101
echo non_pic_object=none
 
20102
__DOLTCOMPILE__EOF__
 
20103
    fi
 
20104
 
 
20105
    cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
 
20106
} > "$lo"
 
20107
__DOLTCOMPILE__EOF__
 
20108
 
 
20109
    chmod +x doltcompile
 
20110
    LTCOMPILE='$(top_builddir)/doltcompile $(COMPILE)'
 
20111
    LTCXXCOMPILE='$(top_builddir)/doltcompile $(CXXCOMPILE)'
 
20112
 
 
20113
    cat <<__DOLTLIBTOOL__EOF__ > doltlibtool
 
20114
#!$DOLT_BASH
 
20115
__DOLTLIBTOOL__EOF__
 
20116
    cat <<'__DOLTLIBTOOL__EOF__' >>doltlibtool
 
20117
top_builddir_slash="${0%%doltlibtool}"
 
20118
: ${top_builddir_slash:=./}
 
20119
args=()
 
20120
modeok=false
 
20121
tagok=false
 
20122
for arg in "$@"; do
 
20123
    case "$arg" in
 
20124
        --mode=compile) modeok=true ;;
 
20125
        --tag=CC|--tag=CXX) tagok=true ;;
 
20126
        *) args+=("$arg")
 
20127
    esac
 
20128
done
 
20129
if $modeok && $tagok ; then
 
20130
    . ${top_builddir_slash}doltcompile "${args[@]}"
 
20131
else
 
20132
    exec ${top_builddir_slash}libtool "$@"
 
20133
fi
 
20134
__DOLTLIBTOOL__EOF__
 
20135
 
 
20136
    chmod +x doltlibtool
 
20137
    LIBTOOL='$(top_builddir)/doltlibtool'
 
20138
fi
 
20139
 
 
20140
 
 
20141
# end dolt
 
20142
 
19939
20143
ac_ext=c
19940
20144
ac_cpp='$CPP $CPPFLAGS'
19941
20145
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20721
20925
 
20722
20926
 
20723
20927
 
 
20928
if test x"$CC_FOR_BUILD" = x; then
 
20929
        if test x"$cross_compiling" = xyes; then
 
20930
               for ac_prog in gcc cc
 
20931
do
 
20932
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
20933
set dummy $ac_prog; ac_word=$2
 
20934
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20935
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
20936
if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then
 
20937
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20938
else
 
20939
  if test -n "$CC_FOR_BUILD"; then
 
20940
  ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
 
20941
else
 
20942
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
20943
for as_dir in $PATH
 
20944
do
 
20945
  IFS=$as_save_IFS
 
20946
  test -z "$as_dir" && as_dir=.
 
20947
  for ac_exec_ext in '' $ac_executable_extensions; do
 
20948
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
20949
    ac_cv_prog_CC_FOR_BUILD="$ac_prog"
 
20950
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
20951
    break 2
 
20952
  fi
 
20953
done
 
20954
done
 
20955
IFS=$as_save_IFS
 
20956
 
 
20957
fi
 
20958
fi
 
20959
CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
 
20960
if test -n "$CC_FOR_BUILD"; then
 
20961
  { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5
 
20962
echo "${ECHO_T}$CC_FOR_BUILD" >&6; }
 
20963
else
 
20964
  { echo "$as_me:$LINENO: result: no" >&5
 
20965
echo "${ECHO_T}no" >&6; }
 
20966
fi
 
20967
 
 
20968
 
 
20969
  test -n "$CC_FOR_BUILD" && break
 
20970
done
 
20971
 
 
20972
        else
 
20973
               CC_FOR_BUILD="$CC"
 
20974
        fi
 
20975
fi
 
20976
 
 
20977
 
20724
20978
 
20725
20979
 
20726
20980
for ac_prog in cpp
20976
21230
        pkg_cv_XPROTO_CFLAGS="$XPROTO_CFLAGS"
20977
21231
    else
20978
21232
        if test -n "$PKG_CONFIG" && \
20979
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.6\"") >&5
20980
 
  ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.6") 2>&5
 
21233
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.13\"") >&5
 
21234
  ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.13") 2>&5
20981
21235
  ac_status=$?
20982
21236
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20983
21237
  (exit $ac_status); }; then
20984
 
  pkg_cv_XPROTO_CFLAGS=`$PKG_CONFIG --cflags "xproto >= 7.0.6" 2>/dev/null`
 
21238
  pkg_cv_XPROTO_CFLAGS=`$PKG_CONFIG --cflags "xproto >= 7.0.13" 2>/dev/null`
20985
21239
else
20986
21240
  pkg_failed=yes
20987
21241
fi
20994
21248
        pkg_cv_XPROTO_LIBS="$XPROTO_LIBS"
20995
21249
    else
20996
21250
        if test -n "$PKG_CONFIG" && \
20997
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.6\"") >&5
20998
 
  ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.6") 2>&5
 
21251
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.13\"") >&5
 
21252
  ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.13") 2>&5
20999
21253
  ac_status=$?
21000
21254
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21001
21255
  (exit $ac_status); }; then
21002
 
  pkg_cv_XPROTO_LIBS=`$PKG_CONFIG --libs "xproto >= 7.0.6" 2>/dev/null`
 
21256
  pkg_cv_XPROTO_LIBS=`$PKG_CONFIG --libs "xproto >= 7.0.13" 2>/dev/null`
21003
21257
else
21004
21258
  pkg_failed=yes
21005
21259
fi
21018
21272
        _pkg_short_errors_supported=no
21019
21273
fi
21020
21274
        if test $_pkg_short_errors_supported = yes; then
21021
 
                XPROTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xproto >= 7.0.6"`
 
21275
                XPROTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xproto >= 7.0.13"`
21022
21276
        else
21023
 
                XPROTO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xproto >= 7.0.6"`
 
21277
                XPROTO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xproto >= 7.0.13"`
21024
21278
        fi
21025
21279
        # Put the nasty error message in config.log where it belongs
21026
21280
        echo "$XPROTO_PKG_ERRORS" >&5
21027
21281
 
21028
 
        { { echo "$as_me:$LINENO: error: Package requirements (xproto >= 7.0.6) were not met:
 
21282
        { { echo "$as_me:$LINENO: error: Package requirements (xproto >= 7.0.13) were not met:
21029
21283
 
21030
21284
$XPROTO_PKG_ERRORS
21031
21285
 
21036
21290
and XPROTO_LIBS to avoid the need to call pkg-config.
21037
21291
See the pkg-config man page for more details.
21038
21292
" >&5
21039
 
echo "$as_me: error: Package requirements (xproto >= 7.0.6) were not met:
 
21293
echo "$as_me: error: Package requirements (xproto >= 7.0.13) were not met:
21040
21294
 
21041
21295
$XPROTO_PKG_ERRORS
21042
21296
 
21267
21521
 
21268
21522
        ;;
21269
21523
*)
21270
 
        X11_REQUIRES="xcb-xlib >= 0.9.92"
21271
 
        X11_EXTRA_DEPS="xcb-xlib"
 
21524
        X11_REQUIRES="xcb >= 1.1.92"
 
21525
        X11_EXTRA_DEPS="xcb >= 1.1.92"
21272
21526
        xdmauth="no" # XCB handles all auth
21273
21527
 
21274
21528
cat >>confdefs.h <<\_ACEOF
22131
22385
echo "${ECHO_T}$SECURE_RPC" >&6; }
22132
22386
 
22133
22387
 
 
22388
# Preferred order to try transports for local connections
 
22389
{ echo "$as_me:$LINENO: checking what order to try transports in for local connections" >&5
 
22390
echo $ECHO_N "checking what order to try transports in for local connections... $ECHO_C" >&6; }
 
22391
case $host_os in
 
22392
        solaris*)
 
22393
                # On Solaris 2.6 through 9, named pipes (LOCAL_TRANS) were
 
22394
                # faster than Unix domain sockets, but on Solaris 10 & later,
 
22395
                # Unix domain sockets are faster now.
 
22396
                DEFAULT_LOCAL_TRANS="UNIX_TRANS,LOCAL_TRANS,TCP_TRANS"
 
22397
                ;;
 
22398
        *)
 
22399
                if test "$LOCALCONN" = "yes"; then
 
22400
                        DEFAULT_LOCAL_TRANS="LOCAL_TRANS,UNIX_TRANS,TCP_TRANS"
 
22401
                else
 
22402
                        DEFAULT_LOCAL_TRANS="UNIX_TRANS,TCP_TRANS"
 
22403
                fi
 
22404
                ;;
 
22405
esac
 
22406
 
 
22407
 
 
22408
# Check whether --with-local-transport-order was given.
 
22409
if test "${with_local_transport_order+set}" = set; then
 
22410
  withval=$with_local_transport_order; LOCAL_TRANSPORT_LIST=$withval
 
22411
else
 
22412
  LOCAL_TRANSPORT_LIST=$DEFAULT_LOCAL_TRANS
 
22413
fi
 
22414
 
 
22415
 
 
22416
cat >>confdefs.h <<_ACEOF
 
22417
#define LOCAL_TRANSPORT_LIST $LOCAL_TRANSPORT_LIST
 
22418
_ACEOF
 
22419
 
 
22420
{ echo "$as_me:$LINENO: result: $LOCAL_TRANSPORT_LIST" >&5
 
22421
echo "${ECHO_T}$LOCAL_TRANSPORT_LIST" >&6; }
 
22422
 
22134
22423
# Check for dlopen
22135
22424
{ echo "$as_me:$LINENO: checking if run-time linking is supported" >&5
22136
22425
echo $ECHO_N "checking if run-time linking is supported... $ECHO_C" >&6; }
25454
25743
# report actual input values of CONFIG_FILES etc. instead of their
25455
25744
# values after options handling.
25456
25745
ac_log="
25457
 
This file was extended by libX11 $as_me 1.1.5, which was
 
25746
This file was extended by libX11 $as_me 1.1.99.2, which was
25458
25747
generated by GNU Autoconf 2.61.  Invocation command line was
25459
25748
 
25460
25749
  CONFIG_FILES    = $CONFIG_FILES
25507
25796
_ACEOF
25508
25797
cat >>$CONFIG_STATUS <<_ACEOF
25509
25798
ac_cs_version="\\
25510
 
libX11 config.status 1.1.5
 
25799
libX11 config.status 1.1.99.2
25511
25800
configured by $0, generated by GNU Autoconf 2.61,
25512
25801
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25513
25802
 
25915
26204
FFLAGS!$FFLAGS$ac_delim
25916
26205
ac_ct_F77!$ac_ct_F77$ac_delim
25917
26206
LIBTOOL!$LIBTOOL$ac_delim
 
26207
DOLT_BASH!$DOLT_BASH$ac_delim
 
26208
LTCOMPILE!$LTCOMPILE$ac_delim
 
26209
LTCXXCOMPILE!$LTCXXCOMPILE$ac_delim
 
26210
CC_FOR_BUILD!$CC_FOR_BUILD$ac_delim
25918
26211
RAWCPP!$RAWCPP$ac_delim
25919
26212
RAWCPPFLAGS!$RAWCPPFLAGS$ac_delim
25920
26213
XCB_TRUE!$XCB_TRUE$ac_delim
25992
26285
LTLIBOBJS!$LTLIBOBJS$ac_delim
25993
26286
_ACEOF
25994
26287
 
25995
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 85; then
 
26288
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 89; then
25996
26289
    break
25997
26290
  elif $ac_last_try; then
25998
26291
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5