~ubuntu-branches/ubuntu/raring/xserver-xorg-video-nouveau/raring

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Christopher James Halse Rogers
  • Date: 2009-07-08 08:31:59 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20090708083159-43u08h03oku0d1h1
Tags: 1:0.0.10~git+20090708+ef3a386-0ubuntu1
* New upstream snapshot
  + Too many git commits to usefully list in changelog.  Lots of fixes,
    especially for nv5x and nv6x chips.

Show diffs side-by-side

added added

removed removed

Lines of Context:
802
802
APP_MAN_SUFFIX
803
803
DRIVER_NAME
804
804
moduledir
805
 
XSERVER_LIBPCIACCESS_FALSE
806
 
XSERVER_LIBPCIACCESS_TRUE
807
805
PCIACCESS_LIBS
808
806
PCIACCESS_CFLAGS
809
807
XORG_LIBS
4420
4418
else
4421
4419
  lt_cv_nm_interface="BSD nm"
4422
4420
  echo "int some_variable = 0;" > conftest.$ac_ext
4423
 
  (eval echo "\"\$as_me:4423: $ac_compile\"" >&5)
 
4421
  (eval echo "\"\$as_me:4421: $ac_compile\"" >&5)
4424
4422
  (eval "$ac_compile" 2>conftest.err)
4425
4423
  cat conftest.err >&5
4426
 
  (eval echo "\"\$as_me:4426: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
4424
  (eval echo "\"\$as_me:4424: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4427
4425
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4428
4426
  cat conftest.err >&5
4429
 
  (eval echo "\"\$as_me:4429: output\"" >&5)
 
4427
  (eval echo "\"\$as_me:4427: output\"" >&5)
4430
4428
  cat conftest.out >&5
4431
4429
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4432
4430
    lt_cv_nm_interface="MS dumpbin"
5632
5630
  ;;
5633
5631
*-*-irix6*)
5634
5632
  # Find out which ABI we are using.
5635
 
  echo '#line 5635 "configure"' > conftest.$ac_ext
 
5633
  echo '#line 5633 "configure"' > conftest.$ac_ext
5636
5634
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5637
5635
  (eval $ac_compile) 2>&5
5638
5636
  ac_status=$?
7455
7453
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7456
7454
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7457
7455
   -e 's:$: $lt_compiler_flag:'`
7458
 
   (eval echo "\"\$as_me:7458: $lt_compile\"" >&5)
 
7456
   (eval echo "\"\$as_me:7456: $lt_compile\"" >&5)
7459
7457
   (eval "$lt_compile" 2>conftest.err)
7460
7458
   ac_status=$?
7461
7459
   cat conftest.err >&5
7462
 
   echo "$as_me:7462: \$? = $ac_status" >&5
 
7460
   echo "$as_me:7460: \$? = $ac_status" >&5
7463
7461
   if (exit $ac_status) && test -s "$ac_outfile"; then
7464
7462
     # The compiler can only warn and ignore the option if not recognized
7465
7463
     # So say no if there are warnings other than the usual output.
7794
7792
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7795
7793
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7796
7794
   -e 's:$: $lt_compiler_flag:'`
7797
 
   (eval echo "\"\$as_me:7797: $lt_compile\"" >&5)
 
7795
   (eval echo "\"\$as_me:7795: $lt_compile\"" >&5)
7798
7796
   (eval "$lt_compile" 2>conftest.err)
7799
7797
   ac_status=$?
7800
7798
   cat conftest.err >&5
7801
 
   echo "$as_me:7801: \$? = $ac_status" >&5
 
7799
   echo "$as_me:7799: \$? = $ac_status" >&5
7802
7800
   if (exit $ac_status) && test -s "$ac_outfile"; then
7803
7801
     # The compiler can only warn and ignore the option if not recognized
7804
7802
     # So say no if there are warnings other than the usual output.
7899
7897
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7900
7898
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7901
7899
   -e 's:$: $lt_compiler_flag:'`
7902
 
   (eval echo "\"\$as_me:7902: $lt_compile\"" >&5)
 
7900
   (eval echo "\"\$as_me:7900: $lt_compile\"" >&5)
7903
7901
   (eval "$lt_compile" 2>out/conftest.err)
7904
7902
   ac_status=$?
7905
7903
   cat out/conftest.err >&5
7906
 
   echo "$as_me:7906: \$? = $ac_status" >&5
 
7904
   echo "$as_me:7904: \$? = $ac_status" >&5
7907
7905
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7908
7906
   then
7909
7907
     # The compiler can only warn and ignore the option if not recognized
7954
7952
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7955
7953
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7956
7954
   -e 's:$: $lt_compiler_flag:'`
7957
 
   (eval echo "\"\$as_me:7957: $lt_compile\"" >&5)
 
7955
   (eval echo "\"\$as_me:7955: $lt_compile\"" >&5)
7958
7956
   (eval "$lt_compile" 2>out/conftest.err)
7959
7957
   ac_status=$?
7960
7958
   cat out/conftest.err >&5
7961
 
   echo "$as_me:7961: \$? = $ac_status" >&5
 
7959
   echo "$as_me:7959: \$? = $ac_status" >&5
7962
7960
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7963
7961
   then
7964
7962
     # The compiler can only warn and ignore the option if not recognized
8073
8071
  openbsd*)
8074
8072
    with_gnu_ld=no
8075
8073
    ;;
 
8074
  linux* | k*bsd*-gnu)
 
8075
    link_all_deplibs=no
 
8076
    ;;
8076
8077
  esac
8077
8078
 
8078
8079
  ld_shlibs=yes
10767
10768
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10768
10769
  lt_status=$lt_dlunknown
10769
10770
  cat > conftest.$ac_ext <<_LT_EOF
10770
 
#line 10770 "configure"
 
10771
#line 10771 "configure"
10771
10772
#include "confdefs.h"
10772
10773
 
10773
10774
#if HAVE_DLFCN_H
10863
10864
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10864
10865
  lt_status=$lt_dlunknown
10865
10866
  cat > conftest.$ac_ext <<_LT_EOF
10866
 
#line 10866 "configure"
 
10867
#line 10867 "configure"
10867
10868
#include "confdefs.h"
10868
10869
 
10869
10870
#if HAVE_DLFCN_H
12481
12482
sdkdir=$(pkg-config --variable=sdkdir xorg-server)
12482
12483
 
12483
12484
# Checks for libraries.
12484
 
{ $as_echo "$as_me:$LINENO: checking whether XSERVER_LIBPCIACCESS is declared" >&5
12485
 
$as_echo_n "checking whether XSERVER_LIBPCIACCESS is declared... " >&6; }
12486
 
if test "${ac_cv_have_decl_XSERVER_LIBPCIACCESS+set}" = set; then
12487
 
  $as_echo_n "(cached) " >&6
12488
 
else
12489
 
  cat >conftest.$ac_ext <<_ACEOF
12490
 
/* confdefs.h.  */
12491
 
_ACEOF
12492
 
cat confdefs.h >>conftest.$ac_ext
12493
 
cat >>conftest.$ac_ext <<_ACEOF
12494
 
/* end confdefs.h.  */
12495
 
#include "xorg/xorg-server.h"
12496
 
 
12497
 
int
12498
 
main ()
12499
 
{
12500
 
#ifndef XSERVER_LIBPCIACCESS
12501
 
  (void) XSERVER_LIBPCIACCESS;
12502
 
#endif
12503
 
 
12504
 
  ;
12505
 
  return 0;
12506
 
}
12507
 
_ACEOF
12508
 
rm -f conftest.$ac_objext
12509
 
if { (ac_try="$ac_compile"
12510
 
case "(($ac_try" in
12511
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12512
 
  *) ac_try_echo=$ac_try;;
12513
 
esac
12514
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12515
 
$as_echo "$ac_try_echo") >&5
12516
 
  (eval "$ac_compile") 2>conftest.er1
12517
 
  ac_status=$?
12518
 
  grep -v '^ *+' conftest.er1 >conftest.err
12519
 
  rm -f conftest.er1
12520
 
  cat conftest.err >&5
12521
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12522
 
  (exit $ac_status); } && {
12523
 
         test -z "$ac_c_werror_flag" ||
12524
 
         test ! -s conftest.err
12525
 
       } && test -s conftest.$ac_objext; then
12526
 
  ac_cv_have_decl_XSERVER_LIBPCIACCESS=yes
12527
 
else
12528
 
  $as_echo "$as_me: failed program was:" >&5
12529
 
sed 's/^/| /' conftest.$ac_ext >&5
12530
 
 
12531
 
        ac_cv_have_decl_XSERVER_LIBPCIACCESS=no
12532
 
fi
12533
 
 
12534
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12535
 
fi
12536
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&5
12537
 
$as_echo "$ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&6; }
12538
 
if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = x""yes; then
12539
 
  XSERVER_LIBPCIACCESS=yes
12540
 
else
12541
 
  XSERVER_LIBPCIACCESS=no
12542
 
fi
12543
 
 
12544
 
 
12545
 
if test x$XSERVER_LIBPCIACCESS = xyes; then
12546
12485
 
12547
12486
pkg_failed=no
12548
12487
{ $as_echo "$as_me:$LINENO: checking for PCIACCESS" >&5
12656
12595
$as_echo "yes" >&6; }
12657
12596
        :
12658
12597
fi
12659
 
fi
12660
 
 
12661
 
 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
12662
 
  XSERVER_LIBPCIACCESS_TRUE=
12663
 
  XSERVER_LIBPCIACCESS_FALSE='#'
12664
 
else
12665
 
  XSERVER_LIBPCIACCESS_TRUE='#'
12666
 
  XSERVER_LIBPCIACCESS_FALSE=
12667
 
fi
12668
 
 
12669
12598
 
12670
12599
# Checks for header files.
12671
12600
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13214
13143
Usually this means the macro was only invoked conditionally." >&2;}
13215
13144
   { (exit 1); exit 1; }; }
13216
13145
fi
13217
 
if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
13218
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
13219
 
Usually this means the macro was only invoked conditionally." >&5
13220
 
$as_echo "$as_me: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
13221
 
Usually this means the macro was only invoked conditionally." >&2;}
13222
 
   { (exit 1); exit 1; }; }
13223
 
fi
13224
13146
 
13225
13147
: ${CONFIG_STATUS=./config.status}
13226
13148
ac_write_fail=0
14644
14566
 
14645
14567
 
14646
14568
  case $ac_file$ac_mode in
14647
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
14648
 
# are listed without --file.  Let's play safe and only enable the eval
14649
 
# if we detect the quoting.
14650
 
case $CONFIG_FILES in
14651
 
*\'*) eval set x "$CONFIG_FILES" ;;
14652
 
*)   set x $CONFIG_FILES ;;
14653
 
esac
14654
 
shift
14655
 
for mf
14656
 
do
14657
 
  # Strip MF so we end up with the name of the file.
14658
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
14659
 
  # Check whether this is an Automake generated Makefile or not.
14660
 
  # We used to match only the files named `Makefile.in', but
14661
 
  # some people rename them; so instead we look at the file content.
14662
 
  # Grep'ing the first line is not enough: some people post-process
14663
 
  # each Makefile.in and add a new line on top of each file to say so.
14664
 
  # Grep'ing the whole file is not good either: AIX grep has a line
14665
 
  # limit of 2048, but all sed's we know have understand at least 4000.
14666
 
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14667
 
    dirpart=`$as_dirname -- "$mf" ||
 
14569
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
14570
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
14571
  # are listed without --file.  Let's play safe and only enable the eval
 
14572
  # if we detect the quoting.
 
14573
  case $CONFIG_FILES in
 
14574
  *\'*) eval set x "$CONFIG_FILES" ;;
 
14575
  *)   set x $CONFIG_FILES ;;
 
14576
  esac
 
14577
  shift
 
14578
  for mf
 
14579
  do
 
14580
    # Strip MF so we end up with the name of the file.
 
14581
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
14582
    # Check whether this is an Automake generated Makefile or not.
 
14583
    # We used to match only the files named `Makefile.in', but
 
14584
    # some people rename them; so instead we look at the file content.
 
14585
    # Grep'ing the first line is not enough: some people post-process
 
14586
    # each Makefile.in and add a new line on top of each file to say so.
 
14587
    # Grep'ing the whole file is not good either: AIX grep has a line
 
14588
    # limit of 2048, but all sed's we know have understand at least 4000.
 
14589
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
14590
      dirpart=`$as_dirname -- "$mf" ||
14668
14591
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14669
14592
         X"$mf" : 'X\(//\)[^/]' \| \
14670
14593
         X"$mf" : 'X\(//\)$' \| \
14687
14610
            q
14688
14611
          }
14689
14612
          s/.*/./; q'`
14690
 
  else
14691
 
    continue
14692
 
  fi
14693
 
  # Extract the definition of DEPDIR, am__include, and am__quote
14694
 
  # from the Makefile without running `make'.
14695
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14696
 
  test -z "$DEPDIR" && continue
14697
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
14698
 
  test -z "am__include" && continue
14699
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14700
 
  # When using ansi2knr, U may be empty or an underscore; expand it
14701
 
  U=`sed -n 's/^U = //p' < "$mf"`
14702
 
  # Find all dependency output files, they are included files with
14703
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
14704
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
14705
 
  # expansion.
14706
 
  for file in `sed -n "
14707
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14708
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14709
 
    # Make sure the directory exists.
14710
 
    test -f "$dirpart/$file" && continue
14711
 
    fdir=`$as_dirname -- "$file" ||
 
14613
    else
 
14614
      continue
 
14615
    fi
 
14616
    # Extract the definition of DEPDIR, am__include, and am__quote
 
14617
    # from the Makefile without running `make'.
 
14618
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
14619
    test -z "$DEPDIR" && continue
 
14620
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
14621
    test -z "am__include" && continue
 
14622
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
14623
    # When using ansi2knr, U may be empty or an underscore; expand it
 
14624
    U=`sed -n 's/^U = //p' < "$mf"`
 
14625
    # Find all dependency output files, they are included files with
 
14626
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
14627
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
14628
    # expansion.
 
14629
    for file in `sed -n "
 
14630
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
14631
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
14632
      # Make sure the directory exists.
 
14633
      test -f "$dirpart/$file" && continue
 
14634
      fdir=`$as_dirname -- "$file" ||
14712
14635
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14713
14636
         X"$file" : 'X\(//\)[^/]' \| \
14714
14637
         X"$file" : 'X\(//\)$' \| \
14731
14654
            q
14732
14655
          }
14733
14656
          s/.*/./; q'`
14734
 
    { as_dir=$dirpart/$fdir
 
14657
      { as_dir=$dirpart/$fdir
14735
14658
  case $as_dir in #(
14736
14659
  -*) as_dir=./$as_dir;;
14737
14660
  esac
14772
14695
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14773
14696
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
14774
14697
   { (exit 1); exit 1; }; }; }
14775
 
    # echo "creating $dirpart/$file"
14776
 
    echo '# dummy' > "$dirpart/$file"
 
14698
      # echo "creating $dirpart/$file"
 
14699
      echo '# dummy' > "$dirpart/$file"
 
14700
    done
14777
14701
  done
14778
 
done
 
14702
}
14779
14703
 ;;
14780
14704
    "libtool":C)
14781
14705