7144
7154
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7145
7155
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7146
7156
-e 's:$: $lt_compiler_flag:'`
7147
(eval echo "\"\$as_me:7147: $lt_compile\"" >&5)
7157
(eval echo "\"\$as_me:7157: $lt_compile\"" >&5)
7148
7158
(eval "$lt_compile" 2>conftest.err)
7150
7160
cat conftest.err >&5
7151
echo "$as_me:7151: \$? = $ac_status" >&5
7161
echo "$as_me:7161: \$? = $ac_status" >&5
7152
7162
if (exit $ac_status) && test -s "$ac_outfile"; then
7153
7163
# The compiler can only warn and ignore the option if not recognized
7154
7164
# So say no if there are warnings other than the usual output.
7434
7444
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7435
7445
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7436
7446
-e 's:$: $lt_compiler_flag:'`
7437
(eval echo "\"\$as_me:7437: $lt_compile\"" >&5)
7447
(eval echo "\"\$as_me:7447: $lt_compile\"" >&5)
7438
7448
(eval "$lt_compile" 2>conftest.err)
7440
7450
cat conftest.err >&5
7441
echo "$as_me:7441: \$? = $ac_status" >&5
7451
echo "$as_me:7451: \$? = $ac_status" >&5
7442
7452
if (exit $ac_status) && test -s "$ac_outfile"; then
7443
7453
# The compiler can only warn and ignore the option if not recognized
7444
7454
# So say no if there are warnings other than the usual output.
12420
12430
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12421
12431
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12422
12432
-e 's:$: $lt_compiler_flag:'`
12423
(eval echo "\"\$as_me:12423: $lt_compile\"" >&5)
12433
(eval echo "\"\$as_me:12433: $lt_compile\"" >&5)
12424
12434
(eval "$lt_compile" 2>conftest.err)
12426
12436
cat conftest.err >&5
12427
echo "$as_me:12427: \$? = $ac_status" >&5
12437
echo "$as_me:12437: \$? = $ac_status" >&5
12428
12438
if (exit $ac_status) && test -s "$ac_outfile"; then
12429
12439
# The compiler can only warn and ignore the option if not recognized
12430
12440
# So say no if there are warnings other than the usual output.
14101
14111
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14102
14112
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14103
14113
-e 's:$: $lt_compiler_flag:'`
14104
(eval echo "\"\$as_me:14104: $lt_compile\"" >&5)
14114
(eval echo "\"\$as_me:14114: $lt_compile\"" >&5)
14105
14115
(eval "$lt_compile" 2>conftest.err)
14107
14117
cat conftest.err >&5
14108
echo "$as_me:14108: \$? = $ac_status" >&5
14118
echo "$as_me:14118: \$? = $ac_status" >&5
14109
14119
if (exit $ac_status) && test -s "$ac_outfile"; then
14110
14120
# The compiler can only warn and ignore the option if not recognized
14111
14121
# So say no if there are warnings other than the usual output.
16405
16415
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16406
16416
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16407
16417
-e 's:$: $lt_compiler_flag:'`
16408
(eval echo "\"\$as_me:16408: $lt_compile\"" >&5)
16418
(eval echo "\"\$as_me:16418: $lt_compile\"" >&5)
16409
16419
(eval "$lt_compile" 2>conftest.err)
16411
16421
cat conftest.err >&5
16412
echo "$as_me:16412: \$? = $ac_status" >&5
16422
echo "$as_me:16422: \$? = $ac_status" >&5
16413
16423
if (exit $ac_status) && test -s "$ac_outfile"; then
16414
16424
# The compiler can only warn and ignore the option if not recognized
16415
16425
# So say no if there are warnings other than the usual output.
16695
16705
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16696
16706
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16697
16707
-e 's:$: $lt_compiler_flag:'`
16698
(eval echo "\"\$as_me:16698: $lt_compile\"" >&5)
16708
(eval echo "\"\$as_me:16708: $lt_compile\"" >&5)
16699
16709
(eval "$lt_compile" 2>conftest.err)
16701
16711
cat conftest.err >&5
16702
echo "$as_me:16702: \$? = $ac_status" >&5
16712
echo "$as_me:16712: \$? = $ac_status" >&5
16703
16713
if (exit $ac_status) && test -s "$ac_outfile"; then
16704
16714
# The compiler can only warn and ignore the option if not recognized
16705
16715
# So say no if there are warnings other than the usual output.
21686
{ echo "$as_me:$LINENO: checking whether XSERVER_LIBPCIACCESS is declared" >&5
21687
echo $ECHO_N "checking whether XSERVER_LIBPCIACCESS is declared... $ECHO_C" >&6; }
21688
if test "${ac_cv_have_decl_XSERVER_LIBPCIACCESS+set}" = set; then
21689
echo $ECHO_N "(cached) $ECHO_C" >&6
21691
cat >conftest.$ac_ext <<_ACEOF
21694
cat confdefs.h >>conftest.$ac_ext
21695
cat >>conftest.$ac_ext <<_ACEOF
21696
/* end confdefs.h. */
21697
#include "xorg-server.h"
21702
#ifndef XSERVER_LIBPCIACCESS
21703
(void) XSERVER_LIBPCIACCESS;
21710
rm -f conftest.$ac_objext
21711
if { (ac_try="$ac_compile"
21712
case "(($ac_try" in
21713
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21714
*) ac_try_echo=$ac_try;;
21716
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21717
(eval "$ac_compile") 2>conftest.er1
21719
grep -v '^ *+' conftest.er1 >conftest.err
21721
cat conftest.err >&5
21722
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21723
(exit $ac_status); } && {
21724
test -z "$ac_c_werror_flag" ||
21725
test ! -s conftest.err
21726
} && test -s conftest.$ac_objext; then
21727
ac_cv_have_decl_XSERVER_LIBPCIACCESS=yes
21729
echo "$as_me: failed program was:" >&5
21730
sed 's/^/| /' conftest.$ac_ext >&5
21732
ac_cv_have_decl_XSERVER_LIBPCIACCESS=no
21735
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21737
{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&5
21738
echo "${ECHO_T}$ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&6; }
21739
if test $ac_cv_have_decl_XSERVER_LIBPCIACCESS = yes; then
21740
XSERVER_LIBPCIACCESS=yes
21742
XSERVER_LIBPCIACCESS=no
21676
21746
CPPFLAGS="$SAVE_CPPFLAGS"
21678
21748
if test "x$USE_EXA" = xyes; then
21757
if test "x$XSERVER_LIBPCIACCESS" = xyes; then
21760
{ echo "$as_me:$LINENO: checking for PCIACCESS" >&5
21761
echo $ECHO_N "checking for PCIACCESS... $ECHO_C" >&6; }
21763
if test -n "$PKG_CONFIG"; then
21764
if test -n "$PCIACCESS_CFLAGS"; then
21765
pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
21767
if test -n "$PKG_CONFIG" && \
21768
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\"") >&5
21769
($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
21771
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21772
(exit $ac_status); }; then
21773
pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.8.0" 2>/dev/null`
21781
if test -n "$PKG_CONFIG"; then
21782
if test -n "$PCIACCESS_LIBS"; then
21783
pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
21785
if test -n "$PKG_CONFIG" && \
21786
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\"") >&5
21787
($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
21789
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21790
(exit $ac_status); }; then
21791
pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.8.0" 2>/dev/null`
21802
if test $pkg_failed = yes; then
21804
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21805
_pkg_short_errors_supported=yes
21807
_pkg_short_errors_supported=no
21809
if test $_pkg_short_errors_supported = yes; then
21810
PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pciaccess >= 0.8.0"`
21812
PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pciaccess >= 0.8.0"`
21814
# Put the nasty error message in config.log where it belongs
21815
echo "$PCIACCESS_PKG_ERRORS" >&5
21817
{ { echo "$as_me:$LINENO: error: Package requirements (pciaccess >= 0.8.0) were not met:
21819
$PCIACCESS_PKG_ERRORS
21821
Consider adjusting the PKG_CONFIG_PATH environment variable if you
21822
installed software in a non-standard prefix.
21824
Alternatively, you may set the environment variables PCIACCESS_CFLAGS
21825
and PCIACCESS_LIBS to avoid the need to call pkg-config.
21826
See the pkg-config man page for more details.
21828
echo "$as_me: error: Package requirements (pciaccess >= 0.8.0) were not met:
21830
$PCIACCESS_PKG_ERRORS
21832
Consider adjusting the PKG_CONFIG_PATH environment variable if you
21833
installed software in a non-standard prefix.
21835
Alternatively, you may set the environment variables PCIACCESS_CFLAGS
21836
and PCIACCESS_LIBS to avoid the need to call pkg-config.
21837
See the pkg-config man page for more details.
21839
{ (exit 1); exit 1; }; }
21840
elif test $pkg_failed = untried; then
21841
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
21842
is in your PATH or set the PKG_CONFIG environment variable to the full
21843
path to pkg-config.
21845
Alternatively, you may set the environment variables PCIACCESS_CFLAGS
21846
and PCIACCESS_LIBS to avoid the need to call pkg-config.
21847
See the pkg-config man page for more details.
21849
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21850
See \`config.log' for more details." >&5
21851
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
21852
is in your PATH or set the PKG_CONFIG environment variable to the full
21853
path to pkg-config.
21855
Alternatively, you may set the environment variables PCIACCESS_CFLAGS
21856
and PCIACCESS_LIBS to avoid the need to call pkg-config.
21857
See the pkg-config man page for more details.
21859
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21860
See \`config.log' for more details." >&2;}
21861
{ (exit 1); exit 1; }; }
21863
PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
21864
PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
21865
{ echo "$as_me:$LINENO: result: yes" >&5
21866
echo "${ECHO_T}yes" >&6; }
21869
XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS"
21871
if test "x$XSERVER_LIBPCIACCESS" = xyes; then
21872
XSERVER_LIBPCIACCESS_TRUE=
21873
XSERVER_LIBPCIACCESS_FALSE='#'
21875
XSERVER_LIBPCIACCESS_TRUE='#'
21876
XSERVER_LIBPCIACCESS_FALSE=