~ubuntu-branches/ubuntu/lucid/xorg-server/lucid-updates

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Bryce Harrington, Timo Aaltonen, Bryce Harrington
  • Date: 2010-03-24 12:04:20 UTC
  • mfrom: (1.1.32 upstream) (0.11.4 sid)
  • Revision ID: james.westby@ubuntu.com-20100324120420-qbk5la526uy4k8xe
Tags: 2:1.7.6-1ubuntu1
[Timo Aaltonen]
* Merge from Debian unstable.
* Drop patch 107, included in Debian.
* Drop patch 108, included upstream.
* control: Drop the udeb, we don't need it for lucid.
* control: Relax/drop some build-deps caused by the udeb.

[Bryce Harrington]
* Add 110_findglyphbyhash-fix.patch from upstream to fix a sporadic
  crash in FindGlyphByHash.
  (LP: #401045)
* Renumber patch 201_armel-drv-fallbacks.patch to 111

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.63 for xorg-server 1.7.5.
 
3
# Generated by GNU Autoconf 2.63 for xorg-server 1.7.6.
4
4
#
5
5
# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6
6
#
745
745
# Identity of this package.
746
746
PACKAGE_NAME='xorg-server'
747
747
PACKAGE_TARNAME='xorg-server'
748
 
PACKAGE_VERSION='1.7.5'
749
 
PACKAGE_STRING='xorg-server 1.7.5'
 
748
PACKAGE_VERSION='1.7.6'
 
749
PACKAGE_STRING='xorg-server 1.7.6'
750
750
PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
751
751
 
752
752
ac_unique_file="Makefile.am"
976
976
XVFB_FALSE
977
977
XVFB_TRUE
978
978
LD_EXPORT_SYMBOLS_FLAG
979
 
AM_BACKSLASH
980
 
AM_DEFAULT_VERBOSITY
981
979
CWARNFLAGS
982
980
UTILS_SYS_LIBS
983
981
XSERVER_SYS_LIBS
1033
1031
MULTIBUFFER_TRUE
1034
1032
XCSECURITY_FALSE
1035
1033
XCSECURITY_TRUE
 
1034
SELINUX_LIBS
 
1035
SELINUX_CFLAGS
1036
1036
XSELINUX_FALSE
1037
1037
XSELINUX_TRUE
1038
1038
XACE_FALSE
1377
1377
enable_local_transport
1378
1378
enable_secure_rpc
1379
1379
with_xkb_bin_directory
1380
 
enable_silent_rules
1381
1380
enable_shave
1382
1381
'
1383
1382
      ac_precious_vars='build_alias
1410
1409
DRI2PROTO_LIBS
1411
1410
LIBDRM_CFLAGS
1412
1411
LIBDRM_LIBS
 
1412
SELINUX_CFLAGS
 
1413
SELINUX_LIBS
1413
1414
XDMCP_CFLAGS
1414
1415
XDMCP_LIBS
1415
1416
GLIB_CFLAGS
2004
2005
  # Omit some internal or obsolete options to make the list less imposing.
2005
2006
  # This message is too long to be a string in the A/UX 3.1 sh.
2006
2007
  cat <<_ACEOF
2007
 
\`configure' configures xorg-server 1.7.5 to adapt to many kinds of systems.
 
2008
\`configure' configures xorg-server 1.7.6 to adapt to many kinds of systems.
2008
2009
 
2009
2010
Usage: $0 [OPTION]... [VAR=VALUE]...
2010
2011
 
2074
2075
 
2075
2076
if test -n "$ac_init_help"; then
2076
2077
  case $ac_init_help in
2077
 
     short | recursive ) echo "Configuration of xorg-server 1.7.5:";;
 
2078
     short | recursive ) echo "Configuration of xorg-server 1.7.6:";;
2078
2079
   esac
2079
2080
  cat <<\_ACEOF
2080
2081
 
2161
2162
  --enable-install-setuid Install Xorg server as owned by root with setuid bit
2162
2163
                          (default: auto)
2163
2164
  --enable-secure-rpc     Enable Secure RPC
2164
 
  --enable-silent-rules          less verbose build output (undo: `make V=1')
2165
 
  --disable-silent-rules         verbose build output (undo: `make V=0')
2166
2165
  --enable-shave          use shave to make the build pretty [default=yes]
2167
2166
 
2168
2167
Optional Packages:
2265
2264
  LIBDRM_CFLAGS
2266
2265
              C compiler flags for LIBDRM, overriding pkg-config
2267
2266
  LIBDRM_LIBS linker flags for LIBDRM, overriding pkg-config
 
2267
  SELINUX_CFLAGS
 
2268
              C compiler flags for SELINUX, overriding pkg-config
 
2269
  SELINUX_LIBS
 
2270
              linker flags for SELINUX, overriding pkg-config
2268
2271
  XDMCP_CFLAGS
2269
2272
              C compiler flags for XDMCP, overriding pkg-config
2270
2273
  XDMCP_LIBS  linker flags for XDMCP, overriding pkg-config
2409
2412
test -n "$ac_init_help" && exit $ac_status
2410
2413
if $ac_init_version; then
2411
2414
  cat <<\_ACEOF
2412
 
xorg-server configure 1.7.5
 
2415
xorg-server configure 1.7.6
2413
2416
generated by GNU Autoconf 2.63
2414
2417
 
2415
2418
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2423
2426
This file contains any messages produced by compilers while
2424
2427
running configure, to aid debugging if configure makes a mistake.
2425
2428
 
2426
 
It was created by xorg-server $as_me 1.7.5, which was
 
2429
It was created by xorg-server $as_me 1.7.6, which was
2427
2430
generated by GNU Autoconf 2.63.  Invocation command line was
2428
2431
 
2429
2432
  $ $0 $@
2791
2794
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2792
2795
 
2793
2796
 
2794
 
RELEASE_DATE="2010-02-16"
 
2797
RELEASE_DATE="2010-03-17"
2795
2798
 
2796
2799
am__api_version='1.11'
2797
2800
 
3274
3277
 
3275
3278
# Define the identity of the package.
3276
3279
 PACKAGE='xorg-server'
3277
 
 VERSION='1.7.5'
 
3280
 VERSION='1.7.6'
3278
3281
 
3279
3282
 
3280
3283
cat >>confdefs.h <<_ACEOF
5766
5769
else
5767
5770
  lt_cv_nm_interface="BSD nm"
5768
5771
  echo "int some_variable = 0;" > conftest.$ac_ext
5769
 
  (eval echo "\"\$as_me:5769: $ac_compile\"" >&5)
 
5772
  (eval echo "\"\$as_me:5772: $ac_compile\"" >&5)
5770
5773
  (eval "$ac_compile" 2>conftest.err)
5771
5774
  cat conftest.err >&5
5772
 
  (eval echo "\"\$as_me:5772: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5775
  (eval echo "\"\$as_me:5775: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5773
5776
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5774
5777
  cat conftest.err >&5
5775
 
  (eval echo "\"\$as_me:5775: output\"" >&5)
 
5778
  (eval echo "\"\$as_me:5778: output\"" >&5)
5776
5779
  cat conftest.out >&5
5777
5780
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5778
5781
    lt_cv_nm_interface="MS dumpbin"
6964
6967
  ;;
6965
6968
*-*-irix6*)
6966
6969
  # Find out which ABI we are using.
6967
 
  echo '#line 6967 "configure"' > conftest.$ac_ext
 
6970
  echo '#line 6970 "configure"' > conftest.$ac_ext
6968
6971
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6969
6972
  (eval $ac_compile) 2>&5
6970
6973
  ac_status=$?
8789
8792
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8790
8793
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8791
8794
   -e 's:$: $lt_compiler_flag:'`
8792
 
   (eval echo "\"\$as_me:8792: $lt_compile\"" >&5)
 
8795
   (eval echo "\"\$as_me:8795: $lt_compile\"" >&5)
8793
8796
   (eval "$lt_compile" 2>conftest.err)
8794
8797
   ac_status=$?
8795
8798
   cat conftest.err >&5
8796
 
   echo "$as_me:8796: \$? = $ac_status" >&5
 
8799
   echo "$as_me:8799: \$? = $ac_status" >&5
8797
8800
   if (exit $ac_status) && test -s "$ac_outfile"; then
8798
8801
     # The compiler can only warn and ignore the option if not recognized
8799
8802
     # So say no if there are warnings other than the usual output.
9128
9131
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9129
9132
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9130
9133
   -e 's:$: $lt_compiler_flag:'`
9131
 
   (eval echo "\"\$as_me:9131: $lt_compile\"" >&5)
 
9134
   (eval echo "\"\$as_me:9134: $lt_compile\"" >&5)
9132
9135
   (eval "$lt_compile" 2>conftest.err)
9133
9136
   ac_status=$?
9134
9137
   cat conftest.err >&5
9135
 
   echo "$as_me:9135: \$? = $ac_status" >&5
 
9138
   echo "$as_me:9138: \$? = $ac_status" >&5
9136
9139
   if (exit $ac_status) && test -s "$ac_outfile"; then
9137
9140
     # The compiler can only warn and ignore the option if not recognized
9138
9141
     # So say no if there are warnings other than the usual output.
9233
9236
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9234
9237
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9235
9238
   -e 's:$: $lt_compiler_flag:'`
9236
 
   (eval echo "\"\$as_me:9236: $lt_compile\"" >&5)
 
9239
   (eval echo "\"\$as_me:9239: $lt_compile\"" >&5)
9237
9240
   (eval "$lt_compile" 2>out/conftest.err)
9238
9241
   ac_status=$?
9239
9242
   cat out/conftest.err >&5
9240
 
   echo "$as_me:9240: \$? = $ac_status" >&5
 
9243
   echo "$as_me:9243: \$? = $ac_status" >&5
9241
9244
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9242
9245
   then
9243
9246
     # The compiler can only warn and ignore the option if not recognized
9288
9291
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9289
9292
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9290
9293
   -e 's:$: $lt_compiler_flag:'`
9291
 
   (eval echo "\"\$as_me:9291: $lt_compile\"" >&5)
 
9294
   (eval echo "\"\$as_me:9294: $lt_compile\"" >&5)
9292
9295
   (eval "$lt_compile" 2>out/conftest.err)
9293
9296
   ac_status=$?
9294
9297
   cat out/conftest.err >&5
9295
 
   echo "$as_me:9295: \$? = $ac_status" >&5
 
9298
   echo "$as_me:9298: \$? = $ac_status" >&5
9296
9299
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9297
9300
   then
9298
9301
     # The compiler can only warn and ignore the option if not recognized
12091
12094
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12092
12095
  lt_status=$lt_dlunknown
12093
12096
  cat > conftest.$ac_ext <<_LT_EOF
12094
 
#line 12094 "configure"
 
12097
#line 12097 "configure"
12095
12098
#include "confdefs.h"
12096
12099
 
12097
12100
#if HAVE_DLFCN_H
12187
12190
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12188
12191
  lt_status=$lt_dlunknown
12189
12192
  cat > conftest.$ac_ext <<_LT_EOF
12190
 
#line 12190 "configure"
 
12193
#line 12193 "configure"
12191
12194
#include "confdefs.h"
12192
12195
 
12193
12196
#if HAVE_DLFCN_H
20368
20371
 
20369
20372
fi
20370
20373
 
 
20374
 if test "$ac_cv_search_socket$ac_cv_search_gethostbyname" = "nono"; then
20371
20375
 
20372
20376
{ $as_echo "$as_me:$LINENO: checking for main in -lws2_32" >&5
20373
20377
$as_echo_n "checking for main in -lws2_32... " >&6; }
20438
20442
fi
20439
20443
ac_cv_lib_ws2_32=ac_cv_lib_ws2_32_main
20440
20444
 
 
20445
 fi
20441
20446
 
20442
20447
 # Needs to come after above checks for libsocket & libnsl for SVR4 systems
20443
20448
 # Check whether --enable-ipv6 was given.
21511
21516
LIBXTST="xtst >= 1.0.99.2"
21512
21517
LIBPCIACCESS="pciaccess >= 0.8.0"
21513
21518
LIBGLIB="glib-2.0 >= 2.16"
 
21519
LIBSELINUX="libselinux >= 2.0.86"
21514
21520
 
21515
21521
 
21516
21522
pkg_failed=no
23017
23023
   { (exit 1); exit 1; }; }
23018
23024
        fi
23019
23025
 
23020
 
 
23021
 
for ac_header in selinux/selinux.h selinux/avc.h
23022
 
do
23023
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23024
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23025
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23026
 
$as_echo_n "checking for $ac_header... " >&6; }
23027
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23028
 
  $as_echo_n "(cached) " >&6
23029
 
fi
23030
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
23031
 
                 $as_echo "$as_val"'`
23032
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23033
 
$as_echo "$ac_res" >&6; }
23034
 
else
23035
 
  # Is the header compilable?
23036
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
23037
 
$as_echo_n "checking $ac_header usability... " >&6; }
23038
 
cat >conftest.$ac_ext <<_ACEOF
23039
 
/* confdefs.h.  */
23040
 
_ACEOF
23041
 
cat confdefs.h >>conftest.$ac_ext
23042
 
cat >>conftest.$ac_ext <<_ACEOF
23043
 
/* end confdefs.h.  */
23044
 
$ac_includes_default
23045
 
#include <$ac_header>
23046
 
_ACEOF
23047
 
rm -f conftest.$ac_objext
23048
 
if { (ac_try="$ac_compile"
23049
 
case "(($ac_try" in
23050
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23051
 
  *) ac_try_echo=$ac_try;;
23052
 
esac
23053
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23054
 
$as_echo "$ac_try_echo") >&5
23055
 
  (eval "$ac_compile") 2>conftest.er1
23056
 
  ac_status=$?
23057
 
  grep -v '^ *+' conftest.er1 >conftest.err
23058
 
  rm -f conftest.er1
23059
 
  cat conftest.err >&5
23060
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23061
 
  (exit $ac_status); } && {
23062
 
         test -z "$ac_c_werror_flag" ||
23063
 
         test ! -s conftest.err
23064
 
       } && test -s conftest.$ac_objext; then
23065
 
  ac_header_compiler=yes
23066
 
else
23067
 
  $as_echo "$as_me: failed program was:" >&5
23068
 
sed 's/^/| /' conftest.$ac_ext >&5
23069
 
 
23070
 
        ac_header_compiler=no
23071
 
fi
23072
 
 
23073
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23074
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23075
 
$as_echo "$ac_header_compiler" >&6; }
23076
 
 
23077
 
# Is the header present?
23078
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
23079
 
$as_echo_n "checking $ac_header presence... " >&6; }
23080
 
cat >conftest.$ac_ext <<_ACEOF
23081
 
/* confdefs.h.  */
23082
 
_ACEOF
23083
 
cat confdefs.h >>conftest.$ac_ext
23084
 
cat >>conftest.$ac_ext <<_ACEOF
23085
 
/* end confdefs.h.  */
23086
 
#include <$ac_header>
23087
 
_ACEOF
23088
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
23089
 
case "(($ac_try" in
23090
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23091
 
  *) ac_try_echo=$ac_try;;
23092
 
esac
23093
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23094
 
$as_echo "$ac_try_echo") >&5
23095
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23096
 
  ac_status=$?
23097
 
  grep -v '^ *+' conftest.er1 >conftest.err
23098
 
  rm -f conftest.er1
23099
 
  cat conftest.err >&5
23100
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23101
 
  (exit $ac_status); } >/dev/null && {
23102
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23103
 
         test ! -s conftest.err
23104
 
       }; then
23105
 
  ac_header_preproc=yes
23106
 
else
23107
 
  $as_echo "$as_me: failed program was:" >&5
23108
 
sed 's/^/| /' conftest.$ac_ext >&5
23109
 
 
23110
 
  ac_header_preproc=no
23111
 
fi
23112
 
 
23113
 
rm -f conftest.err conftest.$ac_ext
23114
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23115
 
$as_echo "$ac_header_preproc" >&6; }
23116
 
 
23117
 
# So?  What about this header?
23118
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23119
 
  yes:no: )
23120
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23121
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23122
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23123
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23124
 
    ac_header_preproc=yes
23125
 
    ;;
23126
 
  no:yes:* )
23127
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23128
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23129
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
23130
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
23131
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23132
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23133
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
23134
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
23135
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23136
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23137
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23138
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23139
 
    ( cat <<\_ASBOX
23140
 
## ---------------------------------------------------------------------- ##
23141
 
## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
23142
 
## ---------------------------------------------------------------------- ##
23143
 
_ASBOX
23144
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
23145
 
    ;;
23146
 
esac
23147
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23148
 
$as_echo_n "checking for $ac_header... " >&6; }
23149
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23150
 
  $as_echo_n "(cached) " >&6
23151
 
else
23152
 
  eval "$as_ac_Header=\$ac_header_preproc"
23153
 
fi
23154
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
23155
 
                 $as_echo "$as_val"'`
23156
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23157
 
$as_echo "$ac_res" >&6; }
23158
 
 
23159
 
fi
23160
 
as_val=`eval 'as_val=${'$as_ac_Header'}
23161
 
                 $as_echo "$as_val"'`
23162
 
   if test "x$as_val" = x""yes; then
23163
 
  cat >>confdefs.h <<_ACEOF
23164
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
23165
 
_ACEOF
23166
 
 
23167
 
else
23168
 
  { { $as_echo "$as_me:$LINENO: error: SELinux include files not found" >&5
23169
 
$as_echo "$as_me: error: SELinux include files not found" >&2;}
23170
 
   { (exit 1); exit 1; }; }
23171
 
fi
23172
 
 
23173
 
done
23174
 
 
23175
 
 
23176
 
{ $as_echo "$as_me:$LINENO: checking for avc_init in -lselinux" >&5
23177
 
$as_echo_n "checking for avc_init in -lselinux... " >&6; }
23178
 
if test "${ac_cv_lib_selinux_avc_init+set}" = set; then
23179
 
  $as_echo_n "(cached) " >&6
23180
 
else
23181
 
  ac_check_lib_save_LIBS=$LIBS
23182
 
LIBS="-lselinux  $LIBS"
23183
 
cat >conftest.$ac_ext <<_ACEOF
23184
 
/* confdefs.h.  */
23185
 
_ACEOF
23186
 
cat confdefs.h >>conftest.$ac_ext
23187
 
cat >>conftest.$ac_ext <<_ACEOF
23188
 
/* end confdefs.h.  */
23189
 
 
23190
 
/* Override any GCC internal prototype to avoid an error.
23191
 
   Use char because int might match the return type of a GCC
23192
 
   builtin and then its argument prototype would still apply.  */
23193
 
#ifdef __cplusplus
23194
 
extern "C"
23195
 
#endif
23196
 
char avc_init ();
23197
 
int
23198
 
main ()
23199
 
{
23200
 
return avc_init ();
23201
 
  ;
23202
 
  return 0;
23203
 
}
23204
 
_ACEOF
23205
 
rm -f conftest.$ac_objext conftest$ac_exeext
23206
 
if { (ac_try="$ac_link"
23207
 
case "(($ac_try" in
23208
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23209
 
  *) ac_try_echo=$ac_try;;
23210
 
esac
23211
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23212
 
$as_echo "$ac_try_echo") >&5
23213
 
  (eval "$ac_link") 2>conftest.er1
23214
 
  ac_status=$?
23215
 
  grep -v '^ *+' conftest.er1 >conftest.err
23216
 
  rm -f conftest.er1
23217
 
  cat conftest.err >&5
23218
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23219
 
  (exit $ac_status); } && {
23220
 
         test -z "$ac_c_werror_flag" ||
23221
 
         test ! -s conftest.err
23222
 
       } && test -s conftest$ac_exeext && {
23223
 
         test "$cross_compiling" = yes ||
23224
 
         $as_test_x conftest$ac_exeext
23225
 
       }; then
23226
 
  ac_cv_lib_selinux_avc_init=yes
23227
 
else
23228
 
  $as_echo "$as_me: failed program was:" >&5
23229
 
sed 's/^/| /' conftest.$ac_ext >&5
23230
 
 
23231
 
        ac_cv_lib_selinux_avc_init=no
23232
 
fi
23233
 
 
23234
 
rm -rf conftest.dSYM
23235
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23236
 
      conftest$ac_exeext conftest.$ac_ext
23237
 
LIBS=$ac_check_lib_save_LIBS
23238
 
fi
23239
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_avc_init" >&5
23240
 
$as_echo "$ac_cv_lib_selinux_avc_init" >&6; }
23241
 
if test "x$ac_cv_lib_selinux_avc_init" = x""yes; then
23242
 
  cat >>confdefs.h <<_ACEOF
23243
 
#define HAVE_LIBSELINUX 1
23244
 
_ACEOF
23245
 
 
23246
 
  LIBS="-lselinux $LIBS"
23247
 
 
23248
 
else
23249
 
  { { $as_echo "$as_me:$LINENO: error: SELinux library not found" >&5
23250
 
$as_echo "$as_me: error: SELinux library not found" >&2;}
23251
 
   { (exit 1); exit 1; }; }
23252
 
fi
23253
 
 
23254
 
 
23255
23026
for ac_header in libaudit.h
23256
23027
do
23257
23028
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23485
23256
   { (exit 1); exit 1; }; }
23486
23257
fi
23487
23258
 
23488
 
        { $as_echo "$as_me:$LINENO: checking whether avc_netlink_acquire_fd is declared" >&5
23489
 
$as_echo_n "checking whether avc_netlink_acquire_fd is declared... " >&6; }
23490
 
if test "${ac_cv_have_decl_avc_netlink_acquire_fd+set}" = set; then
23491
 
  $as_echo_n "(cached) " >&6
23492
 
else
23493
 
  cat >conftest.$ac_ext <<_ACEOF
23494
 
/* confdefs.h.  */
23495
 
_ACEOF
23496
 
cat confdefs.h >>conftest.$ac_ext
23497
 
cat >>conftest.$ac_ext <<_ACEOF
23498
 
/* end confdefs.h.  */
23499
 
#include <selinux/avc.h>
23500
 
 
23501
 
int
23502
 
main ()
23503
 
{
23504
 
#ifndef avc_netlink_acquire_fd
23505
 
  (void) avc_netlink_acquire_fd;
23506
 
#endif
23507
 
 
23508
 
  ;
23509
 
  return 0;
23510
 
}
23511
 
_ACEOF
23512
 
rm -f conftest.$ac_objext
23513
 
if { (ac_try="$ac_compile"
23514
 
case "(($ac_try" in
23515
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23516
 
  *) ac_try_echo=$ac_try;;
23517
 
esac
23518
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23519
 
$as_echo "$ac_try_echo") >&5
23520
 
  (eval "$ac_compile") 2>conftest.er1
23521
 
  ac_status=$?
23522
 
  grep -v '^ *+' conftest.er1 >conftest.err
23523
 
  rm -f conftest.er1
23524
 
  cat conftest.err >&5
23525
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23526
 
  (exit $ac_status); } && {
23527
 
         test -z "$ac_c_werror_flag" ||
23528
 
         test ! -s conftest.err
23529
 
       } && test -s conftest.$ac_objext; then
23530
 
  ac_cv_have_decl_avc_netlink_acquire_fd=yes
23531
 
else
23532
 
  $as_echo "$as_me: failed program was:" >&5
23533
 
sed 's/^/| /' conftest.$ac_ext >&5
23534
 
 
23535
 
        ac_cv_have_decl_avc_netlink_acquire_fd=no
23536
 
fi
23537
 
 
23538
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23539
 
fi
23540
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_avc_netlink_acquire_fd" >&5
23541
 
$as_echo "$ac_cv_have_decl_avc_netlink_acquire_fd" >&6; }
23542
 
if test "x$ac_cv_have_decl_avc_netlink_acquire_fd" = x""yes; then
23543
 
 
23544
 
cat >>confdefs.h <<\_ACEOF
23545
 
#define HAVE_AVC_NETLINK_ACQUIRE_FD 1
23546
 
_ACEOF
23547
 
 
23548
 
fi
23549
 
 
 
23259
 
 
23260
pkg_failed=no
 
23261
{ $as_echo "$as_me:$LINENO: checking for SELINUX" >&5
 
23262
$as_echo_n "checking for SELINUX... " >&6; }
 
23263
 
 
23264
if test -n "$SELINUX_CFLAGS"; then
 
23265
    pkg_cv_SELINUX_CFLAGS="$SELINUX_CFLAGS"
 
23266
 elif test -n "$PKG_CONFIG"; then
 
23267
    if test -n "$PKG_CONFIG" && \
 
23268
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$LIBSELINUX\"") >&5
 
23269
  ($PKG_CONFIG --exists --print-errors "$LIBSELINUX") 2>&5
 
23270
  ac_status=$?
 
23271
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23272
  (exit $ac_status); }; then
 
23273
  pkg_cv_SELINUX_CFLAGS=`$PKG_CONFIG --cflags "$LIBSELINUX" 2>/dev/null`
 
23274
else
 
23275
  pkg_failed=yes
 
23276
fi
 
23277
 else
 
23278
    pkg_failed=untried
 
23279
fi
 
23280
if test -n "$SELINUX_LIBS"; then
 
23281
    pkg_cv_SELINUX_LIBS="$SELINUX_LIBS"
 
23282
 elif test -n "$PKG_CONFIG"; then
 
23283
    if test -n "$PKG_CONFIG" && \
 
23284
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$LIBSELINUX\"") >&5
 
23285
  ($PKG_CONFIG --exists --print-errors "$LIBSELINUX") 2>&5
 
23286
  ac_status=$?
 
23287
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23288
  (exit $ac_status); }; then
 
23289
  pkg_cv_SELINUX_LIBS=`$PKG_CONFIG --libs "$LIBSELINUX" 2>/dev/null`
 
23290
else
 
23291
  pkg_failed=yes
 
23292
fi
 
23293
 else
 
23294
    pkg_failed=untried
 
23295
fi
 
23296
 
 
23297
 
 
23298
 
 
23299
if test $pkg_failed = yes; then
 
23300
 
 
23301
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
23302
        _pkg_short_errors_supported=yes
 
23303
else
 
23304
        _pkg_short_errors_supported=no
 
23305
fi
 
23306
        if test $_pkg_short_errors_supported = yes; then
 
23307
                SELINUX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$LIBSELINUX" 2>&1`
 
23308
        else
 
23309
                SELINUX_PKG_ERRORS=`$PKG_CONFIG --print-errors "$LIBSELINUX" 2>&1`
 
23310
        fi
 
23311
        # Put the nasty error message in config.log where it belongs
 
23312
        echo "$SELINUX_PKG_ERRORS" >&5
 
23313
 
 
23314
        { { $as_echo "$as_me:$LINENO: error: Package requirements ($LIBSELINUX) were not met:
 
23315
 
 
23316
$SELINUX_PKG_ERRORS
 
23317
 
 
23318
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
23319
installed software in a non-standard prefix.
 
23320
 
 
23321
Alternatively, you may set the environment variables SELINUX_CFLAGS
 
23322
and SELINUX_LIBS to avoid the need to call pkg-config.
 
23323
See the pkg-config man page for more details.
 
23324
" >&5
 
23325
$as_echo "$as_me: error: Package requirements ($LIBSELINUX) were not met:
 
23326
 
 
23327
$SELINUX_PKG_ERRORS
 
23328
 
 
23329
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
23330
installed software in a non-standard prefix.
 
23331
 
 
23332
Alternatively, you may set the environment variables SELINUX_CFLAGS
 
23333
and SELINUX_LIBS to avoid the need to call pkg-config.
 
23334
See the pkg-config man page for more details.
 
23335
" >&2;}
 
23336
   { (exit 1); exit 1; }; }
 
23337
elif test $pkg_failed = untried; then
 
23338
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
23339
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
23340
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
23341
is in your PATH or set the PKG_CONFIG environment variable to the full
 
23342
path to pkg-config.
 
23343
 
 
23344
Alternatively, you may set the environment variables SELINUX_CFLAGS
 
23345
and SELINUX_LIBS to avoid the need to call pkg-config.
 
23346
See the pkg-config man page for more details.
 
23347
 
 
23348
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
23349
See \`config.log' for more details." >&5
 
23350
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
23351
is in your PATH or set the PKG_CONFIG environment variable to the full
 
23352
path to pkg-config.
 
23353
 
 
23354
Alternatively, you may set the environment variables SELINUX_CFLAGS
 
23355
and SELINUX_LIBS to avoid the need to call pkg-config.
 
23356
See the pkg-config man page for more details.
 
23357
 
 
23358
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
23359
See \`config.log' for more details." >&2;}
 
23360
   { (exit 1); exit 1; }; }; }
 
23361
else
 
23362
        SELINUX_CFLAGS=$pkg_cv_SELINUX_CFLAGS
 
23363
        SELINUX_LIBS=$pkg_cv_SELINUX_LIBS
 
23364
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
23365
$as_echo "yes" >&6; }
 
23366
        :
 
23367
fi
 
23368
        SELINUX_LIBS="$SELINUX_LIBS -laudit"
23550
23369
 
23551
23370
cat >>confdefs.h <<\_ACEOF
23552
23371
#define XSELINUX 1
23553
23372
_ACEOF
23554
23373
 
23555
 
        SELINUX_LIB="-lselinux -laudit"
23556
23374
fi
23557
23375
 
23558
23376
 if test "x$XCSECURITY" = xyes; then
25165
24983
if  test "x$GCC" = xyes ; then
25166
24984
    CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
25167
24985
-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
25168
 
-Wbad-function-cast"
 
24986
-Wbad-function-cast -Wformat=2"
25169
24987
    case `$CC -dumpversion` in
25170
24988
    3.4.* | 4.*)
25171
24989
        CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
25236
25054
    fi
25237
25055
fi
25238
25056
 
25239
 
# Check whether --enable-silent-rules was given.
25240
 
if test "${enable_silent_rules+set}" = set; then
25241
 
  enableval=$enable_silent_rules;
25242
 
fi
25243
 
 
25244
 
case $enable_silent_rules in
25245
 
yes) AM_DEFAULT_VERBOSITY=0;;
25246
 
no)  AM_DEFAULT_VERBOSITY=1;;
25247
 
*)   AM_DEFAULT_VERBOSITY=0;;
25248
 
esac
25249
 
AM_BACKSLASH='\'
25250
 
 
25251
25057
 
25252
25058
if test "x$GCC" = "xyes"; then
25253
25059
       if test "x$WERROR" = "xyes"; then
26093
25899
 
26094
25900
        LIBS=$SAVE_LIBS
26095
25901
        CFLAGS=$SAVE_CFLAGS
26096
 
        XORG_SYS_LIBS="$XORG_SYS_LIBS $PCIACCESS_LIBS $DLOPEN_LIBS $GLX_SYS_LIBS $SELINUX_LIB"
 
25902
        XORG_SYS_LIBS="$XORG_SYS_LIBS $PCIACCESS_LIBS $DLOPEN_LIBS $GLX_SYS_LIBS"
26097
25903
        XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS"
26098
25904
 
26099
25905
        case $host_os in
31869
31675
# report actual input values of CONFIG_FILES etc. instead of their
31870
31676
# values after options handling.
31871
31677
ac_log="
31872
 
This file was extended by xorg-server $as_me 1.7.5, which was
 
31678
This file was extended by xorg-server $as_me 1.7.6, which was
31873
31679
generated by GNU Autoconf 2.63.  Invocation command line was
31874
31680
 
31875
31681
  CONFIG_FILES    = $CONFIG_FILES
31932
31738
_ACEOF
31933
31739
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31934
31740
ac_cs_version="\\
31935
 
xorg-server config.status 1.7.5
 
31741
xorg-server config.status 1.7.6
31936
31742
configured by $0, generated by GNU Autoconf 2.63,
31937
31743
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
31938
31744