~ubuntu-branches/ubuntu/raring/libdrm/raring-proposed

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Package Import Robot
  • Author(s): Timo Aaltonen, Robert Hooker
  • Date: 2012-03-22 19:59:34 UTC
  • mfrom: (2.3.16 sid)
  • Revision ID: package-import@ubuntu.com-20120322195934-iqk3q2092qssf4eq
Tags: 2.4.32-1ubuntu1
[ Robert Hooker ]
* Merge from Debian unstable, remaining changes:
  - debian/rules
  - debian/control:
    + Build libdrm-intel1 everywhere rather than just {i386,amd64}
      for Plymouth
  - 100-revert-intel-fix-build-of-intel-drm.patch
    101-revert-dont-build-intel-drm.patch
    + Add patch series to reenable building libdrm-intel1 on !i386/amd64,
      (drop when plymouth is updated to 0.8.4.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.11.3 -*- Autoconf -*-
2
2
 
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
 
# 2005, 2006, 2007, 2008, 2009  Free Software Foundation, Inc.
 
4
# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
 
5
# Inc.
5
6
# This file is free software; the Free Software Foundation
6
7
# gives unlimited permission to copy and/or distribute it,
7
8
# with or without modifications, as long as this notice is preserved.
179
180
fi[]dnl
180
181
])# PKG_CHECK_MODULES
181
182
 
182
 
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
 
183
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
 
184
# Foundation, Inc.
183
185
#
184
186
# This file is free software; the Free Software Foundation
185
187
# gives unlimited permission to copy and/or distribute it,
186
188
# with or without modifications, as long as this notice is preserved.
187
189
 
 
190
# serial 1
 
191
 
188
192
# AM_AUTOMAKE_VERSION(VERSION)
189
193
# ----------------------------
190
194
# Automake X.Y traces this macro to ensure aclocal.m4 has been
194
198
[am__api_version='1.11'
195
199
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
196
200
dnl require some minimum version.  Point them to the right macro.
197
 
m4_if([$1], [1.11.1], [],
 
201
m4_if([$1], [1.11.3], [],
198
202
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
199
203
])
200
204
 
210
214
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
211
215
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
212
216
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
213
 
[AM_AUTOMAKE_VERSION([1.11.1])dnl
 
217
[AM_AUTOMAKE_VERSION([1.11.3])dnl
214
218
m4_ifndef([AC_AUTOCONF_VERSION],
215
219
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
216
220
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
217
221
 
218
222
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
219
223
 
220
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
224
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
221
225
#
222
226
# This file is free software; the Free Software Foundation
223
227
# gives unlimited permission to copy and/or distribute it,
224
228
# with or without modifications, as long as this notice is preserved.
225
229
 
 
230
# serial 1
 
231
 
226
232
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
227
233
# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
228
234
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
304
310
Usually this means the macro was only invoked conditionally.]])
305
311
fi])])
306
312
 
307
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
308
 
# Free Software Foundation, Inc.
 
313
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
 
314
# 2010, 2011 Free Software Foundation, Inc.
309
315
#
310
316
# This file is free software; the Free Software Foundation
311
317
# gives unlimited permission to copy and/or distribute it,
312
318
# with or without modifications, as long as this notice is preserved.
313
319
 
314
 
# serial 10
 
320
# serial 12
315
321
 
316
322
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
317
323
# written in clear, in which case automake, when reading aclocal.m4,
351
357
  # instance it was reported that on HP-UX the gcc test will end up
352
358
  # making a dummy file named `D' -- because `-MD' means `put the output
353
359
  # in D'.
 
360
  rm -rf conftest.dir
354
361
  mkdir conftest.dir
355
362
  # Copy depcomp to subdir because otherwise we won't find it if we're
356
363
  # using a relative directory.
415
422
        break
416
423
      fi
417
424
      ;;
418
 
    msvisualcpp | msvcmsys)
 
425
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
419
426
      # This compiler won't grok `-c -o', but also, the minuso test has
420
427
      # not run yet.  These depmodes are late enough in the game, and
421
428
      # so weak that their functioning should not be impacted.
480
487
if test "x$enable_dependency_tracking" != xno; then
481
488
  am_depcomp="$ac_aux_dir/depcomp"
482
489
  AMDEPBACKSLASH='\'
 
490
  am__nodep='_no'
483
491
fi
484
492
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
485
493
AC_SUBST([AMDEPBACKSLASH])dnl
486
494
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
 
495
AC_SUBST([am__nodep])dnl
 
496
_AM_SUBST_NOTMAKE([am__nodep])dnl
487
497
])
488
498
 
489
499
# Generate code to set up dependency tracking.              -*- Autoconf -*-
705
715
done
706
716
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
707
717
 
708
 
# Copyright (C) 2001, 2003, 2005, 2008  Free Software Foundation, Inc.
 
718
# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
 
719
# Inc.
709
720
#
710
721
# This file is free software; the Free Software Foundation
711
722
# gives unlimited permission to copy and/or distribute it,
712
723
# with or without modifications, as long as this notice is preserved.
713
724
 
 
725
# serial 1
 
726
 
714
727
# AM_PROG_INSTALL_SH
715
728
# ------------------
716
729
# Define $install_sh.
750
763
# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
751
764
# From Jim Meyering
752
765
 
753
 
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
754
 
# Free Software Foundation, Inc.
 
766
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
 
767
# 2011 Free Software Foundation, Inc.
755
768
#
756
769
# This file is free software; the Free Software Foundation
757
770
# gives unlimited permission to copy and/or distribute it,
771
784
       [disable], [m4_define([am_maintainer_other], [enable])],
772
785
       [m4_define([am_maintainer_other], [enable])
773
786
        m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
774
 
AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
 
787
AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
775
788
  dnl maintainer-mode's default is 'disable' unless 'enable' is passed
776
789
  AC_ARG_ENABLE([maintainer-mode],
777
790
[  --][am_maintainer_other][-maintainer-mode  am_maintainer_other make rules and dependencies not useful
882
895
fi
883
896
])
884
897
 
885
 
# Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
 
898
# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
 
899
# Inc.
886
900
#
887
901
# This file is free software; the Free Software Foundation
888
902
# gives unlimited permission to copy and/or distribute it,
889
903
# with or without modifications, as long as this notice is preserved.
890
904
 
 
905
# serial 1
 
906
 
891
907
# AM_PROG_MKDIR_P
892
908
# ---------------
893
909
# Check for `mkdir -p'.
910
926
 
911
927
# Helper functions for option handling.                     -*- Autoconf -*-
912
928
 
913
 
# Copyright (C) 2001, 2002, 2003, 2005, 2008  Free Software Foundation, Inc.
 
929
# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
 
930
# Foundation, Inc.
914
931
#
915
932
# This file is free software; the Free Software Foundation
916
933
# gives unlimited permission to copy and/or distribute it,
917
934
# with or without modifications, as long as this notice is preserved.
918
935
 
919
 
# serial 4
 
936
# serial 5
920
937
 
921
938
# _AM_MANGLE_OPTION(NAME)
922
939
# -----------------------
924
941
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
925
942
 
926
943
# _AM_SET_OPTION(NAME)
927
 
# ------------------------------
 
944
# --------------------
928
945
# Set option NAME.  Presently that only means defining a flag for this option.
929
946
AC_DEFUN([_AM_SET_OPTION],
930
947
[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
931
948
 
932
949
# _AM_SET_OPTIONS(OPTIONS)
933
 
# ----------------------------------
 
950
# ------------------------
934
951
# OPTIONS is a space-separated list of Automake options.
935
952
AC_DEFUN([_AM_SET_OPTIONS],
936
953
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
1006
1023
fi
1007
1024
AC_MSG_RESULT(yes)])
1008
1025
 
1009
 
# Copyright (C) 2009  Free Software Foundation, Inc.
 
1026
# Copyright (C) 2009, 2011  Free Software Foundation, Inc.
1010
1027
#
1011
1028
# This file is free software; the Free Software Foundation
1012
1029
# gives unlimited permission to copy and/or distribute it,
1013
1030
# with or without modifications, as long as this notice is preserved.
1014
1031
 
1015
 
# serial 1
 
1032
# serial 2
1016
1033
 
1017
1034
# AM_SILENT_RULES([DEFAULT])
1018
1035
# --------------------------
1027
1044
no)  AM_DEFAULT_VERBOSITY=1;;
1028
1045
*)   AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
1029
1046
esac
 
1047
dnl
 
1048
dnl A few `make' implementations (e.g., NonStop OS and NextStep)
 
1049
dnl do not support nested variable expansions.
 
1050
dnl See automake bug#9928 and bug#10237.
 
1051
am_make=${MAKE-make}
 
1052
AC_CACHE_CHECK([whether $am_make supports nested variables],
 
1053
   [am_cv_make_support_nested_variables],
 
1054
   [if AS_ECHO([['TRUE=$(BAR$(V))
 
1055
BAR0=false
 
1056
BAR1=true
 
1057
V=1
 
1058
am__doit:
 
1059
        @$(TRUE)
 
1060
.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
 
1061
  am_cv_make_support_nested_variables=yes
 
1062
else
 
1063
  am_cv_make_support_nested_variables=no
 
1064
fi])
 
1065
if test $am_cv_make_support_nested_variables = yes; then
 
1066
  dnl Using `$V' instead of `$(V)' breaks IRIX make.
 
1067
  AM_V='$(V)'
 
1068
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 
1069
else
 
1070
  AM_V=$AM_DEFAULT_VERBOSITY
 
1071
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 
1072
fi
 
1073
AC_SUBST([AM_V])dnl
 
1074
AM_SUBST_NOTMAKE([AM_V])dnl
 
1075
AC_SUBST([AM_DEFAULT_V])dnl
 
1076
AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
1030
1077
AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
1031
1078
AM_BACKSLASH='\'
1032
1079
AC_SUBST([AM_BACKSLASH])dnl
1033
1080
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
1034
1081
])
1035
1082
 
1036
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
1083
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
1037
1084
#
1038
1085
# This file is free software; the Free Software Foundation
1039
1086
# gives unlimited permission to copy and/or distribute it,
1040
1087
# with or without modifications, as long as this notice is preserved.
1041
1088
 
 
1089
# serial 1
 
1090
 
1042
1091
# AM_PROG_INSTALL_STRIP
1043
1092
# ---------------------
1044
1093
# One issue with vendor `install' (even GNU) is that you can't
1061
1110
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1062
1111
AC_SUBST([INSTALL_STRIP_PROGRAM])])
1063
1112
 
1064
 
# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
 
1113
# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
1065
1114
#
1066
1115
# This file is free software; the Free Software Foundation
1067
1116
# gives unlimited permission to copy and/or distribute it,
1068
1117
# with or without modifications, as long as this notice is preserved.
1069
1118
 
1070
 
# serial 2
 
1119
# serial 3
1071
1120
 
1072
1121
# _AM_SUBST_NOTMAKE(VARIABLE)
1073
1122
# ---------------------------
1076
1125
AC_DEFUN([_AM_SUBST_NOTMAKE])
1077
1126
 
1078
1127
# AM_SUBST_NOTMAKE(VARIABLE)
1079
 
# ---------------------------
 
1128
# --------------------------
1080
1129
# Public sister of _AM_SUBST_NOTMAKE.
1081
1130
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1082
1131
 
1083
1132
# Check how to create a tarball.                            -*- Autoconf -*-
1084
1133
 
1085
 
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
 
1134
# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
1086
1135
#
1087
1136
# This file is free software; the Free Software Foundation
1088
1137
# gives unlimited permission to copy and/or distribute it,
1104
1153
# a tarball read from stdin.
1105
1154
#     $(am__untar) < result.tar
1106
1155
AC_DEFUN([_AM_PROG_TAR],
1107
 
[# Always define AMTAR for backward compatibility.
1108
 
AM_MISSING_PROG([AMTAR], [tar])
 
1156
[# Always define AMTAR for backward compatibility.  Yes, it's still used
 
1157
# in the wild :-(  We should find a proper way to deprecate it ...
 
1158
AC_SUBST([AMTAR], ['$${TAR-tar}'])
1109
1159
m4_if([$1], [v7],
1110
 
     [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
 
1160
     [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
1111
1161
     [m4_case([$1], [ustar],, [pax],,
1112
1162
              [m4_fatal([Unknown tar format])])
1113
1163
AC_MSG_CHECKING([how to create a $1 tar archive])