Merge lp:~noskcaj/ubuntu/vivid/snappy-player/1.0 into lp:ubuntu/vivid/snappy-player
- Vivid (15.04)
- 1.0
- Merge into vivid
Proposed by
Jackson Doak
on 2015-01-30
| Status: | Needs review |
|---|---|
| Proposed branch: | lp:~noskcaj/ubuntu/vivid/snappy-player/1.0 |
| Merge into: | lp:ubuntu/vivid/snappy-player |
| Diff against target: |
92750 lines (+4376/-43617) 65 files modified
.gitignore (+22/-0) .pc/.quilt_patches (+1/-0) .pc/.quilt_series (+1/-0) .pc/.version (+1/-0) AUTHORS (+21/-3) INSTALL (+10/-5) Makefile.am (+15/-1) Makefile.in (+0/-766) README (+11/-0) THANKS (+15/-1) ToDo (+2/-0) aclocal.m4 (+0/-1247) autogen.sh (+21/-1577) build-aux/compile (+0/-143) build-aux/config.guess (+0/-1526) build-aux/config.sub (+0/-1757) build-aux/depcomp (+0/-630) build-aux/install-sh (+0/-520) build-aux/ltmain.sh (+0/-9636) build-aux/missing (+0/-376) config.h.in (+0/-83) configure (+0/-14859) configure.ac (+62/-45) data/Makefile.am (+15/-6) data/Makefile.in (+0/-446) data/README (+2/-2) data/audio-volume-high.svg (+47/-0) data/audio-volume-low.svg (+20/-0) data/fullscreen.svg (+27/-0) data/icons/256x256/Makefile.am (+4/-0) data/icons/256x256/Makefile.in (+509/-0) data/icons/48x48/Makefile.am (+4/-0) data/icons/48x48/Makefile.in (+509/-0) data/icons/Makefile.am (+2/-0) data/icons/Makefile.in (+633/-0) data/media-actions-pause.svg (+16/-0) data/media-actions-start.svg (+19/-0) data/mpris.xml (+98/-0) data/snappy.desktop (+15/-0) data/subtitles-active.svg (+43/-0) data/subtitles-inactive.svg (+42/-0) debian/changelog (+21/-0) debian/control (+17/-11) debian/copyright (+2/-2) docs/clutter_controls_layout (+49/-0) docs/keyboard_controls (+42/-0) m4/libtool.m4 (+0/-7844) m4/ltoptions.m4 (+0/-369) m4/ltsugar.m4 (+0/-123) m4/ltversion.m4 (+0/-23) m4/lt~obsolete.m4 (+0/-98) snappy.doap (+25/-0) src/Makefile.am (+2/-2) src/Makefile.in (+0/-688) src/dlna.c (+19/-111) src/dlna.h (+4/-24) src/gst_engine.c (+575/-125) src/gst_engine.h (+24/-8) src/screensaver.c (+21/-17) src/screensaver.h (+4/-4) src/snappy.c (+139/-62) src/user_interface.c (+1148/-431) src/user_interface.h (+68/-30) src/utils.c (+22/-13) src/utils.h (+7/-3) |
| To merge this branch: | bzr merge lp:~noskcaj/ubuntu/vivid/snappy-player/1.0 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Micah Gersten | 2015-01-30 | Needs Information on 2015-03-22 | |
|
Review via email:
|
|||
Commit Message
Description of the Change
New upstream release + sync from debian exp. Migrates package to clutter-gst-2.0, so clutter-gst can be removed
To post a comment you must log in.
lp:~noskcaj/ubuntu/vivid/snappy-player/1.0
updated
on 2015-02-02
- 5. By Jackson Doak on 2015-02-02
-
New upstream release.
Unmerged revisions
- 5. By Jackson Doak on 2015-02-02
-
New upstream release.
- 4. By Jackson Doak on 2015-01-30
-
* New upstream release.
+ debian/control:
- Update dependencies.
- Add homepage and vcs links.
+ debian/copyright:
- Update copyright years and download url.
* New upstream release.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
| 1 | === added file '.gitignore' |
| 2 | --- .gitignore 1970-01-01 00:00:00 +0000 |
| 3 | +++ .gitignore 2015-02-02 19:41:07 +0000 |
| 4 | @@ -0,0 +1,22 @@ |
| 5 | +.gitignore |
| 6 | +Makefile |
| 7 | +autom4te.cache/ |
| 8 | +config.h |
| 9 | +config.log |
| 10 | +config.status |
| 11 | +data/Makefile |
| 12 | +data/icons/256x256/Makefile |
| 13 | +data/icons/48x48/Makefile |
| 14 | +data/icons/Makefile |
| 15 | +libtool |
| 16 | +src/.deps/ |
| 17 | +src/.libs/ |
| 18 | +src/Makefile |
| 19 | +src/snappy |
| 20 | +src/snappy-dlna.o |
| 21 | +src/snappy-gst_engine.o |
| 22 | +src/snappy-screensaver.o |
| 23 | +src/snappy-snappy.o |
| 24 | +src/snappy-user_interface.o |
| 25 | +src/snappy-utils.o |
| 26 | +stamp-h1 |
| 27 | |
| 28 | === added directory '.pc' |
| 29 | === added file '.pc/.quilt_patches' |
| 30 | --- .pc/.quilt_patches 1970-01-01 00:00:00 +0000 |
| 31 | +++ .pc/.quilt_patches 2015-02-02 19:41:07 +0000 |
| 32 | @@ -0,0 +1,1 @@ |
| 33 | +debian/patches |
| 34 | |
| 35 | === added file '.pc/.quilt_series' |
| 36 | --- .pc/.quilt_series 1970-01-01 00:00:00 +0000 |
| 37 | +++ .pc/.quilt_series 2015-02-02 19:41:07 +0000 |
| 38 | @@ -0,0 +1,1 @@ |
| 39 | +series |
| 40 | |
| 41 | === added file '.pc/.version' |
| 42 | --- .pc/.version 1970-01-01 00:00:00 +0000 |
| 43 | +++ .pc/.version 2015-02-02 19:41:07 +0000 |
| 44 | @@ -0,0 +1,1 @@ |
| 45 | +2 |
| 46 | |
| 47 | === added file '.pc/applied-patches' |
| 48 | === modified file 'AUTHORS' |
| 49 | --- AUTHORS 2011-06-22 10:12:30 +0000 |
| 50 | +++ AUTHORS 2015-02-02 19:41:07 +0000 |
| 51 | @@ -1,4 +1,22 @@ |
| 52 | -Copyright (2011) |
| 53 | - Collabora Multimedia Ltd. |
| 54 | +Copyright (2011-2014) |
| 55 | + Collabora Ltd. |
| 56 | Luis de Bethencourt Guimera |
| 57 | - Sebastian Dröge |
| 58 | \ No newline at end of file |
| 59 | + Robert Swain |
| 60 | + Sebastian Dröge |
| 61 | + |
| 62 | + Alban Crequy |
| 63 | + Andoni Morales Alastruey |
| 64 | + Bastien Nocera |
| 65 | + Bjørn Lie |
| 66 | + David Schleef |
| 67 | + Deirdre Kelly |
| 68 | + Edward Hervey |
| 69 | + Emmanuele Bassi |
| 70 | + Jens Georg |
| 71 | + Konstantinos Papagiannopoulos |
| 72 | + George Danchev |
| 73 | + Nicolas Dufresne |
| 74 | + Nirbheek Chauhan |
| 75 | + Phillipe Coval |
| 76 | + Tim Philipp Muller |
| 77 | + Wim Taymans |
| 78 | |
| 79 | === modified file 'INSTALL' |
| 80 | --- INSTALL 2011-03-25 20:35:19 +0000 |
| 81 | +++ INSTALL 2015-02-02 19:41:07 +0000 |
| 82 | @@ -1,8 +1,8 @@ |
| 83 | Installation Instructions |
| 84 | ************************* |
| 85 | |
| 86 | -Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005, |
| 87 | -2006, 2007, 2008, 2009 Free Software Foundation, Inc. |
| 88 | +Copyright (C) 1994-1996, 1999-2002, 2004-2014 Free Software Foundation, |
| 89 | +Inc. |
| 90 | |
| 91 | Copying and distribution of this file, with or without modification, |
| 92 | are permitted in any medium without royalty provided the copyright |
| 93 | @@ -226,6 +226,11 @@ |
| 94 | |
| 95 | and if that doesn't work, install pre-built binaries of GCC for HP-UX. |
| 96 | |
| 97 | + HP-UX `make' updates targets which have the same time stamps as |
| 98 | +their prerequisites, which makes it generally unusable when shipped |
| 99 | +generated files such as `configure' are involved. Use GNU `make' |
| 100 | +instead. |
| 101 | + |
| 102 | On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot |
| 103 | parse its `<wchar.h>' header file. The option `-nodtk' can be used as |
| 104 | a workaround. If GNU CC is not installed, it is therefore recommended |
| 105 | @@ -304,9 +309,10 @@ |
| 106 | overridden in the site shell script). |
| 107 | |
| 108 | Unfortunately, this technique does not work for `CONFIG_SHELL' due to |
| 109 | -an Autoconf bug. Until the bug is fixed you can use this workaround: |
| 110 | +an Autoconf limitation. Until the limitation is lifted, you can use |
| 111 | +this workaround: |
| 112 | |
| 113 | - CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash |
| 114 | + CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash |
| 115 | |
| 116 | `configure' Invocation |
| 117 | ====================== |
| 118 | @@ -362,4 +368,3 @@ |
| 119 | |
| 120 | `configure' also accepts some other, not widely useful, options. Run |
| 121 | `configure --help' for more details. |
| 122 | - |
| 123 | |
| 124 | === modified file 'Makefile.am' |
| 125 | --- Makefile.am 2011-06-22 10:12:30 +0000 |
| 126 | +++ Makefile.am 2015-02-02 19:41:07 +0000 |
| 127 | @@ -7,7 +7,7 @@ |
| 128 | |
| 129 | EXTRA_DIST = \ |
| 130 | ChangeLog autogen.sh \ |
| 131 | - AUTHORS COPYING NEWS README |
| 132 | + AUTHORS COPYING NEWS README ToDo |
| 133 | |
| 134 | pkgconfigdir = $(libdir)pkgconfig |
| 135 | |
| 136 | @@ -16,3 +16,17 @@ |
| 137 | DISTCLEANFILES = |
| 138 | |
| 139 | all-local: |
| 140 | + |
| 141 | +dist-hook: |
| 142 | + @if test -d "$(srcdir)/.git"; \ |
| 143 | + then \ |
| 144 | + echo Creating ChangeLog && \ |
| 145 | + ( cd "$(top_srcdir)" && \ |
| 146 | + echo '# Generated by Makefile. Do not edit.'; echo; \ |
| 147 | + git log --stat ) > ChangeLog.tmp \ |
| 148 | + && mv -f ChangeLog.tmp $(distdir)/ChangeLog \ |
| 149 | + || ( rm -f ChangeLog.tmp ; \ |
| 150 | + echo Failed to generate ChangeLog >&2 ); \ |
| 151 | + else \ |
| 152 | + echo A git clone is required to generate a ChangeLog >&2; \ |
| 153 | + fi |
| 154 | |
| 155 | === added file 'Makefile.in' |
| 156 | --- Makefile.in 1970-01-01 00:00:00 +0000 |
| 157 | +++ Makefile.in 2015-02-02 19:41:07 +0000 |
| 158 | @@ -0,0 +1,855 @@ |
| 159 | +# Makefile.in generated by automake 1.13.4 from Makefile.am. |
| 160 | +# @configure_input@ |
| 161 | + |
| 162 | +# Copyright (C) 1994-2014 Free Software Foundation, Inc. |
| 163 | + |
| 164 | +# This Makefile.in is free software; the Free Software Foundation |
| 165 | +# gives unlimited permission to copy and/or distribute it, |
| 166 | +# with or without modifications, as long as this notice is preserved. |
| 167 | + |
| 168 | +# This program is distributed in the hope that it will be useful, |
| 169 | +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
| 170 | +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
| 171 | +# PARTICULAR PURPOSE. |
| 172 | + |
| 173 | +@SET_MAKE@ |
| 174 | +VPATH = @srcdir@ |
| 175 | +am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' |
| 176 | +am__make_running_with_option = \ |
| 177 | + case $${target_option-} in \ |
| 178 | + ?) ;; \ |
| 179 | + *) echo "am__make_running_with_option: internal error: invalid" \ |
| 180 | + "target option '$${target_option-}' specified" >&2; \ |
| 181 | + exit 1;; \ |
| 182 | + esac; \ |
| 183 | + has_opt=no; \ |
| 184 | + sane_makeflags=$$MAKEFLAGS; \ |
| 185 | + if $(am__is_gnu_make); then \ |
| 186 | + sane_makeflags=$$MFLAGS; \ |
| 187 | + else \ |
| 188 | + case $$MAKEFLAGS in \ |
| 189 | + *\\[\ \ ]*) \ |
| 190 | + bs=\\; \ |
| 191 | + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ |
| 192 | + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ |
| 193 | + esac; \ |
| 194 | + fi; \ |
| 195 | + skip_next=no; \ |
| 196 | + strip_trailopt () \ |
| 197 | + { \ |
| 198 | + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ |
| 199 | + }; \ |
| 200 | + for flg in $$sane_makeflags; do \ |
| 201 | + test $$skip_next = yes && { skip_next=no; continue; }; \ |
| 202 | + case $$flg in \ |
| 203 | + *=*|--*) continue;; \ |
| 204 | + -*I) strip_trailopt 'I'; skip_next=yes;; \ |
| 205 | + -*I?*) strip_trailopt 'I';; \ |
| 206 | + -*O) strip_trailopt 'O'; skip_next=yes;; \ |
| 207 | + -*O?*) strip_trailopt 'O';; \ |
| 208 | + -*l) strip_trailopt 'l'; skip_next=yes;; \ |
| 209 | + -*l?*) strip_trailopt 'l';; \ |
| 210 | + -[dEDm]) skip_next=yes;; \ |
| 211 | + -[JT]) skip_next=yes;; \ |
| 212 | + esac; \ |
| 213 | + case $$flg in \ |
| 214 | + *$$target_option*) has_opt=yes; break;; \ |
| 215 | + esac; \ |
| 216 | + done; \ |
| 217 | + test $$has_opt = yes |
| 218 | +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) |
| 219 | +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) |
| 220 | +pkgdatadir = $(datadir)/@PACKAGE@ |
| 221 | +pkgincludedir = $(includedir)/@PACKAGE@ |
| 222 | +pkglibdir = $(libdir)/@PACKAGE@ |
| 223 | +pkglibexecdir = $(libexecdir)/@PACKAGE@ |
| 224 | +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
| 225 | +install_sh_DATA = $(install_sh) -c -m 644 |
| 226 | +install_sh_PROGRAM = $(install_sh) -c |
| 227 | +install_sh_SCRIPT = $(install_sh) -c |
| 228 | +INSTALL_HEADER = $(INSTALL_DATA) |
| 229 | +transform = $(program_transform_name) |
| 230 | +NORMAL_INSTALL = : |
| 231 | +PRE_INSTALL = : |
| 232 | +POST_INSTALL = : |
| 233 | +NORMAL_UNINSTALL = : |
| 234 | +PRE_UNINSTALL = : |
| 235 | +POST_UNINSTALL = : |
| 236 | +build_triplet = @build@ |
| 237 | +host_triplet = @host@ |
| 238 | +subdir = . |
| 239 | +DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \ |
| 240 | + $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ |
| 241 | + $(top_srcdir)/configure $(am__configure_deps) \ |
| 242 | + $(srcdir)/config.h.in COPYING THANKS build-aux/compile \ |
| 243 | + build-aux/config.guess build-aux/config.sub build-aux/depcomp \ |
| 244 | + build-aux/install-sh build-aux/missing build-aux/ltmain.sh \ |
| 245 | + $(top_srcdir)/build-aux/compile \ |
| 246 | + $(top_srcdir)/build-aux/config.guess \ |
| 247 | + $(top_srcdir)/build-aux/config.sub \ |
| 248 | + $(top_srcdir)/build-aux/install-sh \ |
| 249 | + $(top_srcdir)/build-aux/ltmain.sh \ |
| 250 | + $(top_srcdir)/build-aux/missing |
| 251 | +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
| 252 | +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ |
| 253 | + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ |
| 254 | + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ |
| 255 | + $(top_srcdir)/configure.ac |
| 256 | +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
| 257 | + $(ACLOCAL_M4) |
| 258 | +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ |
| 259 | + configure.lineno config.status.lineno |
| 260 | +mkinstalldirs = $(install_sh) -d |
| 261 | +CONFIG_HEADER = config.h |
| 262 | +CONFIG_CLEAN_FILES = |
| 263 | +CONFIG_CLEAN_VPATH_FILES = |
| 264 | +AM_V_P = $(am__v_P_@AM_V@) |
| 265 | +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) |
| 266 | +am__v_P_0 = false |
| 267 | +am__v_P_1 = : |
| 268 | +AM_V_GEN = $(am__v_GEN_@AM_V@) |
| 269 | +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) |
| 270 | +am__v_GEN_0 = @echo " GEN " $@; |
| 271 | +am__v_GEN_1 = |
| 272 | +AM_V_at = $(am__v_at_@AM_V@) |
| 273 | +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) |
| 274 | +am__v_at_0 = @ |
| 275 | +am__v_at_1 = |
| 276 | +SOURCES = |
| 277 | +DIST_SOURCES = |
| 278 | +RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ |
| 279 | + ctags-recursive dvi-recursive html-recursive info-recursive \ |
| 280 | + install-data-recursive install-dvi-recursive \ |
| 281 | + install-exec-recursive install-html-recursive \ |
| 282 | + install-info-recursive install-pdf-recursive \ |
| 283 | + install-ps-recursive install-recursive installcheck-recursive \ |
| 284 | + installdirs-recursive pdf-recursive ps-recursive \ |
| 285 | + tags-recursive uninstall-recursive |
| 286 | +am__can_run_installinfo = \ |
| 287 | + case $$AM_UPDATE_INFO_DIR in \ |
| 288 | + n|no|NO) false;; \ |
| 289 | + *) (install-info --version) >/dev/null 2>&1;; \ |
| 290 | + esac |
| 291 | +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ |
| 292 | + distclean-recursive maintainer-clean-recursive |
| 293 | +am__recursive_targets = \ |
| 294 | + $(RECURSIVE_TARGETS) \ |
| 295 | + $(RECURSIVE_CLEAN_TARGETS) \ |
| 296 | + $(am__extra_recursive_targets) |
| 297 | +AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ |
| 298 | + cscope distdir dist dist-all distcheck |
| 299 | +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ |
| 300 | + $(LISP)config.h.in |
| 301 | +# Read a list of newline-separated strings from the standard input, |
| 302 | +# and print each of them once, without duplicates. Input order is |
| 303 | +# *not* preserved. |
| 304 | +am__uniquify_input = $(AWK) '\ |
| 305 | + BEGIN { nonempty = 0; } \ |
| 306 | + { items[$$0] = 1; nonempty = 1; } \ |
| 307 | + END { if (nonempty) { for (i in items) print i; }; } \ |
| 308 | +' |
| 309 | +# Make sure the list of sources is unique. This is necessary because, |
| 310 | +# e.g., the same source file might be shared among _SOURCES variables |
| 311 | +# for different programs/libraries. |
| 312 | +am__define_uniq_tagged_files = \ |
| 313 | + list='$(am__tagged_files)'; \ |
| 314 | + unique=`for i in $$list; do \ |
| 315 | + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
| 316 | + done | $(am__uniquify_input)` |
| 317 | +ETAGS = etags |
| 318 | +CTAGS = ctags |
| 319 | +CSCOPE = cscope |
| 320 | +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
| 321 | +distdir = $(PACKAGE)-$(VERSION) |
| 322 | +top_distdir = $(distdir) |
| 323 | +am__remove_distdir = \ |
| 324 | + if test -d "$(distdir)"; then \ |
| 325 | + find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ |
| 326 | + && rm -rf "$(distdir)" \ |
| 327 | + || { sleep 5 && rm -rf "$(distdir)"; }; \ |
| 328 | + else :; fi |
| 329 | +am__post_remove_distdir = $(am__remove_distdir) |
| 330 | +am__relativize = \ |
| 331 | + dir0=`pwd`; \ |
| 332 | + sed_first='s,^\([^/]*\)/.*$$,\1,'; \ |
| 333 | + sed_rest='s,^[^/]*/*,,'; \ |
| 334 | + sed_last='s,^.*/\([^/]*\)$$,\1,'; \ |
| 335 | + sed_butlast='s,/*[^/]*$$,,'; \ |
| 336 | + while test -n "$$dir1"; do \ |
| 337 | + first=`echo "$$dir1" | sed -e "$$sed_first"`; \ |
| 338 | + if test "$$first" != "."; then \ |
| 339 | + if test "$$first" = ".."; then \ |
| 340 | + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ |
| 341 | + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ |
| 342 | + else \ |
| 343 | + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ |
| 344 | + if test "$$first2" = "$$first"; then \ |
| 345 | + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ |
| 346 | + else \ |
| 347 | + dir2="../$$dir2"; \ |
| 348 | + fi; \ |
| 349 | + dir0="$$dir0"/"$$first"; \ |
| 350 | + fi; \ |
| 351 | + fi; \ |
| 352 | + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ |
| 353 | + done; \ |
| 354 | + reldir="$$dir2" |
| 355 | +GZIP_ENV = --best |
| 356 | +DIST_ARCHIVES = $(distdir).tar.bz2 $(distdir).tar.xz |
| 357 | +DIST_TARGETS = dist-xz dist-bzip2 |
| 358 | +distuninstallcheck_listfiles = find . -type f -print |
| 359 | +am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ |
| 360 | + | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' |
| 361 | +distcleancheck_listfiles = find . -type f -print |
| 362 | +ACLOCAL = @ACLOCAL@ |
| 363 | +ACLOCAL_AMFLAGS = |
| 364 | +AMTAR = @AMTAR@ |
| 365 | +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ |
| 366 | +AR = @AR@ |
| 367 | +AS = @AS@ |
| 368 | +AUTOCONF = @AUTOCONF@ |
| 369 | +AUTOHEADER = @AUTOHEADER@ |
| 370 | +AUTOMAKE = @AUTOMAKE@ |
| 371 | +AWK = @AWK@ |
| 372 | +CC = @CC@ |
| 373 | +CCDEPMODE = @CCDEPMODE@ |
| 374 | +CFLAGS = @CFLAGS@ |
| 375 | +CLUTTER_CFLAGS = @CLUTTER_CFLAGS@ |
| 376 | +CLUTTER_GST_CFLAGS = @CLUTTER_GST_CFLAGS@ |
| 377 | +CLUTTER_GST_LIBS = @CLUTTER_GST_LIBS@ |
| 378 | +CLUTTER_GTK_CFLAGS = @CLUTTER_GTK_CFLAGS@ |
| 379 | +CLUTTER_GTK_LIBS = @CLUTTER_GTK_LIBS@ |
| 380 | +CLUTTER_LIBS = @CLUTTER_LIBS@ |
| 381 | +CLUTTER_OSX_CFLAGS = @CLUTTER_OSX_CFLAGS@ |
| 382 | +CLUTTER_OSX_LIBS = @CLUTTER_OSX_LIBS@ |
| 383 | +CLUTTER_WIN32_CFLAGS = @CLUTTER_WIN32_CFLAGS@ |
| 384 | +CLUTTER_WIN32_LIBS = @CLUTTER_WIN32_LIBS@ |
| 385 | +CLUTTER_X11_CFLAGS = @CLUTTER_X11_CFLAGS@ |
| 386 | +CLUTTER_X11_LIBS = @CLUTTER_X11_LIBS@ |
| 387 | +CPP = @CPP@ |
| 388 | +CPPFLAGS = @CPPFLAGS@ |
| 389 | +CYGPATH_W = @CYGPATH_W@ |
| 390 | +DEFS = @DEFS@ |
| 391 | +DEPDIR = @DEPDIR@ |
| 392 | +DLLTOOL = @DLLTOOL@ |
| 393 | +DSYMUTIL = @DSYMUTIL@ |
| 394 | +DUMPBIN = @DUMPBIN@ |
| 395 | +ECHO_C = @ECHO_C@ |
| 396 | +ECHO_N = @ECHO_N@ |
| 397 | +ECHO_T = @ECHO_T@ |
| 398 | +EGREP = @EGREP@ |
| 399 | +EXEEXT = @EXEEXT@ |
| 400 | +FGREP = @FGREP@ |
| 401 | +GIO_2_26_CFLAGS = @GIO_2_26_CFLAGS@ |
| 402 | +GIO_2_26_LIBS = @GIO_2_26_LIBS@ |
| 403 | +GIO_CFLAGS = @GIO_CFLAGS@ |
| 404 | +GIO_LIBS = @GIO_LIBS@ |
| 405 | +GREP = @GREP@ |
| 406 | +GST_CFLAGS = @GST_CFLAGS@ |
| 407 | +GST_LIBS = @GST_LIBS@ |
| 408 | +GST_LICENSE = @GST_LICENSE@ |
| 409 | +GST_MAJORMINOR = @GST_MAJORMINOR@ |
| 410 | +GTK_CFLAGS = @GTK_CFLAGS@ |
| 411 | +GTK_LIBS = @GTK_LIBS@ |
| 412 | +INSTALL = @INSTALL@ |
| 413 | +INSTALL_DATA = @INSTALL_DATA@ |
| 414 | +INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
| 415 | +INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
| 416 | +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
| 417 | +LD = @LD@ |
| 418 | +LDFLAGS = @LDFLAGS@ |
| 419 | +LIBOBJS = @LIBOBJS@ |
| 420 | +LIBS = @LIBS@ |
| 421 | +LIBTOOL = @LIBTOOL@ |
| 422 | +LIPO = @LIPO@ |
| 423 | +LN_S = @LN_S@ |
| 424 | +LTLIBOBJS = @LTLIBOBJS@ |
| 425 | +MAINT = @MAINT@ |
| 426 | +MAKEINFO = @MAKEINFO@ |
| 427 | +MANIFEST_TOOL = @MANIFEST_TOOL@ |
| 428 | +MKDIR_P = @MKDIR_P@ |
| 429 | +NM = @NM@ |
| 430 | +NMEDIT = @NMEDIT@ |
| 431 | +OBJDUMP = @OBJDUMP@ |
| 432 | +OBJEXT = @OBJEXT@ |
| 433 | +OTOOL = @OTOOL@ |
| 434 | +OTOOL64 = @OTOOL64@ |
| 435 | +PACKAGE = @PACKAGE@ |
| 436 | +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
| 437 | +PACKAGE_NAME = @PACKAGE_NAME@ |
| 438 | +PACKAGE_STRING = @PACKAGE_STRING@ |
| 439 | +PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
| 440 | +PACKAGE_URL = @PACKAGE_URL@ |
| 441 | +PACKAGE_VERSION = @PACKAGE_VERSION@ |
| 442 | +PATH_SEPARATOR = @PATH_SEPARATOR@ |
| 443 | +PKG_CONFIG = @PKG_CONFIG@ |
| 444 | +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ |
| 445 | +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ |
| 446 | +RANLIB = @RANLIB@ |
| 447 | +ROOT_UNINSTALLED_DIR = @ROOT_UNINSTALLED_DIR@ |
| 448 | +SED = @SED@ |
| 449 | +SET_MAKE = @SET_MAKE@ |
| 450 | +SHELL = @SHELL@ |
| 451 | +STRIP = @STRIP@ |
| 452 | +VERSION = @VERSION@ |
| 453 | +XTEST_CFLAGS = @XTEST_CFLAGS@ |
| 454 | +XTEST_LIBS = @XTEST_LIBS@ |
| 455 | +abs_builddir = @abs_builddir@ |
| 456 | +abs_srcdir = @abs_srcdir@ |
| 457 | +abs_top_builddir = @abs_top_builddir@ |
| 458 | +abs_top_srcdir = @abs_top_srcdir@ |
| 459 | +ac_ct_AR = @ac_ct_AR@ |
| 460 | +ac_ct_CC = @ac_ct_CC@ |
| 461 | +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
| 462 | +am__include = @am__include@ |
| 463 | +am__leading_dot = @am__leading_dot@ |
| 464 | +am__quote = @am__quote@ |
| 465 | +am__tar = @am__tar@ |
| 466 | +am__untar = @am__untar@ |
| 467 | +bindir = @bindir@ |
| 468 | +build = @build@ |
| 469 | +build_alias = @build_alias@ |
| 470 | +build_cpu = @build_cpu@ |
| 471 | +build_os = @build_os@ |
| 472 | +build_vendor = @build_vendor@ |
| 473 | +builddir = @builddir@ |
| 474 | +datadir = @datadir@ |
| 475 | +datarootdir = @datarootdir@ |
| 476 | +docdir = @docdir@ |
| 477 | +dvidir = @dvidir@ |
| 478 | +exec_prefix = @exec_prefix@ |
| 479 | +host = @host@ |
| 480 | +host_alias = @host_alias@ |
| 481 | +host_cpu = @host_cpu@ |
| 482 | +host_os = @host_os@ |
| 483 | +host_vendor = @host_vendor@ |
| 484 | +htmldir = @htmldir@ |
| 485 | +includedir = @includedir@ |
| 486 | +infodir = @infodir@ |
| 487 | +install_sh = @install_sh@ |
| 488 | +libdir = @libdir@ |
| 489 | +libexecdir = @libexecdir@ |
| 490 | +localedir = @localedir@ |
| 491 | +localstatedir = @localstatedir@ |
| 492 | +mandir = @mandir@ |
| 493 | +mkdir_p = @mkdir_p@ |
| 494 | +oldincludedir = @oldincludedir@ |
| 495 | +pdfdir = @pdfdir@ |
| 496 | +prefix = @prefix@ |
| 497 | +program_transform_name = @program_transform_name@ |
| 498 | +psdir = @psdir@ |
| 499 | +sbindir = @sbindir@ |
| 500 | +sharedstatedir = @sharedstatedir@ |
| 501 | +srcdir = @srcdir@ |
| 502 | +sysconfdir = @sysconfdir@ |
| 503 | +target_alias = @target_alias@ |
| 504 | +top_build_prefix = @top_build_prefix@ |
| 505 | +top_builddir = @top_builddir@ |
| 506 | +top_srcdir = @top_srcdir@ |
| 507 | +AUTOMAKE_OPTIONS = 1.7 |
| 508 | +SUBDIRS = \ |
| 509 | + src data |
| 510 | + |
| 511 | +DIST_SUBDIRS = $(SUBDIRS) |
| 512 | +EXTRA_DIST = \ |
| 513 | + ChangeLog autogen.sh \ |
| 514 | + AUTHORS COPYING NEWS README ToDo |
| 515 | + |
| 516 | +pkgconfigdir = $(libdir)pkgconfig |
| 517 | +DISTCLEANFILES = |
| 518 | +all: config.h |
| 519 | + $(MAKE) $(AM_MAKEFLAGS) all-recursive |
| 520 | + |
| 521 | +.SUFFIXES: |
| 522 | +am--refresh: Makefile |
| 523 | + @: |
| 524 | +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) |
| 525 | + @for dep in $?; do \ |
| 526 | + case '$(am__configure_deps)' in \ |
| 527 | + *$$dep*) \ |
| 528 | + echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ |
| 529 | + $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ |
| 530 | + && exit 0; \ |
| 531 | + exit 1;; \ |
| 532 | + esac; \ |
| 533 | + done; \ |
| 534 | + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ |
| 535 | + $(am__cd) $(top_srcdir) && \ |
| 536 | + $(AUTOMAKE) --gnu Makefile |
| 537 | +.PRECIOUS: Makefile |
| 538 | +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
| 539 | + @case '$?' in \ |
| 540 | + *config.status*) \ |
| 541 | + echo ' $(SHELL) ./config.status'; \ |
| 542 | + $(SHELL) ./config.status;; \ |
| 543 | + *) \ |
| 544 | + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ |
| 545 | + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ |
| 546 | + esac; |
| 547 | + |
| 548 | +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
| 549 | + $(SHELL) ./config.status --recheck |
| 550 | + |
| 551 | +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) |
| 552 | + $(am__cd) $(srcdir) && $(AUTOCONF) |
| 553 | +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) |
| 554 | + $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) |
| 555 | +$(am__aclocal_m4_deps): |
| 556 | + |
| 557 | +config.h: stamp-h1 |
| 558 | + @if test ! -f $@; then rm -f stamp-h1; else :; fi |
| 559 | + @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi |
| 560 | + |
| 561 | +stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status |
| 562 | + @rm -f stamp-h1 |
| 563 | + cd $(top_builddir) && $(SHELL) ./config.status config.h |
| 564 | +$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) |
| 565 | + ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) |
| 566 | + rm -f stamp-h1 |
| 567 | + touch $@ |
| 568 | + |
| 569 | +distclean-hdr: |
| 570 | + -rm -f config.h stamp-h1 |
| 571 | + |
| 572 | +mostlyclean-libtool: |
| 573 | + -rm -f *.lo |
| 574 | + |
| 575 | +clean-libtool: |
| 576 | + -rm -rf .libs _libs |
| 577 | + |
| 578 | +distclean-libtool: |
| 579 | + -rm -f libtool config.lt |
| 580 | + |
| 581 | +# This directory's subdirectories are mostly independent; you can cd |
| 582 | +# into them and run 'make' without going through this Makefile. |
| 583 | +# To change the values of 'make' variables: instead of editing Makefiles, |
| 584 | +# (1) if the variable is set in 'config.status', edit 'config.status' |
| 585 | +# (which will cause the Makefiles to be regenerated when you run 'make'); |
| 586 | +# (2) otherwise, pass the desired values on the 'make' command line. |
| 587 | +$(am__recursive_targets): |
| 588 | + @fail=; \ |
| 589 | + if $(am__make_keepgoing); then \ |
| 590 | + failcom='fail=yes'; \ |
| 591 | + else \ |
| 592 | + failcom='exit 1'; \ |
| 593 | + fi; \ |
| 594 | + dot_seen=no; \ |
| 595 | + target=`echo $@ | sed s/-recursive//`; \ |
| 596 | + case "$@" in \ |
| 597 | + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ |
| 598 | + *) list='$(SUBDIRS)' ;; \ |
| 599 | + esac; \ |
| 600 | + for subdir in $$list; do \ |
| 601 | + echo "Making $$target in $$subdir"; \ |
| 602 | + if test "$$subdir" = "."; then \ |
| 603 | + dot_seen=yes; \ |
| 604 | + local_target="$$target-am"; \ |
| 605 | + else \ |
| 606 | + local_target="$$target"; \ |
| 607 | + fi; \ |
| 608 | + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ |
| 609 | + || eval $$failcom; \ |
| 610 | + done; \ |
| 611 | + if test "$$dot_seen" = "no"; then \ |
| 612 | + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ |
| 613 | + fi; test -z "$$fail" |
| 614 | + |
| 615 | +ID: $(am__tagged_files) |
| 616 | + $(am__define_uniq_tagged_files); mkid -fID $$unique |
| 617 | +tags: tags-recursive |
| 618 | +TAGS: tags |
| 619 | + |
| 620 | +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) |
| 621 | + set x; \ |
| 622 | + here=`pwd`; \ |
| 623 | + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ |
| 624 | + include_option=--etags-include; \ |
| 625 | + empty_fix=.; \ |
| 626 | + else \ |
| 627 | + include_option=--include; \ |
| 628 | + empty_fix=; \ |
| 629 | + fi; \ |
| 630 | + list='$(SUBDIRS)'; for subdir in $$list; do \ |
| 631 | + if test "$$subdir" = .; then :; else \ |
| 632 | + test ! -f $$subdir/TAGS || \ |
| 633 | + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ |
| 634 | + fi; \ |
| 635 | + done; \ |
| 636 | + $(am__define_uniq_tagged_files); \ |
| 637 | + shift; \ |
| 638 | + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ |
| 639 | + test -n "$$unique" || unique=$$empty_fix; \ |
| 640 | + if test $$# -gt 0; then \ |
| 641 | + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
| 642 | + "$$@" $$unique; \ |
| 643 | + else \ |
| 644 | + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
| 645 | + $$unique; \ |
| 646 | + fi; \ |
| 647 | + fi |
| 648 | +ctags: ctags-recursive |
| 649 | + |
| 650 | +CTAGS: ctags |
| 651 | +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) |
| 652 | + $(am__define_uniq_tagged_files); \ |
| 653 | + test -z "$(CTAGS_ARGS)$$unique" \ |
| 654 | + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
| 655 | + $$unique |
| 656 | + |
| 657 | +GTAGS: |
| 658 | + here=`$(am__cd) $(top_builddir) && pwd` \ |
| 659 | + && $(am__cd) $(top_srcdir) \ |
| 660 | + && gtags -i $(GTAGS_ARGS) "$$here" |
| 661 | +cscope: cscope.files |
| 662 | + test ! -s cscope.files \ |
| 663 | + || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) |
| 664 | +clean-cscope: |
| 665 | + -rm -f cscope.files |
| 666 | +cscope.files: clean-cscope cscopelist |
| 667 | +cscopelist: cscopelist-recursive |
| 668 | + |
| 669 | +cscopelist-am: $(am__tagged_files) |
| 670 | + list='$(am__tagged_files)'; \ |
| 671 | + case "$(srcdir)" in \ |
| 672 | + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ |
| 673 | + *) sdir=$(subdir)/$(srcdir) ;; \ |
| 674 | + esac; \ |
| 675 | + for i in $$list; do \ |
| 676 | + if test -f "$$i"; then \ |
| 677 | + echo "$(subdir)/$$i"; \ |
| 678 | + else \ |
| 679 | + echo "$$sdir/$$i"; \ |
| 680 | + fi; \ |
| 681 | + done >> $(top_builddir)/cscope.files |
| 682 | + |
| 683 | +distclean-tags: |
| 684 | + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
| 685 | + -rm -f cscope.out cscope.in.out cscope.po.out cscope.files |
| 686 | + |
| 687 | +distdir: $(DISTFILES) |
| 688 | + $(am__remove_distdir) |
| 689 | + test -d "$(distdir)" || mkdir "$(distdir)" |
| 690 | + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
| 691 | + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
| 692 | + list='$(DISTFILES)'; \ |
| 693 | + dist_files=`for file in $$list; do echo $$file; done | \ |
| 694 | + sed -e "s|^$$srcdirstrip/||;t" \ |
| 695 | + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ |
| 696 | + case $$dist_files in \ |
| 697 | + */*) $(MKDIR_P) `echo "$$dist_files" | \ |
| 698 | + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ |
| 699 | + sort -u` ;; \ |
| 700 | + esac; \ |
| 701 | + for file in $$dist_files; do \ |
| 702 | + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ |
| 703 | + if test -d $$d/$$file; then \ |
| 704 | + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ |
| 705 | + if test -d "$(distdir)/$$file"; then \ |
| 706 | + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
| 707 | + fi; \ |
| 708 | + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
| 709 | + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ |
| 710 | + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
| 711 | + fi; \ |
| 712 | + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ |
| 713 | + else \ |
| 714 | + test -f "$(distdir)/$$file" \ |
| 715 | + || cp -p $$d/$$file "$(distdir)/$$file" \ |
| 716 | + || exit 1; \ |
| 717 | + fi; \ |
| 718 | + done |
| 719 | + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ |
| 720 | + if test "$$subdir" = .; then :; else \ |
| 721 | + $(am__make_dryrun) \ |
| 722 | + || test -d "$(distdir)/$$subdir" \ |
| 723 | + || $(MKDIR_P) "$(distdir)/$$subdir" \ |
| 724 | + || exit 1; \ |
| 725 | + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ |
| 726 | + $(am__relativize); \ |
| 727 | + new_distdir=$$reldir; \ |
| 728 | + dir1=$$subdir; dir2="$(top_distdir)"; \ |
| 729 | + $(am__relativize); \ |
| 730 | + new_top_distdir=$$reldir; \ |
| 731 | + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ |
| 732 | + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ |
| 733 | + ($(am__cd) $$subdir && \ |
| 734 | + $(MAKE) $(AM_MAKEFLAGS) \ |
| 735 | + top_distdir="$$new_top_distdir" \ |
| 736 | + distdir="$$new_distdir" \ |
| 737 | + am__remove_distdir=: \ |
| 738 | + am__skip_length_check=: \ |
| 739 | + am__skip_mode_fix=: \ |
| 740 | + distdir) \ |
| 741 | + || exit 1; \ |
| 742 | + fi; \ |
| 743 | + done |
| 744 | + $(MAKE) $(AM_MAKEFLAGS) \ |
| 745 | + top_distdir="$(top_distdir)" distdir="$(distdir)" \ |
| 746 | + dist-hook |
| 747 | + -test -n "$(am__skip_mode_fix)" \ |
| 748 | + || find "$(distdir)" -type d ! -perm -755 \ |
| 749 | + -exec chmod u+rwx,go+rx {} \; -o \ |
| 750 | + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ |
| 751 | + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ |
| 752 | + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ |
| 753 | + || chmod -R a+r "$(distdir)" |
| 754 | +dist-gzip: distdir |
| 755 | + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
| 756 | + $(am__post_remove_distdir) |
| 757 | +dist-bzip2: distdir |
| 758 | + tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 |
| 759 | + $(am__post_remove_distdir) |
| 760 | + |
| 761 | +dist-lzip: distdir |
| 762 | + tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz |
| 763 | + $(am__post_remove_distdir) |
| 764 | +dist-xz: distdir |
| 765 | + tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz |
| 766 | + $(am__post_remove_distdir) |
| 767 | + |
| 768 | +dist-tarZ: distdir |
| 769 | + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z |
| 770 | + $(am__post_remove_distdir) |
| 771 | + |
| 772 | +dist-shar: distdir |
| 773 | + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz |
| 774 | + $(am__post_remove_distdir) |
| 775 | + |
| 776 | +dist-zip: distdir |
| 777 | + -rm -f $(distdir).zip |
| 778 | + zip -rq $(distdir).zip $(distdir) |
| 779 | + $(am__post_remove_distdir) |
| 780 | + |
| 781 | +dist dist-all: |
| 782 | + $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' |
| 783 | + $(am__post_remove_distdir) |
| 784 | + |
| 785 | +# This target untars the dist file and tries a VPATH configuration. Then |
| 786 | +# it guarantees that the distribution is self-contained by making another |
| 787 | +# tarfile. |
| 788 | +distcheck: dist |
| 789 | + case '$(DIST_ARCHIVES)' in \ |
| 790 | + *.tar.gz*) \ |
| 791 | + GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ |
| 792 | + *.tar.bz2*) \ |
| 793 | + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ |
| 794 | + *.tar.lz*) \ |
| 795 | + lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ |
| 796 | + *.tar.xz*) \ |
| 797 | + xz -dc $(distdir).tar.xz | $(am__untar) ;;\ |
| 798 | + *.tar.Z*) \ |
| 799 | + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ |
| 800 | + *.shar.gz*) \ |
| 801 | + GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ |
| 802 | + *.zip*) \ |
| 803 | + unzip $(distdir).zip ;;\ |
| 804 | + esac |
| 805 | + chmod -R a-w $(distdir) |
| 806 | + chmod u+w $(distdir) |
| 807 | + mkdir $(distdir)/_build $(distdir)/_inst |
| 808 | + chmod a-w $(distdir) |
| 809 | + test -d $(distdir)/_build || exit 0; \ |
| 810 | + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ |
| 811 | + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ |
| 812 | + && am__cwd=`pwd` \ |
| 813 | + && $(am__cd) $(distdir)/_build \ |
| 814 | + && ../configure --srcdir=.. --prefix="$$dc_install_base" \ |
| 815 | + $(AM_DISTCHECK_CONFIGURE_FLAGS) \ |
| 816 | + $(DISTCHECK_CONFIGURE_FLAGS) \ |
| 817 | + && $(MAKE) $(AM_MAKEFLAGS) \ |
| 818 | + && $(MAKE) $(AM_MAKEFLAGS) dvi \ |
| 819 | + && $(MAKE) $(AM_MAKEFLAGS) check \ |
| 820 | + && $(MAKE) $(AM_MAKEFLAGS) install \ |
| 821 | + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ |
| 822 | + && $(MAKE) $(AM_MAKEFLAGS) uninstall \ |
| 823 | + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ |
| 824 | + distuninstallcheck \ |
| 825 | + && chmod -R a-w "$$dc_install_base" \ |
| 826 | + && ({ \ |
| 827 | + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ |
| 828 | + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ |
| 829 | + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ |
| 830 | + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ |
| 831 | + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ |
| 832 | + } || { rm -rf "$$dc_destdir"; exit 1; }) \ |
| 833 | + && rm -rf "$$dc_destdir" \ |
| 834 | + && $(MAKE) $(AM_MAKEFLAGS) dist \ |
| 835 | + && rm -rf $(DIST_ARCHIVES) \ |
| 836 | + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ |
| 837 | + && cd "$$am__cwd" \ |
| 838 | + || exit 1 |
| 839 | + $(am__post_remove_distdir) |
| 840 | + @(echo "$(distdir) archives ready for distribution: "; \ |
| 841 | + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ |
| 842 | + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' |
| 843 | +distuninstallcheck: |
| 844 | + @test -n '$(distuninstallcheck_dir)' || { \ |
| 845 | + echo 'ERROR: trying to run $@ with an empty' \ |
| 846 | + '$$(distuninstallcheck_dir)' >&2; \ |
| 847 | + exit 1; \ |
| 848 | + }; \ |
| 849 | + $(am__cd) '$(distuninstallcheck_dir)' || { \ |
| 850 | + echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ |
| 851 | + exit 1; \ |
| 852 | + }; \ |
| 853 | + test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ |
| 854 | + || { echo "ERROR: files left after uninstall:" ; \ |
| 855 | + if test -n "$(DESTDIR)"; then \ |
| 856 | + echo " (check DESTDIR support)"; \ |
| 857 | + fi ; \ |
| 858 | + $(distuninstallcheck_listfiles) ; \ |
| 859 | + exit 1; } >&2 |
| 860 | +distcleancheck: distclean |
| 861 | + @if test '$(srcdir)' = . ; then \ |
| 862 | + echo "ERROR: distcleancheck can only run from a VPATH build" ; \ |
| 863 | + exit 1 ; \ |
| 864 | + fi |
| 865 | + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ |
| 866 | + || { echo "ERROR: files left in build directory after distclean:" ; \ |
| 867 | + $(distcleancheck_listfiles) ; \ |
| 868 | + exit 1; } >&2 |
| 869 | +check-am: all-am |
| 870 | +check: check-recursive |
| 871 | +all-am: Makefile config.h all-local |
| 872 | +installdirs: installdirs-recursive |
| 873 | +installdirs-am: |
| 874 | +install: install-recursive |
| 875 | +install-exec: install-exec-recursive |
| 876 | +install-data: install-data-recursive |
| 877 | +uninstall: uninstall-recursive |
| 878 | + |
| 879 | +install-am: all-am |
| 880 | + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
| 881 | + |
| 882 | +installcheck: installcheck-recursive |
| 883 | +install-strip: |
| 884 | + if test -z '$(STRIP)'; then \ |
| 885 | + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ |
| 886 | + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ |
| 887 | + install; \ |
| 888 | + else \ |
| 889 | + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ |
| 890 | + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ |
| 891 | + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ |
| 892 | + fi |
| 893 | +mostlyclean-generic: |
| 894 | + |
| 895 | +clean-generic: |
| 896 | + |
| 897 | +distclean-generic: |
| 898 | + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) |
| 899 | + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) |
| 900 | + -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) |
| 901 | + |
| 902 | +maintainer-clean-generic: |
| 903 | + @echo "This command is intended for maintainers to use" |
| 904 | + @echo "it deletes files that may require special tools to rebuild." |
| 905 | +clean: clean-recursive |
| 906 | + |
| 907 | +clean-am: clean-generic clean-libtool mostlyclean-am |
| 908 | + |
| 909 | +distclean: distclean-recursive |
| 910 | + -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
| 911 | + -rm -f Makefile |
| 912 | +distclean-am: clean-am distclean-generic distclean-hdr \ |
| 913 | + distclean-libtool distclean-tags |
| 914 | + |
| 915 | +dvi: dvi-recursive |
| 916 | + |
| 917 | +dvi-am: |
| 918 | + |
| 919 | +html: html-recursive |
| 920 | + |
| 921 | +html-am: |
| 922 | + |
| 923 | +info: info-recursive |
| 924 | + |
| 925 | +info-am: |
| 926 | + |
| 927 | +install-data-am: |
| 928 | + |
| 929 | +install-dvi: install-dvi-recursive |
| 930 | + |
| 931 | +install-dvi-am: |
| 932 | + |
| 933 | +install-exec-am: |
| 934 | + |
| 935 | +install-html: install-html-recursive |
| 936 | + |
| 937 | +install-html-am: |
| 938 | + |
| 939 | +install-info: install-info-recursive |
| 940 | + |
| 941 | +install-info-am: |
| 942 | + |
| 943 | +install-man: |
| 944 | + |
| 945 | +install-pdf: install-pdf-recursive |
| 946 | + |
| 947 | +install-pdf-am: |
| 948 | + |
| 949 | +install-ps: install-ps-recursive |
| 950 | + |
| 951 | +install-ps-am: |
| 952 | + |
| 953 | +installcheck-am: |
| 954 | + |
| 955 | +maintainer-clean: maintainer-clean-recursive |
| 956 | + -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
| 957 | + -rm -rf $(top_srcdir)/autom4te.cache |
| 958 | + -rm -f Makefile |
| 959 | +maintainer-clean-am: distclean-am maintainer-clean-generic |
| 960 | + |
| 961 | +mostlyclean: mostlyclean-recursive |
| 962 | + |
| 963 | +mostlyclean-am: mostlyclean-generic mostlyclean-libtool |
| 964 | + |
| 965 | +pdf: pdf-recursive |
| 966 | + |
| 967 | +pdf-am: |
| 968 | + |
| 969 | +ps: ps-recursive |
| 970 | + |
| 971 | +ps-am: |
| 972 | + |
| 973 | +uninstall-am: |
| 974 | + |
| 975 | +.MAKE: $(am__recursive_targets) all install-am install-strip |
| 976 | + |
| 977 | +.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am all-local \ |
| 978 | + am--refresh check check-am clean clean-cscope clean-generic \ |
| 979 | + clean-libtool cscope cscopelist-am ctags ctags-am dist \ |
| 980 | + dist-all dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar \ |
| 981 | + dist-tarZ dist-xz dist-zip distcheck distclean \ |
| 982 | + distclean-generic distclean-hdr distclean-libtool \ |
| 983 | + distclean-tags distcleancheck distdir distuninstallcheck dvi \ |
| 984 | + dvi-am html html-am info info-am install install-am \ |
| 985 | + install-data install-data-am install-dvi install-dvi-am \ |
| 986 | + install-exec install-exec-am install-html install-html-am \ |
| 987 | + install-info install-info-am install-man install-pdf \ |
| 988 | + install-pdf-am install-ps install-ps-am install-strip \ |
| 989 | + installcheck installcheck-am installdirs installdirs-am \ |
| 990 | + maintainer-clean maintainer-clean-generic mostlyclean \ |
| 991 | + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ |
| 992 | + tags tags-am uninstall uninstall-am |
| 993 | + |
| 994 | + |
| 995 | +all-local: |
| 996 | + |
| 997 | +dist-hook: |
| 998 | + @if test -d "$(srcdir)/.git"; \ |
| 999 | + then \ |
| 1000 | + echo Creating ChangeLog && \ |
| 1001 | + ( cd "$(top_srcdir)" && \ |
| 1002 | + echo '# Generated by Makefile. Do not edit.'; echo; \ |
| 1003 | + git log --stat ) > ChangeLog.tmp \ |
| 1004 | + && mv -f ChangeLog.tmp $(distdir)/ChangeLog \ |
| 1005 | + || ( rm -f ChangeLog.tmp ; \ |
| 1006 | + echo Failed to generate ChangeLog >&2 ); \ |
| 1007 | + else \ |
| 1008 | + echo A git clone is required to generate a ChangeLog >&2; \ |
| 1009 | + fi |
| 1010 | + |
| 1011 | +# Tell versions [3.59,3.63) of GNU make to not export all variables. |
| 1012 | +# Otherwise a system limit (for SysV at least) may be exceeded. |
| 1013 | +.NOEXPORT: |
| 1014 | |
| 1015 | === removed file 'Makefile.in' |
| 1016 | --- Makefile.in 2011-06-22 10:12:30 +0000 |
| 1017 | +++ Makefile.in 1970-01-01 00:00:00 +0000 |
| 1018 | @@ -1,766 +0,0 @@ |
| 1019 | -# Makefile.in generated by automake 1.11.1 from Makefile.am. |
| 1020 | -# @configure_input@ |
| 1021 | - |
| 1022 | -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
| 1023 | -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, |
| 1024 | -# Inc. |
| 1025 | -# This Makefile.in is free software; the Free Software Foundation |
| 1026 | -# gives unlimited permission to copy and/or distribute it, |
| 1027 | -# with or without modifications, as long as this notice is preserved. |
| 1028 | - |
| 1029 | -# This program is distributed in the hope that it will be useful, |
| 1030 | -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
| 1031 | -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
| 1032 | -# PARTICULAR PURPOSE. |
| 1033 | - |
| 1034 | -@SET_MAKE@ |
| 1035 | -VPATH = @srcdir@ |
| 1036 | -pkgdatadir = $(datadir)/@PACKAGE@ |
| 1037 | -pkgincludedir = $(includedir)/@PACKAGE@ |
| 1038 | -pkglibdir = $(libdir)/@PACKAGE@ |
| 1039 | -pkglibexecdir = $(libexecdir)/@PACKAGE@ |
| 1040 | -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
| 1041 | -install_sh_DATA = $(install_sh) -c -m 644 |
| 1042 | -install_sh_PROGRAM = $(install_sh) -c |
| 1043 | -install_sh_SCRIPT = $(install_sh) -c |
| 1044 | -INSTALL_HEADER = $(INSTALL_DATA) |
| 1045 | -transform = $(program_transform_name) |
| 1046 | -NORMAL_INSTALL = : |
| 1047 | -PRE_INSTALL = : |
| 1048 | -POST_INSTALL = : |
| 1049 | -NORMAL_UNINSTALL = : |
| 1050 | -PRE_UNINSTALL = : |
| 1051 | -POST_UNINSTALL = : |
| 1052 | -build_triplet = @build@ |
| 1053 | -host_triplet = @host@ |
| 1054 | -subdir = . |
| 1055 | -DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ |
| 1056 | - $(srcdir)/Makefile.in $(srcdir)/config.h.in \ |
| 1057 | - $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \ |
| 1058 | - THANKS build-aux/compile build-aux/config.guess \ |
| 1059 | - build-aux/config.sub build-aux/depcomp build-aux/install-sh \ |
| 1060 | - build-aux/ltmain.sh build-aux/missing |
| 1061 | -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
| 1062 | -am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ |
| 1063 | - $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ |
| 1064 | - $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ |
| 1065 | - $(top_srcdir)/configure.ac |
| 1066 | -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
| 1067 | - $(ACLOCAL_M4) |
| 1068 | -am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ |
| 1069 | - configure.lineno config.status.lineno |
| 1070 | -mkinstalldirs = $(install_sh) -d |
| 1071 | -CONFIG_HEADER = config.h |
| 1072 | -CONFIG_CLEAN_FILES = |
| 1073 | -CONFIG_CLEAN_VPATH_FILES = |
| 1074 | -AM_V_GEN = $(am__v_GEN_$(V)) |
| 1075 | -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) |
| 1076 | -am__v_GEN_0 = @echo " GEN " $@; |
| 1077 | -AM_V_at = $(am__v_at_$(V)) |
| 1078 | -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) |
| 1079 | -am__v_at_0 = @ |
| 1080 | -SOURCES = |
| 1081 | -DIST_SOURCES = |
| 1082 | -RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ |
| 1083 | - html-recursive info-recursive install-data-recursive \ |
| 1084 | - install-dvi-recursive install-exec-recursive \ |
| 1085 | - install-html-recursive install-info-recursive \ |
| 1086 | - install-pdf-recursive install-ps-recursive install-recursive \ |
| 1087 | - installcheck-recursive installdirs-recursive pdf-recursive \ |
| 1088 | - ps-recursive uninstall-recursive |
| 1089 | -RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ |
| 1090 | - distclean-recursive maintainer-clean-recursive |
| 1091 | -AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ |
| 1092 | - $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ |
| 1093 | - distdir dist dist-all distcheck |
| 1094 | -ETAGS = etags |
| 1095 | -CTAGS = ctags |
| 1096 | -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
| 1097 | -distdir = $(PACKAGE)-$(VERSION) |
| 1098 | -top_distdir = $(distdir) |
| 1099 | -am__remove_distdir = \ |
| 1100 | - { test ! -d "$(distdir)" \ |
| 1101 | - || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ |
| 1102 | - && rm -fr "$(distdir)"; }; } |
| 1103 | -am__relativize = \ |
| 1104 | - dir0=`pwd`; \ |
| 1105 | - sed_first='s,^\([^/]*\)/.*$$,\1,'; \ |
| 1106 | - sed_rest='s,^[^/]*/*,,'; \ |
| 1107 | - sed_last='s,^.*/\([^/]*\)$$,\1,'; \ |
| 1108 | - sed_butlast='s,/*[^/]*$$,,'; \ |
| 1109 | - while test -n "$$dir1"; do \ |
| 1110 | - first=`echo "$$dir1" | sed -e "$$sed_first"`; \ |
| 1111 | - if test "$$first" != "."; then \ |
| 1112 | - if test "$$first" = ".."; then \ |
| 1113 | - dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ |
| 1114 | - dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ |
| 1115 | - else \ |
| 1116 | - first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ |
| 1117 | - if test "$$first2" = "$$first"; then \ |
| 1118 | - dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ |
| 1119 | - else \ |
| 1120 | - dir2="../$$dir2"; \ |
| 1121 | - fi; \ |
| 1122 | - dir0="$$dir0"/"$$first"; \ |
| 1123 | - fi; \ |
| 1124 | - fi; \ |
| 1125 | - dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ |
| 1126 | - done; \ |
| 1127 | - reldir="$$dir2" |
| 1128 | -GZIP_ENV = --best |
| 1129 | -DIST_ARCHIVES = $(distdir).tar.bz2 $(distdir).tar.xz |
| 1130 | -distuninstallcheck_listfiles = find . -type f -print |
| 1131 | -distcleancheck_listfiles = find . -type f -print |
| 1132 | -ACLOCAL = @ACLOCAL@ |
| 1133 | -ACLOCAL_AMFLAGS = |
| 1134 | -AMTAR = @AMTAR@ |
| 1135 | -AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ |
| 1136 | -AR = @AR@ |
| 1137 | -AUTOCONF = @AUTOCONF@ |
| 1138 | -AUTOHEADER = @AUTOHEADER@ |
| 1139 | -AUTOMAKE = @AUTOMAKE@ |
| 1140 | -AWK = @AWK@ |
| 1141 | -CC = @CC@ |
| 1142 | -CCDEPMODE = @CCDEPMODE@ |
| 1143 | -CFLAGS = @CFLAGS@ |
| 1144 | -CLUTTER_CFLAGS = @CLUTTER_CFLAGS@ |
| 1145 | -CLUTTER_GST_0_10_CFLAGS = @CLUTTER_GST_0_10_CFLAGS@ |
| 1146 | -CLUTTER_GST_0_10_LIBS = @CLUTTER_GST_0_10_LIBS@ |
| 1147 | -CLUTTER_GST_CFLAGS = @CLUTTER_GST_CFLAGS@ |
| 1148 | -CLUTTER_GST_LIBS = @CLUTTER_GST_LIBS@ |
| 1149 | -CLUTTER_LIBS = @CLUTTER_LIBS@ |
| 1150 | -CLUTTER_X11_CFLAGS = @CLUTTER_X11_CFLAGS@ |
| 1151 | -CLUTTER_X11_LIBS = @CLUTTER_X11_LIBS@ |
| 1152 | -CPP = @CPP@ |
| 1153 | -CPPFLAGS = @CPPFLAGS@ |
| 1154 | -CYGPATH_W = @CYGPATH_W@ |
| 1155 | -DEFS = @DEFS@ |
| 1156 | -DEPDIR = @DEPDIR@ |
| 1157 | -DLLTOOL = @DLLTOOL@ |
| 1158 | -DSYMUTIL = @DSYMUTIL@ |
| 1159 | -DUMPBIN = @DUMPBIN@ |
| 1160 | -ECHO_C = @ECHO_C@ |
| 1161 | -ECHO_N = @ECHO_N@ |
| 1162 | -ECHO_T = @ECHO_T@ |
| 1163 | -EGREP = @EGREP@ |
| 1164 | -EXEEXT = @EXEEXT@ |
| 1165 | -FGREP = @FGREP@ |
| 1166 | -GIO_2_26_CFLAGS = @GIO_2_26_CFLAGS@ |
| 1167 | -GIO_2_26_LIBS = @GIO_2_26_LIBS@ |
| 1168 | -GIO_CFLAGS = @GIO_CFLAGS@ |
| 1169 | -GIO_LIBS = @GIO_LIBS@ |
| 1170 | -GLIB_REQ = @GLIB_REQ@ |
| 1171 | -GREP = @GREP@ |
| 1172 | -GSTREAMER_0_10_CFLAGS = @GSTREAMER_0_10_CFLAGS@ |
| 1173 | -GSTREAMER_0_10_LIBS = @GSTREAMER_0_10_LIBS@ |
| 1174 | -GST_LICENSE = @GST_LICENSE@ |
| 1175 | -GST_MAJORMINOR = @GST_MAJORMINOR@ |
| 1176 | -GST_PBUTILS_CFLAGS = @GST_PBUTILS_CFLAGS@ |
| 1177 | -GST_PBUTILS_LIBS = @GST_PBUTILS_LIBS@ |
| 1178 | -INSTALL = @INSTALL@ |
| 1179 | -INSTALL_DATA = @INSTALL_DATA@ |
| 1180 | -INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
| 1181 | -INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
| 1182 | -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
| 1183 | -LD = @LD@ |
| 1184 | -LDFLAGS = @LDFLAGS@ |
| 1185 | -LIBOBJS = @LIBOBJS@ |
| 1186 | -LIBS = @LIBS@ |
| 1187 | -LIBTOOL = @LIBTOOL@ |
| 1188 | -LIPO = @LIPO@ |
| 1189 | -LN_S = @LN_S@ |
| 1190 | -LTLIBOBJS = @LTLIBOBJS@ |
| 1191 | -MAINT = @MAINT@ |
| 1192 | -MAKEINFO = @MAKEINFO@ |
| 1193 | -MANIFEST_TOOL = @MANIFEST_TOOL@ |
| 1194 | -MKDIR_P = @MKDIR_P@ |
| 1195 | -NM = @NM@ |
| 1196 | -NMEDIT = @NMEDIT@ |
| 1197 | -OBJDUMP = @OBJDUMP@ |
| 1198 | -OBJEXT = @OBJEXT@ |
| 1199 | -OTOOL = @OTOOL@ |
| 1200 | -OTOOL64 = @OTOOL64@ |
| 1201 | -PACKAGE = @PACKAGE@ |
| 1202 | -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
| 1203 | -PACKAGE_NAME = @PACKAGE_NAME@ |
| 1204 | -PACKAGE_STRING = @PACKAGE_STRING@ |
| 1205 | -PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
| 1206 | -PACKAGE_URL = @PACKAGE_URL@ |
| 1207 | -PACKAGE_VERSION = @PACKAGE_VERSION@ |
| 1208 | -PATH_SEPARATOR = @PATH_SEPARATOR@ |
| 1209 | -PKG_CONFIG = @PKG_CONFIG@ |
| 1210 | -PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ |
| 1211 | -PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ |
| 1212 | -RANLIB = @RANLIB@ |
| 1213 | -ROOT_UNINSTALLED_DIR = @ROOT_UNINSTALLED_DIR@ |
| 1214 | -SED = @SED@ |
| 1215 | -SET_MAKE = @SET_MAKE@ |
| 1216 | -SHELL = @SHELL@ |
| 1217 | -STRIP = @STRIP@ |
| 1218 | -VERSION = @VERSION@ |
| 1219 | -XTEST_CFLAGS = @XTEST_CFLAGS@ |
| 1220 | -XTEST_LIBS = @XTEST_LIBS@ |
| 1221 | -abs_builddir = @abs_builddir@ |
| 1222 | -abs_srcdir = @abs_srcdir@ |
| 1223 | -abs_top_builddir = @abs_top_builddir@ |
| 1224 | -abs_top_srcdir = @abs_top_srcdir@ |
| 1225 | -ac_ct_AR = @ac_ct_AR@ |
| 1226 | -ac_ct_CC = @ac_ct_CC@ |
| 1227 | -ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
| 1228 | -am__include = @am__include@ |
| 1229 | -am__leading_dot = @am__leading_dot@ |
| 1230 | -am__quote = @am__quote@ |
| 1231 | -am__tar = @am__tar@ |
| 1232 | -am__untar = @am__untar@ |
| 1233 | -bindir = @bindir@ |
| 1234 | -build = @build@ |
| 1235 | -build_alias = @build_alias@ |
| 1236 | -build_cpu = @build_cpu@ |
| 1237 | -build_os = @build_os@ |
| 1238 | -build_vendor = @build_vendor@ |
| 1239 | -builddir = @builddir@ |
| 1240 | -datadir = @datadir@ |
| 1241 | -datarootdir = @datarootdir@ |
| 1242 | -docdir = @docdir@ |
| 1243 | -dvidir = @dvidir@ |
| 1244 | -exec_prefix = @exec_prefix@ |
| 1245 | -host = @host@ |
| 1246 | -host_alias = @host_alias@ |
| 1247 | -host_cpu = @host_cpu@ |
| 1248 | -host_os = @host_os@ |
| 1249 | -host_vendor = @host_vendor@ |
| 1250 | -htmldir = @htmldir@ |
| 1251 | -includedir = @includedir@ |
| 1252 | -infodir = @infodir@ |
| 1253 | -install_sh = @install_sh@ |
| 1254 | -libdir = @libdir@ |
| 1255 | -libexecdir = @libexecdir@ |
| 1256 | -localedir = @localedir@ |
| 1257 | -localstatedir = @localstatedir@ |
| 1258 | -mandir = @mandir@ |
| 1259 | -mkdir_p = @mkdir_p@ |
| 1260 | -oldincludedir = @oldincludedir@ |
| 1261 | -pdfdir = @pdfdir@ |
| 1262 | -prefix = @prefix@ |
| 1263 | -program_transform_name = @program_transform_name@ |
| 1264 | -psdir = @psdir@ |
| 1265 | -sbindir = @sbindir@ |
| 1266 | -sharedstatedir = @sharedstatedir@ |
| 1267 | -srcdir = @srcdir@ |
| 1268 | -sysconfdir = @sysconfdir@ |
| 1269 | -target_alias = @target_alias@ |
| 1270 | -top_build_prefix = @top_build_prefix@ |
| 1271 | -top_builddir = @top_builddir@ |
| 1272 | -top_srcdir = @top_srcdir@ |
| 1273 | -AUTOMAKE_OPTIONS = 1.7 |
| 1274 | -SUBDIRS = \ |
| 1275 | - src data |
| 1276 | - |
| 1277 | -DIST_SUBDIRS = $(SUBDIRS) |
| 1278 | -EXTRA_DIST = \ |
| 1279 | - ChangeLog autogen.sh \ |
| 1280 | - AUTHORS COPYING NEWS README |
| 1281 | - |
| 1282 | -pkgconfigdir = $(libdir)pkgconfig |
| 1283 | -DISTCLEANFILES = |
| 1284 | -all: config.h |
| 1285 | - $(MAKE) $(AM_MAKEFLAGS) all-recursive |
| 1286 | - |
| 1287 | -.SUFFIXES: |
| 1288 | -am--refresh: |
| 1289 | - @: |
| 1290 | -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) |
| 1291 | - @for dep in $?; do \ |
| 1292 | - case '$(am__configure_deps)' in \ |
| 1293 | - *$$dep*) \ |
| 1294 | - echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ |
| 1295 | - $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ |
| 1296 | - && exit 0; \ |
| 1297 | - exit 1;; \ |
| 1298 | - esac; \ |
| 1299 | - done; \ |
| 1300 | - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ |
| 1301 | - $(am__cd) $(top_srcdir) && \ |
| 1302 | - $(AUTOMAKE) --gnu Makefile |
| 1303 | -.PRECIOUS: Makefile |
| 1304 | -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
| 1305 | - @case '$?' in \ |
| 1306 | - *config.status*) \ |
| 1307 | - echo ' $(SHELL) ./config.status'; \ |
| 1308 | - $(SHELL) ./config.status;; \ |
| 1309 | - *) \ |
| 1310 | - echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ |
| 1311 | - cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ |
| 1312 | - esac; |
| 1313 | - |
| 1314 | -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
| 1315 | - $(SHELL) ./config.status --recheck |
| 1316 | - |
| 1317 | -$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) |
| 1318 | - $(am__cd) $(srcdir) && $(AUTOCONF) |
| 1319 | -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) |
| 1320 | - $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) |
| 1321 | -$(am__aclocal_m4_deps): |
| 1322 | - |
| 1323 | -config.h: stamp-h1 |
| 1324 | - @if test ! -f $@; then \ |
| 1325 | - rm -f stamp-h1; \ |
| 1326 | - $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ |
| 1327 | - else :; fi |
| 1328 | - |
| 1329 | -stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status |
| 1330 | - @rm -f stamp-h1 |
| 1331 | - cd $(top_builddir) && $(SHELL) ./config.status config.h |
| 1332 | -$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) |
| 1333 | - ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) |
| 1334 | - rm -f stamp-h1 |
| 1335 | - touch $@ |
| 1336 | - |
| 1337 | -distclean-hdr: |
| 1338 | - -rm -f config.h stamp-h1 |
| 1339 | - |
| 1340 | -mostlyclean-libtool: |
| 1341 | - -rm -f *.lo |
| 1342 | - |
| 1343 | -clean-libtool: |
| 1344 | - -rm -rf .libs _libs |
| 1345 | - |
| 1346 | -distclean-libtool: |
| 1347 | - -rm -f libtool config.lt |
| 1348 | - |
| 1349 | -# This directory's subdirectories are mostly independent; you can cd |
| 1350 | -# into them and run `make' without going through this Makefile. |
| 1351 | -# To change the values of `make' variables: instead of editing Makefiles, |
| 1352 | -# (1) if the variable is set in `config.status', edit `config.status' |
| 1353 | -# (which will cause the Makefiles to be regenerated when you run `make'); |
| 1354 | -# (2) otherwise, pass the desired values on the `make' command line. |
| 1355 | -$(RECURSIVE_TARGETS): |
| 1356 | - @fail= failcom='exit 1'; \ |
| 1357 | - for f in x $$MAKEFLAGS; do \ |
| 1358 | - case $$f in \ |
| 1359 | - *=* | --[!k]*);; \ |
| 1360 | - *k*) failcom='fail=yes';; \ |
| 1361 | - esac; \ |
| 1362 | - done; \ |
| 1363 | - dot_seen=no; \ |
| 1364 | - target=`echo $@ | sed s/-recursive//`; \ |
| 1365 | - list='$(SUBDIRS)'; for subdir in $$list; do \ |
| 1366 | - echo "Making $$target in $$subdir"; \ |
| 1367 | - if test "$$subdir" = "."; then \ |
| 1368 | - dot_seen=yes; \ |
| 1369 | - local_target="$$target-am"; \ |
| 1370 | - else \ |
| 1371 | - local_target="$$target"; \ |
| 1372 | - fi; \ |
| 1373 | - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ |
| 1374 | - || eval $$failcom; \ |
| 1375 | - done; \ |
| 1376 | - if test "$$dot_seen" = "no"; then \ |
| 1377 | - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ |
| 1378 | - fi; test -z "$$fail" |
| 1379 | - |
| 1380 | -$(RECURSIVE_CLEAN_TARGETS): |
| 1381 | - @fail= failcom='exit 1'; \ |
| 1382 | - for f in x $$MAKEFLAGS; do \ |
| 1383 | - case $$f in \ |
| 1384 | - *=* | --[!k]*);; \ |
| 1385 | - *k*) failcom='fail=yes';; \ |
| 1386 | - esac; \ |
| 1387 | - done; \ |
| 1388 | - dot_seen=no; \ |
| 1389 | - case "$@" in \ |
| 1390 | - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ |
| 1391 | - *) list='$(SUBDIRS)' ;; \ |
| 1392 | - esac; \ |
| 1393 | - rev=''; for subdir in $$list; do \ |
| 1394 | - if test "$$subdir" = "."; then :; else \ |
| 1395 | - rev="$$subdir $$rev"; \ |
| 1396 | - fi; \ |
| 1397 | - done; \ |
| 1398 | - rev="$$rev ."; \ |
| 1399 | - target=`echo $@ | sed s/-recursive//`; \ |
| 1400 | - for subdir in $$rev; do \ |
| 1401 | - echo "Making $$target in $$subdir"; \ |
| 1402 | - if test "$$subdir" = "."; then \ |
| 1403 | - local_target="$$target-am"; \ |
| 1404 | - else \ |
| 1405 | - local_target="$$target"; \ |
| 1406 | - fi; \ |
| 1407 | - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ |
| 1408 | - || eval $$failcom; \ |
| 1409 | - done && test -z "$$fail" |
| 1410 | -tags-recursive: |
| 1411 | - list='$(SUBDIRS)'; for subdir in $$list; do \ |
| 1412 | - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ |
| 1413 | - done |
| 1414 | -ctags-recursive: |
| 1415 | - list='$(SUBDIRS)'; for subdir in $$list; do \ |
| 1416 | - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ |
| 1417 | - done |
| 1418 | - |
| 1419 | -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) |
| 1420 | - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ |
| 1421 | - unique=`for i in $$list; do \ |
| 1422 | - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
| 1423 | - done | \ |
| 1424 | - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
| 1425 | - END { if (nonempty) { for (i in files) print i; }; }'`; \ |
| 1426 | - mkid -fID $$unique |
| 1427 | -tags: TAGS |
| 1428 | - |
| 1429 | -TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ |
| 1430 | - $(TAGS_FILES) $(LISP) |
| 1431 | - set x; \ |
| 1432 | - here=`pwd`; \ |
| 1433 | - if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ |
| 1434 | - include_option=--etags-include; \ |
| 1435 | - empty_fix=.; \ |
| 1436 | - else \ |
| 1437 | - include_option=--include; \ |
| 1438 | - empty_fix=; \ |
| 1439 | - fi; \ |
| 1440 | - list='$(SUBDIRS)'; for subdir in $$list; do \ |
| 1441 | - if test "$$subdir" = .; then :; else \ |
| 1442 | - test ! -f $$subdir/TAGS || \ |
| 1443 | - set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ |
| 1444 | - fi; \ |
| 1445 | - done; \ |
| 1446 | - list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ |
| 1447 | - unique=`for i in $$list; do \ |
| 1448 | - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
| 1449 | - done | \ |
| 1450 | - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
| 1451 | - END { if (nonempty) { for (i in files) print i; }; }'`; \ |
| 1452 | - shift; \ |
| 1453 | - if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ |
| 1454 | - test -n "$$unique" || unique=$$empty_fix; \ |
| 1455 | - if test $$# -gt 0; then \ |
| 1456 | - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
| 1457 | - "$$@" $$unique; \ |
| 1458 | - else \ |
| 1459 | - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
| 1460 | - $$unique; \ |
| 1461 | - fi; \ |
| 1462 | - fi |
| 1463 | -ctags: CTAGS |
| 1464 | -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ |
| 1465 | - $(TAGS_FILES) $(LISP) |
| 1466 | - list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ |
| 1467 | - unique=`for i in $$list; do \ |
| 1468 | - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
| 1469 | - done | \ |
| 1470 | - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
| 1471 | - END { if (nonempty) { for (i in files) print i; }; }'`; \ |
| 1472 | - test -z "$(CTAGS_ARGS)$$unique" \ |
| 1473 | - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
| 1474 | - $$unique |
| 1475 | - |
| 1476 | -GTAGS: |
| 1477 | - here=`$(am__cd) $(top_builddir) && pwd` \ |
| 1478 | - && $(am__cd) $(top_srcdir) \ |
| 1479 | - && gtags -i $(GTAGS_ARGS) "$$here" |
| 1480 | - |
| 1481 | -distclean-tags: |
| 1482 | - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
| 1483 | - |
| 1484 | -distdir: $(DISTFILES) |
| 1485 | - $(am__remove_distdir) |
| 1486 | - test -d "$(distdir)" || mkdir "$(distdir)" |
| 1487 | - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
| 1488 | - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
| 1489 | - list='$(DISTFILES)'; \ |
| 1490 | - dist_files=`for file in $$list; do echo $$file; done | \ |
| 1491 | - sed -e "s|^$$srcdirstrip/||;t" \ |
| 1492 | - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ |
| 1493 | - case $$dist_files in \ |
| 1494 | - */*) $(MKDIR_P) `echo "$$dist_files" | \ |
| 1495 | - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ |
| 1496 | - sort -u` ;; \ |
| 1497 | - esac; \ |
| 1498 | - for file in $$dist_files; do \ |
| 1499 | - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ |
| 1500 | - if test -d $$d/$$file; then \ |
| 1501 | - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ |
| 1502 | - if test -d "$(distdir)/$$file"; then \ |
| 1503 | - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
| 1504 | - fi; \ |
| 1505 | - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
| 1506 | - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ |
| 1507 | - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
| 1508 | - fi; \ |
| 1509 | - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ |
| 1510 | - else \ |
| 1511 | - test -f "$(distdir)/$$file" \ |
| 1512 | - || cp -p $$d/$$file "$(distdir)/$$file" \ |
| 1513 | - || exit 1; \ |
| 1514 | - fi; \ |
| 1515 | - done |
| 1516 | - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ |
| 1517 | - if test "$$subdir" = .; then :; else \ |
| 1518 | - test -d "$(distdir)/$$subdir" \ |
| 1519 | - || $(MKDIR_P) "$(distdir)/$$subdir" \ |
| 1520 | - || exit 1; \ |
| 1521 | - fi; \ |
| 1522 | - done |
| 1523 | - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ |
| 1524 | - if test "$$subdir" = .; then :; else \ |
| 1525 | - dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ |
| 1526 | - $(am__relativize); \ |
| 1527 | - new_distdir=$$reldir; \ |
| 1528 | - dir1=$$subdir; dir2="$(top_distdir)"; \ |
| 1529 | - $(am__relativize); \ |
| 1530 | - new_top_distdir=$$reldir; \ |
| 1531 | - echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ |
| 1532 | - echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ |
| 1533 | - ($(am__cd) $$subdir && \ |
| 1534 | - $(MAKE) $(AM_MAKEFLAGS) \ |
| 1535 | - top_distdir="$$new_top_distdir" \ |
| 1536 | - distdir="$$new_distdir" \ |
| 1537 | - am__remove_distdir=: \ |
| 1538 | - am__skip_length_check=: \ |
| 1539 | - am__skip_mode_fix=: \ |
| 1540 | - distdir) \ |
| 1541 | - || exit 1; \ |
| 1542 | - fi; \ |
| 1543 | - done |
| 1544 | - -test -n "$(am__skip_mode_fix)" \ |
| 1545 | - || find "$(distdir)" -type d ! -perm -755 \ |
| 1546 | - -exec chmod u+rwx,go+rx {} \; -o \ |
| 1547 | - ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ |
| 1548 | - ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ |
| 1549 | - ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ |
| 1550 | - || chmod -R a+r "$(distdir)" |
| 1551 | -dist-gzip: distdir |
| 1552 | - tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
| 1553 | - $(am__remove_distdir) |
| 1554 | -dist-bzip2: distdir |
| 1555 | - tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 |
| 1556 | - $(am__remove_distdir) |
| 1557 | - |
| 1558 | -dist-lzma: distdir |
| 1559 | - tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma |
| 1560 | - $(am__remove_distdir) |
| 1561 | -dist-xz: distdir |
| 1562 | - tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz |
| 1563 | - $(am__remove_distdir) |
| 1564 | - |
| 1565 | -dist-tarZ: distdir |
| 1566 | - tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z |
| 1567 | - $(am__remove_distdir) |
| 1568 | - |
| 1569 | -dist-shar: distdir |
| 1570 | - shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz |
| 1571 | - $(am__remove_distdir) |
| 1572 | - |
| 1573 | -dist-zip: distdir |
| 1574 | - -rm -f $(distdir).zip |
| 1575 | - zip -rq $(distdir).zip $(distdir) |
| 1576 | - $(am__remove_distdir) |
| 1577 | - |
| 1578 | -dist dist-all: distdir |
| 1579 | - tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 |
| 1580 | - tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz |
| 1581 | - $(am__remove_distdir) |
| 1582 | - |
| 1583 | -# This target untars the dist file and tries a VPATH configuration. Then |
| 1584 | -# it guarantees that the distribution is self-contained by making another |
| 1585 | -# tarfile. |
| 1586 | -distcheck: dist |
| 1587 | - case '$(DIST_ARCHIVES)' in \ |
| 1588 | - *.tar.gz*) \ |
| 1589 | - GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ |
| 1590 | - *.tar.bz2*) \ |
| 1591 | - bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ |
| 1592 | - *.tar.lzma*) \ |
| 1593 | - lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ |
| 1594 | - *.tar.xz*) \ |
| 1595 | - xz -dc $(distdir).tar.xz | $(am__untar) ;;\ |
| 1596 | - *.tar.Z*) \ |
| 1597 | - uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ |
| 1598 | - *.shar.gz*) \ |
| 1599 | - GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ |
| 1600 | - *.zip*) \ |
| 1601 | - unzip $(distdir).zip ;;\ |
| 1602 | - esac |
| 1603 | - chmod -R a-w $(distdir); chmod a+w $(distdir) |
| 1604 | - mkdir $(distdir)/_build |
| 1605 | - mkdir $(distdir)/_inst |
| 1606 | - chmod a-w $(distdir) |
| 1607 | - test -d $(distdir)/_build || exit 0; \ |
| 1608 | - dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ |
| 1609 | - && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ |
| 1610 | - && am__cwd=`pwd` \ |
| 1611 | - && $(am__cd) $(distdir)/_build \ |
| 1612 | - && ../configure --srcdir=.. --prefix="$$dc_install_base" \ |
| 1613 | - $(DISTCHECK_CONFIGURE_FLAGS) \ |
| 1614 | - && $(MAKE) $(AM_MAKEFLAGS) \ |
| 1615 | - && $(MAKE) $(AM_MAKEFLAGS) dvi \ |
| 1616 | - && $(MAKE) $(AM_MAKEFLAGS) check \ |
| 1617 | - && $(MAKE) $(AM_MAKEFLAGS) install \ |
| 1618 | - && $(MAKE) $(AM_MAKEFLAGS) installcheck \ |
| 1619 | - && $(MAKE) $(AM_MAKEFLAGS) uninstall \ |
| 1620 | - && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ |
| 1621 | - distuninstallcheck \ |
| 1622 | - && chmod -R a-w "$$dc_install_base" \ |
| 1623 | - && ({ \ |
| 1624 | - (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ |
| 1625 | - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ |
| 1626 | - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ |
| 1627 | - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ |
| 1628 | - distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ |
| 1629 | - } || { rm -rf "$$dc_destdir"; exit 1; }) \ |
| 1630 | - && rm -rf "$$dc_destdir" \ |
| 1631 | - && $(MAKE) $(AM_MAKEFLAGS) dist \ |
| 1632 | - && rm -rf $(DIST_ARCHIVES) \ |
| 1633 | - && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ |
| 1634 | - && cd "$$am__cwd" \ |
| 1635 | - || exit 1 |
| 1636 | - $(am__remove_distdir) |
| 1637 | - @(echo "$(distdir) archives ready for distribution: "; \ |
| 1638 | - list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ |
| 1639 | - sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' |
| 1640 | -distuninstallcheck: |
| 1641 | - @$(am__cd) '$(distuninstallcheck_dir)' \ |
| 1642 | - && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ |
| 1643 | - || { echo "ERROR: files left after uninstall:" ; \ |
| 1644 | - if test -n "$(DESTDIR)"; then \ |
| 1645 | - echo " (check DESTDIR support)"; \ |
| 1646 | - fi ; \ |
| 1647 | - $(distuninstallcheck_listfiles) ; \ |
| 1648 | - exit 1; } >&2 |
| 1649 | -distcleancheck: distclean |
| 1650 | - @if test '$(srcdir)' = . ; then \ |
| 1651 | - echo "ERROR: distcleancheck can only run from a VPATH build" ; \ |
| 1652 | - exit 1 ; \ |
| 1653 | - fi |
| 1654 | - @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ |
| 1655 | - || { echo "ERROR: files left in build directory after distclean:" ; \ |
| 1656 | - $(distcleancheck_listfiles) ; \ |
| 1657 | - exit 1; } >&2 |
| 1658 | -check-am: all-am |
| 1659 | -check: check-recursive |
| 1660 | -all-am: Makefile config.h all-local |
| 1661 | -installdirs: installdirs-recursive |
| 1662 | -installdirs-am: |
| 1663 | -install: install-recursive |
| 1664 | -install-exec: install-exec-recursive |
| 1665 | -install-data: install-data-recursive |
| 1666 | -uninstall: uninstall-recursive |
| 1667 | - |
| 1668 | -install-am: all-am |
| 1669 | - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
| 1670 | - |
| 1671 | -installcheck: installcheck-recursive |
| 1672 | -install-strip: |
| 1673 | - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ |
| 1674 | - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ |
| 1675 | - `test -z '$(STRIP)' || \ |
| 1676 | - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install |
| 1677 | -mostlyclean-generic: |
| 1678 | - |
| 1679 | -clean-generic: |
| 1680 | - |
| 1681 | -distclean-generic: |
| 1682 | - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) |
| 1683 | - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) |
| 1684 | - -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) |
| 1685 | - |
| 1686 | -maintainer-clean-generic: |
| 1687 | - @echo "This command is intended for maintainers to use" |
| 1688 | - @echo "it deletes files that may require special tools to rebuild." |
| 1689 | -clean: clean-recursive |
| 1690 | - |
| 1691 | -clean-am: clean-generic clean-libtool mostlyclean-am |
| 1692 | - |
| 1693 | -distclean: distclean-recursive |
| 1694 | - -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
| 1695 | - -rm -f Makefile |
| 1696 | -distclean-am: clean-am distclean-generic distclean-hdr \ |
| 1697 | - distclean-libtool distclean-tags |
| 1698 | - |
| 1699 | -dvi: dvi-recursive |
| 1700 | - |
| 1701 | -dvi-am: |
| 1702 | - |
| 1703 | -html: html-recursive |
| 1704 | - |
| 1705 | -html-am: |
| 1706 | - |
| 1707 | -info: info-recursive |
| 1708 | - |
| 1709 | -info-am: |
| 1710 | - |
| 1711 | -install-data-am: |
| 1712 | - |
| 1713 | -install-dvi: install-dvi-recursive |
| 1714 | - |
| 1715 | -install-dvi-am: |
| 1716 | - |
| 1717 | -install-exec-am: |
| 1718 | - |
| 1719 | -install-html: install-html-recursive |
| 1720 | - |
| 1721 | -install-html-am: |
| 1722 | - |
| 1723 | -install-info: install-info-recursive |
| 1724 | - |
| 1725 | -install-info-am: |
| 1726 | - |
| 1727 | -install-man: |
| 1728 | - |
| 1729 | -install-pdf: install-pdf-recursive |
| 1730 | - |
| 1731 | -install-pdf-am: |
| 1732 | - |
| 1733 | -install-ps: install-ps-recursive |
| 1734 | - |
| 1735 | -install-ps-am: |
| 1736 | - |
| 1737 | -installcheck-am: |
| 1738 | - |
| 1739 | -maintainer-clean: maintainer-clean-recursive |
| 1740 | - -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
| 1741 | - -rm -rf $(top_srcdir)/autom4te.cache |
| 1742 | - -rm -f Makefile |
| 1743 | -maintainer-clean-am: distclean-am maintainer-clean-generic |
| 1744 | - |
| 1745 | -mostlyclean: mostlyclean-recursive |
| 1746 | - |
| 1747 | -mostlyclean-am: mostlyclean-generic mostlyclean-libtool |
| 1748 | - |
| 1749 | -pdf: pdf-recursive |
| 1750 | - |
| 1751 | -pdf-am: |
| 1752 | - |
| 1753 | -ps: ps-recursive |
| 1754 | - |
| 1755 | -ps-am: |
| 1756 | - |
| 1757 | -uninstall-am: |
| 1758 | - |
| 1759 | -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \ |
| 1760 | - ctags-recursive install-am install-strip tags-recursive |
| 1761 | - |
| 1762 | -.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ |
| 1763 | - all all-am all-local am--refresh check check-am clean \ |
| 1764 | - clean-generic clean-libtool ctags ctags-recursive dist \ |
| 1765 | - dist-all dist-bzip2 dist-gzip dist-lzma dist-shar dist-tarZ \ |
| 1766 | - dist-xz dist-zip distcheck distclean distclean-generic \ |
| 1767 | - distclean-hdr distclean-libtool distclean-tags distcleancheck \ |
| 1768 | - distdir distuninstallcheck dvi dvi-am html html-am info \ |
| 1769 | - info-am install install-am install-data install-data-am \ |
| 1770 | - install-dvi install-dvi-am install-exec install-exec-am \ |
| 1771 | - install-html install-html-am install-info install-info-am \ |
| 1772 | - install-man install-pdf install-pdf-am install-ps \ |
| 1773 | - install-ps-am install-strip installcheck installcheck-am \ |
| 1774 | - installdirs installdirs-am maintainer-clean \ |
| 1775 | - maintainer-clean-generic mostlyclean mostlyclean-generic \ |
| 1776 | - mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \ |
| 1777 | - uninstall uninstall-am |
| 1778 | - |
| 1779 | - |
| 1780 | -all-local: |
| 1781 | - |
| 1782 | -# Tell versions [3.59,3.63) of GNU make to not export all variables. |
| 1783 | -# Otherwise a system limit (for SysV at least) may be exceeded. |
| 1784 | -.NOEXPORT: |
| 1785 | |
| 1786 | === modified file 'README' |
| 1787 | --- README 2011-06-22 10:12:30 +0000 |
| 1788 | +++ README 2015-02-02 19:41:07 +0000 |
| 1789 | @@ -4,3 +4,14 @@ |
| 1790 | 2011-03-25 |
| 1791 | version 0.2 - "Mrs. Robinson, you're trying to seduce me." |
| 1792 | 2011-06-20 |
| 1793 | +version 0.3 - "Rosebud." CiTIZEN Kane |
| 1794 | +2013-03-24 |
| 1795 | +version 1.0 - "I'll be back." Terminator |
| 1796 | +2014-03-24 |
| 1797 | + |
| 1798 | + |
| 1799 | +get the source from: http://git.gnome.org/snappy |
| 1800 | +report bugs at: https://bugzilla.gnome.org/browse.cgi?product=snappy |
| 1801 | +contact: snappy-list@gnome.org |
| 1802 | +project page: http://projects.gnome.org/snappy/ |
| 1803 | +wiki: https://live.gnome.org/snappy |
| 1804 | |
| 1805 | === modified file 'THANKS' |
| 1806 | --- THANKS 2011-06-22 10:12:30 +0000 |
| 1807 | +++ THANKS 2015-02-02 19:41:07 +0000 |
| 1808 | @@ -1,8 +1,22 @@ |
| 1809 | -Thanks to all the people that helped the project with guidance and/or answers: |
| 1810 | +Thanks to all the people that helped the project with patches, guidance and/or answers: |
| 1811 | |
| 1812 | +Alban Crequy |
| 1813 | +Andoni Morales Alastruey |
| 1814 | Andy Wingo |
| 1815 | +Antonio Trande |
| 1816 | +Bastien Nocera |
| 1817 | +Bjørn Lie |
| 1818 | +David Schleef |
| 1819 | Deirdre Kelly |
| 1820 | Edward Hervey |
| 1821 | Emmanuele Bassi |
| 1822 | +Jens Georg |
| 1823 | +Konstantinos Papagiannopoulos |
| 1824 | +George Danchev |
| 1825 | +Nicolas Dufresne |
| 1826 | +Nirbheek Chauhan |
| 1827 | +Philippe Coval |
| 1828 | Robert Swain |
| 1829 | Sebastian Dröge |
| 1830 | +Tim Philipp Muller |
| 1831 | +Wim Taymans |
| 1832 | |
| 1833 | === added file 'ToDo' |
| 1834 | --- ToDo 1970-01-01 00:00:00 +0000 |
| 1835 | +++ ToDo 2015-02-02 19:41:07 +0000 |
| 1836 | @@ -0,0 +1,2 @@ |
| 1837 | +To view planned features or suggest new ones: |
| 1838 | +https://bugzilla.gnome.org/browse.cgi?product=snappy |
| 1839 | |
| 1840 | === added file 'aclocal.m4' |
| 1841 | --- aclocal.m4 1970-01-01 00:00:00 +0000 |
| 1842 | +++ aclocal.m4 2015-02-02 19:41:07 +0000 |
| 1843 | @@ -0,0 +1,1373 @@ |
| 1844 | +# generated automatically by aclocal 1.13.4 -*- Autoconf -*- |
| 1845 | + |
| 1846 | +# Copyright (C) 1996-2013 Free Software Foundation, Inc. |
| 1847 | + |
| 1848 | +# This file is free software; the Free Software Foundation |
| 1849 | +# gives unlimited permission to copy and/or distribute it, |
| 1850 | +# with or without modifications, as long as this notice is preserved. |
| 1851 | + |
| 1852 | +# This program is distributed in the hope that it will be useful, |
| 1853 | +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
| 1854 | +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
| 1855 | +# PARTICULAR PURPOSE. |
| 1856 | + |
| 1857 | +m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) |
| 1858 | +m4_ifndef([AC_AUTOCONF_VERSION], |
| 1859 | + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
| 1860 | +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, |
| 1861 | +[m4_warning([this file was generated for autoconf 2.69. |
| 1862 | +You have another version of autoconf. It may work, but is not guaranteed to. |
| 1863 | +If you have problems, you may need to regenerate the build system entirely. |
| 1864 | +To do so, use the procedure documented by the package, typically 'autoreconf'.])]) |
| 1865 | + |
| 1866 | +# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- |
| 1867 | +# serial 1 (pkg-config-0.24) |
| 1868 | +# |
| 1869 | +# Copyright © 2004 Scott James Remnant <scott@netsplit.com>. |
| 1870 | +# |
| 1871 | +# This program is free software; you can redistribute it and/or modify |
| 1872 | +# it under the terms of the GNU General Public License as published by |
| 1873 | +# the Free Software Foundation; either version 2 of the License, or |
| 1874 | +# (at your option) any later version. |
| 1875 | +# |
| 1876 | +# This program is distributed in the hope that it will be useful, but |
| 1877 | +# WITHOUT ANY WARRANTY; without even the implied warranty of |
| 1878 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 1879 | +# General Public License for more details. |
| 1880 | +# |
| 1881 | +# You should have received a copy of the GNU General Public License |
| 1882 | +# along with this program; if not, write to the Free Software |
| 1883 | +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 1884 | +# |
| 1885 | +# As a special exception to the GNU General Public License, if you |
| 1886 | +# distribute this file as part of a program that contains a |
| 1887 | +# configuration script generated by Autoconf, you may include it under |
| 1888 | +# the same distribution terms that you use for the rest of that program. |
| 1889 | + |
| 1890 | +# PKG_PROG_PKG_CONFIG([MIN-VERSION]) |
| 1891 | +# ---------------------------------- |
| 1892 | +AC_DEFUN([PKG_PROG_PKG_CONFIG], |
| 1893 | +[m4_pattern_forbid([^_?PKG_[A-Z_]+$]) |
| 1894 | +m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) |
| 1895 | +m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) |
| 1896 | +AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) |
| 1897 | +AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) |
| 1898 | +AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) |
| 1899 | + |
| 1900 | +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
| 1901 | + AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) |
| 1902 | +fi |
| 1903 | +if test -n "$PKG_CONFIG"; then |
| 1904 | + _pkg_min_version=m4_default([$1], [0.9.0]) |
| 1905 | + AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) |
| 1906 | + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then |
| 1907 | + AC_MSG_RESULT([yes]) |
| 1908 | + else |
| 1909 | + AC_MSG_RESULT([no]) |
| 1910 | + PKG_CONFIG="" |
| 1911 | + fi |
| 1912 | +fi[]dnl |
| 1913 | +])# PKG_PROG_PKG_CONFIG |
| 1914 | + |
| 1915 | +# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) |
| 1916 | +# |
| 1917 | +# Check to see whether a particular set of modules exists. Similar |
| 1918 | +# to PKG_CHECK_MODULES(), but does not set variables or print errors. |
| 1919 | +# |
| 1920 | +# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) |
| 1921 | +# only at the first occurence in configure.ac, so if the first place |
| 1922 | +# it's called might be skipped (such as if it is within an "if", you |
| 1923 | +# have to call PKG_CHECK_EXISTS manually |
| 1924 | +# -------------------------------------------------------------- |
| 1925 | +AC_DEFUN([PKG_CHECK_EXISTS], |
| 1926 | +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl |
| 1927 | +if test -n "$PKG_CONFIG" && \ |
| 1928 | + AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then |
| 1929 | + m4_default([$2], [:]) |
| 1930 | +m4_ifvaln([$3], [else |
| 1931 | + $3])dnl |
| 1932 | +fi]) |
| 1933 | + |
| 1934 | +# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) |
| 1935 | +# --------------------------------------------- |
| 1936 | +m4_define([_PKG_CONFIG], |
| 1937 | +[if test -n "$$1"; then |
| 1938 | + pkg_cv_[]$1="$$1" |
| 1939 | + elif test -n "$PKG_CONFIG"; then |
| 1940 | + PKG_CHECK_EXISTS([$3], |
| 1941 | + [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` |
| 1942 | + test "x$?" != "x0" && pkg_failed=yes ], |
| 1943 | + [pkg_failed=yes]) |
| 1944 | + else |
| 1945 | + pkg_failed=untried |
| 1946 | +fi[]dnl |
| 1947 | +])# _PKG_CONFIG |
| 1948 | + |
| 1949 | +# _PKG_SHORT_ERRORS_SUPPORTED |
| 1950 | +# ----------------------------- |
| 1951 | +AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], |
| 1952 | +[AC_REQUIRE([PKG_PROG_PKG_CONFIG]) |
| 1953 | +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 1954 | + _pkg_short_errors_supported=yes |
| 1955 | +else |
| 1956 | + _pkg_short_errors_supported=no |
| 1957 | +fi[]dnl |
| 1958 | +])# _PKG_SHORT_ERRORS_SUPPORTED |
| 1959 | + |
| 1960 | + |
| 1961 | +# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], |
| 1962 | +# [ACTION-IF-NOT-FOUND]) |
| 1963 | +# |
| 1964 | +# |
| 1965 | +# Note that if there is a possibility the first call to |
| 1966 | +# PKG_CHECK_MODULES might not happen, you should be sure to include an |
| 1967 | +# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac |
| 1968 | +# |
| 1969 | +# |
| 1970 | +# -------------------------------------------------------------- |
| 1971 | +AC_DEFUN([PKG_CHECK_MODULES], |
| 1972 | +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl |
| 1973 | +AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl |
| 1974 | +AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl |
| 1975 | + |
| 1976 | +pkg_failed=no |
| 1977 | +AC_MSG_CHECKING([for $1]) |
| 1978 | + |
| 1979 | +_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) |
| 1980 | +_PKG_CONFIG([$1][_LIBS], [libs], [$2]) |
| 1981 | + |
| 1982 | +m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS |
| 1983 | +and $1[]_LIBS to avoid the need to call pkg-config. |
| 1984 | +See the pkg-config man page for more details.]) |
| 1985 | + |
| 1986 | +if test $pkg_failed = yes; then |
| 1987 | + AC_MSG_RESULT([no]) |
| 1988 | + _PKG_SHORT_ERRORS_SUPPORTED |
| 1989 | + if test $_pkg_short_errors_supported = yes; then |
| 1990 | + $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` |
| 1991 | + else |
| 1992 | + $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` |
| 1993 | + fi |
| 1994 | + # Put the nasty error message in config.log where it belongs |
| 1995 | + echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD |
| 1996 | + |
| 1997 | + m4_default([$4], [AC_MSG_ERROR( |
| 1998 | +[Package requirements ($2) were not met: |
| 1999 | + |
| 2000 | +$$1_PKG_ERRORS |
| 2001 | + |
| 2002 | +Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 2003 | +installed software in a non-standard prefix. |
| 2004 | + |
| 2005 | +_PKG_TEXT])[]dnl |
| 2006 | + ]) |
| 2007 | +elif test $pkg_failed = untried; then |
| 2008 | + AC_MSG_RESULT([no]) |
| 2009 | + m4_default([$4], [AC_MSG_FAILURE( |
| 2010 | +[The pkg-config script could not be found or is too old. Make sure it |
| 2011 | +is in your PATH or set the PKG_CONFIG environment variable to the full |
| 2012 | +path to pkg-config. |
| 2013 | + |
| 2014 | +_PKG_TEXT |
| 2015 | + |
| 2016 | +To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl |
| 2017 | + ]) |
| 2018 | +else |
| 2019 | + $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS |
| 2020 | + $1[]_LIBS=$pkg_cv_[]$1[]_LIBS |
| 2021 | + AC_MSG_RESULT([yes]) |
| 2022 | + $3 |
| 2023 | +fi[]dnl |
| 2024 | +])# PKG_CHECK_MODULES |
| 2025 | + |
| 2026 | + |
| 2027 | +# PKG_INSTALLDIR(DIRECTORY) |
| 2028 | +# ------------------------- |
| 2029 | +# Substitutes the variable pkgconfigdir as the location where a module |
| 2030 | +# should install pkg-config .pc files. By default the directory is |
| 2031 | +# $libdir/pkgconfig, but the default can be changed by passing |
| 2032 | +# DIRECTORY. The user can override through the --with-pkgconfigdir |
| 2033 | +# parameter. |
| 2034 | +AC_DEFUN([PKG_INSTALLDIR], |
| 2035 | +[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])]) |
| 2036 | +m4_pushdef([pkg_description], |
| 2037 | + [pkg-config installation directory @<:@]pkg_default[@:>@]) |
| 2038 | +AC_ARG_WITH([pkgconfigdir], |
| 2039 | + [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],, |
| 2040 | + [with_pkgconfigdir=]pkg_default) |
| 2041 | +AC_SUBST([pkgconfigdir], [$with_pkgconfigdir]) |
| 2042 | +m4_popdef([pkg_default]) |
| 2043 | +m4_popdef([pkg_description]) |
| 2044 | +]) dnl PKG_INSTALLDIR |
| 2045 | + |
| 2046 | + |
| 2047 | +# PKG_NOARCH_INSTALLDIR(DIRECTORY) |
| 2048 | +# ------------------------- |
| 2049 | +# Substitutes the variable noarch_pkgconfigdir as the location where a |
| 2050 | +# module should install arch-independent pkg-config .pc files. By |
| 2051 | +# default the directory is $datadir/pkgconfig, but the default can be |
| 2052 | +# changed by passing DIRECTORY. The user can override through the |
| 2053 | +# --with-noarch-pkgconfigdir parameter. |
| 2054 | +AC_DEFUN([PKG_NOARCH_INSTALLDIR], |
| 2055 | +[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])]) |
| 2056 | +m4_pushdef([pkg_description], |
| 2057 | + [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@]) |
| 2058 | +AC_ARG_WITH([noarch-pkgconfigdir], |
| 2059 | + [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],, |
| 2060 | + [with_noarch_pkgconfigdir=]pkg_default) |
| 2061 | +AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir]) |
| 2062 | +m4_popdef([pkg_default]) |
| 2063 | +m4_popdef([pkg_description]) |
| 2064 | +]) dnl PKG_NOARCH_INSTALLDIR |
| 2065 | + |
| 2066 | + |
| 2067 | +# PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE, |
| 2068 | +# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) |
| 2069 | +# ------------------------------------------- |
| 2070 | +# Retrieves the value of the pkg-config variable for the given module. |
| 2071 | +AC_DEFUN([PKG_CHECK_VAR], |
| 2072 | +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl |
| 2073 | +AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl |
| 2074 | + |
| 2075 | +_PKG_CONFIG([$1], [variable="][$3]["], [$2]) |
| 2076 | +AS_VAR_COPY([$1], [pkg_cv_][$1]) |
| 2077 | + |
| 2078 | +AS_VAR_IF([$1], [""], [$5], [$4])dnl |
| 2079 | +])# PKG_CHECK_VAR |
| 2080 | + |
| 2081 | +# Copyright (C) 2002-2013 Free Software Foundation, Inc. |
| 2082 | +# |
| 2083 | +# This file is free software; the Free Software Foundation |
| 2084 | +# gives unlimited permission to copy and/or distribute it, |
| 2085 | +# with or without modifications, as long as this notice is preserved. |
| 2086 | + |
| 2087 | +# AM_AUTOMAKE_VERSION(VERSION) |
| 2088 | +# ---------------------------- |
| 2089 | +# Automake X.Y traces this macro to ensure aclocal.m4 has been |
| 2090 | +# generated from the m4 files accompanying Automake X.Y. |
| 2091 | +# (This private macro should not be called outside this file.) |
| 2092 | +AC_DEFUN([AM_AUTOMAKE_VERSION], |
| 2093 | +[am__api_version='1.13' |
| 2094 | +dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
| 2095 | +dnl require some minimum version. Point them to the right macro. |
| 2096 | +m4_if([$1], [1.13.4], [], |
| 2097 | + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
| 2098 | +]) |
| 2099 | + |
| 2100 | +# _AM_AUTOCONF_VERSION(VERSION) |
| 2101 | +# ----------------------------- |
| 2102 | +# aclocal traces this macro to find the Autoconf version. |
| 2103 | +# This is a private macro too. Using m4_define simplifies |
| 2104 | +# the logic in aclocal, which can simply ignore this definition. |
| 2105 | +m4_define([_AM_AUTOCONF_VERSION], []) |
| 2106 | + |
| 2107 | +# AM_SET_CURRENT_AUTOMAKE_VERSION |
| 2108 | +# ------------------------------- |
| 2109 | +# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
| 2110 | +# This function is AC_REQUIREd by AM_INIT_AUTOMAKE. |
| 2111 | +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
| 2112 | +[AM_AUTOMAKE_VERSION([1.13.4])dnl |
| 2113 | +m4_ifndef([AC_AUTOCONF_VERSION], |
| 2114 | + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
| 2115 | +_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |
| 2116 | + |
| 2117 | +# AM_AUX_DIR_EXPAND -*- Autoconf -*- |
| 2118 | + |
| 2119 | +# Copyright (C) 2001-2013 Free Software Foundation, Inc. |
| 2120 | +# |
| 2121 | +# This file is free software; the Free Software Foundation |
| 2122 | +# gives unlimited permission to copy and/or distribute it, |
| 2123 | +# with or without modifications, as long as this notice is preserved. |
| 2124 | + |
| 2125 | +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets |
| 2126 | +# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to |
| 2127 | +# '$srcdir', '$srcdir/..', or '$srcdir/../..'. |
| 2128 | +# |
| 2129 | +# Of course, Automake must honor this variable whenever it calls a |
| 2130 | +# tool from the auxiliary directory. The problem is that $srcdir (and |
| 2131 | +# therefore $ac_aux_dir as well) can be either absolute or relative, |
| 2132 | +# depending on how configure is run. This is pretty annoying, since |
| 2133 | +# it makes $ac_aux_dir quite unusable in subdirectories: in the top |
| 2134 | +# source directory, any form will work fine, but in subdirectories a |
| 2135 | +# relative path needs to be adjusted first. |
| 2136 | +# |
| 2137 | +# $ac_aux_dir/missing |
| 2138 | +# fails when called from a subdirectory if $ac_aux_dir is relative |
| 2139 | +# $top_srcdir/$ac_aux_dir/missing |
| 2140 | +# fails if $ac_aux_dir is absolute, |
| 2141 | +# fails when called from a subdirectory in a VPATH build with |
| 2142 | +# a relative $ac_aux_dir |
| 2143 | +# |
| 2144 | +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir |
| 2145 | +# are both prefixed by $srcdir. In an in-source build this is usually |
| 2146 | +# harmless because $srcdir is '.', but things will broke when you |
| 2147 | +# start a VPATH build or use an absolute $srcdir. |
| 2148 | +# |
| 2149 | +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, |
| 2150 | +# iff we strip the leading $srcdir from $ac_aux_dir. That would be: |
| 2151 | +# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` |
| 2152 | +# and then we would define $MISSING as |
| 2153 | +# MISSING="\${SHELL} $am_aux_dir/missing" |
| 2154 | +# This will work as long as MISSING is not called from configure, because |
| 2155 | +# unfortunately $(top_srcdir) has no meaning in configure. |
| 2156 | +# However there are other variables, like CC, which are often used in |
| 2157 | +# configure, and could therefore not use this "fixed" $ac_aux_dir. |
| 2158 | +# |
| 2159 | +# Another solution, used here, is to always expand $ac_aux_dir to an |
| 2160 | +# absolute PATH. The drawback is that using absolute paths prevent a |
| 2161 | +# configured tree to be moved without reconfiguration. |
| 2162 | + |
| 2163 | +AC_DEFUN([AM_AUX_DIR_EXPAND], |
| 2164 | +[dnl Rely on autoconf to set up CDPATH properly. |
| 2165 | +AC_PREREQ([2.50])dnl |
| 2166 | +# expand $ac_aux_dir to an absolute path |
| 2167 | +am_aux_dir=`cd $ac_aux_dir && pwd` |
| 2168 | +]) |
| 2169 | + |
| 2170 | +# AM_CONDITIONAL -*- Autoconf -*- |
| 2171 | + |
| 2172 | +# Copyright (C) 1997-2013 Free Software Foundation, Inc. |
| 2173 | +# |
| 2174 | +# This file is free software; the Free Software Foundation |
| 2175 | +# gives unlimited permission to copy and/or distribute it, |
| 2176 | +# with or without modifications, as long as this notice is preserved. |
| 2177 | + |
| 2178 | +# AM_CONDITIONAL(NAME, SHELL-CONDITION) |
| 2179 | +# ------------------------------------- |
| 2180 | +# Define a conditional. |
| 2181 | +AC_DEFUN([AM_CONDITIONAL], |
| 2182 | +[AC_PREREQ([2.52])dnl |
| 2183 | + m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], |
| 2184 | + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl |
| 2185 | +AC_SUBST([$1_TRUE])dnl |
| 2186 | +AC_SUBST([$1_FALSE])dnl |
| 2187 | +_AM_SUBST_NOTMAKE([$1_TRUE])dnl |
| 2188 | +_AM_SUBST_NOTMAKE([$1_FALSE])dnl |
| 2189 | +m4_define([_AM_COND_VALUE_$1], [$2])dnl |
| 2190 | +if $2; then |
| 2191 | + $1_TRUE= |
| 2192 | + $1_FALSE='#' |
| 2193 | +else |
| 2194 | + $1_TRUE='#' |
| 2195 | + $1_FALSE= |
| 2196 | +fi |
| 2197 | +AC_CONFIG_COMMANDS_PRE( |
| 2198 | +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then |
| 2199 | + AC_MSG_ERROR([[conditional "$1" was never defined. |
| 2200 | +Usually this means the macro was only invoked conditionally.]]) |
| 2201 | +fi])]) |
| 2202 | + |
| 2203 | +# Copyright (C) 1999-2013 Free Software Foundation, Inc. |
| 2204 | +# |
| 2205 | +# This file is free software; the Free Software Foundation |
| 2206 | +# gives unlimited permission to copy and/or distribute it, |
| 2207 | +# with or without modifications, as long as this notice is preserved. |
| 2208 | + |
| 2209 | + |
| 2210 | +# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be |
| 2211 | +# written in clear, in which case automake, when reading aclocal.m4, |
| 2212 | +# will think it sees a *use*, and therefore will trigger all it's |
| 2213 | +# C support machinery. Also note that it means that autoscan, seeing |
| 2214 | +# CC etc. in the Makefile, will ask for an AC_PROG_CC use... |
| 2215 | + |
| 2216 | + |
| 2217 | +# _AM_DEPENDENCIES(NAME) |
| 2218 | +# ---------------------- |
| 2219 | +# See how the compiler implements dependency checking. |
| 2220 | +# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". |
| 2221 | +# We try a few techniques and use that to set a single cache variable. |
| 2222 | +# |
| 2223 | +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was |
| 2224 | +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular |
| 2225 | +# dependency, and given that the user is not expected to run this macro, |
| 2226 | +# just rely on AC_PROG_CC. |
| 2227 | +AC_DEFUN([_AM_DEPENDENCIES], |
| 2228 | +[AC_REQUIRE([AM_SET_DEPDIR])dnl |
| 2229 | +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl |
| 2230 | +AC_REQUIRE([AM_MAKE_INCLUDE])dnl |
| 2231 | +AC_REQUIRE([AM_DEP_TRACK])dnl |
| 2232 | + |
| 2233 | +m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], |
| 2234 | + [$1], [CXX], [depcc="$CXX" am_compiler_list=], |
| 2235 | + [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], |
| 2236 | + [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], |
| 2237 | + [$1], [UPC], [depcc="$UPC" am_compiler_list=], |
| 2238 | + [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], |
| 2239 | + [depcc="$$1" am_compiler_list=]) |
| 2240 | + |
| 2241 | +AC_CACHE_CHECK([dependency style of $depcc], |
| 2242 | + [am_cv_$1_dependencies_compiler_type], |
| 2243 | +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
| 2244 | + # We make a subdir and do the tests there. Otherwise we can end up |
| 2245 | + # making bogus files that we don't know about and never remove. For |
| 2246 | + # instance it was reported that on HP-UX the gcc test will end up |
| 2247 | + # making a dummy file named 'D' -- because '-MD' means "put the output |
| 2248 | + # in D". |
| 2249 | + rm -rf conftest.dir |
| 2250 | + mkdir conftest.dir |
| 2251 | + # Copy depcomp to subdir because otherwise we won't find it if we're |
| 2252 | + # using a relative directory. |
| 2253 | + cp "$am_depcomp" conftest.dir |
| 2254 | + cd conftest.dir |
| 2255 | + # We will build objects and dependencies in a subdirectory because |
| 2256 | + # it helps to detect inapplicable dependency modes. For instance |
| 2257 | + # both Tru64's cc and ICC support -MD to output dependencies as a |
| 2258 | + # side effect of compilation, but ICC will put the dependencies in |
| 2259 | + # the current directory while Tru64 will put them in the object |
| 2260 | + # directory. |
| 2261 | + mkdir sub |
| 2262 | + |
| 2263 | + am_cv_$1_dependencies_compiler_type=none |
| 2264 | + if test "$am_compiler_list" = ""; then |
| 2265 | + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` |
| 2266 | + fi |
| 2267 | + am__universal=false |
| 2268 | + m4_case([$1], [CC], |
| 2269 | + [case " $depcc " in #( |
| 2270 | + *\ -arch\ *\ -arch\ *) am__universal=true ;; |
| 2271 | + esac], |
| 2272 | + [CXX], |
| 2273 | + [case " $depcc " in #( |
| 2274 | + *\ -arch\ *\ -arch\ *) am__universal=true ;; |
| 2275 | + esac]) |
| 2276 | + |
| 2277 | + for depmode in $am_compiler_list; do |
| 2278 | + # Setup a source with many dependencies, because some compilers |
| 2279 | + # like to wrap large dependency lists on column 80 (with \), and |
| 2280 | + # we should not choose a depcomp mode which is confused by this. |
| 2281 | + # |
| 2282 | + # We need to recreate these files for each test, as the compiler may |
| 2283 | + # overwrite some of them when testing with obscure command lines. |
| 2284 | + # This happens at least with the AIX C compiler. |
| 2285 | + : > sub/conftest.c |
| 2286 | + for i in 1 2 3 4 5 6; do |
| 2287 | + echo '#include "conftst'$i'.h"' >> sub/conftest.c |
| 2288 | + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
| 2289 | + # Solaris 10 /bin/sh. |
| 2290 | + echo '/* dummy */' > sub/conftst$i.h |
| 2291 | + done |
| 2292 | + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
| 2293 | + |
| 2294 | + # We check with '-c' and '-o' for the sake of the "dashmstdout" |
| 2295 | + # mode. It turns out that the SunPro C++ compiler does not properly |
| 2296 | + # handle '-M -o', and we need to detect this. Also, some Intel |
| 2297 | + # versions had trouble with output in subdirs. |
| 2298 | + am__obj=sub/conftest.${OBJEXT-o} |
| 2299 | + am__minus_obj="-o $am__obj" |
| 2300 | + case $depmode in |
| 2301 | + gcc) |
| 2302 | + # This depmode causes a compiler race in universal mode. |
| 2303 | + test "$am__universal" = false || continue |
| 2304 | + ;; |
| 2305 | + nosideeffect) |
| 2306 | + # After this tag, mechanisms are not by side-effect, so they'll |
| 2307 | + # only be used when explicitly requested. |
| 2308 | + if test "x$enable_dependency_tracking" = xyes; then |
| 2309 | + continue |
| 2310 | + else |
| 2311 | + break |
| 2312 | + fi |
| 2313 | + ;; |
| 2314 | + msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
| 2315 | + # This compiler won't grok '-c -o', but also, the minuso test has |
| 2316 | + # not run yet. These depmodes are late enough in the game, and |
| 2317 | + # so weak that their functioning should not be impacted. |
| 2318 | + am__obj=conftest.${OBJEXT-o} |
| 2319 | + am__minus_obj= |
| 2320 | + ;; |
| 2321 | + none) break ;; |
| 2322 | + esac |
| 2323 | + if depmode=$depmode \ |
| 2324 | + source=sub/conftest.c object=$am__obj \ |
| 2325 | + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
| 2326 | + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
| 2327 | + >/dev/null 2>conftest.err && |
| 2328 | + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
| 2329 | + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
| 2330 | + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
| 2331 | + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
| 2332 | + # icc doesn't choke on unknown options, it will just issue warnings |
| 2333 | + # or remarks (even with -Werror). So we grep stderr for any message |
| 2334 | + # that says an option was ignored or not supported. |
| 2335 | + # When given -MP, icc 7.0 and 7.1 complain thusly: |
| 2336 | + # icc: Command line warning: ignoring option '-M'; no argument required |
| 2337 | + # The diagnosis changed in icc 8.0: |
| 2338 | + # icc: Command line remark: option '-MP' not supported |
| 2339 | + if (grep 'ignoring option' conftest.err || |
| 2340 | + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
| 2341 | + am_cv_$1_dependencies_compiler_type=$depmode |
| 2342 | + break |
| 2343 | + fi |
| 2344 | + fi |
| 2345 | + done |
| 2346 | + |
| 2347 | + cd .. |
| 2348 | + rm -rf conftest.dir |
| 2349 | +else |
| 2350 | + am_cv_$1_dependencies_compiler_type=none |
| 2351 | +fi |
| 2352 | +]) |
| 2353 | +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) |
| 2354 | +AM_CONDITIONAL([am__fastdep$1], [ |
| 2355 | + test "x$enable_dependency_tracking" != xno \ |
| 2356 | + && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) |
| 2357 | +]) |
| 2358 | + |
| 2359 | + |
| 2360 | +# AM_SET_DEPDIR |
| 2361 | +# ------------- |
| 2362 | +# Choose a directory name for dependency files. |
| 2363 | +# This macro is AC_REQUIREd in _AM_DEPENDENCIES. |
| 2364 | +AC_DEFUN([AM_SET_DEPDIR], |
| 2365 | +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
| 2366 | +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl |
| 2367 | +]) |
| 2368 | + |
| 2369 | + |
| 2370 | +# AM_DEP_TRACK |
| 2371 | +# ------------ |
| 2372 | +AC_DEFUN([AM_DEP_TRACK], |
| 2373 | +[AC_ARG_ENABLE([dependency-tracking], [dnl |
| 2374 | +AS_HELP_STRING( |
| 2375 | + [--enable-dependency-tracking], |
| 2376 | + [do not reject slow dependency extractors]) |
| 2377 | +AS_HELP_STRING( |
| 2378 | + [--disable-dependency-tracking], |
| 2379 | + [speeds up one-time build])]) |
| 2380 | +if test "x$enable_dependency_tracking" != xno; then |
| 2381 | + am_depcomp="$ac_aux_dir/depcomp" |
| 2382 | + AMDEPBACKSLASH='\' |
| 2383 | + am__nodep='_no' |
| 2384 | +fi |
| 2385 | +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) |
| 2386 | +AC_SUBST([AMDEPBACKSLASH])dnl |
| 2387 | +_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl |
| 2388 | +AC_SUBST([am__nodep])dnl |
| 2389 | +_AM_SUBST_NOTMAKE([am__nodep])dnl |
| 2390 | +]) |
| 2391 | + |
| 2392 | +# Generate code to set up dependency tracking. -*- Autoconf -*- |
| 2393 | + |
| 2394 | +# Copyright (C) 1999-2013 Free Software Foundation, Inc. |
| 2395 | +# |
| 2396 | +# This file is free software; the Free Software Foundation |
| 2397 | +# gives unlimited permission to copy and/or distribute it, |
| 2398 | +# with or without modifications, as long as this notice is preserved. |
| 2399 | + |
| 2400 | + |
| 2401 | +# _AM_OUTPUT_DEPENDENCY_COMMANDS |
| 2402 | +# ------------------------------ |
| 2403 | +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], |
| 2404 | +[{ |
| 2405 | + # Older Autoconf quotes --file arguments for eval, but not when files |
| 2406 | + # are listed without --file. Let's play safe and only enable the eval |
| 2407 | + # if we detect the quoting. |
| 2408 | + case $CONFIG_FILES in |
| 2409 | + *\'*) eval set x "$CONFIG_FILES" ;; |
| 2410 | + *) set x $CONFIG_FILES ;; |
| 2411 | + esac |
| 2412 | + shift |
| 2413 | + for mf |
| 2414 | + do |
| 2415 | + # Strip MF so we end up with the name of the file. |
| 2416 | + mf=`echo "$mf" | sed -e 's/:.*$//'` |
| 2417 | + # Check whether this is an Automake generated Makefile or not. |
| 2418 | + # We used to match only the files named 'Makefile.in', but |
| 2419 | + # some people rename them; so instead we look at the file content. |
| 2420 | + # Grep'ing the first line is not enough: some people post-process |
| 2421 | + # each Makefile.in and add a new line on top of each file to say so. |
| 2422 | + # Grep'ing the whole file is not good either: AIX grep has a line |
| 2423 | + # limit of 2048, but all sed's we know have understand at least 4000. |
| 2424 | + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
| 2425 | + dirpart=`AS_DIRNAME("$mf")` |
| 2426 | + else |
| 2427 | + continue |
| 2428 | + fi |
| 2429 | + # Extract the definition of DEPDIR, am__include, and am__quote |
| 2430 | + # from the Makefile without running 'make'. |
| 2431 | + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
| 2432 | + test -z "$DEPDIR" && continue |
| 2433 | + am__include=`sed -n 's/^am__include = //p' < "$mf"` |
| 2434 | + test -z "$am__include" && continue |
| 2435 | + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
| 2436 | + # Find all dependency output files, they are included files with |
| 2437 | + # $(DEPDIR) in their names. We invoke sed twice because it is the |
| 2438 | + # simplest approach to changing $(DEPDIR) to its actual value in the |
| 2439 | + # expansion. |
| 2440 | + for file in `sed -n " |
| 2441 | + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
| 2442 | + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do |
| 2443 | + # Make sure the directory exists. |
| 2444 | + test -f "$dirpart/$file" && continue |
| 2445 | + fdir=`AS_DIRNAME(["$file"])` |
| 2446 | + AS_MKDIR_P([$dirpart/$fdir]) |
| 2447 | + # echo "creating $dirpart/$file" |
| 2448 | + echo '# dummy' > "$dirpart/$file" |
| 2449 | + done |
| 2450 | + done |
| 2451 | +} |
| 2452 | +])# _AM_OUTPUT_DEPENDENCY_COMMANDS |
| 2453 | + |
| 2454 | + |
| 2455 | +# AM_OUTPUT_DEPENDENCY_COMMANDS |
| 2456 | +# ----------------------------- |
| 2457 | +# This macro should only be invoked once -- use via AC_REQUIRE. |
| 2458 | +# |
| 2459 | +# This code is only required when automatic dependency tracking |
| 2460 | +# is enabled. FIXME. This creates each '.P' file that we will |
| 2461 | +# need in order to bootstrap the dependency handling code. |
| 2462 | +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], |
| 2463 | +[AC_CONFIG_COMMANDS([depfiles], |
| 2464 | + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], |
| 2465 | + [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) |
| 2466 | +]) |
| 2467 | + |
| 2468 | +# Do all the work for Automake. -*- Autoconf -*- |
| 2469 | + |
| 2470 | +# Copyright (C) 1996-2013 Free Software Foundation, Inc. |
| 2471 | +# |
| 2472 | +# This file is free software; the Free Software Foundation |
| 2473 | +# gives unlimited permission to copy and/or distribute it, |
| 2474 | +# with or without modifications, as long as this notice is preserved. |
| 2475 | + |
| 2476 | +# This macro actually does too much. Some checks are only needed if |
| 2477 | +# your package does certain things. But this isn't really a big deal. |
| 2478 | + |
| 2479 | +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) |
| 2480 | +# AM_INIT_AUTOMAKE([OPTIONS]) |
| 2481 | +# ----------------------------------------------- |
| 2482 | +# The call with PACKAGE and VERSION arguments is the old style |
| 2483 | +# call (pre autoconf-2.50), which is being phased out. PACKAGE |
| 2484 | +# and VERSION should now be passed to AC_INIT and removed from |
| 2485 | +# the call to AM_INIT_AUTOMAKE. |
| 2486 | +# We support both call styles for the transition. After |
| 2487 | +# the next Automake release, Autoconf can make the AC_INIT |
| 2488 | +# arguments mandatory, and then we can depend on a new Autoconf |
| 2489 | +# release and drop the old call support. |
| 2490 | +AC_DEFUN([AM_INIT_AUTOMAKE], |
| 2491 | +[AC_PREREQ([2.65])dnl |
| 2492 | +dnl Autoconf wants to disallow AM_ names. We explicitly allow |
| 2493 | +dnl the ones we care about. |
| 2494 | +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl |
| 2495 | +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl |
| 2496 | +AC_REQUIRE([AC_PROG_INSTALL])dnl |
| 2497 | +if test "`cd $srcdir && pwd`" != "`pwd`"; then |
| 2498 | + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
| 2499 | + # is not polluted with repeated "-I." |
| 2500 | + AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl |
| 2501 | + # test to see if srcdir already configured |
| 2502 | + if test -f $srcdir/config.status; then |
| 2503 | + AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) |
| 2504 | + fi |
| 2505 | +fi |
| 2506 | + |
| 2507 | +# test whether we have cygpath |
| 2508 | +if test -z "$CYGPATH_W"; then |
| 2509 | + if (cygpath --version) >/dev/null 2>/dev/null; then |
| 2510 | + CYGPATH_W='cygpath -w' |
| 2511 | + else |
| 2512 | + CYGPATH_W=echo |
| 2513 | + fi |
| 2514 | +fi |
| 2515 | +AC_SUBST([CYGPATH_W]) |
| 2516 | + |
| 2517 | +# Define the identity of the package. |
| 2518 | +dnl Distinguish between old-style and new-style calls. |
| 2519 | +m4_ifval([$2], |
| 2520 | +[AC_DIAGNOSE([obsolete], |
| 2521 | + [$0: two- and three-arguments forms are deprecated.]) |
| 2522 | +m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl |
| 2523 | + AC_SUBST([PACKAGE], [$1])dnl |
| 2524 | + AC_SUBST([VERSION], [$2])], |
| 2525 | +[_AM_SET_OPTIONS([$1])dnl |
| 2526 | +dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. |
| 2527 | +m4_if( |
| 2528 | + m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), |
| 2529 | + [ok:ok],, |
| 2530 | + [m4_fatal([AC_INIT should be called with package and version arguments])])dnl |
| 2531 | + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl |
| 2532 | + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl |
| 2533 | + |
| 2534 | +_AM_IF_OPTION([no-define],, |
| 2535 | +[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) |
| 2536 | + AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl |
| 2537 | + |
| 2538 | +# Some tools Automake needs. |
| 2539 | +AC_REQUIRE([AM_SANITY_CHECK])dnl |
| 2540 | +AC_REQUIRE([AC_ARG_PROGRAM])dnl |
| 2541 | +AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) |
| 2542 | +AM_MISSING_PROG([AUTOCONF], [autoconf]) |
| 2543 | +AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) |
| 2544 | +AM_MISSING_PROG([AUTOHEADER], [autoheader]) |
| 2545 | +AM_MISSING_PROG([MAKEINFO], [makeinfo]) |
| 2546 | +AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
| 2547 | +AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl |
| 2548 | +AC_REQUIRE([AC_PROG_MKDIR_P])dnl |
| 2549 | +# For better backward compatibility. To be removed once Automake 1.9.x |
| 2550 | +# dies out for good. For more background, see: |
| 2551 | +# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
| 2552 | +# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
| 2553 | +AC_SUBST([mkdir_p], ['$(MKDIR_P)']) |
| 2554 | +# We need awk for the "check" target. The system "awk" is bad on |
| 2555 | +# some platforms. |
| 2556 | +AC_REQUIRE([AC_PROG_AWK])dnl |
| 2557 | +AC_REQUIRE([AC_PROG_MAKE_SET])dnl |
| 2558 | +AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
| 2559 | +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], |
| 2560 | + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], |
| 2561 | + [_AM_PROG_TAR([v7])])]) |
| 2562 | +_AM_IF_OPTION([no-dependencies],, |
| 2563 | +[AC_PROVIDE_IFELSE([AC_PROG_CC], |
| 2564 | + [_AM_DEPENDENCIES([CC])], |
| 2565 | + [m4_define([AC_PROG_CC], |
| 2566 | + m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl |
| 2567 | +AC_PROVIDE_IFELSE([AC_PROG_CXX], |
| 2568 | + [_AM_DEPENDENCIES([CXX])], |
| 2569 | + [m4_define([AC_PROG_CXX], |
| 2570 | + m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl |
| 2571 | +AC_PROVIDE_IFELSE([AC_PROG_OBJC], |
| 2572 | + [_AM_DEPENDENCIES([OBJC])], |
| 2573 | + [m4_define([AC_PROG_OBJC], |
| 2574 | + m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl |
| 2575 | +AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], |
| 2576 | + [_AM_DEPENDENCIES([OBJCXX])], |
| 2577 | + [m4_define([AC_PROG_OBJCXX], |
| 2578 | + m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl |
| 2579 | +]) |
| 2580 | +AC_REQUIRE([AM_SILENT_RULES])dnl |
| 2581 | +dnl The testsuite driver may need to know about EXEEXT, so add the |
| 2582 | +dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This |
| 2583 | +dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. |
| 2584 | +AC_CONFIG_COMMANDS_PRE(dnl |
| 2585 | +[m4_provide_if([_AM_COMPILER_EXEEXT], |
| 2586 | + [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl |
| 2587 | +]) |
| 2588 | + |
| 2589 | +dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not |
| 2590 | +dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further |
| 2591 | +dnl mangled by Autoconf and run in a shell conditional statement. |
| 2592 | +m4_define([_AC_COMPILER_EXEEXT], |
| 2593 | +m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) |
| 2594 | + |
| 2595 | + |
| 2596 | +# When config.status generates a header, we must update the stamp-h file. |
| 2597 | +# This file resides in the same directory as the config header |
| 2598 | +# that is generated. The stamp files are numbered to have different names. |
| 2599 | + |
| 2600 | +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the |
| 2601 | +# loop where config.status creates the headers, so we can generate |
| 2602 | +# our stamp files there. |
| 2603 | +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], |
| 2604 | +[# Compute $1's index in $config_headers. |
| 2605 | +_am_arg=$1 |
| 2606 | +_am_stamp_count=1 |
| 2607 | +for _am_header in $config_headers :; do |
| 2608 | + case $_am_header in |
| 2609 | + $_am_arg | $_am_arg:* ) |
| 2610 | + break ;; |
| 2611 | + * ) |
| 2612 | + _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
| 2613 | + esac |
| 2614 | +done |
| 2615 | +echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
| 2616 | + |
| 2617 | +# Copyright (C) 2001-2013 Free Software Foundation, Inc. |
| 2618 | +# |
| 2619 | +# This file is free software; the Free Software Foundation |
| 2620 | +# gives unlimited permission to copy and/or distribute it, |
| 2621 | +# with or without modifications, as long as this notice is preserved. |
| 2622 | + |
| 2623 | +# AM_PROG_INSTALL_SH |
| 2624 | +# ------------------ |
| 2625 | +# Define $install_sh. |
| 2626 | +AC_DEFUN([AM_PROG_INSTALL_SH], |
| 2627 | +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
| 2628 | +if test x"${install_sh}" != xset; then |
| 2629 | + case $am_aux_dir in |
| 2630 | + *\ * | *\ *) |
| 2631 | + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
| 2632 | + *) |
| 2633 | + install_sh="\${SHELL} $am_aux_dir/install-sh" |
| 2634 | + esac |
| 2635 | +fi |
| 2636 | +AC_SUBST([install_sh])]) |
| 2637 | + |
| 2638 | +# Copyright (C) 2003-2013 Free Software Foundation, Inc. |
| 2639 | +# |
| 2640 | +# This file is free software; the Free Software Foundation |
| 2641 | +# gives unlimited permission to copy and/or distribute it, |
| 2642 | +# with or without modifications, as long as this notice is preserved. |
| 2643 | + |
| 2644 | +# Check whether the underlying file-system supports filenames |
| 2645 | +# with a leading dot. For instance MS-DOS doesn't. |
| 2646 | +AC_DEFUN([AM_SET_LEADING_DOT], |
| 2647 | +[rm -rf .tst 2>/dev/null |
| 2648 | +mkdir .tst 2>/dev/null |
| 2649 | +if test -d .tst; then |
| 2650 | + am__leading_dot=. |
| 2651 | +else |
| 2652 | + am__leading_dot=_ |
| 2653 | +fi |
| 2654 | +rmdir .tst 2>/dev/null |
| 2655 | +AC_SUBST([am__leading_dot])]) |
| 2656 | + |
| 2657 | +# Add --enable-maintainer-mode option to configure. -*- Autoconf -*- |
| 2658 | +# From Jim Meyering |
| 2659 | + |
| 2660 | +# Copyright (C) 1996-2013 Free Software Foundation, Inc. |
| 2661 | +# |
| 2662 | +# This file is free software; the Free Software Foundation |
| 2663 | +# gives unlimited permission to copy and/or distribute it, |
| 2664 | +# with or without modifications, as long as this notice is preserved. |
| 2665 | + |
| 2666 | +# AM_MAINTAINER_MODE([DEFAULT-MODE]) |
| 2667 | +# ---------------------------------- |
| 2668 | +# Control maintainer-specific portions of Makefiles. |
| 2669 | +# Default is to disable them, unless 'enable' is passed literally. |
| 2670 | +# For symmetry, 'disable' may be passed as well. Anyway, the user |
| 2671 | +# can override the default with the --enable/--disable switch. |
| 2672 | +AC_DEFUN([AM_MAINTAINER_MODE], |
| 2673 | +[m4_case(m4_default([$1], [disable]), |
| 2674 | + [enable], [m4_define([am_maintainer_other], [disable])], |
| 2675 | + [disable], [m4_define([am_maintainer_other], [enable])], |
| 2676 | + [m4_define([am_maintainer_other], [enable]) |
| 2677 | + m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])]) |
| 2678 | +AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) |
| 2679 | + dnl maintainer-mode's default is 'disable' unless 'enable' is passed |
| 2680 | + AC_ARG_ENABLE([maintainer-mode], |
| 2681 | + [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode], |
| 2682 | + am_maintainer_other[ make rules and dependencies not useful |
| 2683 | + (and sometimes confusing) to the casual installer])], |
| 2684 | + [USE_MAINTAINER_MODE=$enableval], |
| 2685 | + [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) |
| 2686 | + AC_MSG_RESULT([$USE_MAINTAINER_MODE]) |
| 2687 | + AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) |
| 2688 | + MAINT=$MAINTAINER_MODE_TRUE |
| 2689 | + AC_SUBST([MAINT])dnl |
| 2690 | +] |
| 2691 | +) |
| 2692 | + |
| 2693 | +# Check to see how 'make' treats includes. -*- Autoconf -*- |
| 2694 | + |
| 2695 | +# Copyright (C) 2001-2013 Free Software Foundation, Inc. |
| 2696 | +# |
| 2697 | +# This file is free software; the Free Software Foundation |
| 2698 | +# gives unlimited permission to copy and/or distribute it, |
| 2699 | +# with or without modifications, as long as this notice is preserved. |
| 2700 | + |
| 2701 | +# AM_MAKE_INCLUDE() |
| 2702 | +# ----------------- |
| 2703 | +# Check to see how make treats includes. |
| 2704 | +AC_DEFUN([AM_MAKE_INCLUDE], |
| 2705 | +[am_make=${MAKE-make} |
| 2706 | +cat > confinc << 'END' |
| 2707 | +am__doit: |
| 2708 | + @echo this is the am__doit target |
| 2709 | +.PHONY: am__doit |
| 2710 | +END |
| 2711 | +# If we don't find an include directive, just comment out the code. |
| 2712 | +AC_MSG_CHECKING([for style of include used by $am_make]) |
| 2713 | +am__include="#" |
| 2714 | +am__quote= |
| 2715 | +_am_result=none |
| 2716 | +# First try GNU make style include. |
| 2717 | +echo "include confinc" > confmf |
| 2718 | +# Ignore all kinds of additional output from 'make'. |
| 2719 | +case `$am_make -s -f confmf 2> /dev/null` in #( |
| 2720 | +*the\ am__doit\ target*) |
| 2721 | + am__include=include |
| 2722 | + am__quote= |
| 2723 | + _am_result=GNU |
| 2724 | + ;; |
| 2725 | +esac |
| 2726 | +# Now try BSD make style include. |
| 2727 | +if test "$am__include" = "#"; then |
| 2728 | + echo '.include "confinc"' > confmf |
| 2729 | + case `$am_make -s -f confmf 2> /dev/null` in #( |
| 2730 | + *the\ am__doit\ target*) |
| 2731 | + am__include=.include |
| 2732 | + am__quote="\"" |
| 2733 | + _am_result=BSD |
| 2734 | + ;; |
| 2735 | + esac |
| 2736 | +fi |
| 2737 | +AC_SUBST([am__include]) |
| 2738 | +AC_SUBST([am__quote]) |
| 2739 | +AC_MSG_RESULT([$_am_result]) |
| 2740 | +rm -f confinc confmf |
| 2741 | +]) |
| 2742 | + |
| 2743 | +# Copyright (C) 1999-2013 Free Software Foundation, Inc. |
| 2744 | +# |
| 2745 | +# This file is free software; the Free Software Foundation |
| 2746 | +# gives unlimited permission to copy and/or distribute it, |
| 2747 | +# with or without modifications, as long as this notice is preserved. |
| 2748 | + |
| 2749 | +# AM_PROG_CC_C_O |
| 2750 | +# -------------- |
| 2751 | +# Like AC_PROG_CC_C_O, but changed for automake. |
| 2752 | +AC_DEFUN([AM_PROG_CC_C_O], |
| 2753 | +[AC_REQUIRE([AC_PROG_CC_C_O])dnl |
| 2754 | +AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
| 2755 | +AC_REQUIRE_AUX_FILE([compile])dnl |
| 2756 | +# FIXME: we rely on the cache variable name because |
| 2757 | +# there is no other way. |
| 2758 | +set dummy $CC |
| 2759 | +am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']` |
| 2760 | +eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o |
| 2761 | +if test "$am_t" != yes; then |
| 2762 | + # Losing compiler, so override with the script. |
| 2763 | + # FIXME: It is wrong to rewrite CC. |
| 2764 | + # But if we don't then we get into trouble of one sort or another. |
| 2765 | + # A longer-term fix would be to have automake use am__CC in this case, |
| 2766 | + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
| 2767 | + CC="$am_aux_dir/compile $CC" |
| 2768 | +fi |
| 2769 | +dnl Make sure AC_PROG_CC is never called again, or it will override our |
| 2770 | +dnl setting of CC. |
| 2771 | +m4_define([AC_PROG_CC], |
| 2772 | + [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])]) |
| 2773 | +]) |
| 2774 | + |
| 2775 | +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- |
| 2776 | + |
| 2777 | +# Copyright (C) 1997-2013 Free Software Foundation, Inc. |
| 2778 | +# |
| 2779 | +# This file is free software; the Free Software Foundation |
| 2780 | +# gives unlimited permission to copy and/or distribute it, |
| 2781 | +# with or without modifications, as long as this notice is preserved. |
| 2782 | + |
| 2783 | +# AM_MISSING_PROG(NAME, PROGRAM) |
| 2784 | +# ------------------------------ |
| 2785 | +AC_DEFUN([AM_MISSING_PROG], |
| 2786 | +[AC_REQUIRE([AM_MISSING_HAS_RUN]) |
| 2787 | +$1=${$1-"${am_missing_run}$2"} |
| 2788 | +AC_SUBST($1)]) |
| 2789 | + |
| 2790 | +# AM_MISSING_HAS_RUN |
| 2791 | +# ------------------ |
| 2792 | +# Define MISSING if not defined so far and test if it is modern enough. |
| 2793 | +# If it is, set am_missing_run to use it, otherwise, to nothing. |
| 2794 | +AC_DEFUN([AM_MISSING_HAS_RUN], |
| 2795 | +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
| 2796 | +AC_REQUIRE_AUX_FILE([missing])dnl |
| 2797 | +if test x"${MISSING+set}" != xset; then |
| 2798 | + case $am_aux_dir in |
| 2799 | + *\ * | *\ *) |
| 2800 | + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
| 2801 | + *) |
| 2802 | + MISSING="\${SHELL} $am_aux_dir/missing" ;; |
| 2803 | + esac |
| 2804 | +fi |
| 2805 | +# Use eval to expand $SHELL |
| 2806 | +if eval "$MISSING --is-lightweight"; then |
| 2807 | + am_missing_run="$MISSING " |
| 2808 | +else |
| 2809 | + am_missing_run= |
| 2810 | + AC_MSG_WARN(['missing' script is too old or missing]) |
| 2811 | +fi |
| 2812 | +]) |
| 2813 | + |
| 2814 | +# -*- Autoconf -*- |
| 2815 | +# Obsolete and "removed" macros, that must however still report explicit |
| 2816 | +# error messages when used, to smooth transition. |
| 2817 | +# |
| 2818 | +# Copyright (C) 1996-2013 Free Software Foundation, Inc. |
| 2819 | +# |
| 2820 | +# This file is free software; the Free Software Foundation |
| 2821 | +# gives unlimited permission to copy and/or distribute it, |
| 2822 | +# with or without modifications, as long as this notice is preserved. |
| 2823 | + |
| 2824 | +AC_DEFUN([AM_CONFIG_HEADER], |
| 2825 | +[AC_DIAGNOSE([obsolete], |
| 2826 | +['$0': this macro is obsolete. |
| 2827 | +You should use the 'AC][_CONFIG_HEADERS' macro instead.])dnl |
| 2828 | +AC_CONFIG_HEADERS($@)]) |
| 2829 | + |
| 2830 | +AC_DEFUN([AM_PROG_CC_STDC], |
| 2831 | +[AC_PROG_CC |
| 2832 | +am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc |
| 2833 | +AC_DIAGNOSE([obsolete], |
| 2834 | +['$0': this macro is obsolete. |
| 2835 | +You should simply use the 'AC][_PROG_CC' macro instead. |
| 2836 | +Also, your code should no longer depend upon 'am_cv_prog_cc_stdc', |
| 2837 | +but upon 'ac_cv_prog_cc_stdc'.])]) |
| 2838 | + |
| 2839 | +AC_DEFUN([AM_C_PROTOTYPES], |
| 2840 | + [AC_FATAL([automatic de-ANSI-fication support has been removed])]) |
| 2841 | +AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES]) |
| 2842 | + |
| 2843 | +# Helper functions for option handling. -*- Autoconf -*- |
| 2844 | + |
| 2845 | +# Copyright (C) 2001-2013 Free Software Foundation, Inc. |
| 2846 | +# |
| 2847 | +# This file is free software; the Free Software Foundation |
| 2848 | +# gives unlimited permission to copy and/or distribute it, |
| 2849 | +# with or without modifications, as long as this notice is preserved. |
| 2850 | + |
| 2851 | +# _AM_MANGLE_OPTION(NAME) |
| 2852 | +# ----------------------- |
| 2853 | +AC_DEFUN([_AM_MANGLE_OPTION], |
| 2854 | +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) |
| 2855 | + |
| 2856 | +# _AM_SET_OPTION(NAME) |
| 2857 | +# -------------------- |
| 2858 | +# Set option NAME. Presently that only means defining a flag for this option. |
| 2859 | +AC_DEFUN([_AM_SET_OPTION], |
| 2860 | +[m4_define(_AM_MANGLE_OPTION([$1]), [1])]) |
| 2861 | + |
| 2862 | +# _AM_SET_OPTIONS(OPTIONS) |
| 2863 | +# ------------------------ |
| 2864 | +# OPTIONS is a space-separated list of Automake options. |
| 2865 | +AC_DEFUN([_AM_SET_OPTIONS], |
| 2866 | +[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) |
| 2867 | + |
| 2868 | +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) |
| 2869 | +# ------------------------------------------- |
| 2870 | +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. |
| 2871 | +AC_DEFUN([_AM_IF_OPTION], |
| 2872 | +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) |
| 2873 | + |
| 2874 | +# Copyright (C) 2001-2013 Free Software Foundation, Inc. |
| 2875 | +# |
| 2876 | +# This file is free software; the Free Software Foundation |
| 2877 | +# gives unlimited permission to copy and/or distribute it, |
| 2878 | +# with or without modifications, as long as this notice is preserved. |
| 2879 | + |
| 2880 | +# AM_RUN_LOG(COMMAND) |
| 2881 | +# ------------------- |
| 2882 | +# Run COMMAND, save the exit status in ac_status, and log it. |
| 2883 | +# (This has been adapted from Autoconf's _AC_RUN_LOG macro.) |
| 2884 | +AC_DEFUN([AM_RUN_LOG], |
| 2885 | +[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD |
| 2886 | + ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD |
| 2887 | + ac_status=$? |
| 2888 | + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD |
| 2889 | + (exit $ac_status); }]) |
| 2890 | + |
| 2891 | +# Check to make sure that the build environment is sane. -*- Autoconf -*- |
| 2892 | + |
| 2893 | +# Copyright (C) 1996-2013 Free Software Foundation, Inc. |
| 2894 | +# |
| 2895 | +# This file is free software; the Free Software Foundation |
| 2896 | +# gives unlimited permission to copy and/or distribute it, |
| 2897 | +# with or without modifications, as long as this notice is preserved. |
| 2898 | + |
| 2899 | +# AM_SANITY_CHECK |
| 2900 | +# --------------- |
| 2901 | +AC_DEFUN([AM_SANITY_CHECK], |
| 2902 | +[AC_MSG_CHECKING([whether build environment is sane]) |
| 2903 | +# Reject unsafe characters in $srcdir or the absolute working directory |
| 2904 | +# name. Accept space and tab only in the latter. |
| 2905 | +am_lf=' |
| 2906 | +' |
| 2907 | +case `pwd` in |
| 2908 | + *[[\\\"\#\$\&\'\`$am_lf]]*) |
| 2909 | + AC_MSG_ERROR([unsafe absolute working directory name]);; |
| 2910 | +esac |
| 2911 | +case $srcdir in |
| 2912 | + *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) |
| 2913 | + AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; |
| 2914 | +esac |
| 2915 | + |
| 2916 | +# Do 'set' in a subshell so we don't clobber the current shell's |
| 2917 | +# arguments. Must try -L first in case configure is actually a |
| 2918 | +# symlink; some systems play weird games with the mod time of symlinks |
| 2919 | +# (eg FreeBSD returns the mod time of the symlink's containing |
| 2920 | +# directory). |
| 2921 | +if ( |
| 2922 | + am_has_slept=no |
| 2923 | + for am_try in 1 2; do |
| 2924 | + echo "timestamp, slept: $am_has_slept" > conftest.file |
| 2925 | + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
| 2926 | + if test "$[*]" = "X"; then |
| 2927 | + # -L didn't work. |
| 2928 | + set X `ls -t "$srcdir/configure" conftest.file` |
| 2929 | + fi |
| 2930 | + if test "$[*]" != "X $srcdir/configure conftest.file" \ |
| 2931 | + && test "$[*]" != "X conftest.file $srcdir/configure"; then |
| 2932 | + |
| 2933 | + # If neither matched, then we have a broken ls. This can happen |
| 2934 | + # if, for instance, CONFIG_SHELL is bash and it inherits a |
| 2935 | + # broken ls alias from the environment. This has actually |
| 2936 | + # happened. Such a system could not be considered "sane". |
| 2937 | + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken |
| 2938 | + alias in your environment]) |
| 2939 | + fi |
| 2940 | + if test "$[2]" = conftest.file || test $am_try -eq 2; then |
| 2941 | + break |
| 2942 | + fi |
| 2943 | + # Just in case. |
| 2944 | + sleep 1 |
| 2945 | + am_has_slept=yes |
| 2946 | + done |
| 2947 | + test "$[2]" = conftest.file |
| 2948 | + ) |
| 2949 | +then |
| 2950 | + # Ok. |
| 2951 | + : |
| 2952 | +else |
| 2953 | + AC_MSG_ERROR([newly created file is older than distributed files! |
| 2954 | +Check your system clock]) |
| 2955 | +fi |
| 2956 | +AC_MSG_RESULT([yes]) |
| 2957 | +# If we didn't sleep, we still need to ensure time stamps of config.status and |
| 2958 | +# generated files are strictly newer. |
| 2959 | +am_sleep_pid= |
| 2960 | +if grep 'slept: no' conftest.file >/dev/null 2>&1; then |
| 2961 | + ( sleep 1 ) & |
| 2962 | + am_sleep_pid=$! |
| 2963 | +fi |
| 2964 | +AC_CONFIG_COMMANDS_PRE( |
| 2965 | + [AC_MSG_CHECKING([that generated files are newer than configure]) |
| 2966 | + if test -n "$am_sleep_pid"; then |
| 2967 | + # Hide warnings about reused PIDs. |
| 2968 | + wait $am_sleep_pid 2>/dev/null |
| 2969 | + fi |
| 2970 | + AC_MSG_RESULT([done])]) |
| 2971 | +rm -f conftest.file |
| 2972 | +]) |
| 2973 | + |
| 2974 | +# Copyright (C) 2009-2013 Free Software Foundation, Inc. |
| 2975 | +# |
| 2976 | +# This file is free software; the Free Software Foundation |
| 2977 | +# gives unlimited permission to copy and/or distribute it, |
| 2978 | +# with or without modifications, as long as this notice is preserved. |
| 2979 | + |
| 2980 | +# AM_SILENT_RULES([DEFAULT]) |
| 2981 | +# -------------------------- |
| 2982 | +# Enable less verbose build rules; with the default set to DEFAULT |
| 2983 | +# ("yes" being less verbose, "no" or empty being verbose). |
| 2984 | +AC_DEFUN([AM_SILENT_RULES], |
| 2985 | +[AC_ARG_ENABLE([silent-rules], [dnl |
| 2986 | +AS_HELP_STRING( |
| 2987 | + [--enable-silent-rules], |
| 2988 | + [less verbose build output (undo: "make V=1")]) |
| 2989 | +AS_HELP_STRING( |
| 2990 | + [--disable-silent-rules], |
| 2991 | + [verbose build output (undo: "make V=0")])dnl |
| 2992 | +]) |
| 2993 | +case $enable_silent_rules in @%:@ ((( |
| 2994 | + yes) AM_DEFAULT_VERBOSITY=0;; |
| 2995 | + no) AM_DEFAULT_VERBOSITY=1;; |
| 2996 | + *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; |
| 2997 | +esac |
| 2998 | +dnl |
| 2999 | +dnl A few 'make' implementations (e.g., NonStop OS and NextStep) |
| 3000 | +dnl do not support nested variable expansions. |
| 3001 | +dnl See automake bug#9928 and bug#10237. |
| 3002 | +am_make=${MAKE-make} |
| 3003 | +AC_CACHE_CHECK([whether $am_make supports nested variables], |
| 3004 | + [am_cv_make_support_nested_variables], |
| 3005 | + [if AS_ECHO([['TRUE=$(BAR$(V)) |
| 3006 | +BAR0=false |
| 3007 | +BAR1=true |
| 3008 | +V=1 |
| 3009 | +am__doit: |
| 3010 | + @$(TRUE) |
| 3011 | +.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then |
| 3012 | + am_cv_make_support_nested_variables=yes |
| 3013 | +else |
| 3014 | + am_cv_make_support_nested_variables=no |
| 3015 | +fi]) |
| 3016 | +if test $am_cv_make_support_nested_variables = yes; then |
| 3017 | + dnl Using '$V' instead of '$(V)' breaks IRIX make. |
| 3018 | + AM_V='$(V)' |
| 3019 | + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
| 3020 | +else |
| 3021 | + AM_V=$AM_DEFAULT_VERBOSITY |
| 3022 | + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
| 3023 | +fi |
| 3024 | +AC_SUBST([AM_V])dnl |
| 3025 | +AM_SUBST_NOTMAKE([AM_V])dnl |
| 3026 | +AC_SUBST([AM_DEFAULT_V])dnl |
| 3027 | +AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl |
| 3028 | +AC_SUBST([AM_DEFAULT_VERBOSITY])dnl |
| 3029 | +AM_BACKSLASH='\' |
| 3030 | +AC_SUBST([AM_BACKSLASH])dnl |
| 3031 | +_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl |
| 3032 | +]) |
| 3033 | + |
| 3034 | +# Copyright (C) 2001-2013 Free Software Foundation, Inc. |
| 3035 | +# |
| 3036 | +# This file is free software; the Free Software Foundation |
| 3037 | +# gives unlimited permission to copy and/or distribute it, |
| 3038 | +# with or without modifications, as long as this notice is preserved. |
| 3039 | + |
| 3040 | +# AM_PROG_INSTALL_STRIP |
| 3041 | +# --------------------- |
| 3042 | +# One issue with vendor 'install' (even GNU) is that you can't |
| 3043 | +# specify the program used to strip binaries. This is especially |
| 3044 | +# annoying in cross-compiling environments, where the build's strip |
| 3045 | +# is unlikely to handle the host's binaries. |
| 3046 | +# Fortunately install-sh will honor a STRIPPROG variable, so we |
| 3047 | +# always use install-sh in "make install-strip", and initialize |
| 3048 | +# STRIPPROG with the value of the STRIP variable (set by the user). |
| 3049 | +AC_DEFUN([AM_PROG_INSTALL_STRIP], |
| 3050 | +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
| 3051 | +# Installed binaries are usually stripped using 'strip' when the user |
| 3052 | +# run "make install-strip". However 'strip' might not be the right |
| 3053 | +# tool to use in cross-compilation environments, therefore Automake |
| 3054 | +# will honor the 'STRIP' environment variable to overrule this program. |
| 3055 | +dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. |
| 3056 | +if test "$cross_compiling" != no; then |
| 3057 | + AC_CHECK_TOOL([STRIP], [strip], :) |
| 3058 | +fi |
| 3059 | +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
| 3060 | +AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
| 3061 | + |
| 3062 | +# Copyright (C) 2006-2013 Free Software Foundation, Inc. |
| 3063 | +# |
| 3064 | +# This file is free software; the Free Software Foundation |
| 3065 | +# gives unlimited permission to copy and/or distribute it, |
| 3066 | +# with or without modifications, as long as this notice is preserved. |
| 3067 | + |
| 3068 | +# _AM_SUBST_NOTMAKE(VARIABLE) |
| 3069 | +# --------------------------- |
| 3070 | +# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. |
| 3071 | +# This macro is traced by Automake. |
| 3072 | +AC_DEFUN([_AM_SUBST_NOTMAKE]) |
| 3073 | + |
| 3074 | +# AM_SUBST_NOTMAKE(VARIABLE) |
| 3075 | +# -------------------------- |
| 3076 | +# Public sister of _AM_SUBST_NOTMAKE. |
| 3077 | +AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) |
| 3078 | + |
| 3079 | +# Check how to create a tarball. -*- Autoconf -*- |
| 3080 | + |
| 3081 | +# Copyright (C) 2004-2013 Free Software Foundation, Inc. |
| 3082 | +# |
| 3083 | +# This file is free software; the Free Software Foundation |
| 3084 | +# gives unlimited permission to copy and/or distribute it, |
| 3085 | +# with or without modifications, as long as this notice is preserved. |
| 3086 | + |
| 3087 | +# _AM_PROG_TAR(FORMAT) |
| 3088 | +# -------------------- |
| 3089 | +# Check how to create a tarball in format FORMAT. |
| 3090 | +# FORMAT should be one of 'v7', 'ustar', or 'pax'. |
| 3091 | +# |
| 3092 | +# Substitute a variable $(am__tar) that is a command |
| 3093 | +# writing to stdout a FORMAT-tarball containing the directory |
| 3094 | +# $tardir. |
| 3095 | +# tardir=directory && $(am__tar) > result.tar |
| 3096 | +# |
| 3097 | +# Substitute a variable $(am__untar) that extract such |
| 3098 | +# a tarball read from stdin. |
| 3099 | +# $(am__untar) < result.tar |
| 3100 | +# |
| 3101 | +AC_DEFUN([_AM_PROG_TAR], |
| 3102 | +[# Always define AMTAR for backward compatibility. Yes, it's still used |
| 3103 | +# in the wild :-( We should find a proper way to deprecate it ... |
| 3104 | +AC_SUBST([AMTAR], ['$${TAR-tar}']) |
| 3105 | + |
| 3106 | +# We'll loop over all known methods to create a tar archive until one works. |
| 3107 | +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' |
| 3108 | + |
| 3109 | +m4_if([$1], [v7], |
| 3110 | + [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], |
| 3111 | + |
| 3112 | + [m4_case([$1], |
| 3113 | + [ustar], |
| 3114 | + [# The POSIX 1988 'ustar' format is defined with fixed-size fields. |
| 3115 | + # There is notably a 21 bits limit for the UID and the GID. In fact, |
| 3116 | + # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 |
| 3117 | + # and bug#13588). |
| 3118 | + am_max_uid=2097151 # 2^21 - 1 |
| 3119 | + am_max_gid=$am_max_uid |
| 3120 | + # The $UID and $GID variables are not portable, so we need to resort |
| 3121 | + # to the POSIX-mandated id(1) utility. Errors in the 'id' calls |
| 3122 | + # below are definitely unexpected, so allow the users to see them |
| 3123 | + # (that is, avoid stderr redirection). |
| 3124 | + am_uid=`id -u || echo unknown` |
| 3125 | + am_gid=`id -g || echo unknown` |
| 3126 | + AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) |
| 3127 | + if test $am_uid -le $am_max_uid; then |
| 3128 | + AC_MSG_RESULT([yes]) |
| 3129 | + else |
| 3130 | + AC_MSG_RESULT([no]) |
| 3131 | + _am_tools=none |
| 3132 | + fi |
| 3133 | + AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) |
| 3134 | + if test $am_gid -le $am_max_gid; then |
| 3135 | + AC_MSG_RESULT([yes]) |
| 3136 | + else |
| 3137 | + AC_MSG_RESULT([no]) |
| 3138 | + _am_tools=none |
| 3139 | + fi], |
| 3140 | + |
| 3141 | + [pax], |
| 3142 | + [], |
| 3143 | + |
| 3144 | + [m4_fatal([Unknown tar format])]) |
| 3145 | + |
| 3146 | + AC_MSG_CHECKING([how to create a $1 tar archive]) |
| 3147 | + |
| 3148 | + # Go ahead even if we have the value already cached. We do so because we |
| 3149 | + # need to set the values for the 'am__tar' and 'am__untar' variables. |
| 3150 | + _am_tools=${am_cv_prog_tar_$1-$_am_tools} |
| 3151 | + |
| 3152 | + for _am_tool in $_am_tools; do |
| 3153 | + case $_am_tool in |
| 3154 | + gnutar) |
| 3155 | + for _am_tar in tar gnutar gtar; do |
| 3156 | + AM_RUN_LOG([$_am_tar --version]) && break |
| 3157 | + done |
| 3158 | + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' |
| 3159 | + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' |
| 3160 | + am__untar="$_am_tar -xf -" |
| 3161 | + ;; |
| 3162 | + plaintar) |
| 3163 | + # Must skip GNU tar: if it does not support --format= it doesn't create |
| 3164 | + # ustar tarball either. |
| 3165 | + (tar --version) >/dev/null 2>&1 && continue |
| 3166 | + am__tar='tar chf - "$$tardir"' |
| 3167 | + am__tar_='tar chf - "$tardir"' |
| 3168 | + am__untar='tar xf -' |
| 3169 | + ;; |
| 3170 | + pax) |
| 3171 | + am__tar='pax -L -x $1 -w "$$tardir"' |
| 3172 | + am__tar_='pax -L -x $1 -w "$tardir"' |
| 3173 | + am__untar='pax -r' |
| 3174 | + ;; |
| 3175 | + cpio) |
| 3176 | + am__tar='find "$$tardir" -print | cpio -o -H $1 -L' |
| 3177 | + am__tar_='find "$tardir" -print | cpio -o -H $1 -L' |
| 3178 | + am__untar='cpio -i -H $1 -d' |
| 3179 | + ;; |
| 3180 | + none) |
| 3181 | + am__tar=false |
| 3182 | + am__tar_=false |
| 3183 | + am__untar=false |
| 3184 | + ;; |
| 3185 | + esac |
| 3186 | + |
| 3187 | + # If the value was cached, stop now. We just wanted to have am__tar |
| 3188 | + # and am__untar set. |
| 3189 | + test -n "${am_cv_prog_tar_$1}" && break |
| 3190 | + |
| 3191 | + # tar/untar a dummy directory, and stop if the command works. |
| 3192 | + rm -rf conftest.dir |
| 3193 | + mkdir conftest.dir |
| 3194 | + echo GrepMe > conftest.dir/file |
| 3195 | + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) |
| 3196 | + rm -rf conftest.dir |
| 3197 | + if test -s conftest.tar; then |
| 3198 | + AM_RUN_LOG([$am__untar <conftest.tar]) |
| 3199 | + AM_RUN_LOG([cat conftest.dir/file]) |
| 3200 | + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break |
| 3201 | + fi |
| 3202 | + done |
| 3203 | + rm -rf conftest.dir |
| 3204 | + |
| 3205 | + AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) |
| 3206 | + AC_MSG_RESULT([$am_cv_prog_tar_$1])]) |
| 3207 | + |
| 3208 | +AC_SUBST([am__tar]) |
| 3209 | +AC_SUBST([am__untar]) |
| 3210 | +]) # _AM_PROG_TAR |
| 3211 | + |
| 3212 | +m4_include([m4/libtool.m4]) |
| 3213 | +m4_include([m4/ltoptions.m4]) |
| 3214 | +m4_include([m4/ltsugar.m4]) |
| 3215 | +m4_include([m4/ltversion.m4]) |
| 3216 | +m4_include([m4/lt~obsolete.m4]) |
| 3217 | |
| 3218 | === removed file 'aclocal.m4' |
| 3219 | --- aclocal.m4 2011-06-22 10:12:30 +0000 |
| 3220 | +++ aclocal.m4 1970-01-01 00:00:00 +0000 |
| 3221 | @@ -1,1247 +0,0 @@ |
| 3222 | -# generated automatically by aclocal 1.11.1 -*- Autoconf -*- |
| 3223 | - |
| 3224 | -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
| 3225 | -# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. |
| 3226 | -# This file is free software; the Free Software Foundation |
| 3227 | -# gives unlimited permission to copy and/or distribute it, |
| 3228 | -# with or without modifications, as long as this notice is preserved. |
| 3229 | - |
| 3230 | -# This program is distributed in the hope that it will be useful, |
| 3231 | -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
| 3232 | -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
| 3233 | -# PARTICULAR PURPOSE. |
| 3234 | - |
| 3235 | -m4_ifndef([AC_AUTOCONF_VERSION], |
| 3236 | - [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
| 3237 | -m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],, |
| 3238 | -[m4_warning([this file was generated for autoconf 2.68. |
| 3239 | -You have another version of autoconf. It may work, but is not guaranteed to. |
| 3240 | -If you have problems, you may need to regenerate the build system entirely. |
| 3241 | -To do so, use the procedure documented by the package, typically `autoreconf'.])]) |
| 3242 | - |
| 3243 | -# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- |
| 3244 | -# serial 1 (pkg-config-0.24) |
| 3245 | -# |
| 3246 | -# Copyright © 2004 Scott James Remnant <scott@netsplit.com>. |
| 3247 | -# |
| 3248 | -# This program is free software; you can redistribute it and/or modify |
| 3249 | -# it under the terms of the GNU General Public License as published by |
| 3250 | -# the Free Software Foundation; either version 2 of the License, or |
| 3251 | -# (at your option) any later version. |
| 3252 | -# |
| 3253 | -# This program is distributed in the hope that it will be useful, but |
| 3254 | -# WITHOUT ANY WARRANTY; without even the implied warranty of |
| 3255 | -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 3256 | -# General Public License for more details. |
| 3257 | -# |
| 3258 | -# You should have received a copy of the GNU General Public License |
| 3259 | -# along with this program; if not, write to the Free Software |
| 3260 | -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 3261 | -# |
| 3262 | -# As a special exception to the GNU General Public License, if you |
| 3263 | -# distribute this file as part of a program that contains a |
| 3264 | -# configuration script generated by Autoconf, you may include it under |
| 3265 | -# the same distribution terms that you use for the rest of that program. |
| 3266 | - |
| 3267 | -# PKG_PROG_PKG_CONFIG([MIN-VERSION]) |
| 3268 | -# ---------------------------------- |
| 3269 | -AC_DEFUN([PKG_PROG_PKG_CONFIG], |
| 3270 | -[m4_pattern_forbid([^_?PKG_[A-Z_]+$]) |
| 3271 | -m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) |
| 3272 | -m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) |
| 3273 | -AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) |
| 3274 | -AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) |
| 3275 | -AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) |
| 3276 | - |
| 3277 | -if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
| 3278 | - AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) |
| 3279 | -fi |
| 3280 | -if test -n "$PKG_CONFIG"; then |
| 3281 | - _pkg_min_version=m4_default([$1], [0.9.0]) |
| 3282 | - AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) |
| 3283 | - if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then |
| 3284 | - AC_MSG_RESULT([yes]) |
| 3285 | - else |
| 3286 | - AC_MSG_RESULT([no]) |
| 3287 | - PKG_CONFIG="" |
| 3288 | - fi |
| 3289 | -fi[]dnl |
| 3290 | -])# PKG_PROG_PKG_CONFIG |
| 3291 | - |
| 3292 | -# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) |
| 3293 | -# |
| 3294 | -# Check to see whether a particular set of modules exists. Similar |
| 3295 | -# to PKG_CHECK_MODULES(), but does not set variables or print errors. |
| 3296 | -# |
| 3297 | -# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) |
| 3298 | -# only at the first occurence in configure.ac, so if the first place |
| 3299 | -# it's called might be skipped (such as if it is within an "if", you |
| 3300 | -# have to call PKG_CHECK_EXISTS manually |
| 3301 | -# -------------------------------------------------------------- |
| 3302 | -AC_DEFUN([PKG_CHECK_EXISTS], |
| 3303 | -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl |
| 3304 | -if test -n "$PKG_CONFIG" && \ |
| 3305 | - AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then |
| 3306 | - m4_default([$2], [:]) |
| 3307 | -m4_ifvaln([$3], [else |
| 3308 | - $3])dnl |
| 3309 | -fi]) |
| 3310 | - |
| 3311 | -# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) |
| 3312 | -# --------------------------------------------- |
| 3313 | -m4_define([_PKG_CONFIG], |
| 3314 | -[if test -n "$$1"; then |
| 3315 | - pkg_cv_[]$1="$$1" |
| 3316 | - elif test -n "$PKG_CONFIG"; then |
| 3317 | - PKG_CHECK_EXISTS([$3], |
| 3318 | - [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` |
| 3319 | - test "x$?" != "x0" && pkg_failed=yes ], |
| 3320 | - [pkg_failed=yes]) |
| 3321 | - else |
| 3322 | - pkg_failed=untried |
| 3323 | -fi[]dnl |
| 3324 | -])# _PKG_CONFIG |
| 3325 | - |
| 3326 | -# _PKG_SHORT_ERRORS_SUPPORTED |
| 3327 | -# ----------------------------- |
| 3328 | -AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], |
| 3329 | -[AC_REQUIRE([PKG_PROG_PKG_CONFIG]) |
| 3330 | -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 3331 | - _pkg_short_errors_supported=yes |
| 3332 | -else |
| 3333 | - _pkg_short_errors_supported=no |
| 3334 | -fi[]dnl |
| 3335 | -])# _PKG_SHORT_ERRORS_SUPPORTED |
| 3336 | - |
| 3337 | - |
| 3338 | -# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], |
| 3339 | -# [ACTION-IF-NOT-FOUND]) |
| 3340 | -# |
| 3341 | -# |
| 3342 | -# Note that if there is a possibility the first call to |
| 3343 | -# PKG_CHECK_MODULES might not happen, you should be sure to include an |
| 3344 | -# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac |
| 3345 | -# |
| 3346 | -# |
| 3347 | -# -------------------------------------------------------------- |
| 3348 | -AC_DEFUN([PKG_CHECK_MODULES], |
| 3349 | -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl |
| 3350 | -AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl |
| 3351 | -AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl |
| 3352 | - |
| 3353 | -pkg_failed=no |
| 3354 | -AC_MSG_CHECKING([for $1]) |
| 3355 | - |
| 3356 | -_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) |
| 3357 | -_PKG_CONFIG([$1][_LIBS], [libs], [$2]) |
| 3358 | - |
| 3359 | -m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS |
| 3360 | -and $1[]_LIBS to avoid the need to call pkg-config. |
| 3361 | -See the pkg-config man page for more details.]) |
| 3362 | - |
| 3363 | -if test $pkg_failed = yes; then |
| 3364 | - AC_MSG_RESULT([no]) |
| 3365 | - _PKG_SHORT_ERRORS_SUPPORTED |
| 3366 | - if test $_pkg_short_errors_supported = yes; then |
| 3367 | - $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` |
| 3368 | - else |
| 3369 | - $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` |
| 3370 | - fi |
| 3371 | - # Put the nasty error message in config.log where it belongs |
| 3372 | - echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD |
| 3373 | - |
| 3374 | - m4_default([$4], [AC_MSG_ERROR( |
| 3375 | -[Package requirements ($2) were not met: |
| 3376 | - |
| 3377 | -$$1_PKG_ERRORS |
| 3378 | - |
| 3379 | -Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 3380 | -installed software in a non-standard prefix. |
| 3381 | - |
| 3382 | -_PKG_TEXT])[]dnl |
| 3383 | - ]) |
| 3384 | -elif test $pkg_failed = untried; then |
| 3385 | - AC_MSG_RESULT([no]) |
| 3386 | - m4_default([$4], [AC_MSG_FAILURE( |
| 3387 | -[The pkg-config script could not be found or is too old. Make sure it |
| 3388 | -is in your PATH or set the PKG_CONFIG environment variable to the full |
| 3389 | -path to pkg-config. |
| 3390 | - |
| 3391 | -_PKG_TEXT |
| 3392 | - |
| 3393 | -To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl |
| 3394 | - ]) |
| 3395 | -else |
| 3396 | - $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS |
| 3397 | - $1[]_LIBS=$pkg_cv_[]$1[]_LIBS |
| 3398 | - AC_MSG_RESULT([yes]) |
| 3399 | - $3 |
| 3400 | -fi[]dnl |
| 3401 | -])# PKG_CHECK_MODULES |
| 3402 | - |
| 3403 | -# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
| 3404 | -# |
| 3405 | -# This file is free software; the Free Software Foundation |
| 3406 | -# gives unlimited permission to copy and/or distribute it, |
| 3407 | -# with or without modifications, as long as this notice is preserved. |
| 3408 | - |
| 3409 | -# AM_AUTOMAKE_VERSION(VERSION) |
| 3410 | -# ---------------------------- |
| 3411 | -# Automake X.Y traces this macro to ensure aclocal.m4 has been |
| 3412 | -# generated from the m4 files accompanying Automake X.Y. |
| 3413 | -# (This private macro should not be called outside this file.) |
| 3414 | -AC_DEFUN([AM_AUTOMAKE_VERSION], |
| 3415 | -[am__api_version='1.11' |
| 3416 | -dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
| 3417 | -dnl require some minimum version. Point them to the right macro. |
| 3418 | -m4_if([$1], [1.11.1], [], |
| 3419 | - [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
| 3420 | -]) |
| 3421 | - |
| 3422 | -# _AM_AUTOCONF_VERSION(VERSION) |
| 3423 | -# ----------------------------- |
| 3424 | -# aclocal traces this macro to find the Autoconf version. |
| 3425 | -# This is a private macro too. Using m4_define simplifies |
| 3426 | -# the logic in aclocal, which can simply ignore this definition. |
| 3427 | -m4_define([_AM_AUTOCONF_VERSION], []) |
| 3428 | - |
| 3429 | -# AM_SET_CURRENT_AUTOMAKE_VERSION |
| 3430 | -# ------------------------------- |
| 3431 | -# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
| 3432 | -# This function is AC_REQUIREd by AM_INIT_AUTOMAKE. |
| 3433 | -AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
| 3434 | -[AM_AUTOMAKE_VERSION([1.11.1])dnl |
| 3435 | -m4_ifndef([AC_AUTOCONF_VERSION], |
| 3436 | - [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
| 3437 | -_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |
| 3438 | - |
| 3439 | -# AM_AUX_DIR_EXPAND -*- Autoconf -*- |
| 3440 | - |
| 3441 | -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. |
| 3442 | -# |
| 3443 | -# This file is free software; the Free Software Foundation |
| 3444 | -# gives unlimited permission to copy and/or distribute it, |
| 3445 | -# with or without modifications, as long as this notice is preserved. |
| 3446 | - |
| 3447 | -# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets |
| 3448 | -# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to |
| 3449 | -# `$srcdir', `$srcdir/..', or `$srcdir/../..'. |
| 3450 | -# |
| 3451 | -# Of course, Automake must honor this variable whenever it calls a |
| 3452 | -# tool from the auxiliary directory. The problem is that $srcdir (and |
| 3453 | -# therefore $ac_aux_dir as well) can be either absolute or relative, |
| 3454 | -# depending on how configure is run. This is pretty annoying, since |
| 3455 | -# it makes $ac_aux_dir quite unusable in subdirectories: in the top |
| 3456 | -# source directory, any form will work fine, but in subdirectories a |
| 3457 | -# relative path needs to be adjusted first. |
| 3458 | -# |
| 3459 | -# $ac_aux_dir/missing |
| 3460 | -# fails when called from a subdirectory if $ac_aux_dir is relative |
| 3461 | -# $top_srcdir/$ac_aux_dir/missing |
| 3462 | -# fails if $ac_aux_dir is absolute, |
| 3463 | -# fails when called from a subdirectory in a VPATH build with |
| 3464 | -# a relative $ac_aux_dir |
| 3465 | -# |
| 3466 | -# The reason of the latter failure is that $top_srcdir and $ac_aux_dir |
| 3467 | -# are both prefixed by $srcdir. In an in-source build this is usually |
| 3468 | -# harmless because $srcdir is `.', but things will broke when you |
| 3469 | -# start a VPATH build or use an absolute $srcdir. |
| 3470 | -# |
| 3471 | -# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, |
| 3472 | -# iff we strip the leading $srcdir from $ac_aux_dir. That would be: |
| 3473 | -# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` |
| 3474 | -# and then we would define $MISSING as |
| 3475 | -# MISSING="\${SHELL} $am_aux_dir/missing" |
| 3476 | -# This will work as long as MISSING is not called from configure, because |
| 3477 | -# unfortunately $(top_srcdir) has no meaning in configure. |
| 3478 | -# However there are other variables, like CC, which are often used in |
| 3479 | -# configure, and could therefore not use this "fixed" $ac_aux_dir. |
| 3480 | -# |
| 3481 | -# Another solution, used here, is to always expand $ac_aux_dir to an |
| 3482 | -# absolute PATH. The drawback is that using absolute paths prevent a |
| 3483 | -# configured tree to be moved without reconfiguration. |
| 3484 | - |
| 3485 | -AC_DEFUN([AM_AUX_DIR_EXPAND], |
| 3486 | -[dnl Rely on autoconf to set up CDPATH properly. |
| 3487 | -AC_PREREQ([2.50])dnl |
| 3488 | -# expand $ac_aux_dir to an absolute path |
| 3489 | -am_aux_dir=`cd $ac_aux_dir && pwd` |
| 3490 | -]) |
| 3491 | - |
| 3492 | -# AM_CONDITIONAL -*- Autoconf -*- |
| 3493 | - |
| 3494 | -# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 |
| 3495 | -# Free Software Foundation, Inc. |
| 3496 | -# |
| 3497 | -# This file is free software; the Free Software Foundation |
| 3498 | -# gives unlimited permission to copy and/or distribute it, |
| 3499 | -# with or without modifications, as long as this notice is preserved. |
| 3500 | - |
| 3501 | -# serial 9 |
| 3502 | - |
| 3503 | -# AM_CONDITIONAL(NAME, SHELL-CONDITION) |
| 3504 | -# ------------------------------------- |
| 3505 | -# Define a conditional. |
| 3506 | -AC_DEFUN([AM_CONDITIONAL], |
| 3507 | -[AC_PREREQ(2.52)dnl |
| 3508 | - ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], |
| 3509 | - [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl |
| 3510 | -AC_SUBST([$1_TRUE])dnl |
| 3511 | -AC_SUBST([$1_FALSE])dnl |
| 3512 | -_AM_SUBST_NOTMAKE([$1_TRUE])dnl |
| 3513 | -_AM_SUBST_NOTMAKE([$1_FALSE])dnl |
| 3514 | -m4_define([_AM_COND_VALUE_$1], [$2])dnl |
| 3515 | -if $2; then |
| 3516 | - $1_TRUE= |
| 3517 | - $1_FALSE='#' |
| 3518 | -else |
| 3519 | - $1_TRUE='#' |
| 3520 | - $1_FALSE= |
| 3521 | -fi |
| 3522 | -AC_CONFIG_COMMANDS_PRE( |
| 3523 | -[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then |
| 3524 | - AC_MSG_ERROR([[conditional "$1" was never defined. |
| 3525 | -Usually this means the macro was only invoked conditionally.]]) |
| 3526 | -fi])]) |
| 3527 | - |
| 3528 | -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009 |
| 3529 | -# Free Software Foundation, Inc. |
| 3530 | -# |
| 3531 | -# This file is free software; the Free Software Foundation |
| 3532 | -# gives unlimited permission to copy and/or distribute it, |
| 3533 | -# with or without modifications, as long as this notice is preserved. |
| 3534 | - |
| 3535 | -# serial 10 |
| 3536 | - |
| 3537 | -# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be |
| 3538 | -# written in clear, in which case automake, when reading aclocal.m4, |
| 3539 | -# will think it sees a *use*, and therefore will trigger all it's |
| 3540 | -# C support machinery. Also note that it means that autoscan, seeing |
| 3541 | -# CC etc. in the Makefile, will ask for an AC_PROG_CC use... |
| 3542 | - |
| 3543 | - |
| 3544 | -# _AM_DEPENDENCIES(NAME) |
| 3545 | -# ---------------------- |
| 3546 | -# See how the compiler implements dependency checking. |
| 3547 | -# NAME is "CC", "CXX", "GCJ", or "OBJC". |
| 3548 | -# We try a few techniques and use that to set a single cache variable. |
| 3549 | -# |
| 3550 | -# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was |
| 3551 | -# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular |
| 3552 | -# dependency, and given that the user is not expected to run this macro, |
| 3553 | -# just rely on AC_PROG_CC. |
| 3554 | -AC_DEFUN([_AM_DEPENDENCIES], |
| 3555 | -[AC_REQUIRE([AM_SET_DEPDIR])dnl |
| 3556 | -AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl |
| 3557 | -AC_REQUIRE([AM_MAKE_INCLUDE])dnl |
| 3558 | -AC_REQUIRE([AM_DEP_TRACK])dnl |
| 3559 | - |
| 3560 | -ifelse([$1], CC, [depcc="$CC" am_compiler_list=], |
| 3561 | - [$1], CXX, [depcc="$CXX" am_compiler_list=], |
| 3562 | - [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], |
| 3563 | - [$1], UPC, [depcc="$UPC" am_compiler_list=], |
| 3564 | - [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], |
| 3565 | - [depcc="$$1" am_compiler_list=]) |
| 3566 | - |
| 3567 | -AC_CACHE_CHECK([dependency style of $depcc], |
| 3568 | - [am_cv_$1_dependencies_compiler_type], |
| 3569 | -[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
| 3570 | - # We make a subdir and do the tests there. Otherwise we can end up |
| 3571 | - # making bogus files that we don't know about and never remove. For |
| 3572 | - # instance it was reported that on HP-UX the gcc test will end up |
| 3573 | - # making a dummy file named `D' -- because `-MD' means `put the output |
| 3574 | - # in D'. |
| 3575 | - mkdir conftest.dir |
| 3576 | - # Copy depcomp to subdir because otherwise we won't find it if we're |
| 3577 | - # using a relative directory. |
| 3578 | - cp "$am_depcomp" conftest.dir |
| 3579 | - cd conftest.dir |
| 3580 | - # We will build objects and dependencies in a subdirectory because |
| 3581 | - # it helps to detect inapplicable dependency modes. For instance |
| 3582 | - # both Tru64's cc and ICC support -MD to output dependencies as a |
| 3583 | - # side effect of compilation, but ICC will put the dependencies in |
| 3584 | - # the current directory while Tru64 will put them in the object |
| 3585 | - # directory. |
| 3586 | - mkdir sub |
| 3587 | - |
| 3588 | - am_cv_$1_dependencies_compiler_type=none |
| 3589 | - if test "$am_compiler_list" = ""; then |
| 3590 | - am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` |
| 3591 | - fi |
| 3592 | - am__universal=false |
| 3593 | - m4_case([$1], [CC], |
| 3594 | - [case " $depcc " in #( |
| 3595 | - *\ -arch\ *\ -arch\ *) am__universal=true ;; |
| 3596 | - esac], |
| 3597 | - [CXX], |
| 3598 | - [case " $depcc " in #( |
| 3599 | - *\ -arch\ *\ -arch\ *) am__universal=true ;; |
| 3600 | - esac]) |
| 3601 | - |
| 3602 | - for depmode in $am_compiler_list; do |
| 3603 | - # Setup a source with many dependencies, because some compilers |
| 3604 | - # like to wrap large dependency lists on column 80 (with \), and |
| 3605 | - # we should not choose a depcomp mode which is confused by this. |
| 3606 | - # |
| 3607 | - # We need to recreate these files for each test, as the compiler may |
| 3608 | - # overwrite some of them when testing with obscure command lines. |
| 3609 | - # This happens at least with the AIX C compiler. |
| 3610 | - : > sub/conftest.c |
| 3611 | - for i in 1 2 3 4 5 6; do |
| 3612 | - echo '#include "conftst'$i'.h"' >> sub/conftest.c |
| 3613 | - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
| 3614 | - # Solaris 8's {/usr,}/bin/sh. |
| 3615 | - touch sub/conftst$i.h |
| 3616 | - done |
| 3617 | - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
| 3618 | - |
| 3619 | - # We check with `-c' and `-o' for the sake of the "dashmstdout" |
| 3620 | - # mode. It turns out that the SunPro C++ compiler does not properly |
| 3621 | - # handle `-M -o', and we need to detect this. Also, some Intel |
| 3622 | - # versions had trouble with output in subdirs |
| 3623 | - am__obj=sub/conftest.${OBJEXT-o} |
| 3624 | - am__minus_obj="-o $am__obj" |
| 3625 | - case $depmode in |
| 3626 | - gcc) |
| 3627 | - # This depmode causes a compiler race in universal mode. |
| 3628 | - test "$am__universal" = false || continue |
| 3629 | - ;; |
| 3630 | - nosideeffect) |
| 3631 | - # after this tag, mechanisms are not by side-effect, so they'll |
| 3632 | - # only be used when explicitly requested |
| 3633 | - if test "x$enable_dependency_tracking" = xyes; then |
| 3634 | - continue |
| 3635 | - else |
| 3636 | - break |
| 3637 | - fi |
| 3638 | - ;; |
| 3639 | - msvisualcpp | msvcmsys) |
| 3640 | - # This compiler won't grok `-c -o', but also, the minuso test has |
| 3641 | - # not run yet. These depmodes are late enough in the game, and |
| 3642 | - # so weak that their functioning should not be impacted. |
| 3643 | - am__obj=conftest.${OBJEXT-o} |
| 3644 | - am__minus_obj= |
| 3645 | - ;; |
| 3646 | - none) break ;; |
| 3647 | - esac |
| 3648 | - if depmode=$depmode \ |
| 3649 | - source=sub/conftest.c object=$am__obj \ |
| 3650 | - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
| 3651 | - $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
| 3652 | - >/dev/null 2>conftest.err && |
| 3653 | - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
| 3654 | - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
| 3655 | - grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
| 3656 | - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
| 3657 | - # icc doesn't choke on unknown options, it will just issue warnings |
| 3658 | - # or remarks (even with -Werror). So we grep stderr for any message |
| 3659 | - # that says an option was ignored or not supported. |
| 3660 | - # When given -MP, icc 7.0 and 7.1 complain thusly: |
| 3661 | - # icc: Command line warning: ignoring option '-M'; no argument required |
| 3662 | - # The diagnosis changed in icc 8.0: |
| 3663 | - # icc: Command line remark: option '-MP' not supported |
| 3664 | - if (grep 'ignoring option' conftest.err || |
| 3665 | - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
| 3666 | - am_cv_$1_dependencies_compiler_type=$depmode |
| 3667 | - break |
| 3668 | - fi |
| 3669 | - fi |
| 3670 | - done |
| 3671 | - |
| 3672 | - cd .. |
| 3673 | - rm -rf conftest.dir |
| 3674 | -else |
| 3675 | - am_cv_$1_dependencies_compiler_type=none |
| 3676 | -fi |
| 3677 | -]) |
| 3678 | -AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) |
| 3679 | -AM_CONDITIONAL([am__fastdep$1], [ |
| 3680 | - test "x$enable_dependency_tracking" != xno \ |
| 3681 | - && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) |
| 3682 | -]) |
| 3683 | - |
| 3684 | - |
| 3685 | -# AM_SET_DEPDIR |
| 3686 | -# ------------- |
| 3687 | -# Choose a directory name for dependency files. |
| 3688 | -# This macro is AC_REQUIREd in _AM_DEPENDENCIES |
| 3689 | -AC_DEFUN([AM_SET_DEPDIR], |
| 3690 | -[AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
| 3691 | -AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl |
| 3692 | -]) |
| 3693 | - |
| 3694 | - |
| 3695 | -# AM_DEP_TRACK |
| 3696 | -# ------------ |
| 3697 | -AC_DEFUN([AM_DEP_TRACK], |
| 3698 | -[AC_ARG_ENABLE(dependency-tracking, |
| 3699 | -[ --disable-dependency-tracking speeds up one-time build |
| 3700 | - --enable-dependency-tracking do not reject slow dependency extractors]) |
| 3701 | -if test "x$enable_dependency_tracking" != xno; then |
| 3702 | - am_depcomp="$ac_aux_dir/depcomp" |
| 3703 | - AMDEPBACKSLASH='\' |
| 3704 | -fi |
| 3705 | -AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) |
| 3706 | -AC_SUBST([AMDEPBACKSLASH])dnl |
| 3707 | -_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl |
| 3708 | -]) |
| 3709 | - |
| 3710 | -# Generate code to set up dependency tracking. -*- Autoconf -*- |
| 3711 | - |
| 3712 | -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 |
| 3713 | -# Free Software Foundation, Inc. |
| 3714 | -# |
| 3715 | -# This file is free software; the Free Software Foundation |
| 3716 | -# gives unlimited permission to copy and/or distribute it, |
| 3717 | -# with or without modifications, as long as this notice is preserved. |
| 3718 | - |
| 3719 | -#serial 5 |
| 3720 | - |
| 3721 | -# _AM_OUTPUT_DEPENDENCY_COMMANDS |
| 3722 | -# ------------------------------ |
| 3723 | -AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], |
| 3724 | -[{ |
| 3725 | - # Autoconf 2.62 quotes --file arguments for eval, but not when files |
| 3726 | - # are listed without --file. Let's play safe and only enable the eval |
| 3727 | - # if we detect the quoting. |
| 3728 | - case $CONFIG_FILES in |
| 3729 | - *\'*) eval set x "$CONFIG_FILES" ;; |
| 3730 | - *) set x $CONFIG_FILES ;; |
| 3731 | - esac |
| 3732 | - shift |
| 3733 | - for mf |
| 3734 | - do |
| 3735 | - # Strip MF so we end up with the name of the file. |
| 3736 | - mf=`echo "$mf" | sed -e 's/:.*$//'` |
| 3737 | - # Check whether this is an Automake generated Makefile or not. |
| 3738 | - # We used to match only the files named `Makefile.in', but |
| 3739 | - # some people rename them; so instead we look at the file content. |
| 3740 | - # Grep'ing the first line is not enough: some people post-process |
| 3741 | - # each Makefile.in and add a new line on top of each file to say so. |
| 3742 | - # Grep'ing the whole file is not good either: AIX grep has a line |
| 3743 | - # limit of 2048, but all sed's we know have understand at least 4000. |
| 3744 | - if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
| 3745 | - dirpart=`AS_DIRNAME("$mf")` |
| 3746 | - else |
| 3747 | - continue |
| 3748 | - fi |
| 3749 | - # Extract the definition of DEPDIR, am__include, and am__quote |
| 3750 | - # from the Makefile without running `make'. |
| 3751 | - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
| 3752 | - test -z "$DEPDIR" && continue |
| 3753 | - am__include=`sed -n 's/^am__include = //p' < "$mf"` |
| 3754 | - test -z "am__include" && continue |
| 3755 | - am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
| 3756 | - # When using ansi2knr, U may be empty or an underscore; expand it |
| 3757 | - U=`sed -n 's/^U = //p' < "$mf"` |
| 3758 | - # Find all dependency output files, they are included files with |
| 3759 | - # $(DEPDIR) in their names. We invoke sed twice because it is the |
| 3760 | - # simplest approach to changing $(DEPDIR) to its actual value in the |
| 3761 | - # expansion. |
| 3762 | - for file in `sed -n " |
| 3763 | - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
| 3764 | - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
| 3765 | - # Make sure the directory exists. |
| 3766 | - test -f "$dirpart/$file" && continue |
| 3767 | - fdir=`AS_DIRNAME(["$file"])` |
| 3768 | - AS_MKDIR_P([$dirpart/$fdir]) |
| 3769 | - # echo "creating $dirpart/$file" |
| 3770 | - echo '# dummy' > "$dirpart/$file" |
| 3771 | - done |
| 3772 | - done |
| 3773 | -} |
| 3774 | -])# _AM_OUTPUT_DEPENDENCY_COMMANDS |
| 3775 | - |
| 3776 | - |
| 3777 | -# AM_OUTPUT_DEPENDENCY_COMMANDS |
| 3778 | -# ----------------------------- |
| 3779 | -# This macro should only be invoked once -- use via AC_REQUIRE. |
| 3780 | -# |
| 3781 | -# This code is only required when automatic dependency tracking |
| 3782 | -# is enabled. FIXME. This creates each `.P' file that we will |
| 3783 | -# need in order to bootstrap the dependency handling code. |
| 3784 | -AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], |
| 3785 | -[AC_CONFIG_COMMANDS([depfiles], |
| 3786 | - [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], |
| 3787 | - [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) |
| 3788 | -]) |
| 3789 | - |
| 3790 | -# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 |
| 3791 | -# Free Software Foundation, Inc. |
| 3792 | -# |
| 3793 | -# This file is free software; the Free Software Foundation |
| 3794 | -# gives unlimited permission to copy and/or distribute it, |
| 3795 | -# with or without modifications, as long as this notice is preserved. |
| 3796 | - |
| 3797 | -# serial 8 |
| 3798 | - |
| 3799 | -# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. |
| 3800 | -AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) |
| 3801 | - |
| 3802 | -# Do all the work for Automake. -*- Autoconf -*- |
| 3803 | - |
| 3804 | -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
| 3805 | -# 2005, 2006, 2008, 2009 Free Software Foundation, Inc. |
| 3806 | -# |
| 3807 | -# This file is free software; the Free Software Foundation |
| 3808 | -# gives unlimited permission to copy and/or distribute it, |
| 3809 | -# with or without modifications, as long as this notice is preserved. |
| 3810 | - |
| 3811 | -# serial 16 |
| 3812 | - |
| 3813 | -# This macro actually does too much. Some checks are only needed if |
| 3814 | -# your package does certain things. But this isn't really a big deal. |
| 3815 | - |
| 3816 | -# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) |
| 3817 | -# AM_INIT_AUTOMAKE([OPTIONS]) |
| 3818 | -# ----------------------------------------------- |
| 3819 | -# The call with PACKAGE and VERSION arguments is the old style |
| 3820 | -# call (pre autoconf-2.50), which is being phased out. PACKAGE |
| 3821 | -# and VERSION should now be passed to AC_INIT and removed from |
| 3822 | -# the call to AM_INIT_AUTOMAKE. |
| 3823 | -# We support both call styles for the transition. After |
| 3824 | -# the next Automake release, Autoconf can make the AC_INIT |
| 3825 | -# arguments mandatory, and then we can depend on a new Autoconf |
| 3826 | -# release and drop the old call support. |
| 3827 | -AC_DEFUN([AM_INIT_AUTOMAKE], |
| 3828 | -[AC_PREREQ([2.62])dnl |
| 3829 | -dnl Autoconf wants to disallow AM_ names. We explicitly allow |
| 3830 | -dnl the ones we care about. |
| 3831 | -m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl |
| 3832 | -AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl |
| 3833 | -AC_REQUIRE([AC_PROG_INSTALL])dnl |
| 3834 | -if test "`cd $srcdir && pwd`" != "`pwd`"; then |
| 3835 | - # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
| 3836 | - # is not polluted with repeated "-I." |
| 3837 | - AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl |
| 3838 | - # test to see if srcdir already configured |
| 3839 | - if test -f $srcdir/config.status; then |
| 3840 | - AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) |
| 3841 | - fi |
| 3842 | -fi |
| 3843 | - |
| 3844 | -# test whether we have cygpath |
| 3845 | -if test -z "$CYGPATH_W"; then |
| 3846 | - if (cygpath --version) >/dev/null 2>/dev/null; then |
| 3847 | - CYGPATH_W='cygpath -w' |
| 3848 | - else |
| 3849 | - CYGPATH_W=echo |
| 3850 | - fi |
| 3851 | -fi |
| 3852 | -AC_SUBST([CYGPATH_W]) |
| 3853 | - |
| 3854 | -# Define the identity of the package. |
| 3855 | -dnl Distinguish between old-style and new-style calls. |
| 3856 | -m4_ifval([$2], |
| 3857 | -[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl |
| 3858 | - AC_SUBST([PACKAGE], [$1])dnl |
| 3859 | - AC_SUBST([VERSION], [$2])], |
| 3860 | -[_AM_SET_OPTIONS([$1])dnl |
| 3861 | -dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. |
| 3862 | -m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, |
| 3863 | - [m4_fatal([AC_INIT should be called with package and version arguments])])dnl |
| 3864 | - AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl |
| 3865 | - AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl |
| 3866 | - |
| 3867 | -_AM_IF_OPTION([no-define],, |
| 3868 | -[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) |
| 3869 | - AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl |
| 3870 | - |
| 3871 | -# Some tools Automake needs. |
| 3872 | -AC_REQUIRE([AM_SANITY_CHECK])dnl |
| 3873 | -AC_REQUIRE([AC_ARG_PROGRAM])dnl |
| 3874 | -AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) |
| 3875 | -AM_MISSING_PROG(AUTOCONF, autoconf) |
| 3876 | -AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) |
| 3877 | -AM_MISSING_PROG(AUTOHEADER, autoheader) |
| 3878 | -AM_MISSING_PROG(MAKEINFO, makeinfo) |
| 3879 | -AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
| 3880 | -AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl |
| 3881 | -AC_REQUIRE([AM_PROG_MKDIR_P])dnl |
| 3882 | -# We need awk for the "check" target. The system "awk" is bad on |
| 3883 | -# some platforms. |
| 3884 | -AC_REQUIRE([AC_PROG_AWK])dnl |
| 3885 | -AC_REQUIRE([AC_PROG_MAKE_SET])dnl |
| 3886 | -AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
| 3887 | -_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], |
| 3888 | - [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], |
| 3889 | - [_AM_PROG_TAR([v7])])]) |
| 3890 | -_AM_IF_OPTION([no-dependencies],, |
| 3891 | -[AC_PROVIDE_IFELSE([AC_PROG_CC], |
| 3892 | - [_AM_DEPENDENCIES(CC)], |
| 3893 | - [define([AC_PROG_CC], |
| 3894 | - defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl |
| 3895 | -AC_PROVIDE_IFELSE([AC_PROG_CXX], |
| 3896 | - [_AM_DEPENDENCIES(CXX)], |
| 3897 | - [define([AC_PROG_CXX], |
| 3898 | - defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl |
| 3899 | -AC_PROVIDE_IFELSE([AC_PROG_OBJC], |
| 3900 | - [_AM_DEPENDENCIES(OBJC)], |
| 3901 | - [define([AC_PROG_OBJC], |
| 3902 | - defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl |
| 3903 | -]) |
| 3904 | -_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl |
| 3905 | -dnl The `parallel-tests' driver may need to know about EXEEXT, so add the |
| 3906 | -dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro |
| 3907 | -dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. |
| 3908 | -AC_CONFIG_COMMANDS_PRE(dnl |
| 3909 | -[m4_provide_if([_AM_COMPILER_EXEEXT], |
| 3910 | - [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl |
| 3911 | -]) |
| 3912 | - |
| 3913 | -dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not |
| 3914 | -dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further |
| 3915 | -dnl mangled by Autoconf and run in a shell conditional statement. |
| 3916 | -m4_define([_AC_COMPILER_EXEEXT], |
| 3917 | -m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) |
| 3918 | - |
| 3919 | - |
| 3920 | -# When config.status generates a header, we must update the stamp-h file. |
| 3921 | -# This file resides in the same directory as the config header |
| 3922 | -# that is generated. The stamp files are numbered to have different names. |
| 3923 | - |
| 3924 | -# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the |
| 3925 | -# loop where config.status creates the headers, so we can generate |
| 3926 | -# our stamp files there. |
| 3927 | -AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], |
| 3928 | -[# Compute $1's index in $config_headers. |
| 3929 | -_am_arg=$1 |
| 3930 | -_am_stamp_count=1 |
| 3931 | -for _am_header in $config_headers :; do |
| 3932 | - case $_am_header in |
| 3933 | - $_am_arg | $_am_arg:* ) |
| 3934 | - break ;; |
| 3935 | - * ) |
| 3936 | - _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
| 3937 | - esac |
| 3938 | -done |
| 3939 | -echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
| 3940 | - |
| 3941 | -# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc. |
| 3942 | -# |
| 3943 | -# This file is free software; the Free Software Foundation |
| 3944 | -# gives unlimited permission to copy and/or distribute it, |
| 3945 | -# with or without modifications, as long as this notice is preserved. |
| 3946 | - |
| 3947 | -# AM_PROG_INSTALL_SH |
| 3948 | -# ------------------ |
| 3949 | -# Define $install_sh. |
| 3950 | -AC_DEFUN([AM_PROG_INSTALL_SH], |
| 3951 | -[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
| 3952 | -if test x"${install_sh}" != xset; then |
| 3953 | - case $am_aux_dir in |
| 3954 | - *\ * | *\ *) |
| 3955 | - install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
| 3956 | - *) |
| 3957 | - install_sh="\${SHELL} $am_aux_dir/install-sh" |
| 3958 | - esac |
| 3959 | -fi |
| 3960 | -AC_SUBST(install_sh)]) |
| 3961 | - |
| 3962 | -# Copyright (C) 2003, 2005 Free Software Foundation, Inc. |
| 3963 | -# |
| 3964 | -# This file is free software; the Free Software Foundation |
| 3965 | -# gives unlimited permission to copy and/or distribute it, |
| 3966 | -# with or without modifications, as long as this notice is preserved. |
| 3967 | - |
| 3968 | -# serial 2 |
| 3969 | - |
| 3970 | -# Check whether the underlying file-system supports filenames |
| 3971 | -# with a leading dot. For instance MS-DOS doesn't. |
| 3972 | -AC_DEFUN([AM_SET_LEADING_DOT], |
| 3973 | -[rm -rf .tst 2>/dev/null |
| 3974 | -mkdir .tst 2>/dev/null |
| 3975 | -if test -d .tst; then |
| 3976 | - am__leading_dot=. |
| 3977 | -else |
| 3978 | - am__leading_dot=_ |
| 3979 | -fi |
| 3980 | -rmdir .tst 2>/dev/null |
| 3981 | -AC_SUBST([am__leading_dot])]) |
| 3982 | - |
| 3983 | -# Add --enable-maintainer-mode option to configure. -*- Autoconf -*- |
| 3984 | -# From Jim Meyering |
| 3985 | - |
| 3986 | -# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008 |
| 3987 | -# Free Software Foundation, Inc. |
| 3988 | -# |
| 3989 | -# This file is free software; the Free Software Foundation |
| 3990 | -# gives unlimited permission to copy and/or distribute it, |
| 3991 | -# with or without modifications, as long as this notice is preserved. |
| 3992 | - |
| 3993 | -# serial 5 |
| 3994 | - |
| 3995 | -# AM_MAINTAINER_MODE([DEFAULT-MODE]) |
| 3996 | -# ---------------------------------- |
| 3997 | -# Control maintainer-specific portions of Makefiles. |
| 3998 | -# Default is to disable them, unless `enable' is passed literally. |
| 3999 | -# For symmetry, `disable' may be passed as well. Anyway, the user |
| 4000 | -# can override the default with the --enable/--disable switch. |
| 4001 | -AC_DEFUN([AM_MAINTAINER_MODE], |
| 4002 | -[m4_case(m4_default([$1], [disable]), |
| 4003 | - [enable], [m4_define([am_maintainer_other], [disable])], |
| 4004 | - [disable], [m4_define([am_maintainer_other], [enable])], |
| 4005 | - [m4_define([am_maintainer_other], [enable]) |
| 4006 | - m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])]) |
| 4007 | -AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles]) |
| 4008 | - dnl maintainer-mode's default is 'disable' unless 'enable' is passed |
| 4009 | - AC_ARG_ENABLE([maintainer-mode], |
| 4010 | -[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful |
| 4011 | - (and sometimes confusing) to the casual installer], |
| 4012 | - [USE_MAINTAINER_MODE=$enableval], |
| 4013 | - [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) |
| 4014 | - AC_MSG_RESULT([$USE_MAINTAINER_MODE]) |
| 4015 | - AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) |
| 4016 | - MAINT=$MAINTAINER_MODE_TRUE |
| 4017 | - AC_SUBST([MAINT])dnl |
| 4018 | -] |
| 4019 | -) |
| 4020 | - |
| 4021 | -AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) |
| 4022 | - |
| 4023 | -# Check to see how 'make' treats includes. -*- Autoconf -*- |
| 4024 | - |
| 4025 | -# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. |
| 4026 | -# |
| 4027 | -# This file is free software; the Free Software Foundation |
| 4028 | -# gives unlimited permission to copy and/or distribute it, |
| 4029 | -# with or without modifications, as long as this notice is preserved. |
| 4030 | - |
| 4031 | -# serial 4 |
| 4032 | - |
| 4033 | -# AM_MAKE_INCLUDE() |
| 4034 | -# ----------------- |
| 4035 | -# Check to see how make treats includes. |
| 4036 | -AC_DEFUN([AM_MAKE_INCLUDE], |
| 4037 | -[am_make=${MAKE-make} |
| 4038 | -cat > confinc << 'END' |
| 4039 | -am__doit: |
| 4040 | - @echo this is the am__doit target |
| 4041 | -.PHONY: am__doit |
| 4042 | -END |
| 4043 | -# If we don't find an include directive, just comment out the code. |
| 4044 | -AC_MSG_CHECKING([for style of include used by $am_make]) |
| 4045 | -am__include="#" |
| 4046 | -am__quote= |
| 4047 | -_am_result=none |
| 4048 | -# First try GNU make style include. |
| 4049 | -echo "include confinc" > confmf |
| 4050 | -# Ignore all kinds of additional output from `make'. |
| 4051 | -case `$am_make -s -f confmf 2> /dev/null` in #( |
| 4052 | -*the\ am__doit\ target*) |
| 4053 | - am__include=include |
| 4054 | - am__quote= |
| 4055 | - _am_result=GNU |
| 4056 | - ;; |
| 4057 | -esac |
| 4058 | -# Now try BSD make style include. |
| 4059 | -if test "$am__include" = "#"; then |
| 4060 | - echo '.include "confinc"' > confmf |
| 4061 | - case `$am_make -s -f confmf 2> /dev/null` in #( |
| 4062 | - *the\ am__doit\ target*) |
| 4063 | - am__include=.include |
| 4064 | - am__quote="\"" |
| 4065 | - _am_result=BSD |
| 4066 | - ;; |
| 4067 | - esac |
| 4068 | -fi |
| 4069 | -AC_SUBST([am__include]) |
| 4070 | -AC_SUBST([am__quote]) |
| 4071 | -AC_MSG_RESULT([$_am_result]) |
| 4072 | -rm -f confinc confmf |
| 4073 | -]) |
| 4074 | - |
| 4075 | -# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2008 |
| 4076 | -# Free Software Foundation, Inc. |
| 4077 | -# |
| 4078 | -# This file is free software; the Free Software Foundation |
| 4079 | -# gives unlimited permission to copy and/or distribute it, |
| 4080 | -# with or without modifications, as long as this notice is preserved. |
| 4081 | - |
| 4082 | -# serial 6 |
| 4083 | - |
| 4084 | -# AM_PROG_CC_C_O |
| 4085 | -# -------------- |
| 4086 | -# Like AC_PROG_CC_C_O, but changed for automake. |
| 4087 | -AC_DEFUN([AM_PROG_CC_C_O], |
| 4088 | -[AC_REQUIRE([AC_PROG_CC_C_O])dnl |
| 4089 | -AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
| 4090 | -AC_REQUIRE_AUX_FILE([compile])dnl |
| 4091 | -# FIXME: we rely on the cache variable name because |
| 4092 | -# there is no other way. |
| 4093 | -set dummy $CC |
| 4094 | -am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']` |
| 4095 | -eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o |
| 4096 | -if test "$am_t" != yes; then |
| 4097 | - # Losing compiler, so override with the script. |
| 4098 | - # FIXME: It is wrong to rewrite CC. |
| 4099 | - # But if we don't then we get into trouble of one sort or another. |
| 4100 | - # A longer-term fix would be to have automake use am__CC in this case, |
| 4101 | - # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
| 4102 | - CC="$am_aux_dir/compile $CC" |
| 4103 | -fi |
| 4104 | -dnl Make sure AC_PROG_CC is never called again, or it will override our |
| 4105 | -dnl setting of CC. |
| 4106 | -m4_define([AC_PROG_CC], |
| 4107 | - [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])]) |
| 4108 | -]) |
| 4109 | - |
| 4110 | -# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- |
| 4111 | - |
| 4112 | -# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 |
| 4113 | -# Free Software Foundation, Inc. |
| 4114 | -# |
| 4115 | -# This file is free software; the Free Software Foundation |
| 4116 | -# gives unlimited permission to copy and/or distribute it, |
| 4117 | -# with or without modifications, as long as this notice is preserved. |
| 4118 | - |
| 4119 | -# serial 6 |
| 4120 | - |
| 4121 | -# AM_MISSING_PROG(NAME, PROGRAM) |
| 4122 | -# ------------------------------ |
| 4123 | -AC_DEFUN([AM_MISSING_PROG], |
| 4124 | -[AC_REQUIRE([AM_MISSING_HAS_RUN]) |
| 4125 | -$1=${$1-"${am_missing_run}$2"} |
| 4126 | -AC_SUBST($1)]) |
| 4127 | - |
| 4128 | - |
| 4129 | -# AM_MISSING_HAS_RUN |
| 4130 | -# ------------------ |
| 4131 | -# Define MISSING if not defined so far and test if it supports --run. |
| 4132 | -# If it does, set am_missing_run to use it, otherwise, to nothing. |
| 4133 | -AC_DEFUN([AM_MISSING_HAS_RUN], |
| 4134 | -[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
| 4135 | -AC_REQUIRE_AUX_FILE([missing])dnl |
| 4136 | -if test x"${MISSING+set}" != xset; then |
| 4137 | - case $am_aux_dir in |
| 4138 | - *\ * | *\ *) |
| 4139 | - MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
| 4140 | - *) |
| 4141 | - MISSING="\${SHELL} $am_aux_dir/missing" ;; |
| 4142 | - esac |
| 4143 | -fi |
| 4144 | -# Use eval to expand $SHELL |
| 4145 | -if eval "$MISSING --run true"; then |
| 4146 | - am_missing_run="$MISSING --run " |
| 4147 | -else |
| 4148 | - am_missing_run= |
| 4149 | - AC_MSG_WARN([`missing' script is too old or missing]) |
| 4150 | -fi |
| 4151 | -]) |
| 4152 | - |
| 4153 | -# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
| 4154 | -# |
| 4155 | -# This file is free software; the Free Software Foundation |
| 4156 | -# gives unlimited permission to copy and/or distribute it, |
| 4157 | -# with or without modifications, as long as this notice is preserved. |
| 4158 | - |
| 4159 | -# AM_PROG_MKDIR_P |
| 4160 | -# --------------- |
| 4161 | -# Check for `mkdir -p'. |
| 4162 | -AC_DEFUN([AM_PROG_MKDIR_P], |
| 4163 | -[AC_PREREQ([2.60])dnl |
| 4164 | -AC_REQUIRE([AC_PROG_MKDIR_P])dnl |
| 4165 | -dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, |
| 4166 | -dnl while keeping a definition of mkdir_p for backward compatibility. |
| 4167 | -dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. |
| 4168 | -dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of |
| 4169 | -dnl Makefile.ins that do not define MKDIR_P, so we do our own |
| 4170 | -dnl adjustment using top_builddir (which is defined more often than |
| 4171 | -dnl MKDIR_P). |
| 4172 | -AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl |
| 4173 | -case $mkdir_p in |
| 4174 | - [[\\/$]]* | ?:[[\\/]]*) ;; |
| 4175 | - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
| 4176 | -esac |
| 4177 | -]) |
| 4178 | - |
| 4179 | -# Helper functions for option handling. -*- Autoconf -*- |
| 4180 | - |
| 4181 | -# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc. |
| 4182 | -# |
| 4183 | -# This file is free software; the Free Software Foundation |
| 4184 | -# gives unlimited permission to copy and/or distribute it, |
| 4185 | -# with or without modifications, as long as this notice is preserved. |
| 4186 | - |
| 4187 | -# serial 4 |
| 4188 | - |
| 4189 | -# _AM_MANGLE_OPTION(NAME) |
| 4190 | -# ----------------------- |
| 4191 | -AC_DEFUN([_AM_MANGLE_OPTION], |
| 4192 | -[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) |
| 4193 | - |
| 4194 | -# _AM_SET_OPTION(NAME) |
| 4195 | -# ------------------------------ |
| 4196 | -# Set option NAME. Presently that only means defining a flag for this option. |
| 4197 | -AC_DEFUN([_AM_SET_OPTION], |
| 4198 | -[m4_define(_AM_MANGLE_OPTION([$1]), 1)]) |
| 4199 | - |
| 4200 | -# _AM_SET_OPTIONS(OPTIONS) |
| 4201 | -# ---------------------------------- |
| 4202 | -# OPTIONS is a space-separated list of Automake options. |
| 4203 | -AC_DEFUN([_AM_SET_OPTIONS], |
| 4204 | -[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) |
| 4205 | - |
| 4206 | -# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) |
| 4207 | -# ------------------------------------------- |
| 4208 | -# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. |
| 4209 | -AC_DEFUN([_AM_IF_OPTION], |
| 4210 | -[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) |
| 4211 | - |
| 4212 | -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. |
| 4213 | -# |
| 4214 | -# This file is free software; the Free Software Foundation |
| 4215 | -# gives unlimited permission to copy and/or distribute it, |
| 4216 | -# with or without modifications, as long as this notice is preserved. |
| 4217 | - |
| 4218 | -# AM_RUN_LOG(COMMAND) |
| 4219 | -# ------------------- |
| 4220 | -# Run COMMAND, save the exit status in ac_status, and log it. |
| 4221 | -# (This has been adapted from Autoconf's _AC_RUN_LOG macro.) |
| 4222 | -AC_DEFUN([AM_RUN_LOG], |
| 4223 | -[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD |
| 4224 | - ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD |
| 4225 | - ac_status=$? |
| 4226 | - echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD |
| 4227 | - (exit $ac_status); }]) |
| 4228 | - |
| 4229 | -# Check to make sure that the build environment is sane. -*- Autoconf -*- |
| 4230 | - |
| 4231 | -# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 |
| 4232 | -# Free Software Foundation, Inc. |
| 4233 | -# |
| 4234 | -# This file is free software; the Free Software Foundation |
| 4235 | -# gives unlimited permission to copy and/or distribute it, |
| 4236 | -# with or without modifications, as long as this notice is preserved. |
| 4237 | - |
| 4238 | -# serial 5 |
| 4239 | - |
| 4240 | -# AM_SANITY_CHECK |
| 4241 | -# --------------- |
| 4242 | -AC_DEFUN([AM_SANITY_CHECK], |
| 4243 | -[AC_MSG_CHECKING([whether build environment is sane]) |
| 4244 | -# Just in case |
| 4245 | -sleep 1 |
| 4246 | -echo timestamp > conftest.file |
| 4247 | -# Reject unsafe characters in $srcdir or the absolute working directory |
| 4248 | -# name. Accept space and tab only in the latter. |
| 4249 | -am_lf=' |
| 4250 | -' |
| 4251 | -case `pwd` in |
| 4252 | - *[[\\\"\#\$\&\'\`$am_lf]]*) |
| 4253 | - AC_MSG_ERROR([unsafe absolute working directory name]);; |
| 4254 | -esac |
| 4255 | -case $srcdir in |
| 4256 | - *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) |
| 4257 | - AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; |
| 4258 | -esac |
| 4259 | - |
| 4260 | -# Do `set' in a subshell so we don't clobber the current shell's |
| 4261 | -# arguments. Must try -L first in case configure is actually a |
| 4262 | -# symlink; some systems play weird games with the mod time of symlinks |
| 4263 | -# (eg FreeBSD returns the mod time of the symlink's containing |
| 4264 | -# directory). |
| 4265 | -if ( |
| 4266 | - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
| 4267 | - if test "$[*]" = "X"; then |
| 4268 | - # -L didn't work. |
| 4269 | - set X `ls -t "$srcdir/configure" conftest.file` |
| 4270 | - fi |
| 4271 | - rm -f conftest.file |
| 4272 | - if test "$[*]" != "X $srcdir/configure conftest.file" \ |
| 4273 | - && test "$[*]" != "X conftest.file $srcdir/configure"; then |
| 4274 | - |
| 4275 | - # If neither matched, then we have a broken ls. This can happen |
| 4276 | - # if, for instance, CONFIG_SHELL is bash and it inherits a |
| 4277 | - # broken ls alias from the environment. This has actually |
| 4278 | - # happened. Such a system could not be considered "sane". |
| 4279 | - AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken |
| 4280 | -alias in your environment]) |
| 4281 | - fi |
| 4282 | - |
| 4283 | - test "$[2]" = conftest.file |
| 4284 | - ) |
| 4285 | -then |
| 4286 | - # Ok. |
| 4287 | - : |
| 4288 | -else |
| 4289 | - AC_MSG_ERROR([newly created file is older than distributed files! |
| 4290 | -Check your system clock]) |
| 4291 | -fi |
| 4292 | -AC_MSG_RESULT(yes)]) |
| 4293 | - |
| 4294 | -# Copyright (C) 2009 Free Software Foundation, Inc. |
| 4295 | -# |
| 4296 | -# This file is free software; the Free Software Foundation |
| 4297 | -# gives unlimited permission to copy and/or distribute it, |
| 4298 | -# with or without modifications, as long as this notice is preserved. |
| 4299 | - |
| 4300 | -# serial 1 |
| 4301 | - |
| 4302 | -# AM_SILENT_RULES([DEFAULT]) |
| 4303 | -# -------------------------- |
| 4304 | -# Enable less verbose build rules; with the default set to DEFAULT |
| 4305 | -# (`yes' being less verbose, `no' or empty being verbose). |
| 4306 | -AC_DEFUN([AM_SILENT_RULES], |
| 4307 | -[AC_ARG_ENABLE([silent-rules], |
| 4308 | -[ --enable-silent-rules less verbose build output (undo: `make V=1') |
| 4309 | - --disable-silent-rules verbose build output (undo: `make V=0')]) |
| 4310 | -case $enable_silent_rules in |
| 4311 | -yes) AM_DEFAULT_VERBOSITY=0;; |
| 4312 | -no) AM_DEFAULT_VERBOSITY=1;; |
| 4313 | -*) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; |
| 4314 | -esac |
| 4315 | -AC_SUBST([AM_DEFAULT_VERBOSITY])dnl |
| 4316 | -AM_BACKSLASH='\' |
| 4317 | -AC_SUBST([AM_BACKSLASH])dnl |
| 4318 | -_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl |
| 4319 | -]) |
| 4320 | - |
| 4321 | -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. |
| 4322 | -# |
| 4323 | -# This file is free software; the Free Software Foundation |
| 4324 | -# gives unlimited permission to copy and/or distribute it, |
| 4325 | -# with or without modifications, as long as this notice is preserved. |
| 4326 | - |
| 4327 | -# AM_PROG_INSTALL_STRIP |
| 4328 | -# --------------------- |
| 4329 | -# One issue with vendor `install' (even GNU) is that you can't |
| 4330 | -# specify the program used to strip binaries. This is especially |
| 4331 | -# annoying in cross-compiling environments, where the build's strip |
| 4332 | -# is unlikely to handle the host's binaries. |
| 4333 | -# Fortunately install-sh will honor a STRIPPROG variable, so we |
| 4334 | -# always use install-sh in `make install-strip', and initialize |
| 4335 | -# STRIPPROG with the value of the STRIP variable (set by the user). |
| 4336 | -AC_DEFUN([AM_PROG_INSTALL_STRIP], |
| 4337 | -[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
| 4338 | -# Installed binaries are usually stripped using `strip' when the user |
| 4339 | -# run `make install-strip'. However `strip' might not be the right |
| 4340 | -# tool to use in cross-compilation environments, therefore Automake |
| 4341 | -# will honor the `STRIP' environment variable to overrule this program. |
| 4342 | -dnl Don't test for $cross_compiling = yes, because it might be `maybe'. |
| 4343 | -if test "$cross_compiling" != no; then |
| 4344 | - AC_CHECK_TOOL([STRIP], [strip], :) |
| 4345 | -fi |
| 4346 | -INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
| 4347 | -AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
| 4348 | - |
| 4349 | -# Copyright (C) 2006, 2008 Free Software Foundation, Inc. |
| 4350 | -# |
| 4351 | -# This file is free software; the Free Software Foundation |
| 4352 | -# gives unlimited permission to copy and/or distribute it, |
| 4353 | -# with or without modifications, as long as this notice is preserved. |
| 4354 | - |
| 4355 | -# serial 2 |
| 4356 | - |
| 4357 | -# _AM_SUBST_NOTMAKE(VARIABLE) |
| 4358 | -# --------------------------- |
| 4359 | -# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. |
| 4360 | -# This macro is traced by Automake. |
| 4361 | -AC_DEFUN([_AM_SUBST_NOTMAKE]) |
| 4362 | - |
| 4363 | -# AM_SUBST_NOTMAKE(VARIABLE) |
| 4364 | -# --------------------------- |
| 4365 | -# Public sister of _AM_SUBST_NOTMAKE. |
| 4366 | -AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) |
| 4367 | - |
| 4368 | -# Check how to create a tarball. -*- Autoconf -*- |
| 4369 | - |
| 4370 | -# Copyright (C) 2004, 2005 Free Software Foundation, Inc. |
| 4371 | -# |
| 4372 | -# This file is free software; the Free Software Foundation |
| 4373 | -# gives unlimited permission to copy and/or distribute it, |
| 4374 | -# with or without modifications, as long as this notice is preserved. |
| 4375 | - |
| 4376 | -# serial 2 |
| 4377 | - |
| 4378 | -# _AM_PROG_TAR(FORMAT) |
| 4379 | -# -------------------- |
| 4380 | -# Check how to create a tarball in format FORMAT. |
| 4381 | -# FORMAT should be one of `v7', `ustar', or `pax'. |
| 4382 | -# |
| 4383 | -# Substitute a variable $(am__tar) that is a command |
| 4384 | -# writing to stdout a FORMAT-tarball containing the directory |
| 4385 | -# $tardir. |
| 4386 | -# tardir=directory && $(am__tar) > result.tar |
| 4387 | -# |
| 4388 | -# Substitute a variable $(am__untar) that extract such |
| 4389 | -# a tarball read from stdin. |
| 4390 | -# $(am__untar) < result.tar |
| 4391 | -AC_DEFUN([_AM_PROG_TAR], |
| 4392 | -[# Always define AMTAR for backward compatibility. |
| 4393 | -AM_MISSING_PROG([AMTAR], [tar]) |
| 4394 | -m4_if([$1], [v7], |
| 4395 | - [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], |
| 4396 | - [m4_case([$1], [ustar],, [pax],, |
| 4397 | - [m4_fatal([Unknown tar format])]) |
| 4398 | -AC_MSG_CHECKING([how to create a $1 tar archive]) |
| 4399 | -# Loop over all known methods to create a tar archive until one works. |
| 4400 | -_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' |
| 4401 | -_am_tools=${am_cv_prog_tar_$1-$_am_tools} |
| 4402 | -# Do not fold the above two line into one, because Tru64 sh and |
| 4403 | -# Solaris sh will not grok spaces in the rhs of `-'. |
| 4404 | -for _am_tool in $_am_tools |
| 4405 | -do |
| 4406 | - case $_am_tool in |
| 4407 | - gnutar) |
| 4408 | - for _am_tar in tar gnutar gtar; |
| 4409 | - do |
| 4410 | - AM_RUN_LOG([$_am_tar --version]) && break |
| 4411 | - done |
| 4412 | - am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' |
| 4413 | - am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' |
| 4414 | - am__untar="$_am_tar -xf -" |
| 4415 | - ;; |
| 4416 | - plaintar) |
| 4417 | - # Must skip GNU tar: if it does not support --format= it doesn't create |
| 4418 | - # ustar tarball either. |
| 4419 | - (tar --version) >/dev/null 2>&1 && continue |
| 4420 | - am__tar='tar chf - "$$tardir"' |
| 4421 | - am__tar_='tar chf - "$tardir"' |
| 4422 | - am__untar='tar xf -' |
| 4423 | - ;; |
| 4424 | - pax) |
| 4425 | - am__tar='pax -L -x $1 -w "$$tardir"' |
| 4426 | - am__tar_='pax -L -x $1 -w "$tardir"' |
| 4427 | - am__untar='pax -r' |
| 4428 | - ;; |
| 4429 | - cpio) |
| 4430 | - am__tar='find "$$tardir" -print | cpio -o -H $1 -L' |
| 4431 | - am__tar_='find "$tardir" -print | cpio -o -H $1 -L' |
| 4432 | - am__untar='cpio -i -H $1 -d' |
| 4433 | - ;; |
| 4434 | - none) |
| 4435 | - am__tar=false |
| 4436 | - am__tar_=false |
| 4437 | - am__untar=false |
| 4438 | - ;; |
| 4439 | - esac |
| 4440 | - |
| 4441 | - # If the value was cached, stop now. We just wanted to have am__tar |
| 4442 | - # and am__untar set. |
| 4443 | - test -n "${am_cv_prog_tar_$1}" && break |
| 4444 | - |
| 4445 | - # tar/untar a dummy directory, and stop if the command works |
| 4446 | - rm -rf conftest.dir |
| 4447 | - mkdir conftest.dir |
| 4448 | - echo GrepMe > conftest.dir/file |
| 4449 | - AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) |
| 4450 | - rm -rf conftest.dir |
| 4451 | - if test -s conftest.tar; then |
| 4452 | - AM_RUN_LOG([$am__untar <conftest.tar]) |
| 4453 | - grep GrepMe conftest.dir/file >/dev/null 2>&1 && break |
| 4454 | - fi |
| 4455 | -done |
| 4456 | -rm -rf conftest.dir |
| 4457 | - |
| 4458 | -AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) |
| 4459 | -AC_MSG_RESULT([$am_cv_prog_tar_$1])]) |
| 4460 | -AC_SUBST([am__tar]) |
| 4461 | -AC_SUBST([am__untar]) |
| 4462 | -]) # _AM_PROG_TAR |
| 4463 | - |
| 4464 | -m4_include([m4/libtool.m4]) |
| 4465 | -m4_include([m4/ltoptions.m4]) |
| 4466 | -m4_include([m4/ltsugar.m4]) |
| 4467 | -m4_include([m4/ltversion.m4]) |
| 4468 | -m4_include([m4/lt~obsolete.m4]) |
| 4469 | |
| 4470 | === modified file 'autogen.sh' |
| 4471 | --- autogen.sh 2011-03-25 20:35:19 +0000 |
| 4472 | +++ autogen.sh 2015-02-02 19:41:07 +0000 |
| 4473 | @@ -1,1578 +1,22 @@ |
| 4474 | #!/bin/sh |
| 4475 | -# a u t o g e n . s h |
| 4476 | -# |
| 4477 | -# Copyright (c) 2005-2009 United States Government as represented by |
| 4478 | -# the U.S. Army Research Laboratory. |
| 4479 | -# |
| 4480 | -# Redistribution and use in source and binary forms, with or without |
| 4481 | -# modification, are permitted provided that the following conditions |
| 4482 | -# are met: |
| 4483 | -# |
| 4484 | -# 1. Redistributions of source code must retain the above copyright |
| 4485 | -# notice, this list of conditions and the following disclaimer. |
| 4486 | -# |
| 4487 | -# 2. Redistributions in binary form must reproduce the above |
| 4488 | -# copyright notice, this list of conditions and the following |
| 4489 | -# disclaimer in the documentation and/or other materials provided |
| 4490 | -# with the distribution. |
| 4491 | -# |
| 4492 | -# 3. The name of the author may not be used to endorse or promote |
| 4493 | -# products derived from this software without specific prior written |
| 4494 | -# permission. |
| 4495 | -# |
| 4496 | -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS |
| 4497 | -# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
| 4498 | -# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| 4499 | -# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY |
| 4500 | -# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| 4501 | -# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE |
| 4502 | -# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
| 4503 | -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
| 4504 | -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
| 4505 | -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
| 4506 | -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 4507 | -# |
| 4508 | -### |
| 4509 | -# |
| 4510 | -# Script for automatically preparing the sources for compilation by |
| 4511 | -# performing the myriad of necessary steps. The script attempts to |
| 4512 | -# detect proper version support, and outputs warnings about particular |
| 4513 | -# systems that have autotool peculiarities. |
| 4514 | -# |
| 4515 | -# Basically, if everything is set up and installed correctly, the |
| 4516 | -# script will validate that minimum versions of the GNU Build System |
| 4517 | -# tools are installed, account for several common configuration |
| 4518 | -# issues, and then simply run autoreconf for you. |
| 4519 | -# |
| 4520 | -# If autoreconf fails, which can happen for many valid configurations, |
| 4521 | -# this script proceeds to run manual preparation steps effectively |
| 4522 | -# providing a POSIX shell script (mostly complete) reimplementation of |
| 4523 | -# autoreconf. |
| 4524 | -# |
| 4525 | -# The AUTORECONF, AUTOCONF, AUTOMAKE, LIBTOOLIZE, ACLOCAL, AUTOHEADER |
| 4526 | -# environment variables and corresponding _OPTIONS variables (e.g. |
| 4527 | -# AUTORECONF_OPTIONS) may be used to override the default automatic |
| 4528 | -# detection behaviors. Similarly the _VERSION variables will override |
| 4529 | -# the minimum required version numbers. |
| 4530 | -# |
| 4531 | -# Examples: |
| 4532 | -# |
| 4533 | -# To obtain help on usage: |
| 4534 | -# ./autogen.sh --help |
| 4535 | -# |
| 4536 | -# To obtain verbose output: |
| 4537 | -# ./autogen.sh --verbose |
| 4538 | -# |
| 4539 | -# To skip autoreconf and prepare manually: |
| 4540 | -# AUTORECONF=false ./autogen.sh |
| 4541 | -# |
| 4542 | -# To verbosely try running with an older (unsupported) autoconf: |
| 4543 | -# AUTOCONF_VERSION=2.50 ./autogen.sh --verbose |
| 4544 | -# |
| 4545 | -# Author: |
| 4546 | -# Christopher Sean Morrison <morrison@brlcad.org> |
| 4547 | -# |
| 4548 | -# Patches: |
| 4549 | -# Sebastian Pipping <sebastian@pipping.org> |
| 4550 | -# |
| 4551 | -###################################################################### |
| 4552 | - |
| 4553 | -# set to minimum acceptable version of autoconf |
| 4554 | -if [ "x$AUTOCONF_VERSION" = "x" ] ; then |
| 4555 | - AUTOCONF_VERSION=2.52 |
| 4556 | -fi |
| 4557 | -# set to minimum acceptable version of automake |
| 4558 | -if [ "x$AUTOMAKE_VERSION" = "x" ] ; then |
| 4559 | - AUTOMAKE_VERSION=1.6.0 |
| 4560 | -fi |
| 4561 | -# set to minimum acceptable version of libtool |
| 4562 | -if [ "x$LIBTOOL_VERSION" = "x" ] ; then |
| 4563 | - LIBTOOL_VERSION=1.4.2 |
| 4564 | -fi |
| 4565 | - |
| 4566 | - |
| 4567 | -################## |
| 4568 | -# ident function # |
| 4569 | -################## |
| 4570 | -ident ( ) { |
| 4571 | - # extract copyright from header |
| 4572 | - __copyright="`grep Copyright $AUTOGEN_SH | head -${HEAD_N}1 | awk '{print $4}'`" |
| 4573 | - if [ "x$__copyright" = "x" ] ; then |
| 4574 | - __copyright="`date +%Y`" |
| 4575 | - fi |
| 4576 | - |
| 4577 | - # extract version from CVS Id string |
| 4578 | - __id="$Id: autogen.sh 33925 2009-03-01 23:27:06Z brlcad $" |
| 4579 | - __version="`echo $__id | sed 's/.*\([0-9][0-9][0-9][0-9]\)[-\/]\([0-9][0-9]\)[-\/]\([0-9][0-9]\).*/\1\2\3/'`" |
| 4580 | - if [ "x$__version" = "x" ] ; then |
| 4581 | - __version="" |
| 4582 | - fi |
| 4583 | - |
| 4584 | - echo "autogen.sh build preparation script by Christopher Sean Morrison" |
| 4585 | - echo " + config.guess download patch by Sebastian Pipping (2008-12-03)" |
| 4586 | - echo "revised 3-clause BSD-style license, copyright (c) $__copyright" |
| 4587 | - echo "script version $__version, ISO/IEC 9945 POSIX shell script" |
| 4588 | -} |
| 4589 | - |
| 4590 | - |
| 4591 | -################## |
| 4592 | -# USAGE FUNCTION # |
| 4593 | -################## |
| 4594 | -usage ( ) { |
| 4595 | - echo "Usage: $AUTOGEN_SH [-h|--help] [-v|--verbose] [-q|--quiet] [-d|--download] [--version]" |
| 4596 | - echo " --help Help on $NAME_OF_AUTOGEN usage" |
| 4597 | - echo " --verbose Verbose progress output" |
| 4598 | - echo " --quiet Quiet suppressed progress output" |
| 4599 | - echo " --download Download the latest config.guess from gnulib" |
| 4600 | - echo " --version Only perform GNU Build System version checks" |
| 4601 | - echo |
| 4602 | - echo "Description: This script will validate that minimum versions of the" |
| 4603 | - echo "GNU Build System tools are installed and then run autoreconf for you." |
| 4604 | - echo "Should autoreconf fail, manual preparation steps will be run" |
| 4605 | - echo "potentially accounting for several common preparation issues. The" |
| 4606 | - |
| 4607 | - echo "AUTORECONF, AUTOCONF, AUTOMAKE, LIBTOOLIZE, ACLOCAL, AUTOHEADER," |
| 4608 | - echo "PROJECT, & CONFIGURE environment variables and corresponding _OPTIONS" |
| 4609 | - echo "variables (e.g. AUTORECONF_OPTIONS) may be used to override the" |
| 4610 | - echo "default automatic detection behavior." |
| 4611 | - echo |
| 4612 | - |
| 4613 | - ident |
| 4614 | - |
| 4615 | - return 0 |
| 4616 | -} |
| 4617 | - |
| 4618 | - |
| 4619 | -########################## |
| 4620 | -# VERSION_ERROR FUNCTION # |
| 4621 | -########################## |
| 4622 | -version_error ( ) { |
| 4623 | - if [ "x$1" = "x" ] ; then |
| 4624 | - echo "INTERNAL ERROR: version_error was not provided a version" |
| 4625 | - exit 1 |
| 4626 | - fi |
| 4627 | - if [ "x$2" = "x" ] ; then |
| 4628 | - echo "INTERNAL ERROR: version_error was not provided an application name" |
| 4629 | - exit 1 |
| 4630 | - fi |
| 4631 | - $ECHO |
| 4632 | - $ECHO "ERROR: To prepare the ${PROJECT} build system from scratch," |
| 4633 | - $ECHO " at least version $1 of $2 must be installed." |
| 4634 | - $ECHO |
| 4635 | - $ECHO "$NAME_OF_AUTOGEN does not need to be run on the same machine that will" |
| 4636 | - $ECHO "run configure or make. Either the GNU Autotools will need to be installed" |
| 4637 | - $ECHO "or upgraded on this system, or $NAME_OF_AUTOGEN must be run on the source" |
| 4638 | - $ECHO "code on another system and then transferred to here. -- Cheers!" |
| 4639 | - $ECHO |
| 4640 | -} |
| 4641 | - |
| 4642 | -########################## |
| 4643 | -# VERSION_CHECK FUNCTION # |
| 4644 | -########################## |
| 4645 | -version_check ( ) { |
| 4646 | - if [ "x$1" = "x" ] ; then |
| 4647 | - echo "INTERNAL ERROR: version_check was not provided a minimum version" |
| 4648 | - exit 1 |
| 4649 | - fi |
| 4650 | - _min="$1" |
| 4651 | - if [ "x$2" = "x" ] ; then |
| 4652 | - echo "INTERNAL ERROR: version check was not provided a comparison version" |
| 4653 | - exit 1 |
| 4654 | - fi |
| 4655 | - _cur="$2" |
| 4656 | - |
| 4657 | - # needed to handle versions like 1.10 and 1.4-p6 |
| 4658 | - _min="`echo ${_min}. | sed 's/[^0-9]/./g' | sed 's/\.\././g'`" |
| 4659 | - _cur="`echo ${_cur}. | sed 's/[^0-9]/./g' | sed 's/\.\././g'`" |
| 4660 | - |
| 4661 | - _min_major="`echo $_min | cut -d. -f1`" |
| 4662 | - _min_minor="`echo $_min | cut -d. -f2`" |
| 4663 | - _min_patch="`echo $_min | cut -d. -f3`" |
| 4664 | - |
| 4665 | - _cur_major="`echo $_cur | cut -d. -f1`" |
| 4666 | - _cur_minor="`echo $_cur | cut -d. -f2`" |
| 4667 | - _cur_patch="`echo $_cur | cut -d. -f3`" |
| 4668 | - |
| 4669 | - if [ "x$_min_major" = "x" ] ; then |
| 4670 | - _min_major=0 |
| 4671 | - fi |
| 4672 | - if [ "x$_min_minor" = "x" ] ; then |
| 4673 | - _min_minor=0 |
| 4674 | - fi |
| 4675 | - if [ "x$_min_patch" = "x" ] ; then |
| 4676 | - _min_patch=0 |
| 4677 | - fi |
| 4678 | - if [ "x$_cur_minor" = "x" ] ; then |
| 4679 | - _cur_major=0 |
| 4680 | - fi |
| 4681 | - if [ "x$_cur_minor" = "x" ] ; then |
| 4682 | - _cur_minor=0 |
| 4683 | - fi |
| 4684 | - if [ "x$_cur_patch" = "x" ] ; then |
| 4685 | - _cur_patch=0 |
| 4686 | - fi |
| 4687 | - |
| 4688 | - $VERBOSE_ECHO "Checking if ${_cur_major}.${_cur_minor}.${_cur_patch} is greater than ${_min_major}.${_min_minor}.${_min_patch}" |
| 4689 | - |
| 4690 | - if [ $_min_major -lt $_cur_major ] ; then |
| 4691 | - return 0 |
| 4692 | - elif [ $_min_major -eq $_cur_major ] ; then |
| 4693 | - if [ $_min_minor -lt $_cur_minor ] ; then |
| 4694 | - return 0 |
| 4695 | - elif [ $_min_minor -eq $_cur_minor ] ; then |
| 4696 | - if [ $_min_patch -lt $_cur_patch ] ; then |
| 4697 | - return 0 |
| 4698 | - elif [ $_min_patch -eq $_cur_patch ] ; then |
| 4699 | - return 0 |
| 4700 | - fi |
| 4701 | - fi |
| 4702 | - fi |
| 4703 | - return 1 |
| 4704 | -} |
| 4705 | - |
| 4706 | - |
| 4707 | -###################################### |
| 4708 | -# LOCATE_CONFIGURE_TEMPLATE FUNCTION # |
| 4709 | -###################################### |
| 4710 | -locate_configure_template ( ) { |
| 4711 | - _pwd="`pwd`" |
| 4712 | - if test -f "./configure.ac" ; then |
| 4713 | - echo "./configure.ac" |
| 4714 | - elif test -f "./configure.in" ; then |
| 4715 | - echo "./configure.in" |
| 4716 | - elif test -f "$_pwd/configure.ac" ; then |
| 4717 | - echo "$_pwd/configure.ac" |
| 4718 | - elif test -f "$_pwd/configure.in" ; then |
| 4719 | - echo "$_pwd/configure.in" |
| 4720 | - elif test -f "$PATH_TO_AUTOGEN/configure.ac" ; then |
| 4721 | - echo "$PATH_TO_AUTOGEN/configure.ac" |
| 4722 | - elif test -f "$PATH_TO_AUTOGEN/configure.in" ; then |
| 4723 | - echo "$PATH_TO_AUTOGEN/configure.in" |
| 4724 | - fi |
| 4725 | -} |
| 4726 | - |
| 4727 | - |
| 4728 | -################## |
| 4729 | -# argument check # |
| 4730 | -################## |
| 4731 | -ARGS="$*" |
| 4732 | -PATH_TO_AUTOGEN="`dirname $0`" |
| 4733 | -NAME_OF_AUTOGEN="`basename $0`" |
| 4734 | -AUTOGEN_SH="$PATH_TO_AUTOGEN/$NAME_OF_AUTOGEN" |
| 4735 | - |
| 4736 | -LIBTOOL_M4="${PATH_TO_AUTOGEN}/misc/libtool.m4" |
| 4737 | - |
| 4738 | -if [ "x$HELP" = "x" ] ; then |
| 4739 | - HELP=no |
| 4740 | -fi |
| 4741 | -if [ "x$QUIET" = "x" ] ; then |
| 4742 | - QUIET=no |
| 4743 | -fi |
| 4744 | -if [ "x$VERBOSE" = "x" ] ; then |
| 4745 | - VERBOSE=no |
| 4746 | -fi |
| 4747 | -if [ "x$VERSION_ONLY" = "x" ] ; then |
| 4748 | - VERSION_ONLY=no |
| 4749 | -fi |
| 4750 | -if [ "x$DOWNLOAD" = "x" ] ; then |
| 4751 | - DOWNLOAD=no |
| 4752 | -fi |
| 4753 | -if [ "x$AUTORECONF_OPTIONS" = "x" ] ; then |
| 4754 | - AUTORECONF_OPTIONS="-i -f" |
| 4755 | -fi |
| 4756 | -if [ "x$AUTOCONF_OPTIONS" = "x" ] ; then |
| 4757 | - AUTOCONF_OPTIONS="-f" |
| 4758 | -fi |
| 4759 | -if [ "x$AUTOMAKE_OPTIONS" = "x" ] ; then |
| 4760 | - AUTOMAKE_OPTIONS="-a -c -f" |
| 4761 | -fi |
| 4762 | -ALT_AUTOMAKE_OPTIONS="-a -c" |
| 4763 | -if [ "x$LIBTOOLIZE_OPTIONS" = "x" ] ; then |
| 4764 | - LIBTOOLIZE_OPTIONS="--automake -c -f" |
| 4765 | -fi |
| 4766 | -ALT_LIBTOOLIZE_OPTIONS="--automake --copy --force" |
| 4767 | -if [ "x$ACLOCAL_OPTIONS" = "x" ] ; then |
| 4768 | - ACLOCAL_OPTIONS="" |
| 4769 | -fi |
| 4770 | -if [ "x$AUTOHEADER_OPTIONS" = "x" ] ; then |
| 4771 | - AUTOHEADER_OPTIONS="" |
| 4772 | -fi |
| 4773 | -if [ "x$CONFIG_GUESS_URL" = "x" ] ; then |
| 4774 | - CONFIG_GUESS_URL="http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;f=build-aux/config.guess;hb=HEAD" |
| 4775 | -fi |
| 4776 | -for arg in $ARGS ; do |
| 4777 | - case "x$arg" in |
| 4778 | - x--help) HELP=yes ;; |
| 4779 | - x-[hH]) HELP=yes ;; |
| 4780 | - x--quiet) QUIET=yes ;; |
| 4781 | - x-[qQ]) QUIET=yes ;; |
| 4782 | - x--verbose) VERBOSE=yes ;; |
| 4783 | - x-[dD]) DOWNLOAD=yes ;; |
| 4784 | - x--download) DOWNLOAD=yes ;; |
| 4785 | - x-[vV]) VERBOSE=yes ;; |
| 4786 | - x--version) VERSION_ONLY=yes ;; |
| 4787 | - *) |
| 4788 | - echo "Unknown option: $arg" |
| 4789 | - echo |
| 4790 | - usage |
| 4791 | - exit 1 |
| 4792 | - ;; |
| 4793 | - esac |
| 4794 | -done |
| 4795 | - |
| 4796 | - |
| 4797 | -##################### |
| 4798 | -# environment check # |
| 4799 | -##################### |
| 4800 | - |
| 4801 | -# sanity check before recursions potentially begin |
| 4802 | -if [ ! -f "$AUTOGEN_SH" ] ; then |
| 4803 | - echo "INTERNAL ERROR: $AUTOGEN_SH does not exist" |
| 4804 | - if [ ! "x$0" = "x$AUTOGEN_SH" ] ; then |
| 4805 | - echo "INTERNAL ERROR: dirname/basename inconsistency: $0 != $AUTOGEN_SH" |
| 4806 | - fi |
| 4807 | - exit 1 |
| 4808 | -fi |
| 4809 | - |
| 4810 | -# force locale setting to C so things like date output as expected |
| 4811 | -LC_ALL=C |
| 4812 | - |
| 4813 | -# commands that this script expects |
| 4814 | -for __cmd in echo head tail pwd ; do |
| 4815 | - echo "test" | $__cmd > /dev/null 2>&1 |
| 4816 | - if [ $? != 0 ] ; then |
| 4817 | - echo "INTERNAL ERROR: '${__cmd}' command is required" |
| 4818 | - exit 2 |
| 4819 | - fi |
| 4820 | -done |
| 4821 | -echo "test" | grep "test" > /dev/null 2>&1 |
| 4822 | -if test ! x$? = x0 ; then |
| 4823 | - echo "INTERNAL ERROR: grep command is required" |
| 4824 | - exit 1 |
| 4825 | -fi |
| 4826 | -echo "test" | sed "s/test/test/" > /dev/null 2>&1 |
| 4827 | -if test ! x$? = x0 ; then |
| 4828 | - echo "INTERNAL ERROR: sed command is required" |
| 4829 | - exit 1 |
| 4830 | -fi |
| 4831 | - |
| 4832 | - |
| 4833 | -# determine the behavior of echo |
| 4834 | -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
| 4835 | - *c*,-n*) ECHO_N= ECHO_C=' |
| 4836 | -' ECHO_T=' ' ;; |
| 4837 | - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
| 4838 | - *) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
| 4839 | -esac |
| 4840 | - |
| 4841 | -# determine the behavior of head |
| 4842 | -case "x`echo 'head' | head -n 1 2>&1`" in |
| 4843 | - *xhead*) HEAD_N="n " ;; |
| 4844 | - *) HEAD_N="" ;; |
| 4845 | -esac |
| 4846 | - |
| 4847 | -# determine the behavior of tail |
| 4848 | -case "x`echo 'tail' | tail -n 1 2>&1`" in |
| 4849 | - *xtail*) TAIL_N="n " ;; |
| 4850 | - *) TAIL_N="" ;; |
| 4851 | -esac |
| 4852 | - |
| 4853 | -VERBOSE_ECHO=: |
| 4854 | -ECHO=: |
| 4855 | -if [ "x$QUIET" = "xyes" ] ; then |
| 4856 | - if [ "x$VERBOSE" = "xyes" ] ; then |
| 4857 | - echo "Verbose output quelled by quiet option. Further output disabled." |
| 4858 | - fi |
| 4859 | -else |
| 4860 | - ECHO=echo |
| 4861 | - if [ "x$VERBOSE" = "xyes" ] ; then |
| 4862 | - echo "Verbose output enabled" |
| 4863 | - VERBOSE_ECHO=echo |
| 4864 | - fi |
| 4865 | -fi |
| 4866 | - |
| 4867 | - |
| 4868 | -# allow a recursive run to disable further recursions |
| 4869 | -if [ "x$RUN_RECURSIVE" = "x" ] ; then |
| 4870 | - RUN_RECURSIVE=yes |
| 4871 | -fi |
| 4872 | - |
| 4873 | - |
| 4874 | -################################################ |
| 4875 | -# check for help arg and bypass version checks # |
| 4876 | -################################################ |
| 4877 | -if [ "x`echo $ARGS | sed 's/.*[hH][eE][lL][pP].*/help/'`" = "xhelp" ] ; then |
| 4878 | - HELP=yes |
| 4879 | -fi |
| 4880 | -if [ "x$HELP" = "xyes" ] ; then |
| 4881 | - usage |
| 4882 | - $ECHO "---" |
| 4883 | - $ECHO "Help was requested. No preparation or configuration will be performed." |
| 4884 | - exit 0 |
| 4885 | -fi |
| 4886 | - |
| 4887 | - |
| 4888 | -####################### |
| 4889 | -# set up signal traps # |
| 4890 | -####################### |
| 4891 | -untrap_abnormal ( ) { |
| 4892 | - for sig in 1 2 13 15; do |
| 4893 | - trap - $sig |
| 4894 | - done |
| 4895 | -} |
| 4896 | - |
| 4897 | -# do this cleanup whenever we exit. |
| 4898 | -trap ' |
| 4899 | - # start from the root |
| 4900 | - if test -d "$START_PATH" ; then |
| 4901 | - cd "$START_PATH" |
| 4902 | - fi |
| 4903 | - |
| 4904 | - # restore/delete backup files |
| 4905 | - if test "x$PFC_INIT" = "x1" ; then |
| 4906 | - recursive_restore |
| 4907 | - fi |
| 4908 | -' 0 |
| 4909 | - |
| 4910 | -# trap SIGHUP (1), SIGINT (2), SIGPIPE (13), SIGTERM (15) |
| 4911 | -for sig in 1 2 13 15; do |
| 4912 | - trap ' |
| 4913 | - $ECHO "" |
| 4914 | - $ECHO "Aborting $NAME_OF_AUTOGEN: caught signal '$sig'" |
| 4915 | - |
| 4916 | - # start from the root |
| 4917 | - if test -d "$START_PATH" ; then |
| 4918 | - cd "$START_PATH" |
| 4919 | - fi |
| 4920 | - |
| 4921 | - # clean up on abnormal exit |
| 4922 | - $VERBOSE_ECHO "rm -rf autom4te.cache" |
| 4923 | - rm -rf autom4te.cache |
| 4924 | - |
| 4925 | - if test -f "acinclude.m4.$$.backup" ; then |
| 4926 | - $VERBOSE_ECHO "cat acinclude.m4.$$.backup > acinclude.m4" |
| 4927 | - chmod u+w acinclude.m4 |
| 4928 | - cat acinclude.m4.$$.backup > acinclude.m4 |
| 4929 | - |
| 4930 | - $VERBOSE_ECHO "rm -f acinclude.m4.$$.backup" |
| 4931 | - rm -f acinclude.m4.$$.backup |
| 4932 | - fi |
| 4933 | - |
| 4934 | - { (exit 1); exit 1; } |
| 4935 | -' $sig |
| 4936 | -done |
| 4937 | - |
| 4938 | - |
| 4939 | -############################# |
| 4940 | -# look for a configure file # |
| 4941 | -############################# |
| 4942 | -if [ "x$CONFIGURE" = "x" ] ; then |
| 4943 | - CONFIGURE="`locate_configure_template`" |
| 4944 | - if [ ! "x$CONFIGURE" = "x" ] ; then |
| 4945 | - $VERBOSE_ECHO "Found a configure template: $CONFIGURE" |
| 4946 | - fi |
| 4947 | -else |
| 4948 | - $ECHO "Using CONFIGURE environment variable override: $CONFIGURE" |
| 4949 | -fi |
| 4950 | -if [ "x$CONFIGURE" = "x" ] ; then |
| 4951 | - if [ "x$VERSION_ONLY" = "xyes" ] ; then |
| 4952 | - CONFIGURE=/dev/null |
| 4953 | - else |
| 4954 | - $ECHO |
| 4955 | - $ECHO "A configure.ac or configure.in file could not be located implying" |
| 4956 | - $ECHO "that the GNU Build System is at least not used in this directory. In" |
| 4957 | - $ECHO "any case, there is nothing to do here without one of those files." |
| 4958 | - $ECHO |
| 4959 | - $ECHO "ERROR: No configure.in or configure.ac file found in `pwd`" |
| 4960 | - exit 1 |
| 4961 | - fi |
| 4962 | -fi |
| 4963 | - |
| 4964 | -#################### |
| 4965 | -# get project name # |
| 4966 | -#################### |
| 4967 | -if [ "x$PROJECT" = "x" ] ; then |
| 4968 | - PROJECT="`grep AC_INIT $CONFIGURE | grep -v '.*#.*AC_INIT' | tail -${TAIL_N}1 | sed 's/^[ ]*AC_INIT(\([^,)]*\).*/\1/' | sed 's/.*\[\(.*\)\].*/\1/'`" |
| 4969 | - if [ "x$PROJECT" = "xAC_INIT" ] ; then |
| 4970 | - # projects might be using the older/deprecated arg-less AC_INIT .. look for AM_INIT_AUTOMAKE instead |
| 4971 | - PROJECT="`grep AM_INIT_AUTOMAKE $CONFIGURE | grep -v '.*#.*AM_INIT_AUTOMAKE' | tail -${TAIL_N}1 | sed 's/^[ ]*AM_INIT_AUTOMAKE(\([^,)]*\).*/\1/' | sed 's/.*\[\(.*\)\].*/\1/'`" |
| 4972 | - fi |
| 4973 | - if [ "x$PROJECT" = "xAM_INIT_AUTOMAKE" ] ; then |
| 4974 | - PROJECT="project" |
| 4975 | - fi |
| 4976 | - if [ "x$PROJECT" = "x" ] ; then |
| 4977 | - PROJECT="project" |
| 4978 | - fi |
| 4979 | -else |
| 4980 | - $ECHO "Using PROJECT environment variable override: $PROJECT" |
| 4981 | -fi |
| 4982 | -$ECHO "Preparing the $PROJECT build system...please wait" |
| 4983 | -$ECHO |
| 4984 | - |
| 4985 | - |
| 4986 | -######################## |
| 4987 | -# check for autoreconf # |
| 4988 | -######################## |
| 4989 | -HAVE_AUTORECONF=no |
| 4990 | -if [ "x$AUTORECONF" = "x" ] ; then |
| 4991 | - for AUTORECONF in autoreconf ; do |
| 4992 | - $VERBOSE_ECHO "Checking autoreconf version: $AUTORECONF --version" |
| 4993 | - $AUTORECONF --version > /dev/null 2>&1 |
| 4994 | - if [ $? = 0 ] ; then |
| 4995 | - HAVE_AUTORECONF=yes |
| 4996 | - break |
| 4997 | - fi |
| 4998 | - done |
| 4999 | -else |
| 5000 | - HAVE_AUTORECONF=yes |
The diff has been truncated for viewing.


It looks like a changelog entry is missing?