| OLD | NEW |
| 1 # generated automatically by aclocal 1.9.6 -*- Autoconf -*- | 1 # generated automatically by aclocal 1.10.1 -*- Autoconf -*- |
| 2 | 2 |
| 3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 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 # This file is free software; the Free Software Foundation | 5 # This file is free software; the Free Software Foundation |
| 6 # gives unlimited permission to copy and/or distribute it, | 6 # gives unlimited permission to copy and/or distribute it, |
| 7 # with or without modifications, as long as this notice is preserved. | 7 # with or without modifications, as long as this notice is preserved. |
| 8 | 8 |
| 9 # This program is distributed in the hope that it will be useful, | 9 # This program is distributed in the hope that it will be useful, |
| 10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | 10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
| 11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | 11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
| 12 # PARTICULAR PURPOSE. | 12 # PARTICULAR PURPOSE. |
| 13 | 13 |
| 14 # Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. | 14 m4_ifndef([AC_AUTOCONF_VERSION], |
| 15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
| 16 m4_if(AC_AUTOCONF_VERSION, [2.65],, |
| 17 [m4_warning([this file was generated for autoconf 2.65. |
| 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 |
| 22 # Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc. |
| 15 # | 23 # |
| 16 # This file is free software; the Free Software Foundation | 24 # This file is free software; the Free Software Foundation |
| 17 # gives unlimited permission to copy and/or distribute it, | 25 # gives unlimited permission to copy and/or distribute it, |
| 18 # with or without modifications, as long as this notice is preserved. | 26 # with or without modifications, as long as this notice is preserved. |
| 19 | 27 |
| 20 # AM_AUTOMAKE_VERSION(VERSION) | 28 # AM_AUTOMAKE_VERSION(VERSION) |
| 21 # ---------------------------- | 29 # ---------------------------- |
| 22 # Automake X.Y traces this macro to ensure aclocal.m4 has been | 30 # Automake X.Y traces this macro to ensure aclocal.m4 has been |
| 23 # generated from the m4 files accompanying Automake X.Y. | 31 # generated from the m4 files accompanying Automake X.Y. |
| 24 AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) | 32 # (This private macro should not be called outside this file.) |
| 33 AC_DEFUN([AM_AUTOMAKE_VERSION], |
| 34 [am__api_version='1.10' |
| 35 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
| 36 dnl require some minimum version. Point them to the right macro. |
| 37 m4_if([$1], [1.10.1], [], |
| 38 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
| 39 ]) |
| 40 |
| 41 # _AM_AUTOCONF_VERSION(VERSION) |
| 42 # ----------------------------- |
| 43 # aclocal traces this macro to find the Autoconf version. |
| 44 # This is a private macro too. Using m4_define simplifies |
| 45 # the logic in aclocal, which can simply ignore this definition. |
| 46 m4_define([_AM_AUTOCONF_VERSION], []) |
| 25 | 47 |
| 26 # AM_SET_CURRENT_AUTOMAKE_VERSION | 48 # AM_SET_CURRENT_AUTOMAKE_VERSION |
| 27 # ------------------------------- | 49 # ------------------------------- |
| 28 # Call AM_AUTOMAKE_VERSION so it can be traced. | 50 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
| 29 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. | 51 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. |
| 30 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], | 52 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
| 31 » [AM_AUTOMAKE_VERSION([1.9.6])]) | 53 [AM_AUTOMAKE_VERSION([1.10.1])dnl |
| 54 m4_ifndef([AC_AUTOCONF_VERSION], |
| 55 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
| 56 _AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)]) |
| 32 | 57 |
| 33 # AM_AUX_DIR_EXPAND -*- Autoconf -*- | 58 # AM_AUX_DIR_EXPAND -*- Autoconf -*- |
| 34 | 59 |
| 35 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. | 60 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. |
| 36 # | 61 # |
| 37 # This file is free software; the Free Software Foundation | 62 # This file is free software; the Free Software Foundation |
| 38 # gives unlimited permission to copy and/or distribute it, | 63 # gives unlimited permission to copy and/or distribute it, |
| 39 # with or without modifications, as long as this notice is preserved. | 64 # with or without modifications, as long as this notice is preserved. |
| 40 | 65 |
| 41 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets | 66 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 | 103 |
| 79 AC_DEFUN([AM_AUX_DIR_EXPAND], | 104 AC_DEFUN([AM_AUX_DIR_EXPAND], |
| 80 [dnl Rely on autoconf to set up CDPATH properly. | 105 [dnl Rely on autoconf to set up CDPATH properly. |
| 81 AC_PREREQ([2.50])dnl | 106 AC_PREREQ([2.50])dnl |
| 82 # expand $ac_aux_dir to an absolute path | 107 # expand $ac_aux_dir to an absolute path |
| 83 am_aux_dir=`cd $ac_aux_dir && pwd` | 108 am_aux_dir=`cd $ac_aux_dir && pwd` |
| 84 ]) | 109 ]) |
| 85 | 110 |
| 86 # AM_CONDITIONAL -*- Autoconf -*- | 111 # AM_CONDITIONAL -*- Autoconf -*- |
| 87 | 112 |
| 88 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005 | 113 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006 |
| 89 # Free Software Foundation, Inc. | 114 # Free Software Foundation, Inc. |
| 90 # | 115 # |
| 91 # This file is free software; the Free Software Foundation | 116 # This file is free software; the Free Software Foundation |
| 92 # gives unlimited permission to copy and/or distribute it, | 117 # gives unlimited permission to copy and/or distribute it, |
| 93 # with or without modifications, as long as this notice is preserved. | 118 # with or without modifications, as long as this notice is preserved. |
| 94 | 119 |
| 95 # serial 7 | 120 # serial 8 |
| 96 | 121 |
| 97 # AM_CONDITIONAL(NAME, SHELL-CONDITION) | 122 # AM_CONDITIONAL(NAME, SHELL-CONDITION) |
| 98 # ------------------------------------- | 123 # ------------------------------------- |
| 99 # Define a conditional. | 124 # Define a conditional. |
| 100 AC_DEFUN([AM_CONDITIONAL], | 125 AC_DEFUN([AM_CONDITIONAL], |
| 101 [AC_PREREQ(2.52)dnl | 126 [AC_PREREQ(2.52)dnl |
| 102 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], | 127 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], |
| 103 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl | 128 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl |
| 104 AC_SUBST([$1_TRUE]) | 129 AC_SUBST([$1_TRUE])dnl |
| 105 AC_SUBST([$1_FALSE]) | 130 AC_SUBST([$1_FALSE])dnl |
| 131 _AM_SUBST_NOTMAKE([$1_TRUE])dnl |
| 132 _AM_SUBST_NOTMAKE([$1_FALSE])dnl |
| 106 if $2; then | 133 if $2; then |
| 107 $1_TRUE= | 134 $1_TRUE= |
| 108 $1_FALSE='#' | 135 $1_FALSE='#' |
| 109 else | 136 else |
| 110 $1_TRUE='#' | 137 $1_TRUE='#' |
| 111 $1_FALSE= | 138 $1_FALSE= |
| 112 fi | 139 fi |
| 113 AC_CONFIG_COMMANDS_PRE( | 140 AC_CONFIG_COMMANDS_PRE( |
| 114 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then | 141 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then |
| 115 AC_MSG_ERROR([[conditional "$1" was never defined. | 142 AC_MSG_ERROR([[conditional "$1" was never defined. |
| 116 Usually this means the macro was only invoked conditionally.]]) | 143 Usually this means the macro was only invoked conditionally.]]) |
| 117 fi])]) | 144 fi])]) |
| 118 | 145 |
| 119 | 146 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 |
| 120 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 | |
| 121 # Free Software Foundation, Inc. | 147 # Free Software Foundation, Inc. |
| 122 # | 148 # |
| 123 # This file is free software; the Free Software Foundation | 149 # This file is free software; the Free Software Foundation |
| 124 # gives unlimited permission to copy and/or distribute it, | 150 # gives unlimited permission to copy and/or distribute it, |
| 125 # with or without modifications, as long as this notice is preserved. | 151 # with or without modifications, as long as this notice is preserved. |
| 126 | 152 |
| 127 # serial 8 | 153 # serial 9 |
| 128 | 154 |
| 129 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be | 155 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be |
| 130 # written in clear, in which case automake, when reading aclocal.m4, | 156 # written in clear, in which case automake, when reading aclocal.m4, |
| 131 # will think it sees a *use*, and therefore will trigger all it's | 157 # will think it sees a *use*, and therefore will trigger all it's |
| 132 # C support machinery. Also note that it means that autoscan, seeing | 158 # C support machinery. Also note that it means that autoscan, seeing |
| 133 # CC etc. in the Makefile, will ask for an AC_PROG_CC use... | 159 # CC etc. in the Makefile, will ask for an AC_PROG_CC use... |
| 134 | 160 |
| 135 | 161 |
| 136 # _AM_DEPENDENCIES(NAME) | 162 # _AM_DEPENDENCIES(NAME) |
| 137 # ---------------------- | 163 # ---------------------- |
| 138 # See how the compiler implements dependency checking. | 164 # See how the compiler implements dependency checking. |
| 139 # NAME is "CC", "CXX", "GCJ", or "OBJC". | 165 # NAME is "CC", "CXX", "GCJ", or "OBJC". |
| 140 # We try a few techniques and use that to set a single cache variable. | 166 # We try a few techniques and use that to set a single cache variable. |
| 141 # | 167 # |
| 142 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was | 168 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was |
| 143 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular | 169 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular |
| 144 # dependency, and given that the user is not expected to run this macro, | 170 # dependency, and given that the user is not expected to run this macro, |
| 145 # just rely on AC_PROG_CC. | 171 # just rely on AC_PROG_CC. |
| 146 AC_DEFUN([_AM_DEPENDENCIES], | 172 AC_DEFUN([_AM_DEPENDENCIES], |
| 147 [AC_REQUIRE([AM_SET_DEPDIR])dnl | 173 [AC_REQUIRE([AM_SET_DEPDIR])dnl |
| 148 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl | 174 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl |
| 149 AC_REQUIRE([AM_MAKE_INCLUDE])dnl | 175 AC_REQUIRE([AM_MAKE_INCLUDE])dnl |
| 150 AC_REQUIRE([AM_DEP_TRACK])dnl | 176 AC_REQUIRE([AM_DEP_TRACK])dnl |
| 151 | 177 |
| 152 ifelse([$1], CC, [depcc="$CC" am_compiler_list=], | 178 ifelse([$1], CC, [depcc="$CC" am_compiler_list=], |
| 153 [$1], CXX, [depcc="$CXX" am_compiler_list=], | 179 [$1], CXX, [depcc="$CXX" am_compiler_list=], |
| 154 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], | 180 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], |
| 181 [$1], UPC, [depcc="$UPC" am_compiler_list=], |
| 155 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], | 182 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], |
| 156 [depcc="$$1" am_compiler_list=]) | 183 [depcc="$$1" am_compiler_list=]) |
| 157 | 184 |
| 158 AC_CACHE_CHECK([dependency style of $depcc], | 185 AC_CACHE_CHECK([dependency style of $depcc], |
| 159 [am_cv_$1_dependencies_compiler_type], | 186 [am_cv_$1_dependencies_compiler_type], |
| 160 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | 187 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
| 161 # We make a subdir and do the tests there. Otherwise we can end up | 188 # We make a subdir and do the tests there. Otherwise we can end up |
| 162 # making bogus files that we don't know about and never remove. For | 189 # making bogus files that we don't know about and never remove. For |
| 163 # instance it was reported that on HP-UX the gcc test will end up | 190 # instance it was reported that on HP-UX the gcc test will end up |
| 164 # making a dummy file named `D' -- because `-MD' means `put the output | 191 # making a dummy file named `D' -- because `-MD' means `put the output |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 none) break ;; | 237 none) break ;; |
| 211 esac | 238 esac |
| 212 # We check with `-c' and `-o' for the sake of the "dashmstdout" | 239 # We check with `-c' and `-o' for the sake of the "dashmstdout" |
| 213 # mode. It turns out that the SunPro C++ compiler does not properly | 240 # mode. It turns out that the SunPro C++ compiler does not properly |
| 214 # handle `-M -o', and we need to detect this. | 241 # handle `-M -o', and we need to detect this. |
| 215 if depmode=$depmode \ | 242 if depmode=$depmode \ |
| 216 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ | 243 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
| 217 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | 244 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
| 218 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ | 245 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
| 219 >/dev/null 2>conftest.err && | 246 >/dev/null 2>conftest.err && |
| 247 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
| 220 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | 248 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
| 221 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && | 249 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
| 222 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | 250 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
| 223 # icc doesn't choke on unknown options, it will just issue warnings | 251 # icc doesn't choke on unknown options, it will just issue warnings |
| 224 # or remarks (even with -Werror). So we grep stderr for any message | 252 # or remarks (even with -Werror). So we grep stderr for any message |
| 225 # that says an option was ignored or not supported. | 253 # that says an option was ignored or not supported. |
| 226 # When given -MP, icc 7.0 and 7.1 complain thusly: | 254 # When given -MP, icc 7.0 and 7.1 complain thusly: |
| 227 # icc: Command line warning: ignoring option '-M'; no argument required | 255 # icc: Command line warning: ignoring option '-M'; no argument required |
| 228 # The diagnosis changed in icc 8.0: | 256 # The diagnosis changed in icc 8.0: |
| 229 # icc: Command line remark: option '-MP' not supported | 257 # icc: Command line remark: option '-MP' not supported |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 # ------------ | 290 # ------------ |
| 263 AC_DEFUN([AM_DEP_TRACK], | 291 AC_DEFUN([AM_DEP_TRACK], |
| 264 [AC_ARG_ENABLE(dependency-tracking, | 292 [AC_ARG_ENABLE(dependency-tracking, |
| 265 [ --disable-dependency-tracking speeds up one-time build | 293 [ --disable-dependency-tracking speeds up one-time build |
| 266 --enable-dependency-tracking do not reject slow dependency extractors]) | 294 --enable-dependency-tracking do not reject slow dependency extractors]) |
| 267 if test "x$enable_dependency_tracking" != xno; then | 295 if test "x$enable_dependency_tracking" != xno; then |
| 268 am_depcomp="$ac_aux_dir/depcomp" | 296 am_depcomp="$ac_aux_dir/depcomp" |
| 269 AMDEPBACKSLASH='\' | 297 AMDEPBACKSLASH='\' |
| 270 fi | 298 fi |
| 271 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) | 299 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) |
| 272 AC_SUBST([AMDEPBACKSLASH]) | 300 AC_SUBST([AMDEPBACKSLASH])dnl |
| 301 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl |
| 273 ]) | 302 ]) |
| 274 | 303 |
| 275 # Generate code to set up dependency tracking. -*- Autoconf -*- | 304 # Generate code to set up dependency tracking. -*- Autoconf -*- |
| 276 | 305 |
| 277 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 | 306 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 |
| 278 # Free Software Foundation, Inc. | 307 # Free Software Foundation, Inc. |
| 279 # | 308 # |
| 280 # This file is free software; the Free Software Foundation | 309 # This file is free software; the Free Software Foundation |
| 281 # gives unlimited permission to copy and/or distribute it, | 310 # gives unlimited permission to copy and/or distribute it, |
| 282 # with or without modifications, as long as this notice is preserved. | 311 # with or without modifications, as long as this notice is preserved. |
| 283 | 312 |
| 284 #serial 3 | 313 #serial 3 |
| 285 | 314 |
| 286 # _AM_OUTPUT_DEPENDENCY_COMMANDS | 315 # _AM_OUTPUT_DEPENDENCY_COMMANDS |
| 287 # ------------------------------ | 316 # ------------------------------ |
| 288 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], | 317 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], |
| 289 [for mf in $CONFIG_FILES; do | 318 [for mf in $CONFIG_FILES; do |
| 290 # Strip MF so we end up with the name of the file. | 319 # Strip MF so we end up with the name of the file. |
| 291 mf=`echo "$mf" | sed -e 's/:.*$//'` | 320 mf=`echo "$mf" | sed -e 's/:.*$//'` |
| 292 # Check whether this is an Automake generated Makefile or not. | 321 # Check whether this is an Automake generated Makefile or not. |
| 293 # We used to match only the files named `Makefile.in', but | 322 # We used to match only the files named `Makefile.in', but |
| 294 # some people rename them; so instead we look at the file content. | 323 # some people rename them; so instead we look at the file content. |
| 295 # Grep'ing the first line is not enough: some people post-process | 324 # Grep'ing the first line is not enough: some people post-process |
| 296 # each Makefile.in and add a new line on top of each file to say so. | 325 # each Makefile.in and add a new line on top of each file to say so. |
| 297 # So let's grep whole file. | 326 # Grep'ing the whole file is not good either: AIX grep has a line |
| 298 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then | 327 # limit of 2048, but all sed's we know have understand at least 4000. |
| 328 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1;
then |
| 299 dirpart=`AS_DIRNAME("$mf")` | 329 dirpart=`AS_DIRNAME("$mf")` |
| 300 else | 330 else |
| 301 continue | 331 continue |
| 302 fi | 332 fi |
| 303 # Extract the definition of DEPDIR, am__include, and am__quote | 333 # Extract the definition of DEPDIR, am__include, and am__quote |
| 304 # from the Makefile without running `make'. | 334 # from the Makefile without running `make'. |
| 305 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | 335 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
| 306 test -z "$DEPDIR" && continue | 336 test -z "$DEPDIR" && continue |
| 307 am__include=`sed -n 's/^am__include = //p' < "$mf"` | 337 am__include=`sed -n 's/^am__include = //p' < "$mf"` |
| 308 test -z "am__include" && continue | 338 test -z "am__include" && continue |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 # gives unlimited permission to copy and/or distribute it, | 377 # gives unlimited permission to copy and/or distribute it, |
| 348 # with or without modifications, as long as this notice is preserved. | 378 # with or without modifications, as long as this notice is preserved. |
| 349 | 379 |
| 350 # serial 8 | 380 # serial 8 |
| 351 | 381 |
| 352 # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. | 382 # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. |
| 353 AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) | 383 AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) |
| 354 | 384 |
| 355 # Do all the work for Automake. -*- Autoconf -*- | 385 # Do all the work for Automake. -*- Autoconf -*- |
| 356 | 386 |
| 357 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 | 387 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
| 358 # Free Software Foundation, Inc. | 388 # 2005, 2006, 2008 Free Software Foundation, Inc. |
| 359 # | 389 # |
| 360 # This file is free software; the Free Software Foundation | 390 # This file is free software; the Free Software Foundation |
| 361 # gives unlimited permission to copy and/or distribute it, | 391 # gives unlimited permission to copy and/or distribute it, |
| 362 # with or without modifications, as long as this notice is preserved. | 392 # with or without modifications, as long as this notice is preserved. |
| 363 | 393 |
| 364 # serial 12 | 394 # serial 13 |
| 365 | 395 |
| 366 # This macro actually does too much. Some checks are only needed if | 396 # This macro actually does too much. Some checks are only needed if |
| 367 # your package does certain things. But this isn't really a big deal. | 397 # your package does certain things. But this isn't really a big deal. |
| 368 | 398 |
| 369 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) | 399 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) |
| 370 # AM_INIT_AUTOMAKE([OPTIONS]) | 400 # AM_INIT_AUTOMAKE([OPTIONS]) |
| 371 # ----------------------------------------------- | 401 # ----------------------------------------------- |
| 372 # The call with PACKAGE and VERSION arguments is the old style | 402 # The call with PACKAGE and VERSION arguments is the old style |
| 373 # call (pre autoconf-2.50), which is being phased out. PACKAGE | 403 # call (pre autoconf-2.50), which is being phased out. PACKAGE |
| 374 # and VERSION should now be passed to AC_INIT and removed from | 404 # and VERSION should now be passed to AC_INIT and removed from |
| 375 # the call to AM_INIT_AUTOMAKE. | 405 # the call to AM_INIT_AUTOMAKE. |
| 376 # We support both call styles for the transition. After | 406 # We support both call styles for the transition. After |
| 377 # the next Automake release, Autoconf can make the AC_INIT | 407 # the next Automake release, Autoconf can make the AC_INIT |
| 378 # arguments mandatory, and then we can depend on a new Autoconf | 408 # arguments mandatory, and then we can depend on a new Autoconf |
| 379 # release and drop the old call support. | 409 # release and drop the old call support. |
| 380 AC_DEFUN([AM_INIT_AUTOMAKE], | 410 AC_DEFUN([AM_INIT_AUTOMAKE], |
| 381 [AC_PREREQ([2.58])dnl | 411 [AC_PREREQ([2.60])dnl |
| 382 dnl Autoconf wants to disallow AM_ names. We explicitly allow | 412 dnl Autoconf wants to disallow AM_ names. We explicitly allow |
| 383 dnl the ones we care about. | 413 dnl the ones we care about. |
| 384 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl | 414 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl |
| 385 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl | 415 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl |
| 386 AC_REQUIRE([AC_PROG_INSTALL])dnl | 416 AC_REQUIRE([AC_PROG_INSTALL])dnl |
| 387 # test to see if srcdir already configured | 417 if test "`cd $srcdir && pwd`" != "`pwd`"; then |
| 388 if test "`cd $srcdir && pwd`" != "`pwd`" && | 418 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
| 389 test -f $srcdir/config.status; then | 419 # is not polluted with repeated "-I." |
| 390 AC_MSG_ERROR([source directory already configured; run "make distclean" there
first]) | 420 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl |
| 421 # test to see if srcdir already configured |
| 422 if test -f $srcdir/config.status; then |
| 423 AC_MSG_ERROR([source directory already configured; run "make distclean" ther
e first]) |
| 424 fi |
| 391 fi | 425 fi |
| 392 | 426 |
| 393 # test whether we have cygpath | 427 # test whether we have cygpath |
| 394 if test -z "$CYGPATH_W"; then | 428 if test -z "$CYGPATH_W"; then |
| 395 if (cygpath --version) >/dev/null 2>/dev/null; then | 429 if (cygpath --version) >/dev/null 2>/dev/null; then |
| 396 CYGPATH_W='cygpath -w' | 430 CYGPATH_W='cygpath -w' |
| 397 else | 431 else |
| 398 CYGPATH_W=echo | 432 CYGPATH_W=echo |
| 399 fi | 433 fi |
| 400 fi | 434 fi |
| 401 AC_SUBST([CYGPATH_W]) | 435 AC_SUBST([CYGPATH_W]) |
| 402 | 436 |
| 403 # Define the identity of the package. | 437 # Define the identity of the package. |
| 404 dnl Distinguish between old-style and new-style calls. | 438 dnl Distinguish between old-style and new-style calls. |
| 405 m4_ifval([$2], | 439 m4_ifval([$2], |
| 406 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl | 440 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl |
| 407 AC_SUBST([PACKAGE], [$1])dnl | 441 AC_SUBST([PACKAGE], [$1])dnl |
| 408 AC_SUBST([VERSION], [$2])], | 442 AC_SUBST([VERSION], [$2])], |
| 409 [_AM_SET_OPTIONS([$1])dnl | 443 [_AM_SET_OPTIONS([$1])dnl |
| 444 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. |
| 445 m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, |
| 446 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl |
| 410 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl | 447 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl |
| 411 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl | 448 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl |
| 412 | 449 |
| 413 _AM_IF_OPTION([no-define],, | 450 _AM_IF_OPTION([no-define],, |
| 414 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) | 451 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) |
| 415 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl | 452 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl |
| 416 | 453 |
| 417 # Some tools Automake needs. | 454 # Some tools Automake needs. |
| 418 AC_REQUIRE([AM_SANITY_CHECK])dnl | 455 AC_REQUIRE([AM_SANITY_CHECK])dnl |
| 419 AC_REQUIRE([AC_ARG_PROGRAM])dnl | 456 AC_REQUIRE([AC_ARG_PROGRAM])dnl |
| (...skipping 15 matching lines...) Expand all Loading... |
| 435 [_AM_PROG_TAR([v7])])]) | 472 [_AM_PROG_TAR([v7])])]) |
| 436 _AM_IF_OPTION([no-dependencies],, | 473 _AM_IF_OPTION([no-dependencies],, |
| 437 [AC_PROVIDE_IFELSE([AC_PROG_CC], | 474 [AC_PROVIDE_IFELSE([AC_PROG_CC], |
| 438 [_AM_DEPENDENCIES(CC)], | 475 [_AM_DEPENDENCIES(CC)], |
| 439 [define([AC_PROG_CC], | 476 [define([AC_PROG_CC], |
| 440 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl | 477 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl |
| 441 AC_PROVIDE_IFELSE([AC_PROG_CXX], | 478 AC_PROVIDE_IFELSE([AC_PROG_CXX], |
| 442 [_AM_DEPENDENCIES(CXX)], | 479 [_AM_DEPENDENCIES(CXX)], |
| 443 [define([AC_PROG_CXX], | 480 [define([AC_PROG_CXX], |
| 444 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl | 481 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl |
| 482 AC_PROVIDE_IFELSE([AC_PROG_OBJC], |
| 483 [_AM_DEPENDENCIES(OBJC)], |
| 484 [define([AC_PROG_OBJC], |
| 485 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl |
| 445 ]) | 486 ]) |
| 446 ]) | 487 ]) |
| 447 | 488 |
| 448 | 489 |
| 449 # When config.status generates a header, we must update the stamp-h file. | 490 # When config.status generates a header, we must update the stamp-h file. |
| 450 # This file resides in the same directory as the config header | 491 # This file resides in the same directory as the config header |
| 451 # that is generated. The stamp files are numbered to have different names. | 492 # that is generated. The stamp files are numbered to have different names. |
| 452 | 493 |
| 453 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the | 494 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the |
| 454 # loop where config.status creates the headers, so we can generate | 495 # loop where config.status creates the headers, so we can generate |
| 455 # our stamp files there. | 496 # our stamp files there. |
| 456 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], | 497 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], |
| 457 [# Compute $1's index in $config_headers. | 498 [# Compute $1's index in $config_headers. |
| 499 _am_arg=$1 |
| 458 _am_stamp_count=1 | 500 _am_stamp_count=1 |
| 459 for _am_header in $config_headers :; do | 501 for _am_header in $config_headers :; do |
| 460 case $_am_header in | 502 case $_am_header in |
| 461 $1 | $1:* ) | 503 $_am_arg | $_am_arg:* ) |
| 462 break ;; | 504 break ;; |
| 463 * ) | 505 * ) |
| 464 _am_stamp_count=`expr $_am_stamp_count + 1` ;; | 506 _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
| 465 esac | 507 esac |
| 466 done | 508 done |
| 467 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) | 509 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_co
unt]) |
| 468 | 510 |
| 469 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. | 511 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. |
| 470 # | 512 # |
| 471 # This file is free software; the Free Software Foundation | 513 # This file is free software; the Free Software Foundation |
| 472 # gives unlimited permission to copy and/or distribute it, | 514 # gives unlimited permission to copy and/or distribute it, |
| 473 # with or without modifications, as long as this notice is preserved. | 515 # with or without modifications, as long as this notice is preserved. |
| 474 | 516 |
| 475 # AM_PROG_INSTALL_SH | 517 # AM_PROG_INSTALL_SH |
| 476 # ------------------ | 518 # ------------------ |
| 477 # Define $install_sh. | 519 # Define $install_sh. |
| 478 AC_DEFUN([AM_PROG_INSTALL_SH], | 520 AC_DEFUN([AM_PROG_INSTALL_SH], |
| 479 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | 521 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
| 480 install_sh=${install_sh-"$am_aux_dir/install-sh"} | 522 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} |
| 481 AC_SUBST(install_sh)]) | 523 AC_SUBST(install_sh)]) |
| 482 | 524 |
| 483 # Copyright (C) 2003, 2005 Free Software Foundation, Inc. | 525 # Copyright (C) 2003, 2005 Free Software Foundation, Inc. |
| 484 # | 526 # |
| 485 # This file is free software; the Free Software Foundation | 527 # This file is free software; the Free Software Foundation |
| 486 # gives unlimited permission to copy and/or distribute it, | 528 # gives unlimited permission to copy and/or distribute it, |
| 487 # with or without modifications, as long as this notice is preserved. | 529 # with or without modifications, as long as this notice is preserved. |
| 488 | 530 |
| 489 # serial 2 | 531 # serial 2 |
| 490 | 532 |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 546 am__quote="\"" | 588 am__quote="\"" |
| 547 _am_result=BSD | 589 _am_result=BSD |
| 548 fi | 590 fi |
| 549 fi | 591 fi |
| 550 AC_SUBST([am__include]) | 592 AC_SUBST([am__include]) |
| 551 AC_SUBST([am__quote]) | 593 AC_SUBST([am__quote]) |
| 552 AC_MSG_RESULT([$_am_result]) | 594 AC_MSG_RESULT([$_am_result]) |
| 553 rm -f confinc confmf | 595 rm -f confinc confmf |
| 554 ]) | 596 ]) |
| 555 | 597 |
| 556 # Copyright (C) 1999, 2000, 2001, 2003, 2005 Free Software Foundation, Inc. | 598 # Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005 |
| 599 # Free Software Foundation, Inc. |
| 557 # | 600 # |
| 558 # This file is free software; the Free Software Foundation | 601 # This file is free software; the Free Software Foundation |
| 559 # gives unlimited permission to copy and/or distribute it, | 602 # gives unlimited permission to copy and/or distribute it, |
| 560 # with or without modifications, as long as this notice is preserved. | 603 # with or without modifications, as long as this notice is preserved. |
| 561 | 604 |
| 562 # serial 3 | 605 # serial 5 |
| 563 | 606 |
| 564 # AM_PROG_CC_C_O | 607 # AM_PROG_CC_C_O |
| 565 # -------------- | 608 # -------------- |
| 566 # Like AC_PROG_CC_C_O, but changed for automake. | 609 # Like AC_PROG_CC_C_O, but changed for automake. |
| 567 AC_DEFUN([AM_PROG_CC_C_O], | 610 AC_DEFUN([AM_PROG_CC_C_O], |
| 568 [AC_REQUIRE([AC_PROG_CC_C_O])dnl | 611 [AC_REQUIRE([AC_PROG_CC_C_O])dnl |
| 569 AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | 612 AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
| 613 AC_REQUIRE_AUX_FILE([compile])dnl |
| 570 # FIXME: we rely on the cache variable name because | 614 # FIXME: we rely on the cache variable name because |
| 571 # there is no other way. | 615 # there is no other way. |
| 572 set dummy $CC | 616 set dummy $CC |
| 573 ac_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']` | 617 ac_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']` |
| 574 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then | 618 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then |
| 575 # Losing compiler, so override with the script. | 619 # Losing compiler, so override with the script. |
| 576 # FIXME: It is wrong to rewrite CC. | 620 # FIXME: It is wrong to rewrite CC. |
| 577 # But if we don't then we get into trouble of one sort or another. | 621 # But if we don't then we get into trouble of one sort or another. |
| 578 # A longer-term fix would be to have automake use am__CC in this case, | 622 # A longer-term fix would be to have automake use am__CC in this case, |
| 579 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" | 623 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
| 580 CC="$am_aux_dir/compile $CC" | 624 CC="$am_aux_dir/compile $CC" |
| 581 fi | 625 fi |
| 626 dnl Make sure AC_PROG_CC is never called again, or it will override our |
| 627 dnl setting of CC. |
| 628 m4_define([AC_PROG_CC], |
| 629 [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])]) |
| 582 ]) | 630 ]) |
| 583 | 631 |
| 584 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- | 632 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- |
| 585 | 633 |
| 586 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005 | 634 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005 |
| 587 # Free Software Foundation, Inc. | 635 # Free Software Foundation, Inc. |
| 588 # | 636 # |
| 589 # This file is free software; the Free Software Foundation | 637 # This file is free software; the Free Software Foundation |
| 590 # gives unlimited permission to copy and/or distribute it, | 638 # gives unlimited permission to copy and/or distribute it, |
| 591 # with or without modifications, as long as this notice is preserved. | 639 # with or without modifications, as long as this notice is preserved. |
| 592 | 640 |
| 593 # serial 4 | 641 # serial 5 |
| 594 | 642 |
| 595 # AM_MISSING_PROG(NAME, PROGRAM) | 643 # AM_MISSING_PROG(NAME, PROGRAM) |
| 596 # ------------------------------ | 644 # ------------------------------ |
| 597 AC_DEFUN([AM_MISSING_PROG], | 645 AC_DEFUN([AM_MISSING_PROG], |
| 598 [AC_REQUIRE([AM_MISSING_HAS_RUN]) | 646 [AC_REQUIRE([AM_MISSING_HAS_RUN]) |
| 599 $1=${$1-"${am_missing_run}$2"} | 647 $1=${$1-"${am_missing_run}$2"} |
| 600 AC_SUBST($1)]) | 648 AC_SUBST($1)]) |
| 601 | 649 |
| 602 | 650 |
| 603 # AM_MISSING_HAS_RUN | 651 # AM_MISSING_HAS_RUN |
| 604 # ------------------ | 652 # ------------------ |
| 605 # Define MISSING if not defined so far and test if it supports --run. | 653 # Define MISSING if not defined so far and test if it supports --run. |
| 606 # If it does, set am_missing_run to use it, otherwise, to nothing. | 654 # If it does, set am_missing_run to use it, otherwise, to nothing. |
| 607 AC_DEFUN([AM_MISSING_HAS_RUN], | 655 AC_DEFUN([AM_MISSING_HAS_RUN], |
| 608 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | 656 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
| 657 AC_REQUIRE_AUX_FILE([missing])dnl |
| 609 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" | 658 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" |
| 610 # Use eval to expand $SHELL | 659 # Use eval to expand $SHELL |
| 611 if eval "$MISSING --run true"; then | 660 if eval "$MISSING --run true"; then |
| 612 am_missing_run="$MISSING --run " | 661 am_missing_run="$MISSING --run " |
| 613 else | 662 else |
| 614 am_missing_run= | 663 am_missing_run= |
| 615 AC_MSG_WARN([`missing' script is too old or missing]) | 664 AC_MSG_WARN([`missing' script is too old or missing]) |
| 616 fi | 665 fi |
| 617 ]) | 666 ]) |
| 618 | 667 |
| 619 # Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. | 668 # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
| 620 # | 669 # |
| 621 # This file is free software; the Free Software Foundation | 670 # This file is free software; the Free Software Foundation |
| 622 # gives unlimited permission to copy and/or distribute it, | 671 # gives unlimited permission to copy and/or distribute it, |
| 623 # with or without modifications, as long as this notice is preserved. | 672 # with or without modifications, as long as this notice is preserved. |
| 624 | 673 |
| 625 # AM_PROG_MKDIR_P | 674 # AM_PROG_MKDIR_P |
| 626 # --------------- | 675 # --------------- |
| 627 # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. | 676 # Check for `mkdir -p'. |
| 628 # | |
| 629 # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories | |
| 630 # created by `make install' are always world readable, even if the | |
| 631 # installer happens to have an overly restrictive umask (e.g. 077). | |
| 632 # This was a mistake. There are at least two reasons why we must not | |
| 633 # use `-m 0755': | |
| 634 # - it causes special bits like SGID to be ignored, | |
| 635 # - it may be too restrictive (some setups expect 775 directories). | |
| 636 # | |
| 637 # Do not use -m 0755 and let people choose whatever they expect by | |
| 638 # setting umask. | |
| 639 # | |
| 640 # We cannot accept any implementation of `mkdir' that recognizes `-p'. | |
| 641 # Some implementations (such as Solaris 8's) are not thread-safe: if a | |
| 642 # parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c' | |
| 643 # concurrently, both version can detect that a/ is missing, but only | |
| 644 # one can create it and the other will error out. Consequently we | |
| 645 # restrict ourselves to GNU make (using the --version option ensures | |
| 646 # this.) | |
| 647 AC_DEFUN([AM_PROG_MKDIR_P], | 677 AC_DEFUN([AM_PROG_MKDIR_P], |
| 648 [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then | 678 [AC_PREREQ([2.60])dnl |
| 649 # We used to keeping the `.' as first argument, in order to | 679 AC_REQUIRE([AC_PROG_MKDIR_P])dnl |
| 650 # allow $(mkdir_p) to be used without argument. As in | 680 dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, |
| 651 # $(mkdir_p) $(somedir) | 681 dnl while keeping a definition of mkdir_p for backward compatibility. |
| 652 # where $(somedir) is conditionally defined. However this is wrong | 682 dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. |
| 653 # for two reasons: | 683 dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of |
| 654 # 1. if the package is installed by a user who cannot write `.' | 684 dnl Makefile.ins that do not define MKDIR_P, so we do our own |
| 655 # make install will fail, | 685 dnl adjustment using top_builddir (which is defined more often than |
| 656 # 2. the above comment should most certainly read | 686 dnl MKDIR_P). |
| 657 # $(mkdir_p) $(DESTDIR)$(somedir) | 687 AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl |
| 658 # so it does not work when $(somedir) is undefined and | 688 case $mkdir_p in |
| 659 # $(DESTDIR) is not. | 689 [[\\/$]]* | ?:[[\\/]]*) ;; |
| 660 # To support the latter case, we have to write | 690 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
| 661 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), | 691 esac |
| 662 # so the `.' trick is pointless. | 692 ]) |
| 663 mkdir_p='mkdir -p --' | |
| 664 else | |
| 665 # On NextStep and OpenStep, the `mkdir' command does not | |
| 666 # recognize any option. It will interpret all options as | |
| 667 # directories to create, and then abort because `.' already | |
| 668 # exists. | |
| 669 for d in ./-p ./--version; | |
| 670 do | |
| 671 test -d $d && rmdir $d | |
| 672 done | |
| 673 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. | |
| 674 if test -f "$ac_aux_dir/mkinstalldirs"; then | |
| 675 mkdir_p='$(mkinstalldirs)' | |
| 676 else | |
| 677 mkdir_p='$(install_sh) -d' | |
| 678 fi | |
| 679 fi | |
| 680 AC_SUBST([mkdir_p])]) | |
| 681 | 693 |
| 682 # Helper functions for option handling. -*- Autoconf -*- | 694 # Helper functions for option handling. -*- Autoconf -*- |
| 683 | 695 |
| 684 # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. | 696 # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. |
| 685 # | 697 # |
| 686 # This file is free software; the Free Software Foundation | 698 # This file is free software; the Free Software Foundation |
| 687 # gives unlimited permission to copy and/or distribute it, | 699 # gives unlimited permission to copy and/or distribute it, |
| 688 # with or without modifications, as long as this notice is preserved. | 700 # with or without modifications, as long as this notice is preserved. |
| 689 | 701 |
| 690 # serial 3 | 702 # serial 3 |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 782 AC_DEFUN([AM_PROG_INSTALL_STRIP], | 794 AC_DEFUN([AM_PROG_INSTALL_STRIP], |
| 783 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl | 795 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
| 784 # Installed binaries are usually stripped using `strip' when the user | 796 # Installed binaries are usually stripped using `strip' when the user |
| 785 # run `make install-strip'. However `strip' might not be the right | 797 # run `make install-strip'. However `strip' might not be the right |
| 786 # tool to use in cross-compilation environments, therefore Automake | 798 # tool to use in cross-compilation environments, therefore Automake |
| 787 # will honor the `STRIP' environment variable to overrule this program. | 799 # will honor the `STRIP' environment variable to overrule this program. |
| 788 dnl Don't test for $cross_compiling = yes, because it might be `maybe'. | 800 dnl Don't test for $cross_compiling = yes, because it might be `maybe'. |
| 789 if test "$cross_compiling" != no; then | 801 if test "$cross_compiling" != no; then |
| 790 AC_CHECK_TOOL([STRIP], [strip], :) | 802 AC_CHECK_TOOL([STRIP], [strip], :) |
| 791 fi | 803 fi |
| 792 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" | 804 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
| 793 AC_SUBST([INSTALL_STRIP_PROGRAM])]) | 805 AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
| 794 | 806 |
| 807 # Copyright (C) 2006 Free Software Foundation, Inc. |
| 808 # |
| 809 # This file is free software; the Free Software Foundation |
| 810 # gives unlimited permission to copy and/or distribute it, |
| 811 # with or without modifications, as long as this notice is preserved. |
| 812 |
| 813 # _AM_SUBST_NOTMAKE(VARIABLE) |
| 814 # --------------------------- |
| 815 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. |
| 816 # This macro is traced by Automake. |
| 817 AC_DEFUN([_AM_SUBST_NOTMAKE]) |
| 818 |
| 795 # Check how to create a tarball. -*- Autoconf -*- | 819 # Check how to create a tarball. -*- Autoconf -*- |
| 796 | 820 |
| 797 # Copyright (C) 2004, 2005 Free Software Foundation, Inc. | 821 # Copyright (C) 2004, 2005 Free Software Foundation, Inc. |
| 798 # | 822 # |
| 799 # This file is free software; the Free Software Foundation | 823 # This file is free software; the Free Software Foundation |
| 800 # gives unlimited permission to copy and/or distribute it, | 824 # gives unlimited permission to copy and/or distribute it, |
| 801 # with or without modifications, as long as this notice is preserved. | 825 # with or without modifications, as long as this notice is preserved. |
| 802 | 826 |
| 803 # serial 2 | 827 # serial 2 |
| 804 | 828 |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 895 m4_include([m4/install_prefix.m4]) | 919 m4_include([m4/install_prefix.m4]) |
| 896 m4_include([m4/libtool.m4]) | 920 m4_include([m4/libtool.m4]) |
| 897 m4_include([m4/ltoptions.m4]) | 921 m4_include([m4/ltoptions.m4]) |
| 898 m4_include([m4/ltsugar.m4]) | 922 m4_include([m4/ltsugar.m4]) |
| 899 m4_include([m4/ltversion.m4]) | 923 m4_include([m4/ltversion.m4]) |
| 900 m4_include([m4/lt~obsolete.m4]) | 924 m4_include([m4/lt~obsolete.m4]) |
| 901 m4_include([m4/namespaces.m4]) | 925 m4_include([m4/namespaces.m4]) |
| 902 m4_include([m4/pc_from_ucontext.m4]) | 926 m4_include([m4/pc_from_ucontext.m4]) |
| 903 m4_include([m4/program_invocation_name.m4]) | 927 m4_include([m4/program_invocation_name.m4]) |
| 904 m4_include([m4/stl_namespace.m4]) | 928 m4_include([m4/stl_namespace.m4]) |
| OLD | NEW |