~ubuntu-branches/ubuntu/maverick/x11-xserver-utils/maverick-security

« back to all changes in this revision

Viewing changes to xset/aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Julien Cristau
  • Date: 2008-08-15 22:02:17 UTC
  • mfrom: (3.1.1 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080815220217-tyq3zhft3lmbd2je
Tags: 7.3+5
* xrandr: Fix for 64bit: feed a pointer to the right size variable to
  scanf().
* xrandr: update the manpage.
* xrandr: manpage typo fixes.
(all patches from upstream git)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.10.1 -*- Autoconf -*-
2
2
 
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
 
# 2005  Free Software Foundation, Inc.
 
4
# 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
5
5
# This file is free software; the Free Software Foundation
6
6
# gives unlimited permission to copy and/or distribute it,
7
7
# with or without modifications, as long as this notice is preserved.
11
11
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12
12
# PARTICULAR PURPOSE.
13
13
 
 
14
m4_ifndef([AC_AUTOCONF_VERSION],
 
15
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
 
16
m4_if(AC_AUTOCONF_VERSION, [2.61],,
 
17
[m4_warning([this file was generated for autoconf 2.61.
 
18
You have another version of autoconf.  It may work, but is not guaranteed to.
 
19
If you have problems, you may need to regenerate the build system entirely.
 
20
To do so, use the procedure documented by the package, typically `autoreconf'.])])
 
21
 
14
22
# pkg.m4 - Macros to locate and utilise pkg-config.            -*- Autoconf -*-
15
23
16
24
# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
79
87
# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
80
88
# ---------------------------------------------
81
89
m4_define([_PKG_CONFIG],
82
 
[if test -n "$PKG_CONFIG"; then
83
 
    if test -n "$$1"; then
84
 
        pkg_cv_[]$1="$$1"
85
 
    else
86
 
        PKG_CHECK_EXISTS([$3],
87
 
                         [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
88
 
                         [pkg_failed=yes])
89
 
    fi
90
 
else
91
 
        pkg_failed=untried
 
90
[if test -n "$$1"; then
 
91
    pkg_cv_[]$1="$$1"
 
92
 elif test -n "$PKG_CONFIG"; then
 
93
    PKG_CHECK_EXISTS([$3],
 
94
                     [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
 
95
                     [pkg_failed=yes])
 
96
 else
 
97
    pkg_failed=untried
92
98
fi[]dnl
93
99
])# _PKG_CONFIG
94
100
 
132
138
if test $pkg_failed = yes; then
133
139
        _PKG_SHORT_ERRORS_SUPPORTED
134
140
        if test $_pkg_short_errors_supported = yes; then
135
 
                $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`
 
141
                $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
136
142
        else 
137
 
                $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
 
143
                $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
138
144
        fi
139
145
        # Put the nasty error message in config.log where it belongs
140
146
        echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
216
222
        XORG_MACROS_needed_major=`echo $XORG_MACROS_needed_version | sed 's/\..*$//'`
217
223
        XORG_MACROS_needed_minor=`echo $XORG_MACROS_needed_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'`]
218
224
        AC_MSG_CHECKING([if xorg-macros used to generate configure is at least ${XORG_MACROS_needed_major}.${XORG_MACROS_needed_minor}])
219
 
        [XORG_MACROS_version=1.1.5
 
225
        [XORG_MACROS_version=1.1.6
220
226
        XORG_MACROS_major=`echo $XORG_MACROS_version | sed 's/\..*$//'`
221
227
        XORG_MACROS_minor=`echo $XORG_MACROS_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'`]
222
228
        if test $XORG_MACROS_major -ne $XORG_MACROS_needed_major ; then
365
371
XORG_SGML_PATH=$prefix/share/sgml
366
372
HAVE_DEFS_ENT=
367
373
 
368
 
AC_CHECK_FILE([$XORG_SGML_PATH/X11/defs.ent], [HAVE_DEFS_ENT=yes])
 
374
if test x"$cross_compiling" = x"yes" ; then
 
375
  HAVE_DEFS_ENT=no
 
376
else
 
377
  AC_CHECK_FILE([$XORG_SGML_PATH/X11/defs.ent], [HAVE_DEFS_ENT=yes])
 
378
fi
369
379
 
370
380
AC_PATH_PROG(LINUXDOC, linuxdoc)
371
381
AC_PATH_PROG(PS2PDF, ps2pdf)
637
647
        AC_DEFINE_UNQUOTED([PACKAGE_VERSION_MAJOR],
638
648
                [`echo $PACKAGE_VERSION | cut -d . -f 1`],
639
649
                [Major version of this package])
640
 
        PVM=`echo $PACKAGE_VERSION | cut -d . -f 2`
 
650
        PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
641
651
        if test "x$PVM" = "x"; then
642
652
                PVM="0"
643
653
        fi
644
654
        AC_DEFINE_UNQUOTED([PACKAGE_VERSION_MINOR],
645
655
                [$PVM],
646
656
                [Minor version of this package])
647
 
        PVP=`echo $PACKAGE_VERSION | cut -d . -f 3`
 
657
        PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
648
658
        if test "x$PVP" = "x"; then
649
659
                PVP="0"
650
660
        fi
653
663
                [Patch version of this package])
654
664
])
655
665
 
656
 
# Copyright (C) 2002, 2003, 2005  Free Software Foundation, Inc.
 
666
# Copyright (C) 2002, 2003, 2005, 2006, 2007  Free Software Foundation, Inc.
657
667
#
658
668
# This file is free software; the Free Software Foundation
659
669
# gives unlimited permission to copy and/or distribute it,
663
673
# ----------------------------
664
674
# Automake X.Y traces this macro to ensure aclocal.m4 has been
665
675
# generated from the m4 files accompanying Automake X.Y.
666
 
AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
 
676
# (This private macro should not be called outside this file.)
 
677
AC_DEFUN([AM_AUTOMAKE_VERSION],
 
678
[am__api_version='1.10'
 
679
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
 
680
dnl require some minimum version.  Point them to the right macro.
 
681
m4_if([$1], [1.10.1], [],
 
682
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
 
683
])
 
684
 
 
685
# _AM_AUTOCONF_VERSION(VERSION)
 
686
# -----------------------------
 
687
# aclocal traces this macro to find the Autoconf version.
 
688
# This is a private macro too.  Using m4_define simplifies
 
689
# the logic in aclocal, which can simply ignore this definition.
 
690
m4_define([_AM_AUTOCONF_VERSION], [])
667
691
 
668
692
# AM_SET_CURRENT_AUTOMAKE_VERSION
669
693
# -------------------------------
670
 
# Call AM_AUTOMAKE_VERSION so it can be traced.
 
694
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
671
695
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
672
696
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
673
 
         [AM_AUTOMAKE_VERSION([1.9.6])])
 
697
[AM_AUTOMAKE_VERSION([1.10.1])dnl
 
698
m4_ifndef([AC_AUTOCONF_VERSION],
 
699
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
 
700
_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
674
701
 
675
702
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
676
703
 
727
754
 
728
755
# AM_CONDITIONAL                                            -*- Autoconf -*-
729
756
 
730
 
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
 
757
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
731
758
# Free Software Foundation, Inc.
732
759
#
733
760
# This file is free software; the Free Software Foundation
734
761
# gives unlimited permission to copy and/or distribute it,
735
762
# with or without modifications, as long as this notice is preserved.
736
763
 
737
 
# serial 7
 
764
# serial 8
738
765
 
739
766
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
740
767
# -------------------------------------
743
770
[AC_PREREQ(2.52)dnl
744
771
 ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
745
772
        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
746
 
AC_SUBST([$1_TRUE])
747
 
AC_SUBST([$1_FALSE])
 
773
AC_SUBST([$1_TRUE])dnl
 
774
AC_SUBST([$1_FALSE])dnl
 
775
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
 
776
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
748
777
if $2; then
749
778
  $1_TRUE=
750
779
  $1_FALSE='#'
758
787
Usually this means the macro was only invoked conditionally.]])
759
788
fi])])
760
789
 
761
 
 
762
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
 
790
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
763
791
# Free Software Foundation, Inc.
764
792
#
765
793
# This file is free software; the Free Software Foundation
766
794
# gives unlimited permission to copy and/or distribute it,
767
795
# with or without modifications, as long as this notice is preserved.
768
796
 
769
 
# serial 8
 
797
# serial 9
770
798
 
771
799
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
772
800
# written in clear, in which case automake, when reading aclocal.m4,
794
822
ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
795
823
       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
796
824
       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
 
825
       [$1], UPC,  [depcc="$UPC"  am_compiler_list=],
797
826
       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
798
827
                   [depcc="$$1"   am_compiler_list=])
799
828
 
859
888
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
860
889
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
861
890
         >/dev/null 2>conftest.err &&
 
891
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
862
892
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
863
893
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
864
894
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
911
941
  AMDEPBACKSLASH='\'
912
942
fi
913
943
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
914
 
AC_SUBST([AMDEPBACKSLASH])
 
944
AC_SUBST([AMDEPBACKSLASH])dnl
 
945
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
915
946
])
916
947
 
917
948
# Generate code to set up dependency tracking.              -*- Autoconf -*-
936
967
  # some people rename them; so instead we look at the file content.
937
968
  # Grep'ing the first line is not enough: some people post-process
938
969
  # each Makefile.in and add a new line on top of each file to say so.
939
 
  # So let's grep whole file.
940
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
 
970
  # Grep'ing the whole file is not good either: AIX grep has a line
 
971
  # limit of 2048, but all sed's we know have understand at least 4000.
 
972
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
941
973
    dirpart=`AS_DIRNAME("$mf")`
942
974
  else
943
975
    continue
996
1028
 
997
1029
# Do all the work for Automake.                             -*- Autoconf -*-
998
1030
 
999
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
1000
 
# Free Software Foundation, Inc.
 
1031
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
 
1032
# 2005, 2006, 2008 Free Software Foundation, Inc.
1001
1033
#
1002
1034
# This file is free software; the Free Software Foundation
1003
1035
# gives unlimited permission to copy and/or distribute it,
1004
1036
# with or without modifications, as long as this notice is preserved.
1005
1037
 
1006
 
# serial 12
 
1038
# serial 13
1007
1039
 
1008
1040
# This macro actually does too much.  Some checks are only needed if
1009
1041
# your package does certain things.  But this isn't really a big deal.
1020
1052
# arguments mandatory, and then we can depend on a new Autoconf
1021
1053
# release and drop the old call support.
1022
1054
AC_DEFUN([AM_INIT_AUTOMAKE],
1023
 
[AC_PREREQ([2.58])dnl
 
1055
[AC_PREREQ([2.60])dnl
1024
1056
dnl Autoconf wants to disallow AM_ names.  We explicitly allow
1025
1057
dnl the ones we care about.
1026
1058
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
1027
1059
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
1028
1060
AC_REQUIRE([AC_PROG_INSTALL])dnl
1029
 
# test to see if srcdir already configured
1030
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1031
 
   test -f $srcdir/config.status; then
1032
 
  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
 
1061
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
1062
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
1063
  # is not polluted with repeated "-I."
 
1064
  AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
 
1065
  # test to see if srcdir already configured
 
1066
  if test -f $srcdir/config.status; then
 
1067
    AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
 
1068
  fi
1033
1069
fi
1034
1070
 
1035
1071
# test whether we have cygpath
1049
1085
 AC_SUBST([PACKAGE], [$1])dnl
1050
1086
 AC_SUBST([VERSION], [$2])],
1051
1087
[_AM_SET_OPTIONS([$1])dnl
 
1088
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
 
1089
m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
 
1090
  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
1052
1091
 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
1053
1092
 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
1054
1093
 
1084
1123
                  [_AM_DEPENDENCIES(CXX)],
1085
1124
                  [define([AC_PROG_CXX],
1086
1125
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
 
1126
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
 
1127
                  [_AM_DEPENDENCIES(OBJC)],
 
1128
                  [define([AC_PROG_OBJC],
 
1129
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
1087
1130
])
1088
1131
])
1089
1132
 
1097
1140
# our stamp files there.
1098
1141
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
1099
1142
[# Compute $1's index in $config_headers.
 
1143
_am_arg=$1
1100
1144
_am_stamp_count=1
1101
1145
for _am_header in $config_headers :; do
1102
1146
  case $_am_header in
1103
 
    $1 | $1:* )
 
1147
    $_am_arg | $_am_arg:* )
1104
1148
      break ;;
1105
1149
    * )
1106
1150
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1107
1151
  esac
1108
1152
done
1109
 
echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
 
1153
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
1110
1154
 
1111
1155
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
1112
1156
#
1119
1163
# Define $install_sh.
1120
1164
AC_DEFUN([AM_PROG_INSTALL_SH],
1121
1165
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1122
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
1166
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
1123
1167
AC_SUBST(install_sh)])
1124
1168
 
1125
1169
# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
1226
1270
 
1227
1271
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
1228
1272
 
1229
 
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
 
1273
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
1230
1274
# Free Software Foundation, Inc.
1231
1275
#
1232
1276
# This file is free software; the Free Software Foundation
1233
1277
# gives unlimited permission to copy and/or distribute it,
1234
1278
# with or without modifications, as long as this notice is preserved.
1235
1279
 
1236
 
# serial 4
 
1280
# serial 5
1237
1281
 
1238
1282
# AM_MISSING_PROG(NAME, PROGRAM)
1239
1283
# ------------------------------
1249
1293
# If it does, set am_missing_run to use it, otherwise, to nothing.
1250
1294
AC_DEFUN([AM_MISSING_HAS_RUN],
1251
1295
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
 
1296
AC_REQUIRE_AUX_FILE([missing])dnl
1252
1297
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1253
1298
# Use eval to expand $SHELL
1254
1299
if eval "$MISSING --run true"; then
1259
1304
fi
1260
1305
])
1261
1306
 
1262
 
# Copyright (C) 2003, 2004, 2005  Free Software Foundation, Inc.
 
1307
# Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
1263
1308
#
1264
1309
# This file is free software; the Free Software Foundation
1265
1310
# gives unlimited permission to copy and/or distribute it,
1267
1312
 
1268
1313
# AM_PROG_MKDIR_P
1269
1314
# ---------------
1270
 
# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
1271
 
#
1272
 
# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
1273
 
# created by `make install' are always world readable, even if the
1274
 
# installer happens to have an overly restrictive umask (e.g. 077).
1275
 
# This was a mistake.  There are at least two reasons why we must not
1276
 
# use `-m 0755':
1277
 
#   - it causes special bits like SGID to be ignored,
1278
 
#   - it may be too restrictive (some setups expect 775 directories).
1279
 
#
1280
 
# Do not use -m 0755 and let people choose whatever they expect by
1281
 
# setting umask.
1282
 
#
1283
 
# We cannot accept any implementation of `mkdir' that recognizes `-p'.
1284
 
# Some implementations (such as Solaris 8's) are not thread-safe: if a
1285
 
# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
1286
 
# concurrently, both version can detect that a/ is missing, but only
1287
 
# one can create it and the other will error out.  Consequently we
1288
 
# restrict ourselves to GNU make (using the --version option ensures
1289
 
# this.)
 
1315
# Check for `mkdir -p'.
1290
1316
AC_DEFUN([AM_PROG_MKDIR_P],
1291
 
[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1292
 
  # We used to keeping the `.' as first argument, in order to
1293
 
  # allow $(mkdir_p) to be used without argument.  As in
1294
 
  #   $(mkdir_p) $(somedir)
1295
 
  # where $(somedir) is conditionally defined.  However this is wrong
1296
 
  # for two reasons:
1297
 
  #  1. if the package is installed by a user who cannot write `.'
1298
 
  #     make install will fail,
1299
 
  #  2. the above comment should most certainly read
1300
 
  #     $(mkdir_p) $(DESTDIR)$(somedir)
1301
 
  #     so it does not work when $(somedir) is undefined and
1302
 
  #     $(DESTDIR) is not.
1303
 
  #  To support the latter case, we have to write
1304
 
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1305
 
  #  so the `.' trick is pointless.
1306
 
  mkdir_p='mkdir -p --'
1307
 
else
1308
 
  # On NextStep and OpenStep, the `mkdir' command does not
1309
 
  # recognize any option.  It will interpret all options as
1310
 
  # directories to create, and then abort because `.' already
1311
 
  # exists.
1312
 
  for d in ./-p ./--version;
1313
 
  do
1314
 
    test -d $d && rmdir $d
1315
 
  done
1316
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1317
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
1318
 
    mkdir_p='$(mkinstalldirs)'
1319
 
  else
1320
 
    mkdir_p='$(install_sh) -d'
1321
 
  fi
1322
 
fi
1323
 
AC_SUBST([mkdir_p])])
 
1317
[AC_PREREQ([2.60])dnl
 
1318
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
 
1319
dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
 
1320
dnl while keeping a definition of mkdir_p for backward compatibility.
 
1321
dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
 
1322
dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
 
1323
dnl Makefile.ins that do not define MKDIR_P, so we do our own
 
1324
dnl adjustment using top_builddir (which is defined more often than
 
1325
dnl MKDIR_P).
 
1326
AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
 
1327
case $mkdir_p in
 
1328
  [[\\/$]]* | ?:[[\\/]]*) ;;
 
1329
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
1330
esac
 
1331
])
1324
1332
 
1325
1333
# Helper functions for option handling.                     -*- Autoconf -*-
1326
1334
 
1432
1440
if test "$cross_compiling" != no; then
1433
1441
  AC_CHECK_TOOL([STRIP], [strip], :)
1434
1442
fi
1435
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
1443
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1436
1444
AC_SUBST([INSTALL_STRIP_PROGRAM])])
1437
1445
 
 
1446
# Copyright (C) 2006  Free Software Foundation, Inc.
 
1447
#
 
1448
# This file is free software; the Free Software Foundation
 
1449
# gives unlimited permission to copy and/or distribute it,
 
1450
# with or without modifications, as long as this notice is preserved.
 
1451
 
 
1452
# _AM_SUBST_NOTMAKE(VARIABLE)
 
1453
# ---------------------------
 
1454
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
 
1455
# This macro is traced by Automake.
 
1456
AC_DEFUN([_AM_SUBST_NOTMAKE])
 
1457
 
1438
1458
# Check how to create a tarball.                            -*- Autoconf -*-
1439
1459
 
1440
1460
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.