Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Side by Side Diff: aclocal.m4

Issue 11358153: Update libmtp from pre 1.1.4 git to 1.1.5 release. (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/libmtp/
Patch Set: disable mptz Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « README ('k') | config.h » ('j') | config.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # generated automatically by aclocal 1.11.3 -*- Autoconf -*- 1 # generated automatically by aclocal 1.11.3 -*- 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, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, 4 # 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
5 # Inc. 5 # Inc.
6 # This file is free software; the Free Software Foundation 6 # This file is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it, 7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved. 8 # with or without modifications, as long as this notice is preserved.
9 9
10 # This program is distributed in the hope that it will be useful, 10 # This program is distributed in the hope that it will be useful,
(...skipping 1141 matching lines...) Expand 10 before | Expand all | Expand 10 after
1152 # 1152 #
1153 # As a special exception to the GNU General Public License, if you 1153 # As a special exception to the GNU General Public License, if you
1154 # distribute this file as part of a program that contains a 1154 # distribute this file as part of a program that contains a
1155 # configuration script generated by Autoconf, you may include it under 1155 # configuration script generated by Autoconf, you may include it under
1156 # the same distribution terms that you use for the rest of that program. 1156 # the same distribution terms that you use for the rest of that program.
1157 1157
1158 # PKG_PROG_PKG_CONFIG([MIN-VERSION]) 1158 # PKG_PROG_PKG_CONFIG([MIN-VERSION])
1159 # ---------------------------------- 1159 # ----------------------------------
1160 AC_DEFUN([PKG_PROG_PKG_CONFIG], 1160 AC_DEFUN([PKG_PROG_PKG_CONFIG],
1161 [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) 1161 [m4_pattern_forbid([^_?PKG_[A-Z_]+$])
1162 m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIB S)))?$]) 1162 m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
1163 m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
1164 AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) 1163 AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
1165 AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) 1164 AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
1166 AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search pa th]) 1165 AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search pa th])
1167 1166
1168 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 1167 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
1169 AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) 1168 AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
1170 fi 1169 fi
1171 if test -n "$PKG_CONFIG"; then 1170 if test -n "$PKG_CONFIG"; then
1172 _pkg_min_version=m4_default([$1], [0.9.0]) 1171 _pkg_min_version=m4_default([$1], [0.9.0])
1173 AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) 1172 AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
(...skipping 25 matching lines...) Expand all
1199 $3])dnl 1198 $3])dnl
1200 fi]) 1199 fi])
1201 1200
1202 # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) 1201 # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
1203 # --------------------------------------------- 1202 # ---------------------------------------------
1204 m4_define([_PKG_CONFIG], 1203 m4_define([_PKG_CONFIG],
1205 [if test -n "$$1"; then 1204 [if test -n "$$1"; then
1206 pkg_cv_[]$1="$$1" 1205 pkg_cv_[]$1="$$1"
1207 elif test -n "$PKG_CONFIG"; then 1206 elif test -n "$PKG_CONFIG"; then
1208 PKG_CHECK_EXISTS([$3], 1207 PKG_CHECK_EXISTS([$3],
1209 [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` 1208 [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
1210 » » test "x$?" != "x0" && pkg_failed=yes ],
1211 [pkg_failed=yes]) 1209 [pkg_failed=yes])
1212 else 1210 else
1213 pkg_failed=untried 1211 pkg_failed=untried
1214 fi[]dnl 1212 fi[]dnl
1215 ])# _PKG_CONFIG 1213 ])# _PKG_CONFIG
1216 1214
1217 # _PKG_SHORT_ERRORS_SUPPORTED 1215 # _PKG_SHORT_ERRORS_SUPPORTED
1218 # ----------------------------- 1216 # -----------------------------
1219 AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], 1217 AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
1220 [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) 1218 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])
(...skipping 27 matching lines...) Expand all
1248 _PKG_CONFIG([$1][_LIBS], [libs], [$2]) 1246 _PKG_CONFIG([$1][_LIBS], [libs], [$2])
1249 1247
1250 m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[ ]_CFLAGS 1248 m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[ ]_CFLAGS
1251 and $1[]_LIBS to avoid the need to call pkg-config. 1249 and $1[]_LIBS to avoid the need to call pkg-config.
1252 See the pkg-config man page for more details.]) 1250 See the pkg-config man page for more details.])
1253 1251
1254 if test $pkg_failed = yes; then 1252 if test $pkg_failed = yes; then
1255 AC_MSG_RESULT([no]) 1253 AC_MSG_RESULT([no])
1256 _PKG_SHORT_ERRORS_SUPPORTED 1254 _PKG_SHORT_ERRORS_SUPPORTED
1257 if test $_pkg_short_errors_supported = yes; then 1255 if test $_pkg_short_errors_supported = yes; then
1258 » $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cfl ags --libs "$2" 2>&1` 1256 » $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
1259 else 1257 else
1260 » $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` 1258 » $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
1261 fi 1259 fi
1262 # Put the nasty error message in config.log where it belongs 1260 # Put the nasty error message in config.log where it belongs
1263 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD 1261 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
1264 1262
1265 m4_default([$4], [AC_MSG_ERROR( 1263 m4_default([$4], [AC_MSG_ERROR(
1266 [Package requirements ($2) were not met: 1264 [Package requirements ($2) were not met:
1267 1265
1268 $$1_PKG_ERRORS 1266 $$1_PKG_ERRORS
1269 1267
1270 Consider adjusting the PKG_CONFIG_PATH environment variable if you 1268 Consider adjusting the PKG_CONFIG_PATH environment variable if you
1271 installed software in a non-standard prefix. 1269 installed software in a non-standard prefix.
1272 1270
1273 _PKG_TEXT])[]dnl 1271 _PKG_TEXT])
1274 ]) 1272 ])
1275 elif test $pkg_failed = untried; then 1273 elif test $pkg_failed = untried; then
1276 AC_MSG_RESULT([no]) 1274 AC_MSG_RESULT([no])
1277 m4_default([$4], [AC_MSG_FAILURE( 1275 m4_default([$4], [AC_MSG_FAILURE(
1278 [The pkg-config script could not be found or is too old. Make sure it 1276 [The pkg-config script could not be found or is too old. Make sure it
1279 is in your PATH or set the PKG_CONFIG environment variable to the full 1277 is in your PATH or set the PKG_CONFIG environment variable to the full
1280 path to pkg-config. 1278 path to pkg-config.
1281 1279
1282 _PKG_TEXT 1280 _PKG_TEXT
1283 1281
1284 To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl 1282 To get pkg-config, see <http://pkg-config.freedesktop.org/>.])
1285 ]) 1283 ])
1286 else 1284 else
1287 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS 1285 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
1288 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS 1286 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
1289 AC_MSG_RESULT([yes]) 1287 AC_MSG_RESULT([yes])
1290 $3 1288 $3
1291 fi[]dnl 1289 fi[]dnl
1292 ])# PKG_CHECK_MODULES 1290 ])# PKG_CHECK_MODULES
1293 1291
1294 # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software 1292 # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
(...skipping 958 matching lines...) Expand 10 before | Expand all | Expand 10 after
2253 ]) # _AM_PROG_TAR 2251 ]) # _AM_PROG_TAR
2254 2252
2255 m4_include([m4/byteorder.m4]) 2253 m4_include([m4/byteorder.m4])
2256 m4_include([m4/iconv.m4]) 2254 m4_include([m4/iconv.m4])
2257 m4_include([m4/libtool.m4]) 2255 m4_include([m4/libtool.m4])
2258 m4_include([m4/ltoptions.m4]) 2256 m4_include([m4/ltoptions.m4])
2259 m4_include([m4/ltsugar.m4]) 2257 m4_include([m4/ltsugar.m4])
2260 m4_include([m4/ltversion.m4]) 2258 m4_include([m4/ltversion.m4])
2261 m4_include([m4/lt~obsolete.m4]) 2259 m4_include([m4/lt~obsolete.m4])
2262 m4_include([m4/stdint.m4]) 2260 m4_include([m4/stdint.m4])
OLDNEW
« no previous file with comments | « README ('k') | config.h » ('j') | config.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698