diff options
| author | Aiden Woodruff <aiden.woodruff@gmail.com> | 2019-09-08 21:40:26 -0500 |
|---|---|---|
| committer | Aiden Woodruff <aiden.woodruff@gmail.com> | 2019-09-08 21:40:26 -0500 |
| commit | 326109134208f7d237373f9c356895dc72c6fe26 (patch) | |
| tree | 0c4c081e8068bd57c0597c7bd65e71ca3783fae3 | |
| parent | 670750fe2c5bed47d061f52288a4c3f5eb8df66f (diff) | |
| download | life-experimental.tar.gz life-experimental.tar.bz2 life-experimental.zip | |
Added things to .gitignore and deleted filestiexperimental
Signed-off-by: Aiden Woodruff <aiden.woodruff@gmail.com>
| -rw-r--r-- | .gitignore | 17 | ||||
| -rw-r--r-- | Makefile.in | 832 | ||||
| -rw-r--r-- | aclocal.m4 | 1152 | ||||
| -rwxr-xr-x | configure | 5974 | ||||
| -rwxr-xr-x | depcomp | 791 | ||||
| -rw-r--r-- | docs/Makefile.in | 479 | ||||
| -rwxr-xr-x | missing | 215 | ||||
| -rw-r--r-- | src/Makefile.in | 632 | ||||
| -rw-r--r-- | test/Makefile.in | 777 |
9 files changed, 17 insertions, 10852 deletions
| @@ -1,3 +1,20 @@ | |||
| 1 | # Ignore backups | 1 | # Ignore backups |
| 2 | *~ | 2 | *~ |
| 3 | \#*# | 3 | \#*# |
| 4 | |||
| 5 | # Ignore autotools stuff | ||
| 6 | aclocal.m4 | ||
| 7 | configure | ||
| 8 | configure.scan | ||
| 9 | config.log | ||
| 10 | config.status | ||
| 11 | Makefile.in | ||
| 12 | config.h* | ||
| 13 | autoscan.log | ||
| 14 | autom4te.cache/ | ||
| 15 | .deps/ | ||
| 16 | Makefile | ||
| 17 | stamp* | ||
| 18 | |||
| 19 | # Object files | ||
| 20 | *.o | ||
diff --git a/Makefile.in b/Makefile.in deleted file mode 100644 index dce1131..0000000 --- a/Makefile.in +++ /dev/null | |||
| @@ -1,832 +0,0 @@ | |||
| 1 | # Makefile.in generated by automake 1.15.1 from Makefile.am. | ||
| 2 | # @configure_input@ | ||
| 3 | |||
| 4 | # Copyright (C) 1994-2017 Free Software Foundation, Inc. | ||
| 5 | |||
| 6 | # This Makefile.in is free software; the Free Software Foundation | ||
| 7 | # gives unlimited permission to copy and/or distribute it, | ||
| 8 | # with or without modifications, as long as this notice is preserved. | ||
| 9 | |||
| 10 | # This program is distributed in the hope that it will be useful, | ||
| 11 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | ||
| 12 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
| 13 | # PARTICULAR PURPOSE. | ||
| 14 | |||
| 15 | @SET_MAKE@ | ||
| 16 | VPATH = @srcdir@ | ||
| 17 | am__is_gnu_make = { \ | ||
| 18 | if test -z '$(MAKELEVEL)'; then \ | ||
| 19 | false; \ | ||
| 20 | elif test -n '$(MAKE_HOST)'; then \ | ||
| 21 | true; \ | ||
| 22 | elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ | ||
| 23 | true; \ | ||
| 24 | else \ | ||
| 25 | false; \ | ||
| 26 | fi; \ | ||
| 27 | } | ||
| 28 | am__make_running_with_option = \ | ||
| 29 | case $${target_option-} in \ | ||
| 30 | ?) ;; \ | ||
| 31 | *) echo "am__make_running_with_option: internal error: invalid" \ | ||
| 32 | "target option '$${target_option-}' specified" >&2; \ | ||
| 33 | exit 1;; \ | ||
| 34 | esac; \ | ||
| 35 | has_opt=no; \ | ||
| 36 | sane_makeflags=$$MAKEFLAGS; \ | ||
| 37 | if $(am__is_gnu_make); then \ | ||
| 38 | sane_makeflags=$$MFLAGS; \ | ||
| 39 | else \ | ||
| 40 | case $$MAKEFLAGS in \ | ||
| 41 | *\\[\ \ ]*) \ | ||
| 42 | bs=\\; \ | ||
| 43 | sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | ||
| 44 | | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ | ||
| 45 | esac; \ | ||
| 46 | fi; \ | ||
| 47 | skip_next=no; \ | ||
| 48 | strip_trailopt () \ | ||
| 49 | { \ | ||
| 50 | flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ | ||
| 51 | }; \ | ||
| 52 | for flg in $$sane_makeflags; do \ | ||
| 53 | test $$skip_next = yes && { skip_next=no; continue; }; \ | ||
| 54 | case $$flg in \ | ||
| 55 | *=*|--*) continue;; \ | ||
| 56 | -*I) strip_trailopt 'I'; skip_next=yes;; \ | ||
| 57 | -*I?*) strip_trailopt 'I';; \ | ||
| 58 | -*O) strip_trailopt 'O'; skip_next=yes;; \ | ||
| 59 | -*O?*) strip_trailopt 'O';; \ | ||
| 60 | -*l) strip_trailopt 'l'; skip_next=yes;; \ | ||
| 61 | -*l?*) strip_trailopt 'l';; \ | ||
| 62 | -[dEDm]) skip_next=yes;; \ | ||
| 63 | -[JT]) skip_next=yes;; \ | ||
| 64 | esac; \ | ||
| 65 | case $$flg in \ | ||
| 66 | *$$target_option*) has_opt=yes; break;; \ | ||
| 67 | esac; \ | ||
| 68 | done; \ | ||
| 69 | test $$has_opt = yes | ||
| 70 | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) | ||
| 71 | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) | ||
| 72 | pkgdatadir = $(datadir)/@PACKAGE@ | ||
| 73 | pkgincludedir = $(includedir)/@PACKAGE@ | ||
| 74 | pkglibdir = $(libdir)/@PACKAGE@ | ||
| 75 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | ||
| 76 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||
| 77 | install_sh_DATA = $(install_sh) -c -m 644 | ||
| 78 | install_sh_PROGRAM = $(install_sh) -c | ||
| 79 | install_sh_SCRIPT = $(install_sh) -c | ||
| 80 | INSTALL_HEADER = $(INSTALL_DATA) | ||
| 81 | transform = $(program_transform_name) | ||
| 82 | NORMAL_INSTALL = : | ||
| 83 | PRE_INSTALL = : | ||
| 84 | POST_INSTALL = : | ||
| 85 | NORMAL_UNINSTALL = : | ||
| 86 | PRE_UNINSTALL = : | ||
| 87 | POST_UNINSTALL = : | ||
| 88 | subdir = . | ||
| 89 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||
| 90 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac | ||
| 91 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | ||
| 92 | $(ACLOCAL_M4) | ||
| 93 | DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ | ||
| 94 | $(am__configure_deps) $(am__DIST_COMMON) | ||
| 95 | am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ | ||
| 96 | configure.lineno config.status.lineno | ||
| 97 | mkinstalldirs = $(install_sh) -d | ||
| 98 | CONFIG_HEADER = $(top_builddir)/src/config.h | ||
| 99 | CONFIG_CLEAN_FILES = | ||
| 100 | CONFIG_CLEAN_VPATH_FILES = | ||
| 101 | AM_V_P = $(am__v_P_@AM_V@) | ||
| 102 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | ||
| 103 | am__v_P_0 = false | ||
| 104 | am__v_P_1 = : | ||
| 105 | AM_V_GEN = $(am__v_GEN_@AM_V@) | ||
| 106 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) | ||
| 107 | am__v_GEN_0 = @echo " GEN " $@; | ||
| 108 | am__v_GEN_1 = | ||
| 109 | AM_V_at = $(am__v_at_@AM_V@) | ||
| 110 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) | ||
| 111 | am__v_at_0 = @ | ||
| 112 | am__v_at_1 = | ||
| 113 | SOURCES = | ||
| 114 | DIST_SOURCES = | ||
| 115 | RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ | ||
| 116 | ctags-recursive dvi-recursive html-recursive info-recursive \ | ||
| 117 | install-data-recursive install-dvi-recursive \ | ||
| 118 | install-exec-recursive install-html-recursive \ | ||
| 119 | install-info-recursive install-pdf-recursive \ | ||
| 120 | install-ps-recursive install-recursive installcheck-recursive \ | ||
| 121 | installdirs-recursive pdf-recursive ps-recursive \ | ||
| 122 | tags-recursive uninstall-recursive | ||
| 123 | am__can_run_installinfo = \ | ||
| 124 | case $$AM_UPDATE_INFO_DIR in \ | ||
| 125 | n|no|NO) false;; \ | ||
| 126 | *) (install-info --version) >/dev/null 2>&1;; \ | ||
| 127 | esac | ||
| 128 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; | ||
| 129 | am__vpath_adj = case $$p in \ | ||
| 130 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ | ||
| 131 | *) f=$$p;; \ | ||
| 132 | esac; | ||
| 133 | am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; | ||
| 134 | am__install_max = 40 | ||
| 135 | am__nobase_strip_setup = \ | ||
| 136 | srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` | ||
| 137 | am__nobase_strip = \ | ||
| 138 | for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" | ||
| 139 | am__nobase_list = $(am__nobase_strip_setup); \ | ||
| 140 | for p in $$list; do echo "$$p $$p"; done | \ | ||
| 141 | sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ | ||
| 142 | $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ | ||
| 143 | if (++n[$$2] == $(am__install_max)) \ | ||
| 144 | { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ | ||
| 145 | END { for (dir in files) print dir, files[dir] }' | ||
| 146 | am__base_list = \ | ||
| 147 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ | ||
| 148 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | ||
| 149 | am__uninstall_files_from_dir = { \ | ||
| 150 | test -z "$$files" \ | ||
| 151 | || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ | ||
| 152 | || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ | ||
| 153 | $(am__cd) "$$dir" && rm -f $$files; }; \ | ||
| 154 | } | ||
| 155 | man6dir = $(mandir)/man6 | ||
| 156 | am__installdirs = "$(DESTDIR)$(man6dir)" | ||
| 157 | NROFF = nroff | ||
| 158 | MANS = $(man_MANS) | ||
| 159 | RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ | ||
| 160 | distclean-recursive maintainer-clean-recursive | ||
| 161 | am__recursive_targets = \ | ||
| 162 | $(RECURSIVE_TARGETS) \ | ||
| 163 | $(RECURSIVE_CLEAN_TARGETS) \ | ||
| 164 | $(am__extra_recursive_targets) | ||
| 165 | AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ | ||
| 166 | cscope distdir dist dist-all distcheck | ||
| 167 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) | ||
| 168 | # Read a list of newline-separated strings from the standard input, | ||
| 169 | # and print each of them once, without duplicates. Input order is | ||
| 170 | # *not* preserved. | ||
| 171 | am__uniquify_input = $(AWK) '\ | ||
| 172 | BEGIN { nonempty = 0; } \ | ||
| 173 | { items[$$0] = 1; nonempty = 1; } \ | ||
| 174 | END { if (nonempty) { for (i in items) print i; }; } \ | ||
| 175 | ' | ||
| 176 | # Make sure the list of sources is unique. This is necessary because, | ||
| 177 | # e.g., the same source file might be shared among _SOURCES variables | ||
| 178 | # for different programs/libraries. | ||
| 179 | am__define_uniq_tagged_files = \ | ||
| 180 | list='$(am__tagged_files)'; \ | ||
| 181 | unique=`for i in $$list; do \ | ||
| 182 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
| 183 | done | $(am__uniquify_input)` | ||
| 184 | ETAGS = etags | ||
| 185 | CTAGS = ctags | ||
| 186 | CSCOPE = cscope | ||
| 187 | DIST_SUBDIRS = $(SUBDIRS) | ||
| 188 | am__DIST_COMMON = $(srcdir)/Makefile.in AUTHORS COPYING ChangeLog \ | ||
| 189 | INSTALL NEWS README compile depcomp install-sh missing | ||
| 190 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
| 191 | distdir = $(PACKAGE)-$(VERSION) | ||
| 192 | top_distdir = $(distdir) | ||
| 193 | am__remove_distdir = \ | ||
| 194 | if test -d "$(distdir)"; then \ | ||
| 195 | find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ | ||
| 196 | && rm -rf "$(distdir)" \ | ||
| 197 | || { sleep 5 && rm -rf "$(distdir)"; }; \ | ||
| 198 | else :; fi | ||
| 199 | am__post_remove_distdir = $(am__remove_distdir) | ||
| 200 | am__relativize = \ | ||
| 201 | dir0=`pwd`; \ | ||
| 202 | sed_first='s,^\([^/]*\)/.*$$,\1,'; \ | ||
| 203 | sed_rest='s,^[^/]*/*,,'; \ | ||
| 204 | sed_last='s,^.*/\([^/]*\)$$,\1,'; \ | ||
| 205 | sed_butlast='s,/*[^/]*$$,,'; \ | ||
| 206 | while test -n "$$dir1"; do \ | ||
| 207 | first=`echo "$$dir1" | sed -e "$$sed_first"`; \ | ||
| 208 | if test "$$first" != "."; then \ | ||
| 209 | if test "$$first" = ".."; then \ | ||
| 210 | dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ | ||
| 211 | dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ | ||
| 212 | else \ | ||
| 213 | first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ | ||
| 214 | if test "$$first2" = "$$first"; then \ | ||
| 215 | dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ | ||
| 216 | else \ | ||
| 217 | dir2="../$$dir2"; \ | ||
| 218 | fi; \ | ||
| 219 | dir0="$$dir0"/"$$first"; \ | ||
| 220 | fi; \ | ||
| 221 | fi; \ | ||
| 222 | dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ | ||
| 223 | done; \ | ||
| 224 | reldir="$$dir2" | ||
| 225 | DIST_ARCHIVES = $(distdir).tar.gz | ||
| 226 | GZIP_ENV = --best | ||
| 227 | DIST_TARGETS = dist-gzip | ||
| 228 | distuninstallcheck_listfiles = find . -type f -print | ||
| 229 | am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | ||
| 230 | | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' | ||
| 231 | distcleancheck_listfiles = find . -type f -print | ||
| 232 | ACLOCAL = @ACLOCAL@ | ||
| 233 | AMTAR = @AMTAR@ | ||
| 234 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | ||
| 235 | AUTOCONF = @AUTOCONF@ | ||
| 236 | AUTOHEADER = @AUTOHEADER@ | ||
| 237 | AUTOMAKE = @AUTOMAKE@ | ||
| 238 | AWK = @AWK@ | ||
| 239 | CC = @CC@ | ||
| 240 | CCDEPMODE = @CCDEPMODE@ | ||
| 241 | CFLAGS = @CFLAGS@ | ||
| 242 | CPP = @CPP@ | ||
| 243 | CPPFLAGS = @CPPFLAGS@ | ||
| 244 | CYGPATH_W = @CYGPATH_W@ | ||
| 245 | DEFS = @DEFS@ | ||
| 246 | DEPDIR = @DEPDIR@ | ||
| 247 | ECHO_C = @ECHO_C@ | ||
| 248 | ECHO_N = @ECHO_N@ | ||
| 249 | ECHO_T = @ECHO_T@ | ||
| 250 | EGREP = @EGREP@ | ||
| 251 | EXEEXT = @EXEEXT@ | ||
| 252 | GREP = @GREP@ | ||
| 253 | INSTALL = @INSTALL@ | ||
| 254 | INSTALL_DATA = @INSTALL_DATA@ | ||
| 255 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||
| 256 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||
| 257 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||
| 258 | LDFLAGS = @LDFLAGS@ | ||
| 259 | LIBOBJS = @LIBOBJS@ | ||
| 260 | LIBS = @LIBS@ | ||
| 261 | LTLIBOBJS = @LTLIBOBJS@ | ||
| 262 | MAKEINFO = @MAKEINFO@ | ||
| 263 | MKDIR_P = @MKDIR_P@ | ||
| 264 | OBJEXT = @OBJEXT@ | ||
| 265 | PACKAGE = @PACKAGE@ | ||
| 266 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||
| 267 | PACKAGE_NAME = @PACKAGE_NAME@ | ||
| 268 | PACKAGE_STRING = @PACKAGE_STRING@ | ||
| 269 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||
| 270 | PACKAGE_URL = @PACKAGE_URL@ | ||
| 271 | PACKAGE_VERSION = @PACKAGE_VERSION@ | ||
| 272 | PATH_SEPARATOR = @PATH_SEPARATOR@ | ||
| 273 | SET_MAKE = @SET_MAKE@ | ||
| 274 | SHELL = @SHELL@ | ||
| 275 | STRIP = @STRIP@ | ||
| 276 | VERSION = @VERSION@ | ||
| 277 | abs_builddir = @abs_builddir@ | ||
| 278 | abs_srcdir = @abs_srcdir@ | ||
| 279 | abs_top_builddir = @abs_top_builddir@ | ||
| 280 | abs_top_srcdir = @abs_top_srcdir@ | ||
| 281 | ac_ct_CC = @ac_ct_CC@ | ||
| 282 | am__include = @am__include@ | ||
| 283 | am__leading_dot = @am__leading_dot@ | ||
| 284 | am__quote = @am__quote@ | ||
| 285 | am__tar = @am__tar@ | ||
| 286 | am__untar = @am__untar@ | ||
| 287 | bindir = @bindir@ | ||
| 288 | build_alias = @build_alias@ | ||
| 289 | builddir = @builddir@ | ||
| 290 | datadir = @datadir@ | ||
| 291 | datarootdir = @datarootdir@ | ||
| 292 | docdir = @docdir@ | ||
| 293 | dvidir = @dvidir@ | ||
| 294 | exec_prefix = @exec_prefix@ | ||
| 295 | host_alias = @host_alias@ | ||
| 296 | htmldir = @htmldir@ | ||
| 297 | includedir = @includedir@ | ||
| 298 | infodir = @infodir@ | ||
| 299 | install_sh = @install_sh@ | ||
| 300 | libdir = @libdir@ | ||
| 301 | libexecdir = @libexecdir@ | ||
| 302 | localedir = @localedir@ | ||
| 303 | localstatedir = @localstatedir@ | ||
| 304 | mandir = @mandir@ | ||
| 305 | mkdir_p = @mkdir_p@ | ||
| 306 | oldincludedir = @oldincludedir@ | ||
| 307 | pdfdir = @pdfdir@ | ||
| 308 | prefix = @prefix@ | ||
| 309 | program_transform_name = @program_transform_name@ | ||
| 310 | psdir = @psdir@ | ||
| 311 | runstatedir = @runstatedir@ | ||
| 312 | sbindir = @sbindir@ | ||
| 313 | sharedstatedir = @sharedstatedir@ | ||
| 314 | srcdir = @srcdir@ | ||
| 315 | sysconfdir = @sysconfdir@ | ||
| 316 | target_alias = @target_alias@ | ||
| 317 | top_build_prefix = @top_build_prefix@ | ||
| 318 | top_builddir = @top_builddir@ | ||
| 319 | top_srcdir = @top_srcdir@ | ||
| 320 | AM_OPTIONS = gnu | ||
| 321 | AM_CFLAGS = -Wall -Wextra -pedantic | ||
| 322 | AM_CPPFLAGS = -I$(srcdir) -I. | ||
| 323 | man_MANS = docs/life.6 | ||
| 324 | EXTRA_DIST = $(man_MANS) | ||
| 325 | SUBDIRS = docs src test | ||
| 326 | all: all-recursive | ||
| 327 | |||
| 328 | .SUFFIXES: | ||
| 329 | am--refresh: Makefile | ||
| 330 | @: | ||
| 331 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | ||
| 332 | @for dep in $?; do \ | ||
| 333 | case '$(am__configure_deps)' in \ | ||
| 334 | *$$dep*) \ | ||
| 335 | echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ | ||
| 336 | $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ | ||
| 337 | && exit 0; \ | ||
| 338 | exit 1;; \ | ||
| 339 | esac; \ | ||
| 340 | done; \ | ||
| 341 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ | ||
| 342 | $(am__cd) $(top_srcdir) && \ | ||
| 343 | $(AUTOMAKE) --gnu Makefile | ||
| 344 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
| 345 | @case '$?' in \ | ||
| 346 | *config.status*) \ | ||
| 347 | echo ' $(SHELL) ./config.status'; \ | ||
| 348 | $(SHELL) ./config.status;; \ | ||
| 349 | *) \ | ||
| 350 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ | ||
| 351 | cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ | ||
| 352 | esac; | ||
| 353 | |||
| 354 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||
| 355 | $(SHELL) ./config.status --recheck | ||
| 356 | |||
| 357 | $(top_srcdir)/configure: $(am__configure_deps) | ||
| 358 | $(am__cd) $(srcdir) && $(AUTOCONF) | ||
| 359 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | ||
| 360 | $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) | ||
| 361 | $(am__aclocal_m4_deps): | ||
| 362 | install-man6: $(man_MANS) | ||
| 363 | @$(NORMAL_INSTALL) | ||
| 364 | @list1=''; \ | ||
| 365 | list2='$(man_MANS)'; \ | ||
| 366 | test -n "$(man6dir)" \ | ||
| 367 | && test -n "`echo $$list1$$list2`" \ | ||
| 368 | || exit 0; \ | ||
| 369 | echo " $(MKDIR_P) '$(DESTDIR)$(man6dir)'"; \ | ||
| 370 | $(MKDIR_P) "$(DESTDIR)$(man6dir)" || exit 1; \ | ||
| 371 | { for i in $$list1; do echo "$$i"; done; \ | ||
| 372 | if test -n "$$list2"; then \ | ||
| 373 | for i in $$list2; do echo "$$i"; done \ | ||
| 374 | | sed -n '/\.6[a-z]*$$/p'; \ | ||
| 375 | fi; \ | ||
| 376 | } | while read p; do \ | ||
| 377 | if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ | ||
| 378 | echo "$$d$$p"; echo "$$p"; \ | ||
| 379 | done | \ | ||
| 380 | sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^6][0-9a-z]*$$,6,;x' \ | ||
| 381 | -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ | ||
| 382 | sed 'N;N;s,\n, ,g' | { \ | ||
| 383 | list=; while read file base inst; do \ | ||
| 384 | if test "$$base" = "$$inst"; then list="$$list $$file"; else \ | ||
| 385 | echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man6dir)/$$inst'"; \ | ||
| 386 | $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man6dir)/$$inst" || exit $$?; \ | ||
| 387 | fi; \ | ||
| 388 | done; \ | ||
| 389 | for i in $$list; do echo "$$i"; done | $(am__base_list) | \ | ||
| 390 | while read files; do \ | ||
| 391 | test -z "$$files" || { \ | ||
| 392 | echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man6dir)'"; \ | ||
| 393 | $(INSTALL_DATA) $$files "$(DESTDIR)$(man6dir)" || exit $$?; }; \ | ||
| 394 | done; } | ||
| 395 | |||
| 396 | uninstall-man6: | ||
| 397 | @$(NORMAL_UNINSTALL) | ||
| 398 | @list=''; test -n "$(man6dir)" || exit 0; \ | ||
| 399 | files=`{ for i in $$list; do echo "$$i"; done; \ | ||
| 400 | l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ | ||
| 401 | sed -n '/\.6[a-z]*$$/p'; \ | ||
| 402 | } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^6][0-9a-z]*$$,6,;x' \ | ||
| 403 | -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ | ||
| 404 | dir='$(DESTDIR)$(man6dir)'; $(am__uninstall_files_from_dir) | ||
| 405 | |||
| 406 | # This directory's subdirectories are mostly independent; you can cd | ||
| 407 | # into them and run 'make' without going through this Makefile. | ||
| 408 | # To change the values of 'make' variables: instead of editing Makefiles, | ||
| 409 | # (1) if the variable is set in 'config.status', edit 'config.status' | ||
| 410 | # (which will cause the Makefiles to be regenerated when you run 'make'); | ||
| 411 | # (2) otherwise, pass the desired values on the 'make' command line. | ||
| 412 | $(am__recursive_targets): | ||
| 413 | @fail=; \ | ||
| 414 | if $(am__make_keepgoing); then \ | ||
| 415 | failcom='fail=yes'; \ | ||
| 416 | else \ | ||
| 417 | failcom='exit 1'; \ | ||
| 418 | fi; \ | ||
| 419 | dot_seen=no; \ | ||
| 420 | target=`echo $@ | sed s/-recursive//`; \ | ||
| 421 | case "$@" in \ | ||
| 422 | distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ | ||
| 423 | *) list='$(SUBDIRS)' ;; \ | ||
| 424 | esac; \ | ||
| 425 | for subdir in $$list; do \ | ||
| 426 | echo "Making $$target in $$subdir"; \ | ||
| 427 | if test "$$subdir" = "."; then \ | ||
| 428 | dot_seen=yes; \ | ||
| 429 | local_target="$$target-am"; \ | ||
| 430 | else \ | ||
| 431 | local_target="$$target"; \ | ||
| 432 | fi; \ | ||
| 433 | ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | ||
| 434 | || eval $$failcom; \ | ||
| 435 | done; \ | ||
| 436 | if test "$$dot_seen" = "no"; then \ | ||
| 437 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ | ||
| 438 | fi; test -z "$$fail" | ||
| 439 | |||
| 440 | ID: $(am__tagged_files) | ||
| 441 | $(am__define_uniq_tagged_files); mkid -fID $$unique | ||
| 442 | tags: tags-recursive | ||
| 443 | TAGS: tags | ||
| 444 | |||
| 445 | tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | ||
| 446 | set x; \ | ||
| 447 | here=`pwd`; \ | ||
| 448 | if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ | ||
| 449 | include_option=--etags-include; \ | ||
| 450 | empty_fix=.; \ | ||
| 451 | else \ | ||
| 452 | include_option=--include; \ | ||
| 453 | empty_fix=; \ | ||
| 454 | fi; \ | ||
| 455 | list='$(SUBDIRS)'; for subdir in $$list; do \ | ||
| 456 | if test "$$subdir" = .; then :; else \ | ||
| 457 | test ! -f $$subdir/TAGS || \ | ||
| 458 | set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ | ||
| 459 | fi; \ | ||
| 460 | done; \ | ||
| 461 | $(am__define_uniq_tagged_files); \ | ||
| 462 | shift; \ | ||
| 463 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | ||
| 464 | test -n "$$unique" || unique=$$empty_fix; \ | ||
| 465 | if test $$# -gt 0; then \ | ||
| 466 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
| 467 | "$$@" $$unique; \ | ||
| 468 | else \ | ||
| 469 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
| 470 | $$unique; \ | ||
| 471 | fi; \ | ||
| 472 | fi | ||
| 473 | ctags: ctags-recursive | ||
| 474 | |||
| 475 | CTAGS: ctags | ||
| 476 | ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | ||
| 477 | $(am__define_uniq_tagged_files); \ | ||
| 478 | test -z "$(CTAGS_ARGS)$$unique" \ | ||
| 479 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | ||
| 480 | $$unique | ||
| 481 | |||
| 482 | GTAGS: | ||
| 483 | here=`$(am__cd) $(top_builddir) && pwd` \ | ||
| 484 | && $(am__cd) $(top_srcdir) \ | ||
| 485 | && gtags -i $(GTAGS_ARGS) "$$here" | ||
| 486 | cscope: cscope.files | ||
| 487 | test ! -s cscope.files \ | ||
| 488 | || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) | ||
| 489 | clean-cscope: | ||
| 490 | -rm -f cscope.files | ||
| 491 | cscope.files: clean-cscope cscopelist | ||
| 492 | cscopelist: cscopelist-recursive | ||
| 493 | |||
| 494 | cscopelist-am: $(am__tagged_files) | ||
| 495 | list='$(am__tagged_files)'; \ | ||
| 496 | case "$(srcdir)" in \ | ||
| 497 | [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ | ||
| 498 | *) sdir=$(subdir)/$(srcdir) ;; \ | ||
| 499 | esac; \ | ||
| 500 | for i in $$list; do \ | ||
| 501 | if test -f "$$i"; then \ | ||
| 502 | echo "$(subdir)/$$i"; \ | ||
| 503 | else \ | ||
| 504 | echo "$$sdir/$$i"; \ | ||
| 505 | fi; \ | ||
| 506 | done >> $(top_builddir)/cscope.files | ||
| 507 | |||
| 508 | distclean-tags: | ||
| 509 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
| 510 | -rm -f cscope.out cscope.in.out cscope.po.out cscope.files | ||
| 511 | |||
| 512 | distdir: $(DISTFILES) | ||
| 513 | $(am__remove_distdir) | ||
| 514 | test -d "$(distdir)" || mkdir "$(distdir)" | ||
| 515 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
| 516 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
| 517 | list='$(DISTFILES)'; \ | ||
| 518 | dist_files=`for file in $$list; do echo $$file; done | \ | ||
| 519 | sed -e "s|^$$srcdirstrip/||;t" \ | ||
| 520 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | ||
| 521 | case $$dist_files in \ | ||
| 522 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | ||
| 523 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | ||
| 524 | sort -u` ;; \ | ||
| 525 | esac; \ | ||
| 526 | for file in $$dist_files; do \ | ||
| 527 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||
| 528 | if test -d $$d/$$file; then \ | ||
| 529 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||
| 530 | if test -d "$(distdir)/$$file"; then \ | ||
| 531 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
| 532 | fi; \ | ||
| 533 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||
| 534 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | ||
| 535 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
| 536 | fi; \ | ||
| 537 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | ||
| 538 | else \ | ||
| 539 | test -f "$(distdir)/$$file" \ | ||
| 540 | || cp -p $$d/$$file "$(distdir)/$$file" \ | ||
| 541 | || exit 1; \ | ||
| 542 | fi; \ | ||
| 543 | done | ||
| 544 | @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ | ||
| 545 | if test "$$subdir" = .; then :; else \ | ||
| 546 | $(am__make_dryrun) \ | ||
| 547 | || test -d "$(distdir)/$$subdir" \ | ||
| 548 | || $(MKDIR_P) "$(distdir)/$$subdir" \ | ||
| 549 | || exit 1; \ | ||
| 550 | dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ | ||
| 551 | $(am__relativize); \ | ||
| 552 | new_distdir=$$reldir; \ | ||
| 553 | dir1=$$subdir; dir2="$(top_distdir)"; \ | ||
| 554 | $(am__relativize); \ | ||
| 555 | new_top_distdir=$$reldir; \ | ||
| 556 | echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ | ||
| 557 | echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ | ||
| 558 | ($(am__cd) $$subdir && \ | ||
| 559 | $(MAKE) $(AM_MAKEFLAGS) \ | ||
| 560 | top_distdir="$$new_top_distdir" \ | ||
| 561 | distdir="$$new_distdir" \ | ||
| 562 | am__remove_distdir=: \ | ||
| 563 | am__skip_length_check=: \ | ||
| 564 | am__skip_mode_fix=: \ | ||
| 565 | distdir) \ | ||
| 566 | || exit 1; \ | ||
| 567 | fi; \ | ||
| 568 | done | ||
| 569 | -test -n "$(am__skip_mode_fix)" \ | ||
| 570 | || find "$(distdir)" -type d ! -perm -755 \ | ||
| 571 | -exec chmod u+rwx,go+rx {} \; -o \ | ||
| 572 | ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ | ||
| 573 | ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ | ||
| 574 | ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ | ||
| 575 | || chmod -R a+r "$(distdir)" | ||
| 576 | dist-gzip: distdir | ||
| 577 | tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz | ||
| 578 | $(am__post_remove_distdir) | ||
| 579 | |||
| 580 | dist-bzip2: distdir | ||
| 581 | tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 | ||
| 582 | $(am__post_remove_distdir) | ||
| 583 | |||
| 584 | dist-lzip: distdir | ||
| 585 | tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz | ||
| 586 | $(am__post_remove_distdir) | ||
| 587 | |||
| 588 | dist-xz: distdir | ||
| 589 | tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz | ||
| 590 | $(am__post_remove_distdir) | ||
| 591 | |||
| 592 | dist-tarZ: distdir | ||
| 593 | @echo WARNING: "Support for distribution archives compressed with" \ | ||
| 594 | "legacy program 'compress' is deprecated." >&2 | ||
| 595 | @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 | ||
| 596 | tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z | ||
| 597 | $(am__post_remove_distdir) | ||
| 598 | |||
| 599 | dist-shar: distdir | ||
| 600 | @echo WARNING: "Support for shar distribution archives is" \ | ||
| 601 | "deprecated." >&2 | ||
| 602 | @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 | ||
| 603 | shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz | ||
| 604 | $(am__post_remove_distdir) | ||
| 605 | |||
| 606 | dist-zip: distdir | ||
| 607 | -rm -f $(distdir).zip | ||
| 608 | zip -rq $(distdir).zip $(distdir) | ||
| 609 | $(am__post_remove_distdir) | ||
| 610 | |||
| 611 | dist dist-all: | ||
| 612 | $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' | ||
| 613 | $(am__post_remove_distdir) | ||
| 614 | |||
| 615 | # This target untars the dist file and tries a VPATH configuration. Then | ||
| 616 | # it guarantees that the distribution is self-contained by making another | ||
| 617 | # tarfile. | ||
| 618 | distcheck: dist | ||
| 619 | case '$(DIST_ARCHIVES)' in \ | ||
| 620 | *.tar.gz*) \ | ||
| 621 | eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\ | ||
| 622 | *.tar.bz2*) \ | ||
| 623 | bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ | ||
| 624 | *.tar.lz*) \ | ||
| 625 | lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ | ||
| 626 | *.tar.xz*) \ | ||
| 627 | xz -dc $(distdir).tar.xz | $(am__untar) ;;\ | ||
| 628 | *.tar.Z*) \ | ||
| 629 | uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ | ||
| 630 | *.shar.gz*) \ | ||
| 631 | eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\ | ||
| 632 | *.zip*) \ | ||
| 633 | unzip $(distdir).zip ;;\ | ||
| 634 | esac | ||
| 635 | chmod -R a-w $(distdir) | ||
| 636 | chmod u+w $(distdir) | ||
| 637 | mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst | ||
| 638 | chmod a-w $(distdir) | ||
| 639 | test -d $(distdir)/_build || exit 0; \ | ||
| 640 | dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ | ||
| 641 | && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ | ||
| 642 | && am__cwd=`pwd` \ | ||
| 643 | && $(am__cd) $(distdir)/_build/sub \ | ||
| 644 | && ../../configure \ | ||
| 645 | $(AM_DISTCHECK_CONFIGURE_FLAGS) \ | ||
| 646 | $(DISTCHECK_CONFIGURE_FLAGS) \ | ||
| 647 | --srcdir=../.. --prefix="$$dc_install_base" \ | ||
| 648 | && $(MAKE) $(AM_MAKEFLAGS) \ | ||
| 649 | && $(MAKE) $(AM_MAKEFLAGS) dvi \ | ||
| 650 | && $(MAKE) $(AM_MAKEFLAGS) check \ | ||
| 651 | && $(MAKE) $(AM_MAKEFLAGS) install \ | ||
| 652 | && $(MAKE) $(AM_MAKEFLAGS) installcheck \ | ||
| 653 | && $(MAKE) $(AM_MAKEFLAGS) uninstall \ | ||
| 654 | && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ | ||
| 655 | distuninstallcheck \ | ||
| 656 | && chmod -R a-w "$$dc_install_base" \ | ||
| 657 | && ({ \ | ||
| 658 | (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ | ||
| 659 | && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ | ||
| 660 | && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ | ||
| 661 | && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ | ||
| 662 | distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ | ||
| 663 | } || { rm -rf "$$dc_destdir"; exit 1; }) \ | ||
| 664 | && rm -rf "$$dc_destdir" \ | ||
| 665 | && $(MAKE) $(AM_MAKEFLAGS) dist \ | ||
| 666 | && rm -rf $(DIST_ARCHIVES) \ | ||
| 667 | && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ | ||
| 668 | && cd "$$am__cwd" \ | ||
| 669 | || exit 1 | ||
| 670 | $(am__post_remove_distdir) | ||
| 671 | @(echo "$(distdir) archives ready for distribution: "; \ | ||
| 672 | list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ | ||
| 673 | sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' | ||
| 674 | distuninstallcheck: | ||
| 675 | @test -n '$(distuninstallcheck_dir)' || { \ | ||
| 676 | echo 'ERROR: trying to run $@ with an empty' \ | ||
| 677 | '$$(distuninstallcheck_dir)' >&2; \ | ||
| 678 | exit 1; \ | ||
| 679 | }; \ | ||
| 680 | $(am__cd) '$(distuninstallcheck_dir)' || { \ | ||
| 681 | echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ | ||
| 682 | exit 1; \ | ||
| 683 | }; \ | ||
| 684 | test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ | ||
| 685 | || { echo "ERROR: files left after uninstall:" ; \ | ||
| 686 | if test -n "$(DESTDIR)"; then \ | ||
| 687 | echo " (check DESTDIR support)"; \ | ||
| 688 | fi ; \ | ||
| 689 | $(distuninstallcheck_listfiles) ; \ | ||
| 690 | exit 1; } >&2 | ||
| 691 | distcleancheck: distclean | ||
| 692 | @if test '$(srcdir)' = . ; then \ | ||
| 693 | echo "ERROR: distcleancheck can only run from a VPATH build" ; \ | ||
| 694 | exit 1 ; \ | ||
| 695 | fi | ||
| 696 | @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ | ||
| 697 | || { echo "ERROR: files left in build directory after distclean:" ; \ | ||
| 698 | $(distcleancheck_listfiles) ; \ | ||
| 699 | exit 1; } >&2 | ||
| 700 | check-am: all-am | ||
| 701 | check: check-recursive | ||
| 702 | all-am: Makefile $(MANS) | ||
| 703 | installdirs: installdirs-recursive | ||
| 704 | installdirs-am: | ||
| 705 | for dir in "$(DESTDIR)$(man6dir)"; do \ | ||
| 706 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | ||
| 707 | done | ||
| 708 | install: install-recursive | ||
| 709 | install-exec: install-exec-recursive | ||
| 710 | install-data: install-data-recursive | ||
| 711 | uninstall: uninstall-recursive | ||
| 712 | |||
| 713 | install-am: all-am | ||
| 714 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
| 715 | |||
| 716 | installcheck: installcheck-recursive | ||
| 717 | install-strip: | ||
| 718 | if test -z '$(STRIP)'; then \ | ||
| 719 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
| 720 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
| 721 | install; \ | ||
| 722 | else \ | ||
| 723 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
| 724 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
| 725 | "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ | ||
| 726 | fi | ||
| 727 | mostlyclean-generic: | ||
| 728 | |||
| 729 | clean-generic: | ||
| 730 | |||
| 731 | distclean-generic: | ||
| 732 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||
| 733 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | ||
| 734 | |||
| 735 | maintainer-clean-generic: | ||
| 736 | @echo "This command is intended for maintainers to use" | ||
| 737 | @echo "it deletes files that may require special tools to rebuild." | ||
| 738 | clean: clean-recursive | ||
| 739 | |||
| 740 | clean-am: clean-generic mostlyclean-am | ||
| 741 | |||
| 742 | distclean: distclean-recursive | ||
| 743 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) | ||
| 744 | -rm -f Makefile | ||
| 745 | distclean-am: clean-am distclean-generic distclean-tags | ||
| 746 | |||
| 747 | dvi: dvi-recursive | ||
| 748 | |||
| 749 | dvi-am: | ||
| 750 | |||
| 751 | html: html-recursive | ||
| 752 | |||
| 753 | html-am: | ||
| 754 | |||
| 755 | info: info-recursive | ||
| 756 | |||
| 757 | info-am: | ||
| 758 | |||
| 759 | install-data-am: install-man | ||
| 760 | |||
| 761 | install-dvi: install-dvi-recursive | ||
| 762 | |||
| 763 | install-dvi-am: | ||
| 764 | |||
| 765 | install-exec-am: | ||
| 766 | |||
| 767 | install-html: install-html-recursive | ||
| 768 | |||
| 769 | install-html-am: | ||
| 770 | |||
| 771 | install-info: install-info-recursive | ||
| 772 | |||
| 773 | install-info-am: | ||
| 774 | |||
| 775 | install-man: install-man6 | ||
| 776 | |||
| 777 | install-pdf: install-pdf-recursive | ||
| 778 | |||
| 779 | install-pdf-am: | ||
| 780 | |||
| 781 | install-ps: install-ps-recursive | ||
| 782 | |||
| 783 | install-ps-am: | ||
| 784 | |||
| 785 | installcheck-am: | ||
| 786 | |||
| 787 | maintainer-clean: maintainer-clean-recursive | ||
| 788 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) | ||
| 789 | -rm -rf $(top_srcdir)/autom4te.cache | ||
| 790 | -rm -f Makefile | ||
| 791 | maintainer-clean-am: distclean-am maintainer-clean-generic | ||
| 792 | |||
| 793 | mostlyclean: mostlyclean-recursive | ||
| 794 | |||
| 795 | mostlyclean-am: mostlyclean-generic | ||
| 796 | |||
| 797 | pdf: pdf-recursive | ||
| 798 | |||
| 799 | pdf-am: | ||
| 800 | |||
| 801 | ps: ps-recursive | ||
| 802 | |||
| 803 | ps-am: | ||
| 804 | |||
| 805 | uninstall-am: uninstall-man | ||
| 806 | |||
| 807 | uninstall-man: uninstall-man6 | ||
| 808 | |||
| 809 | .MAKE: $(am__recursive_targets) install-am install-strip | ||
| 810 | |||
| 811 | .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ | ||
| 812 | am--refresh check check-am clean clean-cscope clean-generic \ | ||
| 813 | cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \ | ||
| 814 | dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \ | ||
| 815 | distcheck distclean distclean-generic distclean-tags \ | ||
| 816 | distcleancheck distdir distuninstallcheck dvi dvi-am html \ | ||
| 817 | html-am info info-am install install-am install-data \ | ||
| 818 | install-data-am install-dvi install-dvi-am install-exec \ | ||
| 819 | install-exec-am install-html install-html-am install-info \ | ||
| 820 | install-info-am install-man install-man6 install-pdf \ | ||
| 821 | install-pdf-am install-ps install-ps-am install-strip \ | ||
| 822 | installcheck installcheck-am installdirs installdirs-am \ | ||
| 823 | maintainer-clean maintainer-clean-generic mostlyclean \ | ||
| 824 | mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \ | ||
| 825 | uninstall-am uninstall-man uninstall-man6 | ||
| 826 | |||
| 827 | .PRECIOUS: Makefile | ||
| 828 | |||
| 829 | |||
| 830 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||
| 831 | # Otherwise a system limit (for SysV at least) may be exceeded. | ||
| 832 | .NOEXPORT: | ||
diff --git a/aclocal.m4 b/aclocal.m4 deleted file mode 100644 index df8ff83..0000000 --- a/aclocal.m4 +++ /dev/null | |||
| @@ -1,1152 +0,0 @@ | |||
| 1 | # generated automatically by aclocal 1.15.1 -*- Autoconf -*- | ||
| 2 | |||
| 3 | # Copyright (C) 1996-2017 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | # This file is free software; the Free Software Foundation | ||
| 6 | # gives unlimited permission to copy and/or distribute it, | ||
| 7 | # with or without modifications, as long as this notice is preserved. | ||
| 8 | |||
| 9 | # This program is distributed in the hope that it will be useful, | ||
| 10 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | ||
| 11 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
| 12 | # PARTICULAR PURPOSE. | ||
| 13 | |||
| 14 | m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) | ||
| 15 | m4_ifndef([AC_AUTOCONF_VERSION], | ||
| 16 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl | ||
| 17 | m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, | ||
| 18 | [m4_warning([this file was generated for autoconf 2.69. | ||
| 19 | You have another version of autoconf. It may work, but is not guaranteed to. | ||
| 20 | If you have problems, you may need to regenerate the build system entirely. | ||
| 21 | To do so, use the procedure documented by the package, typically 'autoreconf'.])]) | ||
| 22 | |||
| 23 | # Copyright (C) 2002-2017 Free Software Foundation, Inc. | ||
| 24 | # | ||
| 25 | # This file is free software; the Free Software Foundation | ||
| 26 | # gives unlimited permission to copy and/or distribute it, | ||
| 27 | # with or without modifications, as long as this notice is preserved. | ||
| 28 | |||
| 29 | # AM_AUTOMAKE_VERSION(VERSION) | ||
| 30 | # ---------------------------- | ||
| 31 | # Automake X.Y traces this macro to ensure aclocal.m4 has been | ||
| 32 | # generated from the m4 files accompanying Automake X.Y. | ||
| 33 | # (This private macro should not be called outside this file.) | ||
| 34 | AC_DEFUN([AM_AUTOMAKE_VERSION], | ||
| 35 | [am__api_version='1.15' | ||
| 36 | dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to | ||
| 37 | dnl require some minimum version. Point them to the right macro. | ||
| 38 | m4_if([$1], [1.15.1], [], | ||
| 39 | [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl | ||
| 40 | ]) | ||
| 41 | |||
| 42 | # _AM_AUTOCONF_VERSION(VERSION) | ||
| 43 | # ----------------------------- | ||
| 44 | # aclocal traces this macro to find the Autoconf version. | ||
| 45 | # This is a private macro too. Using m4_define simplifies | ||
| 46 | # the logic in aclocal, which can simply ignore this definition. | ||
| 47 | m4_define([_AM_AUTOCONF_VERSION], []) | ||
| 48 | |||
| 49 | # AM_SET_CURRENT_AUTOMAKE_VERSION | ||
| 50 | # ------------------------------- | ||
| 51 | # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. | ||
| 52 | # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. | ||
| 53 | AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], | ||
| 54 | [AM_AUTOMAKE_VERSION([1.15.1])dnl | ||
| 55 | m4_ifndef([AC_AUTOCONF_VERSION], | ||
| 56 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl | ||
| 57 | _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) | ||
| 58 | |||
| 59 | # AM_AUX_DIR_EXPAND -*- Autoconf -*- | ||
| 60 | |||
| 61 | # Copyright (C) 2001-2017 Free Software Foundation, Inc. | ||
| 62 | # | ||
| 63 | # This file is free software; the Free Software Foundation | ||
| 64 | # gives unlimited permission to copy and/or distribute it, | ||
| 65 | # with or without modifications, as long as this notice is preserved. | ||
| 66 | |||
| 67 | # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets | ||
| 68 | # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to | ||
| 69 | # '$srcdir', '$srcdir/..', or '$srcdir/../..'. | ||
| 70 | # | ||
| 71 | # Of course, Automake must honor this variable whenever it calls a | ||
| 72 | # tool from the auxiliary directory. The problem is that $srcdir (and | ||
| 73 | # therefore $ac_aux_dir as well) can be either absolute or relative, | ||
| 74 | # depending on how configure is run. This is pretty annoying, since | ||
| 75 | # it makes $ac_aux_dir quite unusable in subdirectories: in the top | ||
| 76 | # source directory, any form will work fine, but in subdirectories a | ||
| 77 | # relative path needs to be adjusted first. | ||
| 78 | # | ||
| 79 | # $ac_aux_dir/missing | ||
| 80 | # fails when called from a subdirectory if $ac_aux_dir is relative | ||
| 81 | # $top_srcdir/$ac_aux_dir/missing | ||
| 82 | # fails if $ac_aux_dir is absolute, | ||
| 83 | # fails when called from a subdirectory in a VPATH build with | ||
| 84 | # a relative $ac_aux_dir | ||
| 85 | # | ||
| 86 | # The reason of the latter failure is that $top_srcdir and $ac_aux_dir | ||
| 87 | # are both prefixed by $srcdir. In an in-source build this is usually | ||
| 88 | # harmless because $srcdir is '.', but things will broke when you | ||
| 89 | # start a VPATH build or use an absolute $srcdir. | ||
| 90 | # | ||
| 91 | # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, | ||
| 92 | # iff we strip the leading $srcdir from $ac_aux_dir. That would be: | ||
| 93 | # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` | ||
| 94 | # and then we would define $MISSING as | ||
| 95 | # MISSING="\${SHELL} $am_aux_dir/missing" | ||
| 96 | # This will work as long as MISSING is not called from configure, because | ||
| 97 | # unfortunately $(top_srcdir) has no meaning in configure. | ||
| 98 | # However there are other variables, like CC, which are often used in | ||
| 99 | # configure, and could therefore not use this "fixed" $ac_aux_dir. | ||
| 100 | # | ||
| 101 | # Another solution, used here, is to always expand $ac_aux_dir to an | ||
| 102 | # absolute PATH. The drawback is that using absolute paths prevent a | ||
| 103 | # configured tree to be moved without reconfiguration. | ||
| 104 | |||
| 105 | AC_DEFUN([AM_AUX_DIR_EXPAND], | ||
| 106 | [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl | ||
| 107 | # Expand $ac_aux_dir to an absolute path. | ||
| 108 | am_aux_dir=`cd "$ac_aux_dir" && pwd` | ||
| 109 | ]) | ||
| 110 | |||
| 111 | # AM_CONDITIONAL -*- Autoconf -*- | ||
| 112 | |||
| 113 | # Copyright (C) 1997-2017 Free Software Foundation, Inc. | ||
| 114 | # | ||
| 115 | # This file is free software; the Free Software Foundation | ||
| 116 | # gives unlimited permission to copy and/or distribute it, | ||
| 117 | # with or without modifications, as long as this notice is preserved. | ||
| 118 | |||
| 119 | # AM_CONDITIONAL(NAME, SHELL-CONDITION) | ||
| 120 | # ------------------------------------- | ||
| 121 | # Define a conditional. | ||
| 122 | AC_DEFUN([AM_CONDITIONAL], | ||
| 123 | [AC_PREREQ([2.52])dnl | ||
| 124 | m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], | ||
| 125 | [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl | ||
| 126 | AC_SUBST([$1_TRUE])dnl | ||
| 127 | AC_SUBST([$1_FALSE])dnl | ||
| 128 | _AM_SUBST_NOTMAKE([$1_TRUE])dnl | ||
| 129 | _AM_SUBST_NOTMAKE([$1_FALSE])dnl | ||
| 130 | m4_define([_AM_COND_VALUE_$1], [$2])dnl | ||
| 131 | if $2; then | ||
| 132 | $1_TRUE= | ||
| 133 | $1_FALSE='#' | ||
| 134 | else | ||
| 135 | $1_TRUE='#' | ||
| 136 | $1_FALSE= | ||
| 137 | fi | ||
| 138 | AC_CONFIG_COMMANDS_PRE( | ||
| 139 | [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then | ||
| 140 | AC_MSG_ERROR([[conditional "$1" was never defined. | ||
| 141 | Usually this means the macro was only invoked conditionally.]]) | ||
| 142 | fi])]) | ||
| 143 | |||
| 144 | # Copyright (C) 1999-2017 Free Software Foundation, Inc. | ||
| 145 | # | ||
| 146 | # This file is free software; the Free Software Foundation | ||
| 147 | # gives unlimited permission to copy and/or distribute it, | ||
| 148 | # with or without modifications, as long as this notice is preserved. | ||
| 149 | |||
| 150 | |||
| 151 | # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be | ||
| 152 | # written in clear, in which case automake, when reading aclocal.m4, | ||
| 153 | # will think it sees a *use*, and therefore will trigger all it's | ||
| 154 | # C support machinery. Also note that it means that autoscan, seeing | ||
| 155 | # CC etc. in the Makefile, will ask for an AC_PROG_CC use... | ||
| 156 | |||
| 157 | |||
| 158 | # _AM_DEPENDENCIES(NAME) | ||
| 159 | # ---------------------- | ||
| 160 | # See how the compiler implements dependency checking. | ||
| 161 | # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". | ||
| 162 | # We try a few techniques and use that to set a single cache variable. | ||
| 163 | # | ||
| 164 | # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was | ||
| 165 | # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular | ||
| 166 | # dependency, and given that the user is not expected to run this macro, | ||
| 167 | # just rely on AC_PROG_CC. | ||
| 168 | AC_DEFUN([_AM_DEPENDENCIES], | ||
| 169 | [AC_REQUIRE([AM_SET_DEPDIR])dnl | ||
| 170 | AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl | ||
| 171 | AC_REQUIRE([AM_MAKE_INCLUDE])dnl | ||
| 172 | AC_REQUIRE([AM_DEP_TRACK])dnl | ||
| 173 | |||
| 174 | m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], | ||
| 175 | [$1], [CXX], [depcc="$CXX" am_compiler_list=], | ||
| 176 | [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], | ||
| 177 | [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], | ||
| 178 | [$1], [UPC], [depcc="$UPC" am_compiler_list=], | ||
| 179 | [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], | ||
| 180 | [depcc="$$1" am_compiler_list=]) | ||
| 181 | |||
| 182 | AC_CACHE_CHECK([dependency style of $depcc], | ||
| 183 | [am_cv_$1_dependencies_compiler_type], | ||
| 184 | [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | ||
| 185 | # We make a subdir and do the tests there. Otherwise we can end up | ||
| 186 | # making bogus files that we don't know about and never remove. For | ||
| 187 | # instance it was reported that on HP-UX the gcc test will end up | ||
| 188 | # making a dummy file named 'D' -- because '-MD' means "put the output | ||
| 189 | # in D". | ||
| 190 | rm -rf conftest.dir | ||
| 191 | mkdir conftest.dir | ||
| 192 | # Copy depcomp to subdir because otherwise we won't find it if we're | ||
| 193 | # using a relative directory. | ||
| 194 | cp "$am_depcomp" conftest.dir | ||
| 195 | cd conftest.dir | ||
| 196 | # We will build objects and dependencies in a subdirectory because | ||
| 197 | # it helps to detect inapplicable dependency modes. For instance | ||
| 198 | # both Tru64's cc and ICC support -MD to output dependencies as a | ||
| 199 | # side effect of compilation, but ICC will put the dependencies in | ||
| 200 | # the current directory while Tru64 will put them in the object | ||
| 201 | # directory. | ||
| 202 | mkdir sub | ||
| 203 | |||
| 204 | am_cv_$1_dependencies_compiler_type=none | ||
| 205 | if test "$am_compiler_list" = ""; then | ||
| 206 | am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` | ||
| 207 | fi | ||
| 208 | am__universal=false | ||
| 209 | m4_case([$1], [CC], | ||
| 210 | [case " $depcc " in #( | ||
| 211 | *\ -arch\ *\ -arch\ *) am__universal=true ;; | ||
| 212 | esac], | ||
| 213 | [CXX], | ||
| 214 | [case " $depcc " in #( | ||
| 215 | *\ -arch\ *\ -arch\ *) am__universal=true ;; | ||
| 216 | esac]) | ||
| 217 | |||
| 218 | for depmode in $am_compiler_list; do | ||
| 219 | # Setup a source with many dependencies, because some compilers | ||
| 220 | # like to wrap large dependency lists on column 80 (with \), and | ||
| 221 | # we should not choose a depcomp mode which is confused by this. | ||
| 222 | # | ||
| 223 | # We need to recreate these files for each test, as the compiler may | ||
| 224 | # overwrite some of them when testing with obscure command lines. | ||
| 225 | # This happens at least with the AIX C compiler. | ||
| 226 | : > sub/conftest.c | ||
| 227 | for i in 1 2 3 4 5 6; do | ||
| 228 | echo '#include "conftst'$i'.h"' >> sub/conftest.c | ||
| 229 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with | ||
| 230 | # Solaris 10 /bin/sh. | ||
| 231 | echo '/* dummy */' > sub/conftst$i.h | ||
| 232 | done | ||
| 233 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | ||
| 234 | |||
| 235 | # We check with '-c' and '-o' for the sake of the "dashmstdout" | ||
| 236 | # mode. It turns out that the SunPro C++ compiler does not properly | ||
| 237 | # handle '-M -o', and we need to detect this. Also, some Intel | ||
| 238 | # versions had trouble with output in subdirs. | ||
| 239 | am__obj=sub/conftest.${OBJEXT-o} | ||
| 240 | am__minus_obj="-o $am__obj" | ||
| 241 | case $depmode in | ||
| 242 | gcc) | ||
| 243 | # This depmode causes a compiler race in universal mode. | ||
| 244 | test "$am__universal" = false || continue | ||
| 245 | ;; | ||
| 246 | nosideeffect) | ||
| 247 | # After this tag, mechanisms are not by side-effect, so they'll | ||
| 248 | # only be used when explicitly requested. | ||
| 249 | if test "x$enable_dependency_tracking" = xyes; then | ||
| 250 | continue | ||
| 251 | else | ||
| 252 | break | ||
| 253 | fi | ||
| 254 | ;; | ||
| 255 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) | ||
| 256 | # This compiler won't grok '-c -o', but also, the minuso test has | ||
| 257 | # not run yet. These depmodes are late enough in the game, and | ||
| 258 | # so weak that their functioning should not be impacted. | ||
| 259 | am__obj=conftest.${OBJEXT-o} | ||
| 260 | am__minus_obj= | ||
| 261 | ;; | ||
| 262 | none) break ;; | ||
| 263 | esac | ||
| 264 | if depmode=$depmode \ | ||
| 265 | source=sub/conftest.c object=$am__obj \ | ||
| 266 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | ||
| 267 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ | ||
| 268 | >/dev/null 2>conftest.err && | ||
| 269 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | ||
| 270 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | ||
| 271 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && | ||
| 272 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | ||
| 273 | # icc doesn't choke on unknown options, it will just issue warnings | ||
| 274 | # or remarks (even with -Werror). So we grep stderr for any message | ||
| 275 | # that says an option was ignored or not supported. | ||
| 276 | # When given -MP, icc 7.0 and 7.1 complain thusly: | ||
| 277 | # icc: Command line warning: ignoring option '-M'; no argument required | ||
| 278 | # The diagnosis changed in icc 8.0: | ||
| 279 | # icc: Command line remark: option '-MP' not supported | ||
| 280 | if (grep 'ignoring option' conftest.err || | ||
| 281 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | ||
| 282 | am_cv_$1_dependencies_compiler_type=$depmode | ||
| 283 | break | ||
| 284 | fi | ||
| 285 | fi | ||
| 286 | done | ||
| 287 | |||
| 288 | cd .. | ||
| 289 | rm -rf conftest.dir | ||
| 290 | else | ||
| 291 | am_cv_$1_dependencies_compiler_type=none | ||
| 292 | fi | ||
| 293 | ]) | ||
| 294 | AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) | ||
| 295 | AM_CONDITIONAL([am__fastdep$1], [ | ||
| 296 | test "x$enable_dependency_tracking" != xno \ | ||
| 297 | && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) | ||
| 298 | ]) | ||
| 299 | |||
| 300 | |||
| 301 | # AM_SET_DEPDIR | ||
| 302 | # ------------- | ||
| 303 | # Choose a directory name for dependency files. | ||
| 304 | # This macro is AC_REQUIREd in _AM_DEPENDENCIES. | ||
| 305 | AC_DEFUN([AM_SET_DEPDIR], | ||
| 306 | [AC_REQUIRE([AM_SET_LEADING_DOT])dnl | ||
| 307 | AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl | ||
| 308 | ]) | ||
| 309 | |||
| 310 | |||
| 311 | # AM_DEP_TRACK | ||
| 312 | # ------------ | ||
| 313 | AC_DEFUN([AM_DEP_TRACK], | ||
| 314 | [AC_ARG_ENABLE([dependency-tracking], [dnl | ||
| 315 | AS_HELP_STRING( | ||
| 316 | [--enable-dependency-tracking], | ||
| 317 | [do not reject slow dependency extractors]) | ||
| 318 | AS_HELP_STRING( | ||
| 319 | [--disable-dependency-tracking], | ||
| 320 | [speeds up one-time build])]) | ||
| 321 | if test "x$enable_dependency_tracking" != xno; then | ||
| 322 | am_depcomp="$ac_aux_dir/depcomp" | ||
| 323 | AMDEPBACKSLASH='\' | ||
| 324 | am__nodep='_no' | ||
| 325 | fi | ||
| 326 | AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) | ||
| 327 | AC_SUBST([AMDEPBACKSLASH])dnl | ||
| 328 | _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl | ||
| 329 | AC_SUBST([am__nodep])dnl | ||
| 330 | _AM_SUBST_NOTMAKE([am__nodep])dnl | ||
| 331 | ]) | ||
| 332 | |||
| 333 | # Generate code to set up dependency tracking. -*- Autoconf -*- | ||
| 334 | |||
| 335 | # Copyright (C) 1999-2017 Free Software Foundation, Inc. | ||
| 336 | # | ||
| 337 | # This file is free software; the Free Software Foundation | ||
| 338 | # gives unlimited permission to copy and/or distribute it, | ||
| 339 | # with or without modifications, as long as this notice is preserved. | ||
| 340 | |||
| 341 | |||
| 342 | # _AM_OUTPUT_DEPENDENCY_COMMANDS | ||
| 343 | # ------------------------------ | ||
| 344 | AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], | ||
| 345 | [{ | ||
| 346 | # Older Autoconf quotes --file arguments for eval, but not when files | ||
| 347 | # are listed without --file. Let's play safe and only enable the eval | ||
| 348 | # if we detect the quoting. | ||
| 349 | case $CONFIG_FILES in | ||
| 350 | *\'*) eval set x "$CONFIG_FILES" ;; | ||
| 351 | *) set x $CONFIG_FILES ;; | ||
| 352 | esac | ||
| 353 | shift | ||
| 354 | for mf | ||
| 355 | do | ||
| 356 | # Strip MF so we end up with the name of the file. | ||
| 357 | mf=`echo "$mf" | sed -e 's/:.*$//'` | ||
| 358 | # Check whether this is an Automake generated Makefile or not. | ||
| 359 | # We used to match only the files named 'Makefile.in', but | ||
| 360 | # some people rename them; so instead we look at the file content. | ||
| 361 | # Grep'ing the first line is not enough: some people post-process | ||
| 362 | # each Makefile.in and add a new line on top of each file to say so. | ||
| 363 | # Grep'ing the whole file is not good either: AIX grep has a line | ||
| 364 | # limit of 2048, but all sed's we know have understand at least 4000. | ||
| 365 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then | ||
| 366 | dirpart=`AS_DIRNAME("$mf")` | ||
| 367 | else | ||
| 368 | continue | ||
| 369 | fi | ||
| 370 | # Extract the definition of DEPDIR, am__include, and am__quote | ||
| 371 | # from the Makefile without running 'make'. | ||
| 372 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | ||
| 373 | test -z "$DEPDIR" && continue | ||
| 374 | am__include=`sed -n 's/^am__include = //p' < "$mf"` | ||
| 375 | test -z "$am__include" && continue | ||
| 376 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | ||
| 377 | # Find all dependency output files, they are included files with | ||
| 378 | # $(DEPDIR) in their names. We invoke sed twice because it is the | ||
| 379 | # simplest approach to changing $(DEPDIR) to its actual value in the | ||
| 380 | # expansion. | ||
| 381 | for file in `sed -n " | ||
| 382 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | ||
| 383 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do | ||
| 384 | # Make sure the directory exists. | ||
| 385 | test -f "$dirpart/$file" && continue | ||
| 386 | fdir=`AS_DIRNAME(["$file"])` | ||
| 387 | AS_MKDIR_P([$dirpart/$fdir]) | ||
| 388 | # echo "creating $dirpart/$file" | ||
| 389 | echo '# dummy' > "$dirpart/$file" | ||
| 390 | done | ||
| 391 | done | ||
| 392 | } | ||
| 393 | ])# _AM_OUTPUT_DEPENDENCY_COMMANDS | ||
| 394 | |||
| 395 | |||
| 396 | # AM_OUTPUT_DEPENDENCY_COMMANDS | ||
| 397 | # ----------------------------- | ||
| 398 | # This macro should only be invoked once -- use via AC_REQUIRE. | ||
| 399 | # | ||
| 400 | # This code is only required when automatic dependency tracking | ||
| 401 | # is enabled. FIXME. This creates each '.P' file that we will | ||
| 402 | # need in order to bootstrap the dependency handling code. | ||
| 403 | AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], | ||
| 404 | [AC_CONFIG_COMMANDS([depfiles], | ||
| 405 | [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], | ||
| 406 | [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) | ||
| 407 | ]) | ||
| 408 | |||
| 409 | # Do all the work for Automake. -*- Autoconf -*- | ||
| 410 | |||
| 411 | # Copyright (C) 1996-2017 Free Software Foundation, Inc. | ||
| 412 | # | ||
| 413 | # This file is free software; the Free Software Foundation | ||
| 414 | # gives unlimited permission to copy and/or distribute it, | ||
| 415 | # with or without modifications, as long as this notice is preserved. | ||
| 416 | |||
| 417 | # This macro actually does too much. Some checks are only needed if | ||
| 418 | # your package does certain things. But this isn't really a big deal. | ||
| 419 | |||
| 420 | dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. | ||
| 421 | m4_define([AC_PROG_CC], | ||
| 422 | m4_defn([AC_PROG_CC]) | ||
| 423 | [_AM_PROG_CC_C_O | ||
| 424 | ]) | ||
| 425 | |||
| 426 | # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) | ||
| 427 | # AM_INIT_AUTOMAKE([OPTIONS]) | ||
| 428 | # ----------------------------------------------- | ||
| 429 | # The call with PACKAGE and VERSION arguments is the old style | ||
| 430 | # call (pre autoconf-2.50), which is being phased out. PACKAGE | ||
| 431 | # and VERSION should now be passed to AC_INIT and removed from | ||
| 432 | # the call to AM_INIT_AUTOMAKE. | ||
| 433 | # We support both call styles for the transition. After | ||
| 434 | # the next Automake release, Autoconf can make the AC_INIT | ||
| 435 | # arguments mandatory, and then we can depend on a new Autoconf | ||
| 436 | # release and drop the old call support. | ||
| 437 | AC_DEFUN([AM_INIT_AUTOMAKE], | ||
| 438 | [AC_PREREQ([2.65])dnl | ||
| 439 | dnl Autoconf wants to disallow AM_ names. We explicitly allow | ||
| 440 | dnl the ones we care about. | ||
| 441 | m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl | ||
| 442 | AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl | ||
| 443 | AC_REQUIRE([AC_PROG_INSTALL])dnl | ||
| 444 | if test "`cd $srcdir && pwd`" != "`pwd`"; then | ||
| 445 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output | ||
| 446 | # is not polluted with repeated "-I." | ||
| 447 | AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl | ||
| 448 | # test to see if srcdir already configured | ||
| 449 | if test -f $srcdir/config.status; then | ||
| 450 | AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) | ||
| 451 | fi | ||
| 452 | fi | ||
| 453 | |||
| 454 | # test whether we have cygpath | ||
| 455 | if test -z "$CYGPATH_W"; then | ||
| 456 | if (cygpath --version) >/dev/null 2>/dev/null; then | ||
| 457 | CYGPATH_W='cygpath -w' | ||
| 458 | else | ||
| 459 | CYGPATH_W=echo | ||
| 460 | fi | ||
| 461 | fi | ||
| 462 | AC_SUBST([CYGPATH_W]) | ||
| 463 | |||
| 464 | # Define the identity of the package. | ||
| 465 | dnl Distinguish between old-style and new-style calls. | ||
| 466 | m4_ifval([$2], | ||
| 467 | [AC_DIAGNOSE([obsolete], | ||
| 468 | [$0: two- and three-arguments forms are deprecated.]) | ||
| 469 | m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl | ||
| 470 | AC_SUBST([PACKAGE], [$1])dnl | ||
| 471 | AC_SUBST([VERSION], [$2])], | ||
| 472 | [_AM_SET_OPTIONS([$1])dnl | ||
| 473 | dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. | ||
| 474 | m4_if( | ||
| 475 | m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), | ||
| 476 | [ok:ok],, | ||
| 477 | [m4_fatal([AC_INIT should be called with package and version arguments])])dnl | ||
| 478 | AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl | ||
| 479 | AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl | ||
| 480 | |||
| 481 | _AM_IF_OPTION([no-define],, | ||
| 482 | [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) | ||
| 483 | AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl | ||
| 484 | |||
| 485 | # Some tools Automake needs. | ||
| 486 | AC_REQUIRE([AM_SANITY_CHECK])dnl | ||
| 487 | AC_REQUIRE([AC_ARG_PROGRAM])dnl | ||
| 488 | AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) | ||
| 489 | AM_MISSING_PROG([AUTOCONF], [autoconf]) | ||
| 490 | AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) | ||
| 491 | AM_MISSING_PROG([AUTOHEADER], [autoheader]) | ||
| 492 | AM_MISSING_PROG([MAKEINFO], [makeinfo]) | ||
| 493 | AC_REQUIRE([AM_PROG_INSTALL_SH])dnl | ||
| 494 | AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl | ||
| 495 | AC_REQUIRE([AC_PROG_MKDIR_P])dnl | ||
| 496 | # For better backward compatibility. To be removed once Automake 1.9.x | ||
| 497 | # dies out for good. For more background, see: | ||
| 498 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> | ||
| 499 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> | ||
| 500 | AC_SUBST([mkdir_p], ['$(MKDIR_P)']) | ||
| 501 | # We need awk for the "check" target (and possibly the TAP driver). The | ||
| 502 | # system "awk" is bad on some platforms. | ||
| 503 | AC_REQUIRE([AC_PROG_AWK])dnl | ||
| 504 | AC_REQUIRE([AC_PROG_MAKE_SET])dnl | ||
| 505 | AC_REQUIRE([AM_SET_LEADING_DOT])dnl | ||
| 506 | _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], | ||
| 507 | [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], | ||
| 508 | [_AM_PROG_TAR([v7])])]) | ||
| 509 | _AM_IF_OPTION([no-dependencies],, | ||
| 510 | [AC_PROVIDE_IFELSE([AC_PROG_CC], | ||
| 511 | [_AM_DEPENDENCIES([CC])], | ||
| 512 | [m4_define([AC_PROG_CC], | ||
| 513 | m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl | ||
| 514 | AC_PROVIDE_IFELSE([AC_PROG_CXX], | ||
| 515 | [_AM_DEPENDENCIES([CXX])], | ||
| 516 | [m4_define([AC_PROG_CXX], | ||
| 517 | m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl | ||
| 518 | AC_PROVIDE_IFELSE([AC_PROG_OBJC], | ||
| 519 | [_AM_DEPENDENCIES([OBJC])], | ||
| 520 | [m4_define([AC_PROG_OBJC], | ||
| 521 | m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl | ||
| 522 | AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], | ||
| 523 | [_AM_DEPENDENCIES([OBJCXX])], | ||
| 524 | [m4_define([AC_PROG_OBJCXX], | ||
| 525 | m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl | ||
| 526 | ]) | ||
| 527 | AC_REQUIRE([AM_SILENT_RULES])dnl | ||
| 528 | dnl The testsuite driver may need to know about EXEEXT, so add the | ||
| 529 | dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This | ||
| 530 | dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. | ||
| 531 | AC_CONFIG_COMMANDS_PRE(dnl | ||
| 532 | [m4_provide_if([_AM_COMPILER_EXEEXT], | ||
| 533 | [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl | ||
| 534 | |||
| 535 | # POSIX will say in a future version that running "rm -f" with no argument | ||
| 536 | # is OK; and we want to be able to make that assumption in our Makefile | ||
| 537 | # recipes. So use an aggressive probe to check that the usage we want is | ||
| 538 | # actually supported "in the wild" to an acceptable degree. | ||
| 539 | # See automake bug#10828. | ||
| 540 | # To make any issue more visible, cause the running configure to be aborted | ||
| 541 | # by default if the 'rm' program in use doesn't match our expectations; the | ||
| 542 | # user can still override this though. | ||
| 543 | if rm -f && rm -fr && rm -rf; then : OK; else | ||
| 544 | cat >&2 <<'END' | ||
| 545 | Oops! | ||
| 546 | |||
| 547 | Your 'rm' program seems unable to run without file operands specified | ||
| 548 | on the command line, even when the '-f' option is present. This is contrary | ||
| 549 | to the behaviour of most rm programs out there, and not conforming with | ||
| 550 | the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> | ||
| 551 | |||
| 552 | Please tell bug-automake@gnu.org about your system, including the value | ||
| 553 | of your $PATH and any error possibly output before this message. This | ||
| 554 | can help us improve future automake versions. | ||
| 555 | |||
| 556 | END | ||
| 557 | if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then | ||
| 558 | echo 'Configuration will proceed anyway, since you have set the' >&2 | ||
| 559 | echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 | ||
| 560 | echo >&2 | ||
| 561 | else | ||
| 562 | cat >&2 <<'END' | ||
| 563 | Aborting the configuration process, to ensure you take notice of the issue. | ||
| 564 | |||
| 565 | You can download and install GNU coreutils to get an 'rm' implementation | ||
| 566 | that behaves properly: <http://www.gnu.org/software/coreutils/>. | ||
| 567 | |||
| 568 | If you want to complete the configuration process using your problematic | ||
| 569 | 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM | ||
| 570 | to "yes", and re-run configure. | ||
| 571 | |||
| 572 | END | ||
| 573 | AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) | ||
| 574 | fi | ||
| 575 | fi | ||
| 576 | dnl The trailing newline in this macro's definition is deliberate, for | ||
| 577 | dnl backward compatibility and to allow trailing 'dnl'-style comments | ||
| 578 | dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841. | ||
| 579 | ]) | ||
| 580 | |||
| 581 | dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not | ||
| 582 | dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further | ||
| 583 | dnl mangled by Autoconf and run in a shell conditional statement. | ||
| 584 | m4_define([_AC_COMPILER_EXEEXT], | ||
| 585 | m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) | ||
| 586 | |||
| 587 | # When config.status generates a header, we must update the stamp-h file. | ||
| 588 | # This file resides in the same directory as the config header | ||
| 589 | # that is generated. The stamp files are numbered to have different names. | ||
| 590 | |||
| 591 | # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the | ||
| 592 | # loop where config.status creates the headers, so we can generate | ||
| 593 | # our stamp files there. | ||
| 594 | AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], | ||
| 595 | [# Compute $1's index in $config_headers. | ||
| 596 | _am_arg=$1 | ||
| 597 | _am_stamp_count=1 | ||
| 598 | for _am_header in $config_headers :; do | ||
| 599 | case $_am_header in | ||
| 600 | $_am_arg | $_am_arg:* ) | ||
| 601 | break ;; | ||
| 602 | * ) | ||
| 603 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; | ||
| 604 | esac | ||
| 605 | done | ||
| 606 | echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) | ||
| 607 | |||
| 608 | # Copyright (C) 2001-2017 Free Software Foundation, Inc. | ||
| 609 | # | ||
| 610 | # This file is free software; the Free Software Foundation | ||
| 611 | # gives unlimited permission to copy and/or distribute it, | ||
| 612 | # with or without modifications, as long as this notice is preserved. | ||
| 613 | |||
| 614 | # AM_PROG_INSTALL_SH | ||
| 615 | # ------------------ | ||
| 616 | # Define $install_sh. | ||
| 617 | AC_DEFUN([AM_PROG_INSTALL_SH], | ||
| 618 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | ||
| 619 | if test x"${install_sh+set}" != xset; then | ||
| 620 | case $am_aux_dir in | ||
| 621 | *\ * | *\ *) | ||
| 622 | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; | ||
| 623 | *) | ||
| 624 | install_sh="\${SHELL} $am_aux_dir/install-sh" | ||
| 625 | esac | ||
| 626 | fi | ||
| 627 | AC_SUBST([install_sh])]) | ||
| 628 | |||
| 629 | # Copyright (C) 2003-2017 Free Software Foundation, Inc. | ||
| 630 | # | ||
| 631 | # This file is free software; the Free Software Foundation | ||
| 632 | # gives unlimited permission to copy and/or distribute it, | ||
| 633 | # with or without modifications, as long as this notice is preserved. | ||
| 634 | |||
| 635 | # Check whether the underlying file-system supports filenames | ||
| 636 | # with a leading dot. For instance MS-DOS doesn't. | ||
| 637 | AC_DEFUN([AM_SET_LEADING_DOT], | ||
| 638 | [rm -rf .tst 2>/dev/null | ||
| 639 | mkdir .tst 2>/dev/null | ||
| 640 | if test -d .tst; then | ||
| 641 | am__leading_dot=. | ||
| 642 | else | ||
| 643 | am__leading_dot=_ | ||
| 644 | fi | ||
| 645 | rmdir .tst 2>/dev/null | ||
| 646 | AC_SUBST([am__leading_dot])]) | ||
| 647 | |||
| 648 | # Check to see how 'make' treats includes. -*- Autoconf -*- | ||
| 649 | |||
| 650 | # Copyright (C) 2001-2017 Free Software Foundation, Inc. | ||
| 651 | # | ||
| 652 | # This file is free software; the Free Software Foundation | ||
| 653 | # gives unlimited permission to copy and/or distribute it, | ||
| 654 | # with or without modifications, as long as this notice is preserved. | ||
| 655 | |||
| 656 | # AM_MAKE_INCLUDE() | ||
| 657 | # ----------------- | ||
| 658 | # Check to see how make treats includes. | ||
| 659 | AC_DEFUN([AM_MAKE_INCLUDE], | ||
| 660 | [am_make=${MAKE-make} | ||
| 661 | cat > confinc << 'END' | ||
| 662 | am__doit: | ||
| 663 | @echo this is the am__doit target | ||
| 664 | .PHONY: am__doit | ||
| 665 | END | ||
| 666 | # If we don't find an include directive, just comment out the code. | ||
| 667 | AC_MSG_CHECKING([for style of include used by $am_make]) | ||
| 668 | am__include="#" | ||
| 669 | am__quote= | ||
| 670 | _am_result=none | ||
| 671 | # First try GNU make style include. | ||
| 672 | echo "include confinc" > confmf | ||
| 673 | # Ignore all kinds of additional output from 'make'. | ||
| 674 | case `$am_make -s -f confmf 2> /dev/null` in #( | ||
| 675 | *the\ am__doit\ target*) | ||
| 676 | am__include=include | ||
| 677 | am__quote= | ||
| 678 | _am_result=GNU | ||
| 679 | ;; | ||
| 680 | esac | ||
| 681 | # Now try BSD make style include. | ||
| 682 | if test "$am__include" = "#"; then | ||
| 683 | echo '.include "confinc"' > confmf | ||
| 684 | case `$am_make -s -f confmf 2> /dev/null` in #( | ||
| 685 | *the\ am__doit\ target*) | ||
| 686 | am__include=.include | ||
| 687 | am__quote="\"" | ||
| 688 | _am_result=BSD | ||
| 689 | ;; | ||
| 690 | esac | ||
| 691 | fi | ||
| 692 | AC_SUBST([am__include]) | ||
| 693 | AC_SUBST([am__quote]) | ||
| 694 | AC_MSG_RESULT([$_am_result]) | ||
| 695 | rm -f confinc confmf | ||
| 696 | ]) | ||
| 697 | |||
| 698 | # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- | ||
| 699 | |||
| 700 | # Copyright (C) 1997-2017 Free Software Foundation, Inc. | ||
| 701 | # | ||
| 702 | # This file is free software; the Free Software Foundation | ||
| 703 | # gives unlimited permission to copy and/or distribute it, | ||
| 704 | # with or without modifications, as long as this notice is preserved. | ||
| 705 | |||
| 706 | # AM_MISSING_PROG(NAME, PROGRAM) | ||
| 707 | # ------------------------------ | ||
| 708 | AC_DEFUN([AM_MISSING_PROG], | ||
| 709 | [AC_REQUIRE([AM_MISSING_HAS_RUN]) | ||
| 710 | $1=${$1-"${am_missing_run}$2"} | ||
| 711 | AC_SUBST($1)]) | ||
| 712 | |||
| 713 | # AM_MISSING_HAS_RUN | ||
| 714 | # ------------------ | ||
| 715 | # Define MISSING if not defined so far and test if it is modern enough. | ||
| 716 | # If it is, set am_missing_run to use it, otherwise, to nothing. | ||
| 717 | AC_DEFUN([AM_MISSING_HAS_RUN], | ||
| 718 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | ||
| 719 | AC_REQUIRE_AUX_FILE([missing])dnl | ||
| 720 | if test x"${MISSING+set}" != xset; then | ||
| 721 | case $am_aux_dir in | ||
| 722 | *\ * | *\ *) | ||
| 723 | MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; | ||
| 724 | *) | ||
| 725 | MISSING="\${SHELL} $am_aux_dir/missing" ;; | ||
| 726 | esac | ||
| 727 | fi | ||
| 728 | # Use eval to expand $SHELL | ||
| 729 | if eval "$MISSING --is-lightweight"; then | ||
| 730 | am_missing_run="$MISSING " | ||
| 731 | else | ||
| 732 | am_missing_run= | ||
| 733 | AC_MSG_WARN(['missing' script is too old or missing]) | ||
| 734 | fi | ||
| 735 | ]) | ||
| 736 | |||
| 737 | # Helper functions for option handling. -*- Autoconf -*- | ||
| 738 | |||
| 739 | # Copyright (C) 2001-2017 Free Software Foundation, Inc. | ||
| 740 | # | ||
| 741 | # This file is free software; the Free Software Foundation | ||
| 742 | # gives unlimited permission to copy and/or distribute it, | ||
| 743 | # with or without modifications, as long as this notice is preserved. | ||
| 744 | |||
| 745 | # _AM_MANGLE_OPTION(NAME) | ||
| 746 | # ----------------------- | ||
| 747 | AC_DEFUN([_AM_MANGLE_OPTION], | ||
| 748 | [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) | ||
| 749 | |||
| 750 | # _AM_SET_OPTION(NAME) | ||
| 751 | # -------------------- | ||
| 752 | # Set option NAME. Presently that only means defining a flag for this option. | ||
| 753 | AC_DEFUN([_AM_SET_OPTION], | ||
| 754 | [m4_define(_AM_MANGLE_OPTION([$1]), [1])]) | ||
| 755 | |||
| 756 | # _AM_SET_OPTIONS(OPTIONS) | ||
| 757 | # ------------------------ | ||
| 758 | # OPTIONS is a space-separated list of Automake options. | ||
| 759 | AC_DEFUN([_AM_SET_OPTIONS], | ||
| 760 | [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) | ||
| 761 | |||
| 762 | # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) | ||
| 763 | # ------------------------------------------- | ||
| 764 | # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. | ||
| 765 | AC_DEFUN([_AM_IF_OPTION], | ||
| 766 | [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) | ||
| 767 | |||
| 768 | # Copyright (C) 1999-2017 Free Software Foundation, Inc. | ||
| 769 | # | ||
| 770 | # This file is free software; the Free Software Foundation | ||
| 771 | # gives unlimited permission to copy and/or distribute it, | ||
| 772 | # with or without modifications, as long as this notice is preserved. | ||
| 773 | |||
| 774 | # _AM_PROG_CC_C_O | ||
| 775 | # --------------- | ||
| 776 | # Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC | ||
| 777 | # to automatically call this. | ||
| 778 | AC_DEFUN([_AM_PROG_CC_C_O], | ||
| 779 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | ||
| 780 | AC_REQUIRE_AUX_FILE([compile])dnl | ||
| 781 | AC_LANG_PUSH([C])dnl | ||
| 782 | AC_CACHE_CHECK( | ||
| 783 | [whether $CC understands -c and -o together], | ||
| 784 | [am_cv_prog_cc_c_o], | ||
| 785 | [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) | ||
| 786 | # Make sure it works both with $CC and with simple cc. | ||
| 787 | # Following AC_PROG_CC_C_O, we do the test twice because some | ||
| 788 | # compilers refuse to overwrite an existing .o file with -o, | ||
| 789 | # though they will create one. | ||
| 790 | am_cv_prog_cc_c_o=yes | ||
| 791 | for am_i in 1 2; do | ||
| 792 | if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ | ||
| 793 | && test -f conftest2.$ac_objext; then | ||
| 794 | : OK | ||
| 795 | else | ||
| 796 | am_cv_prog_cc_c_o=no | ||
| 797 | break | ||
| 798 | fi | ||
| 799 | done | ||
| 800 | rm -f core conftest* | ||
| 801 | unset am_i]) | ||
| 802 | if test "$am_cv_prog_cc_c_o" != yes; then | ||
| 803 | # Losing compiler, so override with the script. | ||
| 804 | # FIXME: It is wrong to rewrite CC. | ||
| 805 | # But if we don't then we get into trouble of one sort or another. | ||
| 806 | # A longer-term fix would be to have automake use am__CC in this case, | ||
| 807 | # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" | ||
| 808 | CC="$am_aux_dir/compile $CC" | ||
| 809 | fi | ||
| 810 | AC_LANG_POP([C])]) | ||
| 811 | |||
| 812 | # For backward compatibility. | ||
| 813 | AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) | ||
| 814 | |||
| 815 | # Copyright (C) 2001-2017 Free Software Foundation, Inc. | ||
| 816 | # | ||
| 817 | # This file is free software; the Free Software Foundation | ||
| 818 | # gives unlimited permission to copy and/or distribute it, | ||
| 819 | # with or without modifications, as long as this notice is preserved. | ||
| 820 | |||
| 821 | # AM_RUN_LOG(COMMAND) | ||
| 822 | # ------------------- | ||
| 823 | # Run COMMAND, save the exit status in ac_status, and log it. | ||
| 824 | # (This has been adapted from Autoconf's _AC_RUN_LOG macro.) | ||
| 825 | AC_DEFUN([AM_RUN_LOG], | ||
| 826 | [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD | ||
| 827 | ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD | ||
| 828 | ac_status=$? | ||
| 829 | echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD | ||
| 830 | (exit $ac_status); }]) | ||
| 831 | |||
| 832 | # Check to make sure that the build environment is sane. -*- Autoconf -*- | ||
| 833 | |||
| 834 | # Copyright (C) 1996-2017 Free Software Foundation, Inc. | ||
| 835 | # | ||
| 836 | # This file is free software; the Free Software Foundation | ||
| 837 | # gives unlimited permission to copy and/or distribute it, | ||
| 838 | # with or without modifications, as long as this notice is preserved. | ||
| 839 | |||
| 840 | # AM_SANITY_CHECK | ||
| 841 | # --------------- | ||
| 842 | AC_DEFUN([AM_SANITY_CHECK], | ||
| 843 | [AC_MSG_CHECKING([whether build environment is sane]) | ||
| 844 | # Reject unsafe characters in $srcdir or the absolute working directory | ||
| 845 | # name. Accept space and tab only in the latter. | ||
| 846 | am_lf=' | ||
| 847 | ' | ||
| 848 | case `pwd` in | ||
| 849 | *[[\\\"\#\$\&\'\`$am_lf]]*) | ||
| 850 | AC_MSG_ERROR([unsafe absolute working directory name]);; | ||
| 851 | esac | ||
| 852 | case $srcdir in | ||
| 853 | *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) | ||
| 854 | AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; | ||
| 855 | esac | ||
| 856 | |||
| 857 | # Do 'set' in a subshell so we don't clobber the current shell's | ||
| 858 | # arguments. Must try -L first in case configure is actually a | ||
| 859 | # symlink; some systems play weird games with the mod time of symlinks | ||
| 860 | # (eg FreeBSD returns the mod time of the symlink's containing | ||
| 861 | # directory). | ||
| 862 | if ( | ||
| 863 | am_has_slept=no | ||
| 864 | for am_try in 1 2; do | ||
| 865 | echo "timestamp, slept: $am_has_slept" > conftest.file | ||
| 866 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | ||
| 867 | if test "$[*]" = "X"; then | ||
| 868 | # -L didn't work. | ||
| 869 | set X `ls -t "$srcdir/configure" conftest.file` | ||
| 870 | fi | ||
| 871 | if test "$[*]" != "X $srcdir/configure conftest.file" \ | ||
| 872 | && test "$[*]" != "X conftest.file $srcdir/configure"; then | ||
| 873 | |||
| 874 | # If neither matched, then we have a broken ls. This can happen | ||
| 875 | # if, for instance, CONFIG_SHELL is bash and it inherits a | ||
| 876 | # broken ls alias from the environment. This has actually | ||
| 877 | # happened. Such a system could not be considered "sane". | ||
| 878 | AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken | ||
| 879 | alias in your environment]) | ||
| 880 | fi | ||
| 881 | if test "$[2]" = conftest.file || test $am_try -eq 2; then | ||
| 882 | break | ||
| 883 | fi | ||
| 884 | # Just in case. | ||
| 885 | sleep 1 | ||
| 886 | am_has_slept=yes | ||
| 887 | done | ||
| 888 | test "$[2]" = conftest.file | ||
| 889 | ) | ||
| 890 | then | ||
| 891 | # Ok. | ||
| 892 | : | ||
| 893 | else | ||
| 894 | AC_MSG_ERROR([newly created file is older than distributed files! | ||
| 895 | Check your system clock]) | ||
| 896 | fi | ||
| 897 | AC_MSG_RESULT([yes]) | ||
| 898 | # If we didn't sleep, we still need to ensure time stamps of config.status and | ||
| 899 | # generated files are strictly newer. | ||
| 900 | am_sleep_pid= | ||
| 901 | if grep 'slept: no' conftest.file >/dev/null 2>&1; then | ||
| 902 | ( sleep 1 ) & | ||
| 903 | am_sleep_pid=$! | ||
| 904 | fi | ||
| 905 | AC_CONFIG_COMMANDS_PRE( | ||
| 906 | [AC_MSG_CHECKING([that generated files are newer than configure]) | ||
| 907 | if test -n "$am_sleep_pid"; then | ||
| 908 | # Hide warnings about reused PIDs. | ||
| 909 | wait $am_sleep_pid 2>/dev/null | ||
| 910 | fi | ||
| 911 | AC_MSG_RESULT([done])]) | ||
| 912 | rm -f conftest.file | ||
| 913 | ]) | ||
| 914 | |||
| 915 | # Copyright (C) 2009-2017 Free Software Foundation, Inc. | ||
| 916 | # | ||
| 917 | # This file is free software; the Free Software Foundation | ||
| 918 | # gives unlimited permission to copy and/or distribute it, | ||
| 919 | # with or without modifications, as long as this notice is preserved. | ||
| 920 | |||
| 921 | # AM_SILENT_RULES([DEFAULT]) | ||
| 922 | # -------------------------- | ||
| 923 | # Enable less verbose build rules; with the default set to DEFAULT | ||
| 924 | # ("yes" being less verbose, "no" or empty being verbose). | ||
| 925 | AC_DEFUN([AM_SILENT_RULES], | ||
| 926 | [AC_ARG_ENABLE([silent-rules], [dnl | ||
| 927 | AS_HELP_STRING( | ||
| 928 | [--enable-silent-rules], | ||
| 929 | [less verbose build output (undo: "make V=1")]) | ||
| 930 | AS_HELP_STRING( | ||
| 931 | [--disable-silent-rules], | ||
| 932 | [verbose build output (undo: "make V=0")])dnl | ||
| 933 | ]) | ||
| 934 | case $enable_silent_rules in @%:@ ((( | ||
| 935 | yes) AM_DEFAULT_VERBOSITY=0;; | ||
| 936 | no) AM_DEFAULT_VERBOSITY=1;; | ||
| 937 | *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; | ||
| 938 | esac | ||
| 939 | dnl | ||
| 940 | dnl A few 'make' implementations (e.g., NonStop OS and NextStep) | ||
| 941 | dnl do not support nested variable expansions. | ||
| 942 | dnl See automake bug#9928 and bug#10237. | ||
| 943 | am_make=${MAKE-make} | ||
| 944 | AC_CACHE_CHECK([whether $am_make supports nested variables], | ||
| 945 | [am_cv_make_support_nested_variables], | ||
| 946 | [if AS_ECHO([['TRUE=$(BAR$(V)) | ||
| 947 | BAR0=false | ||
| 948 | BAR1=true | ||
| 949 | V=1 | ||
| 950 | am__doit: | ||
| 951 | @$(TRUE) | ||
| 952 | .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then | ||
| 953 | am_cv_make_support_nested_variables=yes | ||
| 954 | else | ||
| 955 | am_cv_make_support_nested_variables=no | ||
| 956 | fi]) | ||
| 957 | if test $am_cv_make_support_nested_variables = yes; then | ||
| 958 | dnl Using '$V' instead of '$(V)' breaks IRIX make. | ||
| 959 | AM_V='$(V)' | ||
| 960 | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' | ||
| 961 | else | ||
| 962 | AM_V=$AM_DEFAULT_VERBOSITY | ||
| 963 | AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY | ||
| 964 | fi | ||
| 965 | AC_SUBST([AM_V])dnl | ||
| 966 | AM_SUBST_NOTMAKE([AM_V])dnl | ||
| 967 | AC_SUBST([AM_DEFAULT_V])dnl | ||
| 968 | AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl | ||
| 969 | AC_SUBST([AM_DEFAULT_VERBOSITY])dnl | ||
| 970 | AM_BACKSLASH='\' | ||
| 971 | AC_SUBST([AM_BACKSLASH])dnl | ||
| 972 | _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl | ||
| 973 | ]) | ||
| 974 | |||
| 975 | # Copyright (C) 2001-2017 Free Software Foundation, Inc. | ||
| 976 | # | ||
| 977 | # This file is free software; the Free Software Foundation | ||
| 978 | # gives unlimited permission to copy and/or distribute it, | ||
| 979 | # with or without modifications, as long as this notice is preserved. | ||
| 980 | |||
| 981 | # AM_PROG_INSTALL_STRIP | ||
| 982 | # --------------------- | ||
| 983 | # One issue with vendor 'install' (even GNU) is that you can't | ||
| 984 | # specify the program used to strip binaries. This is especially | ||
| 985 | # annoying in cross-compiling environments, where the build's strip | ||
| 986 | # is unlikely to handle the host's binaries. | ||
| 987 | # Fortunately install-sh will honor a STRIPPROG variable, so we | ||
| 988 | # always use install-sh in "make install-strip", and initialize | ||
| 989 | # STRIPPROG with the value of the STRIP variable (set by the user). | ||
| 990 | AC_DEFUN([AM_PROG_INSTALL_STRIP], | ||
| 991 | [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl | ||
| 992 | # Installed binaries are usually stripped using 'strip' when the user | ||
| 993 | # run "make install-strip". However 'strip' might not be the right | ||
| 994 | # tool to use in cross-compilation environments, therefore Automake | ||
| 995 | # will honor the 'STRIP' environment variable to overrule this program. | ||
| 996 | dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. | ||
| 997 | if test "$cross_compiling" != no; then | ||
| 998 | AC_CHECK_TOOL([STRIP], [strip], :) | ||
| 999 | fi | ||
| 1000 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | ||
| 1001 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) | ||
| 1002 | |||
| 1003 | # Copyright (C) 2006-2017 Free Software Foundation, Inc. | ||
| 1004 | # | ||
| 1005 | # This file is free software; the Free Software Foundation | ||
| 1006 | # gives unlimited permission to copy and/or distribute it, | ||
| 1007 | # with or without modifications, as long as this notice is preserved. | ||
| 1008 | |||
| 1009 | # _AM_SUBST_NOTMAKE(VARIABLE) | ||
| 1010 | # --------------------------- | ||
| 1011 | # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. | ||
| 1012 | # This macro is traced by Automake. | ||
| 1013 | AC_DEFUN([_AM_SUBST_NOTMAKE]) | ||
| 1014 | |||
| 1015 | # AM_SUBST_NOTMAKE(VARIABLE) | ||
| 1016 | # -------------------------- | ||
| 1017 | # Public sister of _AM_SUBST_NOTMAKE. | ||
| 1018 | AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) | ||
| 1019 | |||
| 1020 | # Check how to create a tarball. -*- Autoconf -*- | ||
| 1021 | |||
| 1022 | # Copyright (C) 2004-2017 Free Software Foundation, Inc. | ||
| 1023 | # | ||
| 1024 | # This file is free software; the Free Software Foundation | ||
| 1025 | # gives unlimited permission to copy and/or distribute it, | ||
| 1026 | # with or without modifications, as long as this notice is preserved. | ||
| 1027 | |||
| 1028 | # _AM_PROG_TAR(FORMAT) | ||
| 1029 | # -------------------- | ||
| 1030 | # Check how to create a tarball in format FORMAT. | ||
| 1031 | # FORMAT should be one of 'v7', 'ustar', or 'pax'. | ||
| 1032 | # | ||
| 1033 | # Substitute a variable $(am__tar) that is a command | ||
| 1034 | # writing to stdout a FORMAT-tarball containing the directory | ||
| 1035 | # $tardir. | ||
| 1036 | # tardir=directory && $(am__tar) > result.tar | ||
| 1037 | # | ||
| 1038 | # Substitute a variable $(am__untar) that extract such | ||
| 1039 | # a tarball read from stdin. | ||
| 1040 | # $(am__untar) < result.tar | ||
| 1041 | # | ||
| 1042 | AC_DEFUN([_AM_PROG_TAR], | ||
| 1043 | [# Always define AMTAR for backward compatibility. Yes, it's still used | ||
| 1044 | # in the wild :-( We should find a proper way to deprecate it ... | ||
| 1045 | AC_SUBST([AMTAR], ['$${TAR-tar}']) | ||
| 1046 | |||
| 1047 | # We'll loop over all known methods to create a tar archive until one works. | ||
| 1048 | _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' | ||
| 1049 | |||
| 1050 | m4_if([$1], [v7], | ||
| 1051 | [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], | ||
| 1052 | |||
| 1053 | [m4_case([$1], | ||
| 1054 | [ustar], | ||
| 1055 | [# The POSIX 1988 'ustar' format is defined with fixed-size fields. | ||
| 1056 | # There is notably a 21 bits limit for the UID and the GID. In fact, | ||
| 1057 | # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 | ||
| 1058 | # and bug#13588). | ||
| 1059 | am_max_uid=2097151 # 2^21 - 1 | ||
| 1060 | am_max_gid=$am_max_uid | ||
| 1061 | # The $UID and $GID variables are not portable, so we need to resort | ||
| 1062 | # to the POSIX-mandated id(1) utility. Errors in the 'id' calls | ||
| 1063 | # below are definitely unexpected, so allow the users to see them | ||
| 1064 | # (that is, avoid stderr redirection). | ||
| 1065 | am_uid=`id -u || echo unknown` | ||
| 1066 | am_gid=`id -g || echo unknown` | ||
| 1067 | AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) | ||
| 1068 | if test $am_uid -le $am_max_uid; then | ||
| 1069 | AC_MSG_RESULT([yes]) | ||
| 1070 | else | ||
| 1071 | AC_MSG_RESULT([no]) | ||
| 1072 | _am_tools=none | ||
| 1073 | fi | ||
| 1074 | AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) | ||
| 1075 | if test $am_gid -le $am_max_gid; then | ||
| 1076 | AC_MSG_RESULT([yes]) | ||
| 1077 | else | ||
| 1078 | AC_MSG_RESULT([no]) | ||
| 1079 | _am_tools=none | ||
| 1080 | fi], | ||
| 1081 | |||
| 1082 | [pax], | ||
| 1083 | [], | ||
| 1084 | |||
| 1085 | [m4_fatal([Unknown tar format])]) | ||
| 1086 | |||
| 1087 | AC_MSG_CHECKING([how to create a $1 tar archive]) | ||
| 1088 | |||
| 1089 | # Go ahead even if we have the value already cached. We do so because we | ||
| 1090 | # need to set the values for the 'am__tar' and 'am__untar' variables. | ||
| 1091 | _am_tools=${am_cv_prog_tar_$1-$_am_tools} | ||
| 1092 | |||
| 1093 | for _am_tool in $_am_tools; do | ||
| 1094 | case $_am_tool in | ||
| 1095 | gnutar) | ||
| 1096 | for _am_tar in tar gnutar gtar; do | ||
| 1097 | AM_RUN_LOG([$_am_tar --version]) && break | ||
| 1098 | done | ||
| 1099 | am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' | ||
| 1100 | am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' | ||
| 1101 | am__untar="$_am_tar -xf -" | ||
| 1102 | ;; | ||
| 1103 | plaintar) | ||
| 1104 | # Must skip GNU tar: if it does not support --format= it doesn't create | ||
| 1105 | # ustar tarball either. | ||
| 1106 | (tar --version) >/dev/null 2>&1 && continue | ||
| 1107 | am__tar='tar chf - "$$tardir"' | ||
| 1108 | am__tar_='tar chf - "$tardir"' | ||
| 1109 | am__untar='tar xf -' | ||
| 1110 | ;; | ||
| 1111 | pax) | ||
| 1112 | am__tar='pax -L -x $1 -w "$$tardir"' | ||
| 1113 | am__tar_='pax -L -x $1 -w "$tardir"' | ||
| 1114 | am__untar='pax -r' | ||
| 1115 | ;; | ||
| 1116 | cpio) | ||
| 1117 | am__tar='find "$$tardir" -print | cpio -o -H $1 -L' | ||
| 1118 | am__tar_='find "$tardir" -print | cpio -o -H $1 -L' | ||
| 1119 | am__untar='cpio -i -H $1 -d' | ||
| 1120 | ;; | ||
| 1121 | none) | ||
| 1122 | am__tar=false | ||
| 1123 | am__tar_=false | ||
| 1124 | am__untar=false | ||
| 1125 | ;; | ||
| 1126 | esac | ||
| 1127 | |||
| 1128 | # If the value was cached, stop now. We just wanted to have am__tar | ||
| 1129 | # and am__untar set. | ||
| 1130 | test -n "${am_cv_prog_tar_$1}" && break | ||
| 1131 | |||
| 1132 | # tar/untar a dummy directory, and stop if the command works. | ||
| 1133 | rm -rf conftest.dir | ||
| 1134 | mkdir conftest.dir | ||
| 1135 | echo GrepMe > conftest.dir/file | ||
| 1136 | AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) | ||
| 1137 | rm -rf conftest.dir | ||
| 1138 | if test -s conftest.tar; then | ||
| 1139 | AM_RUN_LOG([$am__untar <conftest.tar]) | ||
| 1140 | AM_RUN_LOG([cat conftest.dir/file]) | ||
| 1141 | grep GrepMe conftest.dir/file >/dev/null 2>&1 && break | ||
| 1142 | fi | ||
| 1143 | done | ||
| 1144 | rm -rf conftest.dir | ||
| 1145 | |||
| 1146 | AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) | ||
| 1147 | AC_MSG_RESULT([$am_cv_prog_tar_$1])]) | ||
| 1148 | |||
| 1149 | AC_SUBST([am__tar]) | ||
| 1150 | AC_SUBST([am__untar]) | ||
| 1151 | ]) # _AM_PROG_TAR | ||
| 1152 | |||
diff --git a/configure b/configure deleted file mode 100755 index a232794..0000000 --- a/configure +++ /dev/null | |||
| @@ -1,5974 +0,0 @@ | |||
| 1 | #! /bin/sh | ||
| 2 | # Guess values for system-dependent variables and create Makefiles. | ||
| 3 | # Generated by GNU Autoconf 2.69 for life 1.6.0. | ||
| 4 | # | ||
| 5 | # Report bugs to <aiden.woodruff@gmail.com>. | ||
| 6 | # | ||
| 7 | # | ||
| 8 | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. | ||
| 9 | # | ||
| 10 | # | ||
| 11 | # This configure script is free software; the Free Software Foundation | ||
| 12 | # gives unlimited permission to copy, distribute and modify it. | ||
| 13 | ## -------------------- ## | ||
| 14 | ## M4sh Initialization. ## | ||
| 15 | ## -------------------- ## | ||
| 16 | |||
| 17 | # Be more Bourne compatible | ||
| 18 | DUALCASE=1; export DUALCASE # for MKS sh | ||
| 19 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | ||
| 20 | emulate sh | ||
| 21 | NULLCMD=: | ||
| 22 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | ||
| 23 | # is contrary to our usage. Disable this feature. | ||
| 24 | alias -g '${1+"$@"}'='"$@"' | ||
| 25 | setopt NO_GLOB_SUBST | ||
| 26 | else | ||
| 27 | case `(set -o) 2>/dev/null` in #( | ||
| 28 | *posix*) : | ||
| 29 | set -o posix ;; #( | ||
| 30 | *) : | ||
| 31 | ;; | ||
| 32 | esac | ||
| 33 | fi | ||
| 34 | |||
| 35 | |||
| 36 | as_nl=' | ||
| 37 | ' | ||
| 38 | export as_nl | ||
| 39 | # Printing a long string crashes Solaris 7 /usr/bin/printf. | ||
| 40 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | ||
| 41 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | ||
| 42 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | ||
| 43 | # Prefer a ksh shell builtin over an external printf program on Solaris, | ||
| 44 | # but without wasting forks for bash or zsh. | ||
| 45 | if test -z "$BASH_VERSION$ZSH_VERSION" \ | ||
| 46 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | ||
| 47 | as_echo='print -r --' | ||
| 48 | as_echo_n='print -rn --' | ||
| 49 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | ||
| 50 | as_echo='printf %s\n' | ||
| 51 | as_echo_n='printf %s' | ||
| 52 | else | ||
| 53 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | ||
| 54 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | ||
| 55 | as_echo_n='/usr/ucb/echo -n' | ||
| 56 | else | ||
| 57 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | ||
| 58 | as_echo_n_body='eval | ||
| 59 | arg=$1; | ||
| 60 | case $arg in #( | ||
| 61 | *"$as_nl"*) | ||
| 62 | expr "X$arg" : "X\\(.*\\)$as_nl"; | ||
| 63 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | ||
| 64 | esac; | ||
| 65 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | ||
| 66 | ' | ||
| 67 | export as_echo_n_body | ||
| 68 | as_echo_n='sh -c $as_echo_n_body as_echo' | ||
| 69 | fi | ||
| 70 | export as_echo_body | ||
| 71 | as_echo='sh -c $as_echo_body as_echo' | ||
| 72 | fi | ||
| 73 | |||
| 74 | # The user is always right. | ||
| 75 | if test "${PATH_SEPARATOR+set}" != set; then | ||
| 76 | PATH_SEPARATOR=: | ||
| 77 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | ||
| 78 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | ||
| 79 | PATH_SEPARATOR=';' | ||
| 80 | } | ||
| 81 | fi | ||
| 82 | |||
| 83 | |||
| 84 | # IFS | ||
| 85 | # We need space, tab and new line, in precisely that order. Quoting is | ||
| 86 | # there to prevent editors from complaining about space-tab. | ||
| 87 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | ||
| 88 | # splitting by setting IFS to empty value.) | ||
| 89 | IFS=" "" $as_nl" | ||
| 90 | |||
| 91 | # Find who we are. Look in the path if we contain no directory separator. | ||
| 92 | as_myself= | ||
| 93 | case $0 in #(( | ||
| 94 | *[\\/]* ) as_myself=$0 ;; | ||
| 95 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 96 | for as_dir in $PATH | ||
| 97 | do | ||
| 98 | IFS=$as_save_IFS | ||
| 99 | test -z "$as_dir" && as_dir=. | ||
| 100 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | ||
| 101 | done | ||
| 102 | IFS=$as_save_IFS | ||
| 103 | |||
| 104 | ;; | ||
| 105 | esac | ||
| 106 | # We did not find ourselves, most probably we were run as `sh COMMAND' | ||
| 107 | # in which case we are not to be found in the path. | ||
| 108 | if test "x$as_myself" = x; then | ||
| 109 | as_myself=$0 | ||
| 110 | fi | ||
| 111 | if test ! -f "$as_myself"; then | ||
| 112 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | ||
| 113 | exit 1 | ||
| 114 | fi | ||
| 115 | |||
| 116 | # Unset variables that we do not need and which cause bugs (e.g. in | ||
| 117 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | ||
| 118 | # suppresses any "Segmentation fault" message there. '((' could | ||
| 119 | # trigger a bug in pdksh 5.2.14. | ||
| 120 | for as_var in BASH_ENV ENV MAIL MAILPATH | ||
| 121 | do eval test x\${$as_var+set} = xset \ | ||
| 122 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | ||
| 123 | done | ||
| 124 | PS1='$ ' | ||
| 125 | PS2='> ' | ||
| 126 | PS4='+ ' | ||
| 127 | |||
| 128 | # NLS nuisances. | ||
| 129 | LC_ALL=C | ||
| 130 | export LC_ALL | ||
| 131 | LANGUAGE=C | ||
| 132 | export LANGUAGE | ||
| 133 | |||
| 134 | # CDPATH. | ||
| 135 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | ||
| 136 | |||
| 137 | # Use a proper internal environment variable to ensure we don't fall | ||
| 138 | # into an infinite loop, continuously re-executing ourselves. | ||
| 139 | if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then | ||
| 140 | _as_can_reexec=no; export _as_can_reexec; | ||
| 141 | # We cannot yet assume a decent shell, so we have to provide a | ||
| 142 | # neutralization value for shells without unset; and this also | ||
| 143 | # works around shells that cannot unset nonexistent variables. | ||
| 144 | # Preserve -v and -x to the replacement shell. | ||
| 145 | BASH_ENV=/dev/null | ||
| 146 | ENV=/dev/null | ||
| 147 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | ||
| 148 | case $- in # (((( | ||
| 149 | *v*x* | *x*v* ) as_opts=-vx ;; | ||
| 150 | *v* ) as_opts=-v ;; | ||
| 151 | *x* ) as_opts=-x ;; | ||
| 152 | * ) as_opts= ;; | ||
| 153 | esac | ||
| 154 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | ||
| 155 | # Admittedly, this is quite paranoid, since all the known shells bail | ||
| 156 | # out after a failed `exec'. | ||
| 157 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 | ||
| 158 | as_fn_exit 255 | ||
| 159 | fi | ||
| 160 | # We don't want this to propagate to other subprocesses. | ||
| 161 | { _as_can_reexec=; unset _as_can_reexec;} | ||
| 162 | if test "x$CONFIG_SHELL" = x; then | ||
| 163 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : | ||
| 164 | emulate sh | ||
| 165 | NULLCMD=: | ||
| 166 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which | ||
| 167 | # is contrary to our usage. Disable this feature. | ||
| 168 | alias -g '\${1+\"\$@\"}'='\"\$@\"' | ||
| 169 | setopt NO_GLOB_SUBST | ||
| 170 | else | ||
| 171 | case \`(set -o) 2>/dev/null\` in #( | ||
| 172 | *posix*) : | ||
| 173 | set -o posix ;; #( | ||
| 174 | *) : | ||
| 175 | ;; | ||
| 176 | esac | ||
| 177 | fi | ||
| 178 | " | ||
| 179 | as_required="as_fn_return () { (exit \$1); } | ||
| 180 | as_fn_success () { as_fn_return 0; } | ||
| 181 | as_fn_failure () { as_fn_return 1; } | ||
| 182 | as_fn_ret_success () { return 0; } | ||
| 183 | as_fn_ret_failure () { return 1; } | ||
| 184 | |||
| 185 | exitcode=0 | ||
| 186 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } | ||
| 187 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } | ||
| 188 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } | ||
| 189 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } | ||
| 190 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : | ||
| 191 | |||
| 192 | else | ||
| 193 | exitcode=1; echo positional parameters were not saved. | ||
| 194 | fi | ||
| 195 | test x\$exitcode = x0 || exit 1 | ||
| 196 | test -x / || exit 1" | ||
| 197 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO | ||
| 198 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO | ||
| 199 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && | ||
| 200 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 | ||
| 201 | test \$(( 1 + 1 )) = 2 || exit 1" | ||
| 202 | if (eval "$as_required") 2>/dev/null; then : | ||
| 203 | as_have_required=yes | ||
| 204 | else | ||
| 205 | as_have_required=no | ||
| 206 | fi | ||
| 207 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : | ||
| 208 | |||
| 209 | else | ||
| 210 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 211 | as_found=false | ||
| 212 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | ||
| 213 | do | ||
| 214 | IFS=$as_save_IFS | ||
| 215 | test -z "$as_dir" && as_dir=. | ||
| 216 | as_found=: | ||
| 217 | case $as_dir in #( | ||
| 218 | /*) | ||
| 219 | for as_base in sh bash ksh sh5; do | ||
| 220 | # Try only shells that exist, to save several forks. | ||
| 221 | as_shell=$as_dir/$as_base | ||
| 222 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | ||
| 223 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : | ||
| 224 | CONFIG_SHELL=$as_shell as_have_required=yes | ||
| 225 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : | ||
| 226 | break 2 | ||
| 227 | fi | ||
| 228 | fi | ||
| 229 | done;; | ||
| 230 | esac | ||
| 231 | as_found=false | ||
| 232 | done | ||
| 233 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && | ||
| 234 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : | ||
| 235 | CONFIG_SHELL=$SHELL as_have_required=yes | ||
| 236 | fi; } | ||
| 237 | IFS=$as_save_IFS | ||
| 238 | |||
| 239 | |||
| 240 | if test "x$CONFIG_SHELL" != x; then : | ||
| 241 | export CONFIG_SHELL | ||
| 242 | # We cannot yet assume a decent shell, so we have to provide a | ||
| 243 | # neutralization value for shells without unset; and this also | ||
| 244 | # works around shells that cannot unset nonexistent variables. | ||
| 245 | # Preserve -v and -x to the replacement shell. | ||
| 246 | BASH_ENV=/dev/null | ||
| 247 | ENV=/dev/null | ||
| 248 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | ||
| 249 | case $- in # (((( | ||
| 250 | *v*x* | *x*v* ) as_opts=-vx ;; | ||
| 251 | *v* ) as_opts=-v ;; | ||
| 252 | *x* ) as_opts=-x ;; | ||
| 253 | * ) as_opts= ;; | ||
| 254 | esac | ||
| 255 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | ||
| 256 | # Admittedly, this is quite paranoid, since all the known shells bail | ||
| 257 | # out after a failed `exec'. | ||
| 258 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 | ||
| 259 | exit 255 | ||
| 260 | fi | ||
| 261 | |||
| 262 | if test x$as_have_required = xno; then : | ||
| 263 | $as_echo "$0: This script requires a shell more modern than all" | ||
| 264 | $as_echo "$0: the shells that I found on your system." | ||
| 265 | if test x${ZSH_VERSION+set} = xset ; then | ||
| 266 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" | ||
| 267 | $as_echo "$0: be upgraded to zsh 4.3.4 or later." | ||
| 268 | else | ||
| 269 | $as_echo "$0: Please tell bug-autoconf@gnu.org and | ||
| 270 | $0: aiden.woodruff@gmail.com about your system, including | ||
| 271 | $0: any error possibly output before this message. Then | ||
| 272 | $0: install a modern shell, or manually run the script | ||
| 273 | $0: under such a shell if you do have one." | ||
| 274 | fi | ||
| 275 | exit 1 | ||
| 276 | fi | ||
| 277 | fi | ||
| 278 | fi | ||
| 279 | SHELL=${CONFIG_SHELL-/bin/sh} | ||
| 280 | export SHELL | ||
| 281 | # Unset more variables known to interfere with behavior of common tools. | ||
| 282 | CLICOLOR_FORCE= GREP_OPTIONS= | ||
| 283 | unset CLICOLOR_FORCE GREP_OPTIONS | ||
| 284 | |||
| 285 | ## --------------------- ## | ||
| 286 | ## M4sh Shell Functions. ## | ||
| 287 | ## --------------------- ## | ||
| 288 | # as_fn_unset VAR | ||
| 289 | # --------------- | ||
| 290 | # Portably unset VAR. | ||
| 291 | as_fn_unset () | ||
| 292 | { | ||
| 293 | { eval $1=; unset $1;} | ||
| 294 | } | ||
| 295 | as_unset=as_fn_unset | ||
| 296 | |||
| 297 | # as_fn_set_status STATUS | ||
| 298 | # ----------------------- | ||
| 299 | # Set $? to STATUS, without forking. | ||
| 300 | as_fn_set_status () | ||
| 301 | { | ||
| 302 | return $1 | ||
| 303 | } # as_fn_set_status | ||
| 304 | |||
| 305 | # as_fn_exit STATUS | ||
| 306 | # ----------------- | ||
| 307 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | ||
| 308 | as_fn_exit () | ||
| 309 | { | ||
| 310 | set +e | ||
| 311 | as_fn_set_status $1 | ||
| 312 | exit $1 | ||
| 313 | } # as_fn_exit | ||
| 314 | |||
| 315 | # as_fn_mkdir_p | ||
| 316 | # ------------- | ||
| 317 | # Create "$as_dir" as a directory, including parents if necessary. | ||
| 318 | as_fn_mkdir_p () | ||
| 319 | { | ||
| 320 | |||
| 321 | case $as_dir in #( | ||
| 322 | -*) as_dir=./$as_dir;; | ||
| 323 | esac | ||
| 324 | test -d "$as_dir" || eval $as_mkdir_p || { | ||
| 325 | as_dirs= | ||
| 326 | while :; do | ||
| 327 | case $as_dir in #( | ||
| 328 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | ||
| 329 | *) as_qdir=$as_dir;; | ||
| 330 | esac | ||
| 331 | as_dirs="'$as_qdir' $as_dirs" | ||
| 332 | as_dir=`$as_dirname -- "$as_dir" || | ||
| 333 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
| 334 | X"$as_dir" : 'X\(//\)[^/]' \| \ | ||
| 335 | X"$as_dir" : 'X\(//\)$' \| \ | ||
| 336 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | ||
| 337 | $as_echo X"$as_dir" | | ||
| 338 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
| 339 | s//\1/ | ||
| 340 | q | ||
| 341 | } | ||
| 342 | /^X\(\/\/\)[^/].*/{ | ||
| 343 | s//\1/ | ||
| 344 | q | ||
| 345 | } | ||
| 346 | /^X\(\/\/\)$/{ | ||
| 347 | s//\1/ | ||
| 348 | q | ||
| 349 | } | ||
| 350 | /^X\(\/\).*/{ | ||
| 351 | s//\1/ | ||
| 352 | q | ||
| 353 | } | ||
| 354 | s/.*/./; q'` | ||
| 355 | test -d "$as_dir" && break | ||
| 356 | done | ||
| 357 | test -z "$as_dirs" || eval "mkdir $as_dirs" | ||
| 358 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | ||
| 359 | |||
| 360 | |||
| 361 | } # as_fn_mkdir_p | ||
| 362 | |||
| 363 | # as_fn_executable_p FILE | ||
| 364 | # ----------------------- | ||
| 365 | # Test if FILE is an executable regular file. | ||
| 366 | as_fn_executable_p () | ||
| 367 | { | ||
| 368 | test -f "$1" && test -x "$1" | ||
| 369 | } # as_fn_executable_p | ||
| 370 | # as_fn_append VAR VALUE | ||
| 371 | # ---------------------- | ||
| 372 | # Append the text in VALUE to the end of the definition contained in VAR. Take | ||
| 373 | # advantage of any shell optimizations that allow amortized linear growth over | ||
| 374 | # repeated appends, instead of the typical quadratic growth present in naive | ||
| 375 | # implementations. | ||
| 376 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | ||
| 377 | eval 'as_fn_append () | ||
| 378 | { | ||
| 379 | eval $1+=\$2 | ||
| 380 | }' | ||
| 381 | else | ||
| 382 | as_fn_append () | ||
| 383 | { | ||
| 384 | eval $1=\$$1\$2 | ||
| 385 | } | ||
| 386 | fi # as_fn_append | ||
| 387 | |||
| 388 | # as_fn_arith ARG... | ||
| 389 | # ------------------ | ||
| 390 | # Perform arithmetic evaluation on the ARGs, and store the result in the | ||
| 391 | # global $as_val. Take advantage of shells that can avoid forks. The arguments | ||
| 392 | # must be portable across $(()) and expr. | ||
| 393 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | ||
| 394 | eval 'as_fn_arith () | ||
| 395 | { | ||
| 396 | as_val=$(( $* )) | ||
| 397 | }' | ||
| 398 | else | ||
| 399 | as_fn_arith () | ||
| 400 | { | ||
| 401 | as_val=`expr "$@" || test $? -eq 1` | ||
| 402 | } | ||
| 403 | fi # as_fn_arith | ||
| 404 | |||
| 405 | |||
| 406 | # as_fn_error STATUS ERROR [LINENO LOG_FD] | ||
| 407 | # ---------------------------------------- | ||
| 408 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | ||
| 409 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | ||
| 410 | # script with STATUS, using 1 if that was 0. | ||
| 411 | as_fn_error () | ||
| 412 | { | ||
| 413 | as_status=$1; test $as_status -eq 0 && as_status=1 | ||
| 414 | if test "$4"; then | ||
| 415 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 416 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | ||
| 417 | fi | ||
| 418 | $as_echo "$as_me: error: $2" >&2 | ||
| 419 | as_fn_exit $as_status | ||
| 420 | } # as_fn_error | ||
| 421 | |||
| 422 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
| 423 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
| 424 | as_expr=expr | ||
| 425 | else | ||
| 426 | as_expr=false | ||
| 427 | fi | ||
| 428 | |||
| 429 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | ||
| 430 | as_basename=basename | ||
| 431 | else | ||
| 432 | as_basename=false | ||
| 433 | fi | ||
| 434 | |||
| 435 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | ||
| 436 | as_dirname=dirname | ||
| 437 | else | ||
| 438 | as_dirname=false | ||
| 439 | fi | ||
| 440 | |||
| 441 | as_me=`$as_basename -- "$0" || | ||
| 442 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | ||
| 443 | X"$0" : 'X\(//\)$' \| \ | ||
| 444 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | ||
| 445 | $as_echo X/"$0" | | ||
| 446 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | ||
| 447 | s//\1/ | ||
| 448 | q | ||
| 449 | } | ||
| 450 | /^X\/\(\/\/\)$/{ | ||
| 451 | s//\1/ | ||
| 452 | q | ||
| 453 | } | ||
| 454 | /^X\/\(\/\).*/{ | ||
| 455 | s//\1/ | ||
| 456 | q | ||
| 457 | } | ||
| 458 | s/.*/./; q'` | ||
| 459 | |||
| 460 | # Avoid depending upon Character Ranges. | ||
| 461 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
| 462 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
| 463 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
| 464 | as_cr_digits='0123456789' | ||
| 465 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
| 466 | |||
| 467 | |||
| 468 | as_lineno_1=$LINENO as_lineno_1a=$LINENO | ||
| 469 | as_lineno_2=$LINENO as_lineno_2a=$LINENO | ||
| 470 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && | ||
| 471 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { | ||
| 472 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) | ||
| 473 | sed -n ' | ||
| 474 | p | ||
| 475 | /[$]LINENO/= | ||
| 476 | ' <$as_myself | | ||
| 477 | sed ' | ||
| 478 | s/[$]LINENO.*/&-/ | ||
| 479 | t lineno | ||
| 480 | b | ||
| 481 | :lineno | ||
| 482 | N | ||
| 483 | :loop | ||
| 484 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | ||
| 485 | t loop | ||
| 486 | s/-\n.*// | ||
| 487 | ' >$as_me.lineno && | ||
| 488 | chmod +x "$as_me.lineno" || | ||
| 489 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } | ||
| 490 | |||
| 491 | # If we had to re-execute with $CONFIG_SHELL, we're ensured to have | ||
| 492 | # already done that, so ensure we don't try to do so again and fall | ||
| 493 | # in an infinite loop. This has already happened in practice. | ||
| 494 | _as_can_reexec=no; export _as_can_reexec | ||
| 495 | # Don't try to exec as it changes $[0], causing all sort of problems | ||
| 496 | # (the dirname of $[0] is not the place where we might find the | ||
| 497 | # original and so on. Autoconf is especially sensitive to this). | ||
| 498 | . "./$as_me.lineno" | ||
| 499 | # Exit status is that of the last command. | ||
| 500 | exit | ||
| 501 | } | ||
| 502 | |||
| 503 | ECHO_C= ECHO_N= ECHO_T= | ||
| 504 | case `echo -n x` in #((((( | ||
| 505 | -n*) | ||
| 506 | case `echo 'xy\c'` in | ||
| 507 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | ||
| 508 | xy) ECHO_C='\c';; | ||
| 509 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | ||
| 510 | ECHO_T=' ';; | ||
| 511 | esac;; | ||
| 512 | *) | ||
| 513 | ECHO_N='-n';; | ||
| 514 | esac | ||
| 515 | |||
| 516 | rm -f conf$$ conf$$.exe conf$$.file | ||
| 517 | if test -d conf$$.dir; then | ||
| 518 | rm -f conf$$.dir/conf$$.file | ||
| 519 | else | ||
| 520 | rm -f conf$$.dir | ||
| 521 | mkdir conf$$.dir 2>/dev/null | ||
| 522 | fi | ||
| 523 | if (echo >conf$$.file) 2>/dev/null; then | ||
| 524 | if ln -s conf$$.file conf$$ 2>/dev/null; then | ||
| 525 | as_ln_s='ln -s' | ||
| 526 | # ... but there are two gotchas: | ||
| 527 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | ||
| 528 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | ||
| 529 | # In both cases, we have to default to `cp -pR'. | ||
| 530 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | ||
| 531 | as_ln_s='cp -pR' | ||
| 532 | elif ln conf$$.file conf$$ 2>/dev/null; then | ||
| 533 | as_ln_s=ln | ||
| 534 | else | ||
| 535 | as_ln_s='cp -pR' | ||
| 536 | fi | ||
| 537 | else | ||
| 538 | as_ln_s='cp -pR' | ||
| 539 | fi | ||
| 540 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | ||
| 541 | rmdir conf$$.dir 2>/dev/null | ||
| 542 | |||
| 543 | if mkdir -p . 2>/dev/null; then | ||
| 544 | as_mkdir_p='mkdir -p "$as_dir"' | ||
| 545 | else | ||
| 546 | test -d ./-p && rmdir ./-p | ||
| 547 | as_mkdir_p=false | ||
| 548 | fi | ||
| 549 | |||
| 550 | as_test_x='test -x' | ||
| 551 | as_executable_p=as_fn_executable_p | ||
| 552 | |||
| 553 | # Sed expression to map a string onto a valid CPP name. | ||
| 554 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | ||
| 555 | |||
| 556 | # Sed expression to map a string onto a valid variable name. | ||
| 557 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | ||
| 558 | |||
| 559 | |||
| 560 | test -n "$DJDIR" || exec 7<&0 </dev/null | ||
| 561 | exec 6>&1 | ||
| 562 | |||
| 563 | # Name of the host. | ||
| 564 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, | ||
| 565 | # so uname gets run too. | ||
| 566 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | ||
| 567 | |||
| 568 | # | ||
| 569 | # Initializations. | ||
| 570 | # | ||
| 571 | ac_default_prefix=/usr/local | ||
| 572 | ac_clean_files= | ||
| 573 | ac_config_libobj_dir=. | ||
| 574 | LIBOBJS= | ||
| 575 | cross_compiling=no | ||
| 576 | subdirs= | ||
| 577 | MFLAGS= | ||
| 578 | MAKEFLAGS= | ||
| 579 | |||
| 580 | # Identity of this package. | ||
| 581 | PACKAGE_NAME='life' | ||
| 582 | PACKAGE_TARNAME='life' | ||
| 583 | PACKAGE_VERSION='1.6.0' | ||
| 584 | PACKAGE_STRING='life 1.6.0' | ||
| 585 | PACKAGE_BUGREPORT='aiden.woodruff@gmail.com' | ||
| 586 | PACKAGE_URL='' | ||
| 587 | |||
| 588 | ac_unique_file="src/life.c" | ||
| 589 | # Factoring default headers for most tests. | ||
| 590 | ac_includes_default="\ | ||
| 591 | #include <stdio.h> | ||
| 592 | #ifdef HAVE_SYS_TYPES_H | ||
| 593 | # include <sys/types.h> | ||
| 594 | #endif | ||
| 595 | #ifdef HAVE_SYS_STAT_H | ||
| 596 | # include <sys/stat.h> | ||
| 597 | #endif | ||
| 598 | #ifdef STDC_HEADERS | ||
| 599 | # include <stdlib.h> | ||
| 600 | # include <stddef.h> | ||
| 601 | #else | ||
| 602 | # ifdef HAVE_STDLIB_H | ||
| 603 | # include <stdlib.h> | ||
| 604 | # endif | ||
| 605 | #endif | ||
| 606 | #ifdef HAVE_STRING_H | ||
| 607 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | ||
| 608 | # include <memory.h> | ||
| 609 | # endif | ||
| 610 | # include <string.h> | ||
| 611 | #endif | ||
| 612 | #ifdef HAVE_STRINGS_H | ||
| 613 | # include <strings.h> | ||
| 614 | #endif | ||
| 615 | #ifdef HAVE_INTTYPES_H | ||
| 616 | # include <inttypes.h> | ||
| 617 | #endif | ||
| 618 | #ifdef HAVE_STDINT_H | ||
| 619 | # include <stdint.h> | ||
| 620 | #endif | ||
| 621 | #ifdef HAVE_UNISTD_H | ||
| 622 | # include <unistd.h> | ||
| 623 | #endif" | ||
| 624 | |||
| 625 | ac_subst_vars='am__EXEEXT_FALSE | ||
| 626 | am__EXEEXT_TRUE | ||
| 627 | LTLIBOBJS | ||
| 628 | LIBOBJS | ||
| 629 | AM_BACKSLASH | ||
| 630 | AM_DEFAULT_VERBOSITY | ||
| 631 | AM_DEFAULT_V | ||
| 632 | AM_V | ||
| 633 | am__fastdepCC_FALSE | ||
| 634 | am__fastdepCC_TRUE | ||
| 635 | CCDEPMODE | ||
| 636 | am__nodep | ||
| 637 | AMDEPBACKSLASH | ||
| 638 | AMDEP_FALSE | ||
| 639 | AMDEP_TRUE | ||
| 640 | am__quote | ||
| 641 | am__include | ||
| 642 | DEPDIR | ||
| 643 | am__untar | ||
| 644 | am__tar | ||
| 645 | AMTAR | ||
| 646 | am__leading_dot | ||
| 647 | SET_MAKE | ||
| 648 | AWK | ||
| 649 | mkdir_p | ||
| 650 | MKDIR_P | ||
| 651 | INSTALL_STRIP_PROGRAM | ||
| 652 | STRIP | ||
| 653 | install_sh | ||
| 654 | MAKEINFO | ||
| 655 | AUTOHEADER | ||
| 656 | AUTOMAKE | ||
| 657 | AUTOCONF | ||
| 658 | ACLOCAL | ||
| 659 | VERSION | ||
| 660 | PACKAGE | ||
| 661 | CYGPATH_W | ||
| 662 | am__isrc | ||
| 663 | INSTALL_DATA | ||
| 664 | INSTALL_SCRIPT | ||
| 665 | INSTALL_PROGRAM | ||
| 666 | EGREP | ||
| 667 | GREP | ||
| 668 | CPP | ||
| 669 | OBJEXT | ||
| 670 | EXEEXT | ||
| 671 | ac_ct_CC | ||
| 672 | CPPFLAGS | ||
| 673 | LDFLAGS | ||
| 674 | CFLAGS | ||
| 675 | CC | ||
| 676 | target_alias | ||
| 677 | host_alias | ||
| 678 | build_alias | ||
| 679 | LIBS | ||
| 680 | ECHO_T | ||
| 681 | ECHO_N | ||
| 682 | ECHO_C | ||
| 683 | DEFS | ||
| 684 | mandir | ||
| 685 | localedir | ||
| 686 | libdir | ||
| 687 | psdir | ||
| 688 | pdfdir | ||
| 689 | dvidir | ||
| 690 | htmldir | ||
| 691 | infodir | ||
| 692 | docdir | ||
| 693 | oldincludedir | ||
| 694 | includedir | ||
| 695 | runstatedir | ||
| 696 | localstatedir | ||
| 697 | sharedstatedir | ||
| 698 | sysconfdir | ||
| 699 | datadir | ||
| 700 | datarootdir | ||
| 701 | libexecdir | ||
| 702 | sbindir | ||
| 703 | bindir | ||
| 704 | program_transform_name | ||
| 705 | prefix | ||
| 706 | exec_prefix | ||
| 707 | PACKAGE_URL | ||
| 708 | PACKAGE_BUGREPORT | ||
| 709 | PACKAGE_STRING | ||
| 710 | PACKAGE_VERSION | ||
| 711 | PACKAGE_TARNAME | ||
| 712 | PACKAGE_NAME | ||
| 713 | PATH_SEPARATOR | ||
| 714 | SHELL' | ||
| 715 | ac_subst_files='' | ||
| 716 | ac_user_opts=' | ||
| 717 | enable_option_checking | ||
| 718 | enable_dependency_tracking | ||
| 719 | enable_silent_rules | ||
| 720 | ' | ||
| 721 | ac_precious_vars='build_alias | ||
| 722 | host_alias | ||
| 723 | target_alias | ||
| 724 | CC | ||
| 725 | CFLAGS | ||
| 726 | LDFLAGS | ||
| 727 | LIBS | ||
| 728 | CPPFLAGS | ||
| 729 | CPP' | ||
| 730 | |||
| 731 | |||
| 732 | # Initialize some variables set by options. | ||
| 733 | ac_init_help= | ||
| 734 | ac_init_version=false | ||
| 735 | ac_unrecognized_opts= | ||
| 736 | ac_unrecognized_sep= | ||
| 737 | # The variables have the same names as the options, with | ||
| 738 | # dashes changed to underlines. | ||
| 739 | cache_file=/dev/null | ||
| 740 | exec_prefix=NONE | ||
| 741 | no_create= | ||
| 742 | no_recursion= | ||
| 743 | prefix=NONE | ||
| 744 | program_prefix=NONE | ||
| 745 | program_suffix=NONE | ||
| 746 | program_transform_name=s,x,x, | ||
| 747 | silent= | ||
| 748 | site= | ||
| 749 | srcdir= | ||
| 750 | verbose= | ||
| 751 | x_includes=NONE | ||
| 752 | x_libraries=NONE | ||
| 753 | |||
| 754 | # Installation directory options. | ||
| 755 | # These are left unexpanded so users can "make install exec_prefix=/foo" | ||
| 756 | # and all the variables that are supposed to be based on exec_prefix | ||
| 757 | # by default will actually change. | ||
| 758 | # Use braces instead of parens because sh, perl, etc. also accept them. | ||
| 759 | # (The list follows the same order as the GNU Coding Standards.) | ||
| 760 | bindir='${exec_prefix}/bin' | ||
| 761 | sbindir='${exec_prefix}/sbin' | ||
| 762 | libexecdir='${exec_prefix}/libexec' | ||
| 763 | datarootdir='${prefix}/share' | ||
| 764 | datadir='${datarootdir}' | ||
| 765 | sysconfdir='${prefix}/etc' | ||
| 766 | sharedstatedir='${prefix}/com' | ||
| 767 | localstatedir='${prefix}/var' | ||
| 768 | runstatedir='${localstatedir}/run' | ||
| 769 | includedir='${prefix}/include' | ||
| 770 | oldincludedir='/usr/include' | ||
| 771 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' | ||
| 772 | infodir='${datarootdir}/info' | ||
| 773 | htmldir='${docdir}' | ||
| 774 | dvidir='${docdir}' | ||
| 775 | pdfdir='${docdir}' | ||
| 776 | psdir='${docdir}' | ||
| 777 | libdir='${exec_prefix}/lib' | ||
| 778 | localedir='${datarootdir}/locale' | ||
| 779 | mandir='${datarootdir}/man' | ||
| 780 | |||
| 781 | ac_prev= | ||
| 782 | ac_dashdash= | ||
| 783 | for ac_option | ||
| 784 | do | ||
| 785 | # If the previous option needs an argument, assign it. | ||
| 786 | if test -n "$ac_prev"; then | ||
| 787 | eval $ac_prev=\$ac_option | ||
| 788 | ac_prev= | ||
| 789 | continue | ||
| 790 | fi | ||
| 791 | |||
| 792 | case $ac_option in | ||
| 793 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | ||
| 794 | *=) ac_optarg= ;; | ||
| 795 | *) ac_optarg=yes ;; | ||
| 796 | esac | ||
| 797 | |||
| 798 | # Accept the important Cygnus configure options, so we can diagnose typos. | ||
| 799 | |||
| 800 | case $ac_dashdash$ac_option in | ||
| 801 | --) | ||
| 802 | ac_dashdash=yes ;; | ||
| 803 | |||
| 804 | -bindir | --bindir | --bindi | --bind | --bin | --bi) | ||
| 805 | ac_prev=bindir ;; | ||
| 806 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | ||
| 807 | bindir=$ac_optarg ;; | ||
| 808 | |||
| 809 | -build | --build | --buil | --bui | --bu) | ||
| 810 | ac_prev=build_alias ;; | ||
| 811 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) | ||
| 812 | build_alias=$ac_optarg ;; | ||
| 813 | |||
| 814 | -cache-file | --cache-file | --cache-fil | --cache-fi \ | ||
| 815 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | ||
| 816 | ac_prev=cache_file ;; | ||
| 817 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | ||
| 818 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | ||
| 819 | cache_file=$ac_optarg ;; | ||
| 820 | |||
| 821 | --config-cache | -C) | ||
| 822 | cache_file=config.cache ;; | ||
| 823 | |||
| 824 | -datadir | --datadir | --datadi | --datad) | ||
| 825 | ac_prev=datadir ;; | ||
| 826 | -datadir=* | --datadir=* | --datadi=* | --datad=*) | ||
| 827 | datadir=$ac_optarg ;; | ||
| 828 | |||
| 829 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | ||
| 830 | | --dataroo | --dataro | --datar) | ||
| 831 | ac_prev=datarootdir ;; | ||
| 832 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | ||
| 833 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | ||
| 834 | datarootdir=$ac_optarg ;; | ||
| 835 | |||
| 836 | -disable-* | --disable-*) | ||
| 837 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | ||
| 838 | # Reject names that are not valid shell variable names. | ||
| 839 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | ||
| 840 | as_fn_error $? "invalid feature name: $ac_useropt" | ||
| 841 | ac_useropt_orig=$ac_useropt | ||
| 842 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | ||
| 843 | case $ac_user_opts in | ||
| 844 | *" | ||
| 845 | "enable_$ac_useropt" | ||
| 846 | "*) ;; | ||
| 847 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" | ||
| 848 | ac_unrecognized_sep=', ';; | ||
| 849 | esac | ||
| 850 | eval enable_$ac_useropt=no ;; | ||
| 851 | |||
| 852 | -docdir | --docdir | --docdi | --doc | --do) | ||
| 853 | ac_prev=docdir ;; | ||
| 854 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | ||
| 855 | docdir=$ac_optarg ;; | ||
| 856 | |||
| 857 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | ||
| 858 | ac_prev=dvidir ;; | ||
| 859 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | ||
| 860 | dvidir=$ac_optarg ;; | ||
| 861 | |||
| 862 | -enable-* | --enable-*) | ||
| 863 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | ||
| 864 | # Reject names that are not valid shell variable names. | ||
| 865 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | ||
| 866 | as_fn_error $? "invalid feature name: $ac_useropt" | ||
| 867 | ac_useropt_orig=$ac_useropt | ||
| 868 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | ||
| 869 | case $ac_user_opts in | ||
| 870 | *" | ||
| 871 | "enable_$ac_useropt" | ||
| 872 | "*) ;; | ||
| 873 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" | ||
| 874 | ac_unrecognized_sep=', ';; | ||
| 875 | esac | ||
| 876 | eval enable_$ac_useropt=\$ac_optarg ;; | ||
| 877 | |||
| 878 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | ||
| 879 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | ||
| 880 | | --exec | --exe | --ex) | ||
| 881 | ac_prev=exec_prefix ;; | ||
| 882 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | ||
| 883 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | ||
| 884 | | --exec=* | --exe=* | --ex=*) | ||
| 885 | exec_prefix=$ac_optarg ;; | ||
| 886 | |||
| 887 | -gas | --gas | --ga | --g) | ||
| 888 | # Obsolete; use --with-gas. | ||
| 889 | with_gas=yes ;; | ||
| 890 | |||
| 891 | -help | --help | --hel | --he | -h) | ||
| 892 | ac_init_help=long ;; | ||
| 893 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | ||
| 894 | ac_init_help=recursive ;; | ||
| 895 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | ||
| 896 | ac_init_help=short ;; | ||
| 897 | |||
| 898 | -host | --host | --hos | --ho) | ||
| 899 | ac_prev=host_alias ;; | ||
| 900 | -host=* | --host=* | --hos=* | --ho=*) | ||
| 901 | host_alias=$ac_optarg ;; | ||
| 902 | |||
| 903 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) | ||
| 904 | ac_prev=htmldir ;; | ||
| 905 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | ||
| 906 | | --ht=*) | ||
| 907 | htmldir=$ac_optarg ;; | ||
| 908 | |||
| 909 | -includedir | --includedir | --includedi | --included | --include \ | ||
| 910 | | --includ | --inclu | --incl | --inc) | ||
| 911 | ac_prev=includedir ;; | ||
| 912 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | ||
| 913 | | --includ=* | --inclu=* | --incl=* | --inc=*) | ||
| 914 | includedir=$ac_optarg ;; | ||
| 915 | |||
| 916 | -infodir | --infodir | --infodi | --infod | --info | --inf) | ||
| 917 | ac_prev=infodir ;; | ||
| 918 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | ||
| 919 | infodir=$ac_optarg ;; | ||
| 920 | |||
| 921 | -libdir | --libdir | --libdi | --libd) | ||
| 922 | ac_prev=libdir ;; | ||
| 923 | -libdir=* | --libdir=* | --libdi=* | --libd=*) | ||
| 924 | libdir=$ac_optarg ;; | ||
| 925 | |||
| 926 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | ||
| 927 | | --libexe | --libex | --libe) | ||
| 928 | ac_prev=libexecdir ;; | ||
| 929 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | ||
| 930 | | --libexe=* | --libex=* | --libe=*) | ||
| 931 | libexecdir=$ac_optarg ;; | ||
| 932 | |||
| 933 | -localedir | --localedir | --localedi | --localed | --locale) | ||
| 934 | ac_prev=localedir ;; | ||
| 935 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) | ||
| 936 | localedir=$ac_optarg ;; | ||
| 937 | |||
| 938 | -localstatedir | --localstatedir | --localstatedi | --localstated \ | ||
| 939 | | --localstate | --localstat | --localsta | --localst | --locals) | ||
| 940 | ac_prev=localstatedir ;; | ||
| 941 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | ||
| 942 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) | ||
| 943 | localstatedir=$ac_optarg ;; | ||
| 944 | |||
| 945 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | ||
| 946 | ac_prev=mandir ;; | ||
| 947 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | ||
| 948 | mandir=$ac_optarg ;; | ||
| 949 | |||
| 950 | -nfp | --nfp | --nf) | ||
| 951 | # Obsolete; use --without-fp. | ||
| 952 | with_fp=no ;; | ||
| 953 | |||
| 954 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | ||
| 955 | | --no-cr | --no-c | -n) | ||
| 956 | no_create=yes ;; | ||
| 957 | |||
| 958 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | ||
| 959 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | ||
| 960 | no_recursion=yes ;; | ||
| 961 | |||
| 962 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | ||
| 963 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | ||
| 964 | | --oldin | --oldi | --old | --ol | --o) | ||
| 965 | ac_prev=oldincludedir ;; | ||
| 966 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | ||
| 967 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | ||
| 968 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | ||
| 969 | oldincludedir=$ac_optarg ;; | ||
| 970 | |||
| 971 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | ||
| 972 | ac_prev=prefix ;; | ||
| 973 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | ||
| 974 | prefix=$ac_optarg ;; | ||
| 975 | |||
| 976 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ | ||
| 977 | | --program-pre | --program-pr | --program-p) | ||
| 978 | ac_prev=program_prefix ;; | ||
| 979 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ | ||
| 980 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | ||
| 981 | program_prefix=$ac_optarg ;; | ||
| 982 | |||
| 983 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ | ||
| 984 | | --program-suf | --program-su | --program-s) | ||
| 985 | ac_prev=program_suffix ;; | ||
| 986 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ | ||
| 987 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | ||
| 988 | program_suffix=$ac_optarg ;; | ||
| 989 | |||
| 990 | -program-transform-name | --program-transform-name \ | ||
| 991 | | --program-transform-nam | --program-transform-na \ | ||
| 992 | | --program-transform-n | --program-transform- \ | ||
| 993 | | --program-transform | --program-transfor \ | ||
| 994 | | --program-transfo | --program-transf \ | ||
| 995 | | --program-trans | --program-tran \ | ||
| 996 | | --progr-tra | --program-tr | --program-t) | ||
| 997 | ac_prev=program_transform_name ;; | ||
| 998 | -program-transform-name=* | --program-transform-name=* \ | ||
| 999 | | --program-transform-nam=* | --program-transform-na=* \ | ||
| 1000 | | --program-transform-n=* | --program-transform-=* \ | ||
| 1001 | | --program-transform=* | --program-transfor=* \ | ||
| 1002 | | --program-transfo=* | --program-transf=* \ | ||
| 1003 | | --program-trans=* | --program-tran=* \ | ||
| 1004 | | --progr-tra=* | --program-tr=* | --program-t=*) | ||
| 1005 | program_transform_name=$ac_optarg ;; | ||
| 1006 | |||
| 1007 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) | ||
| 1008 | ac_prev=pdfdir ;; | ||
| 1009 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) | ||
| 1010 | pdfdir=$ac_optarg ;; | ||
| 1011 | |||
| 1012 | -psdir | --psdir | --psdi | --psd | --ps) | ||
| 1013 | ac_prev=psdir ;; | ||
| 1014 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | ||
| 1015 | psdir=$ac_optarg ;; | ||
| 1016 | |||
| 1017 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | ||
| 1018 | | -silent | --silent | --silen | --sile | --sil) | ||
| 1019 | silent=yes ;; | ||
| 1020 | |||
| 1021 | -runstatedir | --runstatedir | --runstatedi | --runstated \ | ||
| 1022 | | --runstate | --runstat | --runsta | --runst | --runs \ | ||
| 1023 | | --run | --ru | --r) | ||
| 1024 | ac_prev=runstatedir ;; | ||
| 1025 | -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ | ||
| 1026 | | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ | ||
| 1027 | | --run=* | --ru=* | --r=*) | ||
| 1028 | runstatedir=$ac_optarg ;; | ||
| 1029 | |||
| 1030 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | ||
| 1031 | ac_prev=sbindir ;; | ||
| 1032 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | ||
| 1033 | | --sbi=* | --sb=*) | ||
| 1034 | sbindir=$ac_optarg ;; | ||
| 1035 | |||
| 1036 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ | ||
| 1037 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | ||
| 1038 | | --sharedst | --shareds | --shared | --share | --shar \ | ||
| 1039 | | --sha | --sh) | ||
| 1040 | ac_prev=sharedstatedir ;; | ||
| 1041 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | ||
| 1042 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | ||
| 1043 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | ||
| 1044 | | --sha=* | --sh=*) | ||
| 1045 | sharedstatedir=$ac_optarg ;; | ||
| 1046 | |||
| 1047 | -site | --site | --sit) | ||
| 1048 | ac_prev=site ;; | ||
| 1049 | -site=* | --site=* | --sit=*) | ||
| 1050 | site=$ac_optarg ;; | ||
| 1051 | |||
| 1052 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | ||
| 1053 | ac_prev=srcdir ;; | ||
| 1054 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | ||
| 1055 | srcdir=$ac_optarg ;; | ||
| 1056 | |||
| 1057 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | ||
| 1058 | | --syscon | --sysco | --sysc | --sys | --sy) | ||
| 1059 | ac_prev=sysconfdir ;; | ||
| 1060 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | ||
| 1061 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | ||
| 1062 | sysconfdir=$ac_optarg ;; | ||
| 1063 | |||
| 1064 | -target | --target | --targe | --targ | --tar | --ta | --t) | ||
| 1065 | ac_prev=target_alias ;; | ||
| 1066 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | ||
| 1067 | target_alias=$ac_optarg ;; | ||
| 1068 | |||
| 1069 | -v | -verbose | --verbose | --verbos | --verbo | --verb) | ||
| 1070 | verbose=yes ;; | ||
| 1071 | |||
| 1072 | -version | --version | --versio | --versi | --vers | -V) | ||
| 1073 | ac_init_version=: ;; | ||
| 1074 | |||
| 1075 | -with-* | --with-*) | ||
| 1076 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | ||
| 1077 | # Reject names that are not valid shell variable names. | ||
| 1078 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | ||
| 1079 | as_fn_error $? "invalid package name: $ac_useropt" | ||
| 1080 | ac_useropt_orig=$ac_useropt | ||
| 1081 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | ||
| 1082 | case $ac_user_opts in | ||
| 1083 | *" | ||
| 1084 | "with_$ac_useropt" | ||
| 1085 | "*) ;; | ||
| 1086 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" | ||
| 1087 | ac_unrecognized_sep=', ';; | ||
| 1088 | esac | ||
| 1089 | eval with_$ac_useropt=\$ac_optarg ;; | ||
| 1090 | |||
| 1091 | -without-* | --without-*) | ||
| 1092 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | ||
| 1093 | # Reject names that are not valid shell variable names. | ||
| 1094 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | ||
| 1095 | as_fn_error $? "invalid package name: $ac_useropt" | ||
| 1096 | ac_useropt_orig=$ac_useropt | ||
| 1097 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | ||
| 1098 | case $ac_user_opts in | ||
| 1099 | *" | ||
| 1100 | "with_$ac_useropt" | ||
| 1101 | "*) ;; | ||
| 1102 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" | ||
| 1103 | ac_unrecognized_sep=', ';; | ||
| 1104 | esac | ||
| 1105 | eval with_$ac_useropt=no ;; | ||
| 1106 | |||
| 1107 | --x) | ||
| 1108 | # Obsolete; use --with-x. | ||
| 1109 | with_x=yes ;; | ||
| 1110 | |||
| 1111 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | ||
| 1112 | | --x-incl | --x-inc | --x-in | --x-i) | ||
| 1113 | ac_prev=x_includes ;; | ||
| 1114 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | ||
| 1115 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | ||
| 1116 | x_includes=$ac_optarg ;; | ||
| 1117 | |||
| 1118 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ | ||
| 1119 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | ||
| 1120 | ac_prev=x_libraries ;; | ||
| 1121 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | ||
| 1122 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | ||
| 1123 | x_libraries=$ac_optarg ;; | ||
| 1124 | |||
| 1125 | -*) as_fn_error $? "unrecognized option: \`$ac_option' | ||
| 1126 | Try \`$0 --help' for more information" | ||
| 1127 | ;; | ||
| 1128 | |||
| 1129 | *=*) | ||
| 1130 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | ||
| 1131 | # Reject names that are not valid shell variable names. | ||
| 1132 | case $ac_envvar in #( | ||
| 1133 | '' | [0-9]* | *[!_$as_cr_alnum]* ) | ||
| 1134 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; | ||
| 1135 | esac | ||
| 1136 | eval $ac_envvar=\$ac_optarg | ||
| 1137 | export $ac_envvar ;; | ||
| 1138 | |||
| 1139 | *) | ||
| 1140 | # FIXME: should be removed in autoconf 3.0. | ||
| 1141 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | ||
| 1142 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | ||
| 1143 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | ||
| 1144 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" | ||
| 1145 | ;; | ||
| 1146 | |||
| 1147 | esac | ||
| 1148 | done | ||
| 1149 | |||
| 1150 | if test -n "$ac_prev"; then | ||
| 1151 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` | ||
| 1152 | as_fn_error $? "missing argument to $ac_option" | ||
| 1153 | fi | ||
| 1154 | |||
| 1155 | if test -n "$ac_unrecognized_opts"; then | ||
| 1156 | case $enable_option_checking in | ||
| 1157 | no) ;; | ||
| 1158 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | ||
| 1159 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | ||
| 1160 | esac | ||
| 1161 | fi | ||
| 1162 | |||
| 1163 | # Check all directory arguments for consistency. | ||
| 1164 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | ||
| 1165 | datadir sysconfdir sharedstatedir localstatedir includedir \ | ||
| 1166 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | ||
| 1167 | libdir localedir mandir runstatedir | ||
| 1168 | do | ||
| 1169 | eval ac_val=\$$ac_var | ||
| 1170 | # Remove trailing slashes. | ||
| 1171 | case $ac_val in | ||
| 1172 | */ ) | ||
| 1173 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` | ||
| 1174 | eval $ac_var=\$ac_val;; | ||
| 1175 | esac | ||
| 1176 | # Be sure to have absolute directory names. | ||
| 1177 | case $ac_val in | ||
| 1178 | [\\/$]* | ?:[\\/]* ) continue;; | ||
| 1179 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | ||
| 1180 | esac | ||
| 1181 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" | ||
| 1182 | done | ||
| 1183 | |||
| 1184 | # There might be people who depend on the old broken behavior: `$host' | ||
| 1185 | # used to hold the argument of --host etc. | ||
| 1186 | # FIXME: To remove some day. | ||
| 1187 | build=$build_alias | ||
| 1188 | host=$host_alias | ||
| 1189 | target=$target_alias | ||
| 1190 | |||
| 1191 | # FIXME: To remove some day. | ||
| 1192 | if test "x$host_alias" != x; then | ||
| 1193 | if test "x$build_alias" = x; then | ||
| 1194 | cross_compiling=maybe | ||
| 1195 | elif test "x$build_alias" != "x$host_alias"; then | ||
| 1196 | cross_compiling=yes | ||
| 1197 | fi | ||
| 1198 | fi | ||
| 1199 | |||
| 1200 | ac_tool_prefix= | ||
| 1201 | test -n "$host_alias" && ac_tool_prefix=$host_alias- | ||
| 1202 | |||
| 1203 | test "$silent" = yes && exec 6>/dev/null | ||
| 1204 | |||
| 1205 | |||
| 1206 | ac_pwd=`pwd` && test -n "$ac_pwd" && | ||
| 1207 | ac_ls_di=`ls -di .` && | ||
| 1208 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | ||
| 1209 | as_fn_error $? "working directory cannot be determined" | ||
| 1210 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | ||
| 1211 | as_fn_error $? "pwd does not report name of working directory" | ||
| 1212 | |||
| 1213 | |||
| 1214 | # Find the source files, if location was not specified. | ||
| 1215 | if test -z "$srcdir"; then | ||
| 1216 | ac_srcdir_defaulted=yes | ||
| 1217 | # Try the directory containing this script, then the parent directory. | ||
| 1218 | ac_confdir=`$as_dirname -- "$as_myself" || | ||
| 1219 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
| 1220 | X"$as_myself" : 'X\(//\)[^/]' \| \ | ||
| 1221 | X"$as_myself" : 'X\(//\)$' \| \ | ||
| 1222 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || | ||
| 1223 | $as_echo X"$as_myself" | | ||
| 1224 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
| 1225 | s//\1/ | ||
| 1226 | q | ||
| 1227 | } | ||
| 1228 | /^X\(\/\/\)[^/].*/{ | ||
| 1229 | s//\1/ | ||
| 1230 | q | ||
| 1231 | } | ||
| 1232 | /^X\(\/\/\)$/{ | ||
| 1233 | s//\1/ | ||
| 1234 | q | ||
| 1235 | } | ||
| 1236 | /^X\(\/\).*/{ | ||
| 1237 | s//\1/ | ||
| 1238 | q | ||
| 1239 | } | ||
| 1240 | s/.*/./; q'` | ||
| 1241 | srcdir=$ac_confdir | ||
| 1242 | if test ! -r "$srcdir/$ac_unique_file"; then | ||
| 1243 | srcdir=.. | ||
| 1244 | fi | ||
| 1245 | else | ||
| 1246 | ac_srcdir_defaulted=no | ||
| 1247 | fi | ||
| 1248 | if test ! -r "$srcdir/$ac_unique_file"; then | ||
| 1249 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | ||
| 1250 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" | ||
| 1251 | fi | ||
| 1252 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | ||
| 1253 | ac_abs_confdir=`( | ||
| 1254 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" | ||
| 1255 | pwd)` | ||
| 1256 | # When building in place, set srcdir=. | ||
| 1257 | if test "$ac_abs_confdir" = "$ac_pwd"; then | ||
| 1258 | srcdir=. | ||
| 1259 | fi | ||
| 1260 | # Remove unnecessary trailing slashes from srcdir. | ||
| 1261 | # Double slashes in file names in object file debugging info | ||
| 1262 | # mess up M-x gdb in Emacs. | ||
| 1263 | case $srcdir in | ||
| 1264 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; | ||
| 1265 | esac | ||
| 1266 | for ac_var in $ac_precious_vars; do | ||
| 1267 | eval ac_env_${ac_var}_set=\${${ac_var}+set} | ||
| 1268 | eval ac_env_${ac_var}_value=\$${ac_var} | ||
| 1269 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} | ||
| 1270 | eval ac_cv_env_${ac_var}_value=\$${ac_var} | ||
| 1271 | done | ||
| 1272 | |||
| 1273 | # | ||
| 1274 | # Report the --help message. | ||
| 1275 | # | ||
| 1276 | if test "$ac_init_help" = "long"; then | ||
| 1277 | # Omit some internal or obsolete options to make the list less imposing. | ||
| 1278 | # This message is too long to be a string in the A/UX 3.1 sh. | ||
| 1279 | cat <<_ACEOF | ||
| 1280 | \`configure' configures life 1.6.0 to adapt to many kinds of systems. | ||
| 1281 | |||
| 1282 | Usage: $0 [OPTION]... [VAR=VALUE]... | ||
| 1283 | |||
| 1284 | To assign environment variables (e.g., CC, CFLAGS...), specify them as | ||
| 1285 | VAR=VALUE. See below for descriptions of some of the useful variables. | ||
| 1286 | |||
| 1287 | Defaults for the options are specified in brackets. | ||
| 1288 | |||
| 1289 | Configuration: | ||
| 1290 | -h, --help display this help and exit | ||
| 1291 | --help=short display options specific to this package | ||
| 1292 | --help=recursive display the short help of all the included packages | ||
| 1293 | -V, --version display version information and exit | ||
| 1294 | -q, --quiet, --silent do not print \`checking ...' messages | ||
| 1295 | --cache-file=FILE cache test results in FILE [disabled] | ||
| 1296 | -C, --config-cache alias for \`--cache-file=config.cache' | ||
| 1297 | -n, --no-create do not create output files | ||
| 1298 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] | ||
| 1299 | |||
| 1300 | Installation directories: | ||
| 1301 | --prefix=PREFIX install architecture-independent files in PREFIX | ||
| 1302 | [$ac_default_prefix] | ||
| 1303 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | ||
| 1304 | [PREFIX] | ||
| 1305 | |||
| 1306 | By default, \`make install' will install all the files in | ||
| 1307 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | ||
| 1308 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', | ||
| 1309 | for instance \`--prefix=\$HOME'. | ||
| 1310 | |||
| 1311 | For better control, use the options below. | ||
| 1312 | |||
| 1313 | Fine tuning of the installation directories: | ||
| 1314 | --bindir=DIR user executables [EPREFIX/bin] | ||
| 1315 | --sbindir=DIR system admin executables [EPREFIX/sbin] | ||
| 1316 | --libexecdir=DIR program executables [EPREFIX/libexec] | ||
| 1317 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | ||
| 1318 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | ||
| 1319 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] | ||
| 1320 | --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] | ||
| 1321 | --libdir=DIR object code libraries [EPREFIX/lib] | ||
| 1322 | --includedir=DIR C header files [PREFIX/include] | ||
| 1323 | --oldincludedir=DIR C header files for non-gcc [/usr/include] | ||
| 1324 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | ||
| 1325 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] | ||
| 1326 | --infodir=DIR info documentation [DATAROOTDIR/info] | ||
| 1327 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | ||
| 1328 | --mandir=DIR man documentation [DATAROOTDIR/man] | ||
| 1329 | --docdir=DIR documentation root [DATAROOTDIR/doc/life] | ||
| 1330 | --htmldir=DIR html documentation [DOCDIR] | ||
| 1331 | --dvidir=DIR dvi documentation [DOCDIR] | ||
| 1332 | --pdfdir=DIR pdf documentation [DOCDIR] | ||
| 1333 | --psdir=DIR ps documentation [DOCDIR] | ||
| 1334 | _ACEOF | ||
| 1335 | |||
| 1336 | cat <<\_ACEOF | ||
| 1337 | |||
| 1338 | Program names: | ||
| 1339 | --program-prefix=PREFIX prepend PREFIX to installed program names | ||
| 1340 | --program-suffix=SUFFIX append SUFFIX to installed program names | ||
| 1341 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names | ||
| 1342 | _ACEOF | ||
| 1343 | fi | ||
| 1344 | |||
| 1345 | if test -n "$ac_init_help"; then | ||
| 1346 | case $ac_init_help in | ||
| 1347 | short | recursive ) echo "Configuration of life 1.6.0:";; | ||
| 1348 | esac | ||
| 1349 | cat <<\_ACEOF | ||
| 1350 | |||
| 1351 | Optional Features: | ||
| 1352 | --disable-option-checking ignore unrecognized --enable/--with options | ||
| 1353 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | ||
| 1354 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | ||
| 1355 | --enable-dependency-tracking | ||
| 1356 | do not reject slow dependency extractors | ||
| 1357 | --disable-dependency-tracking | ||
| 1358 | speeds up one-time build | ||
| 1359 | --enable-silent-rules less verbose build output (undo: "make V=1") | ||
| 1360 | --disable-silent-rules verbose build output (undo: "make V=0") | ||
| 1361 | |||
| 1362 | Some influential environment variables: | ||
| 1363 | CC C compiler command | ||
| 1364 | CFLAGS C compiler flags | ||
| 1365 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | ||
| 1366 | nonstandard directory <lib dir> | ||
| 1367 | LIBS libraries to pass to the linker, e.g. -l<library> | ||
| 1368 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if | ||
| 1369 | you have headers in a nonstandard directory <include dir> | ||
| 1370 | CPP C preprocessor | ||
| 1371 | |||
| 1372 | Use these variables to override the choices made by `configure' or to help | ||
| 1373 | it to find libraries and programs with nonstandard names/locations. | ||
| 1374 | |||
| 1375 | Report bugs to <aiden.woodruff@gmail.com>. | ||
| 1376 | _ACEOF | ||
| 1377 | ac_status=$? | ||
| 1378 | fi | ||
| 1379 | |||
| 1380 | if test "$ac_init_help" = "recursive"; then | ||
| 1381 | # If there are subdirs, report their specific --help. | ||
| 1382 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | ||
| 1383 | test -d "$ac_dir" || | ||
| 1384 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || | ||
| 1385 | continue | ||
| 1386 | ac_builddir=. | ||
| 1387 | |||
| 1388 | case "$ac_dir" in | ||
| 1389 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | ||
| 1390 | *) | ||
| 1391 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | ||
| 1392 | # A ".." for each directory in $ac_dir_suffix. | ||
| 1393 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | ||
| 1394 | case $ac_top_builddir_sub in | ||
| 1395 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | ||
| 1396 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | ||
| 1397 | esac ;; | ||
| 1398 | esac | ||
| 1399 | ac_abs_top_builddir=$ac_pwd | ||
| 1400 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | ||
| 1401 | # for backward compatibility: | ||
| 1402 | ac_top_builddir=$ac_top_build_prefix | ||
| 1403 | |||
| 1404 | case $srcdir in | ||
| 1405 | .) # We are building in place. | ||
| 1406 | ac_srcdir=. | ||
| 1407 | ac_top_srcdir=$ac_top_builddir_sub | ||
| 1408 | ac_abs_top_srcdir=$ac_pwd ;; | ||
| 1409 | [\\/]* | ?:[\\/]* ) # Absolute name. | ||
| 1410 | ac_srcdir=$srcdir$ac_dir_suffix; | ||
| 1411 | ac_top_srcdir=$srcdir | ||
| 1412 | ac_abs_top_srcdir=$srcdir ;; | ||
| 1413 | *) # Relative name. | ||
| 1414 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | ||
| 1415 | ac_top_srcdir=$ac_top_build_prefix$srcdir | ||
| 1416 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | ||
| 1417 | esac | ||
| 1418 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | ||
| 1419 | |||
| 1420 | cd "$ac_dir" || { ac_status=$?; continue; } | ||
| 1421 | # Check for guested configure. | ||
| 1422 | if test -f "$ac_srcdir/configure.gnu"; then | ||
| 1423 | echo && | ||
| 1424 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive | ||
| 1425 | elif test -f "$ac_srcdir/configure"; then | ||
| 1426 | echo && | ||
| 1427 | $SHELL "$ac_srcdir/configure" --help=recursive | ||
| 1428 | else | ||
| 1429 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | ||
| 1430 | fi || ac_status=$? | ||
| 1431 | cd "$ac_pwd" || { ac_status=$?; break; } | ||
| 1432 | done | ||
| 1433 | fi | ||
| 1434 | |||
| 1435 | test -n "$ac_init_help" && exit $ac_status | ||
| 1436 | if $ac_init_version; then | ||
| 1437 | cat <<\_ACEOF | ||
| 1438 | life configure 1.6.0 | ||
| 1439 | generated by GNU Autoconf 2.69 | ||
| 1440 | |||
| 1441 | Copyright (C) 2012 Free Software Foundation, Inc. | ||
| 1442 | This configure script is free software; the Free Software Foundation | ||
| 1443 | gives unlimited permission to copy, distribute and modify it. | ||
| 1444 | _ACEOF | ||
| 1445 | exit | ||
| 1446 | fi | ||
| 1447 | |||
| 1448 | ## ------------------------ ## | ||
| 1449 | ## Autoconf initialization. ## | ||
| 1450 | ## ------------------------ ## | ||
| 1451 | |||
| 1452 | # ac_fn_c_try_compile LINENO | ||
| 1453 | # -------------------------- | ||
| 1454 | # Try to compile conftest.$ac_ext, and return whether this succeeded. | ||
| 1455 | ac_fn_c_try_compile () | ||
| 1456 | { | ||
| 1457 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1458 | rm -f conftest.$ac_objext | ||
| 1459 | if { { ac_try="$ac_compile" | ||
| 1460 | case "(($ac_try" in | ||
| 1461 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 1462 | *) ac_try_echo=$ac_try;; | ||
| 1463 | esac | ||
| 1464 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 1465 | $as_echo "$ac_try_echo"; } >&5 | ||
| 1466 | (eval "$ac_compile") 2>conftest.err | ||
| 1467 | ac_status=$? | ||
| 1468 | if test -s conftest.err; then | ||
| 1469 | grep -v '^ *+' conftest.err >conftest.er1 | ||
| 1470 | cat conftest.er1 >&5 | ||
| 1471 | mv -f conftest.er1 conftest.err | ||
| 1472 | fi | ||
| 1473 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 1474 | test $ac_status = 0; } && { | ||
| 1475 | test -z "$ac_c_werror_flag" || | ||
| 1476 | test ! -s conftest.err | ||
| 1477 | } && test -s conftest.$ac_objext; then : | ||
| 1478 | ac_retval=0 | ||
| 1479 | else | ||
| 1480 | $as_echo "$as_me: failed program was:" >&5 | ||
| 1481 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 1482 | |||
| 1483 | ac_retval=1 | ||
| 1484 | fi | ||
| 1485 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
| 1486 | as_fn_set_status $ac_retval | ||
| 1487 | |||
| 1488 | } # ac_fn_c_try_compile | ||
| 1489 | |||
| 1490 | # ac_fn_c_try_cpp LINENO | ||
| 1491 | # ---------------------- | ||
| 1492 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. | ||
| 1493 | ac_fn_c_try_cpp () | ||
| 1494 | { | ||
| 1495 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1496 | if { { ac_try="$ac_cpp conftest.$ac_ext" | ||
| 1497 | case "(($ac_try" in | ||
| 1498 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 1499 | *) ac_try_echo=$ac_try;; | ||
| 1500 | esac | ||
| 1501 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 1502 | $as_echo "$ac_try_echo"; } >&5 | ||
| 1503 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | ||
| 1504 | ac_status=$? | ||
| 1505 | if test -s conftest.err; then | ||
| 1506 | grep -v '^ *+' conftest.err >conftest.er1 | ||
| 1507 | cat conftest.er1 >&5 | ||
| 1508 | mv -f conftest.er1 conftest.err | ||
| 1509 | fi | ||
| 1510 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 1511 | test $ac_status = 0; } > conftest.i && { | ||
| 1512 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 1513 | test ! -s conftest.err | ||
| 1514 | }; then : | ||
| 1515 | ac_retval=0 | ||
| 1516 | else | ||
| 1517 | $as_echo "$as_me: failed program was:" >&5 | ||
| 1518 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 1519 | |||
| 1520 | ac_retval=1 | ||
| 1521 | fi | ||
| 1522 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
| 1523 | as_fn_set_status $ac_retval | ||
| 1524 | |||
| 1525 | } # ac_fn_c_try_cpp | ||
| 1526 | |||
| 1527 | # ac_fn_c_try_link LINENO | ||
| 1528 | # ----------------------- | ||
| 1529 | # Try to link conftest.$ac_ext, and return whether this succeeded. | ||
| 1530 | ac_fn_c_try_link () | ||
| 1531 | { | ||
| 1532 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1533 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 1534 | if { { ac_try="$ac_link" | ||
| 1535 | case "(($ac_try" in | ||
| 1536 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 1537 | *) ac_try_echo=$ac_try;; | ||
| 1538 | esac | ||
| 1539 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 1540 | $as_echo "$ac_try_echo"; } >&5 | ||
| 1541 | (eval "$ac_link") 2>conftest.err | ||
| 1542 | ac_status=$? | ||
| 1543 | if test -s conftest.err; then | ||
| 1544 | grep -v '^ *+' conftest.err >conftest.er1 | ||
| 1545 | cat conftest.er1 >&5 | ||
| 1546 | mv -f conftest.er1 conftest.err | ||
| 1547 | fi | ||
| 1548 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 1549 | test $ac_status = 0; } && { | ||
| 1550 | test -z "$ac_c_werror_flag" || | ||
| 1551 | test ! -s conftest.err | ||
| 1552 | } && test -s conftest$ac_exeext && { | ||
| 1553 | test "$cross_compiling" = yes || | ||
| 1554 | test -x conftest$ac_exeext | ||
| 1555 | }; then : | ||
| 1556 | ac_retval=0 | ||
| 1557 | else | ||
| 1558 | $as_echo "$as_me: failed program was:" >&5 | ||
| 1559 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 1560 | |||
| 1561 | ac_retval=1 | ||
| 1562 | fi | ||
| 1563 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | ||
| 1564 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | ||
| 1565 | # interfere with the next link command; also delete a directory that is | ||
| 1566 | # left behind by Apple's compiler. We do this before executing the actions. | ||
| 1567 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | ||
| 1568 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
| 1569 | as_fn_set_status $ac_retval | ||
| 1570 | |||
| 1571 | } # ac_fn_c_try_link | ||
| 1572 | |||
| 1573 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | ||
| 1574 | # ------------------------------------------------------- | ||
| 1575 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using | ||
| 1576 | # the include files in INCLUDES and setting the cache variable VAR | ||
| 1577 | # accordingly. | ||
| 1578 | ac_fn_c_check_header_mongrel () | ||
| 1579 | { | ||
| 1580 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1581 | if eval \${$3+:} false; then : | ||
| 1582 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
| 1583 | $as_echo_n "checking for $2... " >&6; } | ||
| 1584 | if eval \${$3+:} false; then : | ||
| 1585 | $as_echo_n "(cached) " >&6 | ||
| 1586 | fi | ||
| 1587 | eval ac_res=\$$3 | ||
| 1588 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 1589 | $as_echo "$ac_res" >&6; } | ||
| 1590 | else | ||
| 1591 | # Is the header compilable? | ||
| 1592 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 | ||
| 1593 | $as_echo_n "checking $2 usability... " >&6; } | ||
| 1594 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1595 | /* end confdefs.h. */ | ||
| 1596 | $4 | ||
| 1597 | #include <$2> | ||
| 1598 | _ACEOF | ||
| 1599 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 1600 | ac_header_compiler=yes | ||
| 1601 | else | ||
| 1602 | ac_header_compiler=no | ||
| 1603 | fi | ||
| 1604 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 1605 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 | ||
| 1606 | $as_echo "$ac_header_compiler" >&6; } | ||
| 1607 | |||
| 1608 | # Is the header present? | ||
| 1609 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 | ||
| 1610 | $as_echo_n "checking $2 presence... " >&6; } | ||
| 1611 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1612 | /* end confdefs.h. */ | ||
| 1613 | #include <$2> | ||
| 1614 | _ACEOF | ||
| 1615 | if ac_fn_c_try_cpp "$LINENO"; then : | ||
| 1616 | ac_header_preproc=yes | ||
| 1617 | else | ||
| 1618 | ac_header_preproc=no | ||
| 1619 | fi | ||
| 1620 | rm -f conftest.err conftest.i conftest.$ac_ext | ||
| 1621 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | ||
| 1622 | $as_echo "$ac_header_preproc" >&6; } | ||
| 1623 | |||
| 1624 | # So? What about this header? | ||
| 1625 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( | ||
| 1626 | yes:no: ) | ||
| 1627 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 1628 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 1629 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | ||
| 1630 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | ||
| 1631 | ;; | ||
| 1632 | no:yes:* ) | ||
| 1633 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 | ||
| 1634 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} | ||
| 1635 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 | ||
| 1636 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} | ||
| 1637 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 | ||
| 1638 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} | ||
| 1639 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 1640 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 1641 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | ||
| 1642 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | ||
| 1643 | ( $as_echo "## --------------------------------------- ## | ||
| 1644 | ## Report this to aiden.woodruff@gmail.com ## | ||
| 1645 | ## --------------------------------------- ##" | ||
| 1646 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
| 1647 | ;; | ||
| 1648 | esac | ||
| 1649 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
| 1650 | $as_echo_n "checking for $2... " >&6; } | ||
| 1651 | if eval \${$3+:} false; then : | ||
| 1652 | $as_echo_n "(cached) " >&6 | ||
| 1653 | else | ||
| 1654 | eval "$3=\$ac_header_compiler" | ||
| 1655 | fi | ||
| 1656 | eval ac_res=\$$3 | ||
| 1657 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 1658 | $as_echo "$ac_res" >&6; } | ||
| 1659 | fi | ||
| 1660 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
| 1661 | |||
| 1662 | } # ac_fn_c_check_header_mongrel | ||
| 1663 | |||
| 1664 | # ac_fn_c_try_run LINENO | ||
| 1665 | # ---------------------- | ||
| 1666 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes | ||
| 1667 | # that executables *can* be run. | ||
| 1668 | ac_fn_c_try_run () | ||
| 1669 | { | ||
| 1670 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1671 | if { { ac_try="$ac_link" | ||
| 1672 | case "(($ac_try" in | ||
| 1673 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 1674 | *) ac_try_echo=$ac_try;; | ||
| 1675 | esac | ||
| 1676 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 1677 | $as_echo "$ac_try_echo"; } >&5 | ||
| 1678 | (eval "$ac_link") 2>&5 | ||
| 1679 | ac_status=$? | ||
| 1680 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 1681 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' | ||
| 1682 | { { case "(($ac_try" in | ||
| 1683 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 1684 | *) ac_try_echo=$ac_try;; | ||
| 1685 | esac | ||
| 1686 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 1687 | $as_echo "$ac_try_echo"; } >&5 | ||
| 1688 | (eval "$ac_try") 2>&5 | ||
| 1689 | ac_status=$? | ||
| 1690 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 1691 | test $ac_status = 0; }; }; then : | ||
| 1692 | ac_retval=0 | ||
| 1693 | else | ||
| 1694 | $as_echo "$as_me: program exited with status $ac_status" >&5 | ||
| 1695 | $as_echo "$as_me: failed program was:" >&5 | ||
| 1696 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 1697 | |||
| 1698 | ac_retval=$ac_status | ||
| 1699 | fi | ||
| 1700 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | ||
| 1701 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
| 1702 | as_fn_set_status $ac_retval | ||
| 1703 | |||
| 1704 | } # ac_fn_c_try_run | ||
| 1705 | |||
| 1706 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES | ||
| 1707 | # ------------------------------------------------------- | ||
| 1708 | # Tests whether HEADER exists and can be compiled using the include files in | ||
| 1709 | # INCLUDES, setting the cache variable VAR accordingly. | ||
| 1710 | ac_fn_c_check_header_compile () | ||
| 1711 | { | ||
| 1712 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1713 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
| 1714 | $as_echo_n "checking for $2... " >&6; } | ||
| 1715 | if eval \${$3+:} false; then : | ||
| 1716 | $as_echo_n "(cached) " >&6 | ||
| 1717 | else | ||
| 1718 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1719 | /* end confdefs.h. */ | ||
| 1720 | $4 | ||
| 1721 | #include <$2> | ||
| 1722 | _ACEOF | ||
| 1723 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 1724 | eval "$3=yes" | ||
| 1725 | else | ||
| 1726 | eval "$3=no" | ||
| 1727 | fi | ||
| 1728 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 1729 | fi | ||
| 1730 | eval ac_res=\$$3 | ||
| 1731 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 1732 | $as_echo "$ac_res" >&6; } | ||
| 1733 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
| 1734 | |||
| 1735 | } # ac_fn_c_check_header_compile | ||
| 1736 | |||
| 1737 | # ac_fn_c_check_func LINENO FUNC VAR | ||
| 1738 | # ---------------------------------- | ||
| 1739 | # Tests whether FUNC exists, setting the cache variable VAR accordingly | ||
| 1740 | ac_fn_c_check_func () | ||
| 1741 | { | ||
| 1742 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1743 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
| 1744 | $as_echo_n "checking for $2... " >&6; } | ||
| 1745 | if eval \${$3+:} false; then : | ||
| 1746 | $as_echo_n "(cached) " >&6 | ||
| 1747 | else | ||
| 1748 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1749 | /* end confdefs.h. */ | ||
| 1750 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. | ||
| 1751 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 1752 | #define $2 innocuous_$2 | ||
| 1753 | |||
| 1754 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 1755 | which can conflict with char $2 (); below. | ||
| 1756 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 1757 | <limits.h> exists even on freestanding compilers. */ | ||
| 1758 | |||
| 1759 | #ifdef __STDC__ | ||
| 1760 | # include <limits.h> | ||
| 1761 | #else | ||
| 1762 | # include <assert.h> | ||
| 1763 | #endif | ||
| 1764 | |||
| 1765 | #undef $2 | ||
| 1766 | |||
| 1767 | /* Override any GCC internal prototype to avoid an error. | ||
| 1768 | Use char because int might match the return type of a GCC | ||
| 1769 | builtin and then its argument prototype would still apply. */ | ||
| 1770 | #ifdef __cplusplus | ||
| 1771 | extern "C" | ||
| 1772 | #endif | ||
| 1773 | char $2 (); | ||
| 1774 | /* The GNU C library defines this for functions which it implements | ||
| 1775 | to always fail with ENOSYS. Some functions are actually named | ||
| 1776 | something starting with __ and the normal name is an alias. */ | ||
| 1777 | #if defined __stub_$2 || defined __stub___$2 | ||
| 1778 | choke me | ||
| 1779 | #endif | ||
| 1780 | |||
| 1781 | int | ||
| 1782 | main () | ||
| 1783 | { | ||
| 1784 | return $2 (); | ||
| 1785 | ; | ||
| 1786 | return 0; | ||
| 1787 | } | ||
| 1788 | _ACEOF | ||
| 1789 | if ac_fn_c_try_link "$LINENO"; then : | ||
| 1790 | eval "$3=yes" | ||
| 1791 | else | ||
| 1792 | eval "$3=no" | ||
| 1793 | fi | ||
| 1794 | rm -f core conftest.err conftest.$ac_objext \ | ||
| 1795 | conftest$ac_exeext conftest.$ac_ext | ||
| 1796 | fi | ||
| 1797 | eval ac_res=\$$3 | ||
| 1798 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 1799 | $as_echo "$ac_res" >&6; } | ||
| 1800 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
| 1801 | |||
| 1802 | } # ac_fn_c_check_func | ||
| 1803 | cat >config.log <<_ACEOF | ||
| 1804 | This file contains any messages produced by compilers while | ||
| 1805 | running configure, to aid debugging if configure makes a mistake. | ||
| 1806 | |||
| 1807 | It was created by life $as_me 1.6.0, which was | ||
| 1808 | generated by GNU Autoconf 2.69. Invocation command line was | ||
| 1809 | |||
| 1810 | $ $0 $@ | ||
| 1811 | |||
| 1812 | _ACEOF | ||
| 1813 | exec 5>>config.log | ||
| 1814 | { | ||
| 1815 | cat <<_ASUNAME | ||
| 1816 | ## --------- ## | ||
| 1817 | ## Platform. ## | ||
| 1818 | ## --------- ## | ||
| 1819 | |||
| 1820 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | ||
| 1821 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | ||
| 1822 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | ||
| 1823 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | ||
| 1824 | uname -v = `(uname -v) 2>/dev/null || echo unknown` | ||
| 1825 | |||
| 1826 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | ||
| 1827 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | ||
| 1828 | |||
| 1829 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | ||
| 1830 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | ||
| 1831 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | ||
| 1832 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` | ||
| 1833 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | ||
| 1834 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | ||
| 1835 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | ||
| 1836 | |||
| 1837 | _ASUNAME | ||
| 1838 | |||
| 1839 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 1840 | for as_dir in $PATH | ||
| 1841 | do | ||
| 1842 | IFS=$as_save_IFS | ||
| 1843 | test -z "$as_dir" && as_dir=. | ||
| 1844 | $as_echo "PATH: $as_dir" | ||
| 1845 | done | ||
| 1846 | IFS=$as_save_IFS | ||
| 1847 | |||
| 1848 | } >&5 | ||
| 1849 | |||
| 1850 | cat >&5 <<_ACEOF | ||
| 1851 | |||
| 1852 | |||
| 1853 | ## ----------- ## | ||
| 1854 | ## Core tests. ## | ||
| 1855 | ## ----------- ## | ||
| 1856 | |||
| 1857 | _ACEOF | ||
| 1858 | |||
| 1859 | |||
| 1860 | # Keep a trace of the command line. | ||
| 1861 | # Strip out --no-create and --no-recursion so they do not pile up. | ||
| 1862 | # Strip out --silent because we don't want to record it for future runs. | ||
| 1863 | # Also quote any args containing shell meta-characters. | ||
| 1864 | # Make two passes to allow for proper duplicate-argument suppression. | ||
| 1865 | ac_configure_args= | ||
| 1866 | ac_configure_args0= | ||
| 1867 | ac_configure_args1= | ||
| 1868 | ac_must_keep_next=false | ||
| 1869 | for ac_pass in 1 2 | ||
| 1870 | do | ||
| 1871 | for ac_arg | ||
| 1872 | do | ||
| 1873 | case $ac_arg in | ||
| 1874 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | ||
| 1875 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | ||
| 1876 | | -silent | --silent | --silen | --sile | --sil) | ||
| 1877 | continue ;; | ||
| 1878 | *\'*) | ||
| 1879 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
| 1880 | esac | ||
| 1881 | case $ac_pass in | ||
| 1882 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; | ||
| 1883 | 2) | ||
| 1884 | as_fn_append ac_configure_args1 " '$ac_arg'" | ||
| 1885 | if test $ac_must_keep_next = true; then | ||
| 1886 | ac_must_keep_next=false # Got value, back to normal. | ||
| 1887 | else | ||
| 1888 | case $ac_arg in | ||
| 1889 | *=* | --config-cache | -C | -disable-* | --disable-* \ | ||
| 1890 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | ||
| 1891 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | ||
| 1892 | | -with-* | --with-* | -without-* | --without-* | --x) | ||
| 1893 | case "$ac_configure_args0 " in | ||
| 1894 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | ||
| 1895 | esac | ||
| 1896 | ;; | ||
| 1897 | -* ) ac_must_keep_next=true ;; | ||
| 1898 | esac | ||
| 1899 | fi | ||
| 1900 | as_fn_append ac_configure_args " '$ac_arg'" | ||
| 1901 | ;; | ||
| 1902 | esac | ||
| 1903 | done | ||
| 1904 | done | ||
| 1905 | { ac_configure_args0=; unset ac_configure_args0;} | ||
| 1906 | { ac_configure_args1=; unset ac_configure_args1;} | ||
| 1907 | |||
| 1908 | # When interrupted or exit'd, cleanup temporary files, and complete | ||
| 1909 | # config.log. We remove comments because anyway the quotes in there | ||
| 1910 | # would cause problems or look ugly. | ||
| 1911 | # WARNING: Use '\'' to represent an apostrophe within the trap. | ||
| 1912 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. | ||
| 1913 | trap 'exit_status=$? | ||
| 1914 | # Save into config.log some information that might help in debugging. | ||
| 1915 | { | ||
| 1916 | echo | ||
| 1917 | |||
| 1918 | $as_echo "## ---------------- ## | ||
| 1919 | ## Cache variables. ## | ||
| 1920 | ## ---------------- ##" | ||
| 1921 | echo | ||
| 1922 | # The following way of writing the cache mishandles newlines in values, | ||
| 1923 | ( | ||
| 1924 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | ||
| 1925 | eval ac_val=\$$ac_var | ||
| 1926 | case $ac_val in #( | ||
| 1927 | *${as_nl}*) | ||
| 1928 | case $ac_var in #( | ||
| 1929 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | ||
| 1930 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | ||
| 1931 | esac | ||
| 1932 | case $ac_var in #( | ||
| 1933 | _ | IFS | as_nl) ;; #( | ||
| 1934 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | ||
| 1935 | *) { eval $ac_var=; unset $ac_var;} ;; | ||
| 1936 | esac ;; | ||
| 1937 | esac | ||
| 1938 | done | ||
| 1939 | (set) 2>&1 | | ||
| 1940 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( | ||
| 1941 | *${as_nl}ac_space=\ *) | ||
| 1942 | sed -n \ | ||
| 1943 | "s/'\''/'\''\\\\'\'''\''/g; | ||
| 1944 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" | ||
| 1945 | ;; #( | ||
| 1946 | *) | ||
| 1947 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | ||
| 1948 | ;; | ||
| 1949 | esac | | ||
| 1950 | sort | ||
| 1951 | ) | ||
| 1952 | echo | ||
| 1953 | |||
| 1954 | $as_echo "## ----------------- ## | ||
| 1955 | ## Output variables. ## | ||
| 1956 | ## ----------------- ##" | ||
| 1957 | echo | ||
| 1958 | for ac_var in $ac_subst_vars | ||
| 1959 | do | ||
| 1960 | eval ac_val=\$$ac_var | ||
| 1961 | case $ac_val in | ||
| 1962 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | ||
| 1963 | esac | ||
| 1964 | $as_echo "$ac_var='\''$ac_val'\''" | ||
| 1965 | done | sort | ||
| 1966 | echo | ||
| 1967 | |||
| 1968 | if test -n "$ac_subst_files"; then | ||
| 1969 | $as_echo "## ------------------- ## | ||
| 1970 | ## File substitutions. ## | ||
| 1971 | ## ------------------- ##" | ||
| 1972 | echo | ||
| 1973 | for ac_var in $ac_subst_files | ||
| 1974 | do | ||
| 1975 | eval ac_val=\$$ac_var | ||
| 1976 | case $ac_val in | ||
| 1977 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | ||
| 1978 | esac | ||
| 1979 | $as_echo "$ac_var='\''$ac_val'\''" | ||
| 1980 | done | sort | ||
| 1981 | echo | ||
| 1982 | fi | ||
| 1983 | |||
| 1984 | if test -s confdefs.h; then | ||
| 1985 | $as_echo "## ----------- ## | ||
| 1986 | ## confdefs.h. ## | ||
| 1987 | ## ----------- ##" | ||
| 1988 | echo | ||
| 1989 | cat confdefs.h | ||
| 1990 | echo | ||
| 1991 | fi | ||
| 1992 | test "$ac_signal" != 0 && | ||
| 1993 | $as_echo "$as_me: caught signal $ac_signal" | ||
| 1994 | $as_echo "$as_me: exit $exit_status" | ||
| 1995 | } >&5 | ||
| 1996 | rm -f core *.core core.conftest.* && | ||
| 1997 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | ||
| 1998 | exit $exit_status | ||
| 1999 | ' 0 | ||
| 2000 | for ac_signal in 1 2 13 15; do | ||
| 2001 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal | ||
| 2002 | done | ||
| 2003 | ac_signal=0 | ||
| 2004 | |||
| 2005 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | ||
| 2006 | rm -f -r conftest* confdefs.h | ||
| 2007 | |||
| 2008 | $as_echo "/* confdefs.h */" > confdefs.h | ||
| 2009 | |||
| 2010 | # Predefined preprocessor variables. | ||
| 2011 | |||
| 2012 | cat >>confdefs.h <<_ACEOF | ||
| 2013 | #define PACKAGE_NAME "$PACKAGE_NAME" | ||
| 2014 | _ACEOF | ||
| 2015 | |||
| 2016 | cat >>confdefs.h <<_ACEOF | ||
| 2017 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | ||
| 2018 | _ACEOF | ||
| 2019 | |||
| 2020 | cat >>confdefs.h <<_ACEOF | ||
| 2021 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | ||
| 2022 | _ACEOF | ||
| 2023 | |||
| 2024 | cat >>confdefs.h <<_ACEOF | ||
| 2025 | #define PACKAGE_STRING "$PACKAGE_STRING" | ||
| 2026 | _ACEOF | ||
| 2027 | |||
| 2028 | cat >>confdefs.h <<_ACEOF | ||
| 2029 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | ||
| 2030 | _ACEOF | ||
| 2031 | |||
| 2032 | cat >>confdefs.h <<_ACEOF | ||
| 2033 | #define PACKAGE_URL "$PACKAGE_URL" | ||
| 2034 | _ACEOF | ||
| 2035 | |||
| 2036 | |||
| 2037 | # Let the site file select an alternate cache file if it wants to. | ||
| 2038 | # Prefer an explicitly selected file to automatically selected ones. | ||
| 2039 | ac_site_file1=NONE | ||
| 2040 | ac_site_file2=NONE | ||
| 2041 | if test -n "$CONFIG_SITE"; then | ||
| 2042 | # We do not want a PATH search for config.site. | ||
| 2043 | case $CONFIG_SITE in #(( | ||
| 2044 | -*) ac_site_file1=./$CONFIG_SITE;; | ||
| 2045 | */*) ac_site_file1=$CONFIG_SITE;; | ||
| 2046 | *) ac_site_file1=./$CONFIG_SITE;; | ||
| 2047 | esac | ||
| 2048 | elif test "x$prefix" != xNONE; then | ||
| 2049 | ac_site_file1=$prefix/share/config.site | ||
| 2050 | ac_site_file2=$prefix/etc/config.site | ||
| 2051 | else | ||
| 2052 | ac_site_file1=$ac_default_prefix/share/config.site | ||
| 2053 | ac_site_file2=$ac_default_prefix/etc/config.site | ||
| 2054 | fi | ||
| 2055 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" | ||
| 2056 | do | ||
| 2057 | test "x$ac_site_file" = xNONE && continue | ||
| 2058 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | ||
| 2059 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | ||
| 2060 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} | ||
| 2061 | sed 's/^/| /' "$ac_site_file" >&5 | ||
| 2062 | . "$ac_site_file" \ | ||
| 2063 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
| 2064 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
| 2065 | as_fn_error $? "failed to load site script $ac_site_file | ||
| 2066 | See \`config.log' for more details" "$LINENO" 5; } | ||
| 2067 | fi | ||
| 2068 | done | ||
| 2069 | |||
| 2070 | if test -r "$cache_file"; then | ||
| 2071 | # Some versions of bash will fail to source /dev/null (special files | ||
| 2072 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. | ||
| 2073 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then | ||
| 2074 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 | ||
| 2075 | $as_echo "$as_me: loading cache $cache_file" >&6;} | ||
| 2076 | case $cache_file in | ||
| 2077 | [\\/]* | ?:[\\/]* ) . "$cache_file";; | ||
| 2078 | *) . "./$cache_file";; | ||
| 2079 | esac | ||
| 2080 | fi | ||
| 2081 | else | ||
| 2082 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 | ||
| 2083 | $as_echo "$as_me: creating cache $cache_file" >&6;} | ||
| 2084 | >$cache_file | ||
| 2085 | fi | ||
| 2086 | |||
| 2087 | # Check that the precious variables saved in the cache have kept the same | ||
| 2088 | # value. | ||
| 2089 | ac_cache_corrupted=false | ||
| 2090 | for ac_var in $ac_precious_vars; do | ||
| 2091 | eval ac_old_set=\$ac_cv_env_${ac_var}_set | ||
| 2092 | eval ac_new_set=\$ac_env_${ac_var}_set | ||
| 2093 | eval ac_old_val=\$ac_cv_env_${ac_var}_value | ||
| 2094 | eval ac_new_val=\$ac_env_${ac_var}_value | ||
| 2095 | case $ac_old_set,$ac_new_set in | ||
| 2096 | set,) | ||
| 2097 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | ||
| 2098 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | ||
| 2099 | ac_cache_corrupted=: ;; | ||
| 2100 | ,set) | ||
| 2101 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 | ||
| 2102 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | ||
| 2103 | ac_cache_corrupted=: ;; | ||
| 2104 | ,);; | ||
| 2105 | *) | ||
| 2106 | if test "x$ac_old_val" != "x$ac_new_val"; then | ||
| 2107 | # differences in whitespace do not lead to failure. | ||
| 2108 | ac_old_val_w=`echo x $ac_old_val` | ||
| 2109 | ac_new_val_w=`echo x $ac_new_val` | ||
| 2110 | if test "$ac_old_val_w" != "$ac_new_val_w"; then | ||
| 2111 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 | ||
| 2112 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | ||
| 2113 | ac_cache_corrupted=: | ||
| 2114 | else | ||
| 2115 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | ||
| 2116 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} | ||
| 2117 | eval $ac_var=\$ac_old_val | ||
| 2118 | fi | ||
| 2119 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 | ||
| 2120 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} | ||
| 2121 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 | ||
| 2122 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | ||
| 2123 | fi;; | ||
| 2124 | esac | ||
| 2125 | # Pass precious variables to config.status. | ||
| 2126 | if test "$ac_new_set" = set; then | ||
| 2127 | case $ac_new_val in | ||
| 2128 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
| 2129 | *) ac_arg=$ac_var=$ac_new_val ;; | ||
| 2130 | esac | ||
| 2131 | case " $ac_configure_args " in | ||
| 2132 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | ||
| 2133 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; | ||
| 2134 | esac | ||
| 2135 | fi | ||
| 2136 | done | ||
| 2137 | if $ac_cache_corrupted; then | ||
| 2138 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
| 2139 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
| 2140 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | ||
| 2141 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | ||
| 2142 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | ||
| 2143 | fi | ||
| 2144 | ## -------------------- ## | ||
| 2145 | ## Main body of script. ## | ||
| 2146 | ## -------------------- ## | ||
| 2147 | |||
| 2148 | ac_ext=c | ||
| 2149 | ac_cpp='$CPP $CPPFLAGS' | ||
| 2150 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
| 2151 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
| 2152 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
| 2153 | |||
| 2154 | |||
| 2155 | |||
| 2156 | ac_config_headers="$ac_config_headers src/config.h" | ||
| 2157 | |||
| 2158 | |||
| 2159 | # Checks for programs. | ||
| 2160 | ac_ext=c | ||
| 2161 | ac_cpp='$CPP $CPPFLAGS' | ||
| 2162 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
| 2163 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
| 2164 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
| 2165 | if test -n "$ac_tool_prefix"; then | ||
| 2166 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | ||
| 2167 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | ||
| 2168 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
| 2169 | $as_echo_n "checking for $ac_word... " >&6; } | ||
| 2170 | if ${ac_cv_prog_CC+:} false; then : | ||
| 2171 | $as_echo_n "(cached) " >&6 | ||
| 2172 | else | ||
| 2173 | if test -n "$CC"; then | ||
| 2174 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
| 2175 | else | ||
| 2176 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 2177 | for as_dir in $PATH | ||
| 2178 | do | ||
| 2179 | IFS=$as_save_IFS | ||
| 2180 | test -z "$as_dir" && as_dir=. | ||
| 2181 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 2182 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
| 2183 | ac_cv_prog_CC="${ac_tool_prefix}gcc" | ||
| 2184 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
| 2185 | break 2 | ||
| 2186 | fi | ||
| 2187 | done | ||
| 2188 | done | ||
| 2189 | IFS=$as_save_IFS | ||
| 2190 | |||
| 2191 | fi | ||
| 2192 | fi | ||
| 2193 | CC=$ac_cv_prog_CC | ||
| 2194 | if test -n "$CC"; then | ||
| 2195 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | ||
| 2196 | $as_echo "$CC" >&6; } | ||
| 2197 | else | ||
| 2198 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
| 2199 | $as_echo "no" >&6; } | ||
| 2200 | fi | ||
| 2201 | |||
| 2202 | |||
| 2203 | fi | ||
| 2204 | if test -z "$ac_cv_prog_CC"; then | ||
| 2205 | ac_ct_CC=$CC | ||
| 2206 | # Extract the first word of "gcc", so it can be a program name with args. | ||
| 2207 | set dummy gcc; ac_word=$2 | ||
| 2208 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
| 2209 | $as_echo_n "checking for $ac_word... " >&6; } | ||
| 2210 | if ${ac_cv_prog_ac_ct_CC+:} false; then : | ||
| 2211 | $as_echo_n "(cached) " >&6 | ||
| 2212 | else | ||
| 2213 | if test -n "$ac_ct_CC"; then | ||
| 2214 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
| 2215 | else | ||
| 2216 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 2217 | for as_dir in $PATH | ||
| 2218 | do | ||
| 2219 | IFS=$as_save_IFS | ||
| 2220 | test -z "$as_dir" && as_dir=. | ||
| 2221 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 2222 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
| 2223 | ac_cv_prog_ac_ct_CC="gcc" | ||
| 2224 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
| 2225 | break 2 | ||
| 2226 | fi | ||
| 2227 | done | ||
| 2228 | done | ||
| 2229 | IFS=$as_save_IFS | ||
| 2230 | |||
| 2231 | fi | ||
| 2232 | fi | ||
| 2233 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
| 2234 | if test -n "$ac_ct_CC"; then | ||
| 2235 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | ||
| 2236 | $as_echo "$ac_ct_CC" >&6; } | ||
| 2237 | else | ||
| 2238 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
| 2239 | $as_echo "no" >&6; } | ||
| 2240 | fi | ||
| 2241 | |||
| 2242 | if test "x$ac_ct_CC" = x; then | ||
| 2243 | CC="" | ||
| 2244 | else | ||
| 2245 | case $cross_compiling:$ac_tool_warned in | ||
| 2246 | yes:) | ||
| 2247 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | ||
| 2248 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | ||
| 2249 | ac_tool_warned=yes ;; | ||
| 2250 | esac | ||
| 2251 | CC=$ac_ct_CC | ||
| 2252 | fi | ||
| 2253 | else | ||
| 2254 | CC="$ac_cv_prog_CC" | ||
| 2255 | fi | ||
| 2256 | |||
| 2257 | if test -z "$CC"; then | ||
| 2258 | if test -n "$ac_tool_prefix"; then | ||
| 2259 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | ||
| 2260 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | ||
| 2261 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
| 2262 | $as_echo_n "checking for $ac_word... " >&6; } | ||
| 2263 | if ${ac_cv_prog_CC+:} false; then : | ||
| 2264 | $as_echo_n "(cached) " >&6 | ||
| 2265 | else | ||
| 2266 | if test -n "$CC"; then | ||
| 2267 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
| 2268 | else | ||
| 2269 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 2270 | for as_dir in $PATH | ||
| 2271 | do | ||
| 2272 | IFS=$as_save_IFS | ||
| 2273 | test -z "$as_dir" && as_dir=. | ||
| 2274 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 2275 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
| 2276 | ac_cv_prog_CC="${ac_tool_prefix}cc" | ||
| 2277 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
| 2278 | break 2 | ||
| 2279 | fi | ||
| 2280 | done | ||
| 2281 | done | ||
| 2282 | IFS=$as_save_IFS | ||
| 2283 | |||
| 2284 | fi | ||
| 2285 | fi | ||
| 2286 | CC=$ac_cv_prog_CC | ||
| 2287 | if test -n "$CC"; then | ||
| 2288 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | ||
| 2289 | $as_echo "$CC" >&6; } | ||
| 2290 | else | ||
| 2291 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
| 2292 | $as_echo "no" >&6; } | ||
| 2293 | fi | ||
| 2294 | |||
| 2295 | |||
| 2296 | fi | ||
| 2297 | fi | ||
| 2298 | if test -z "$CC"; then | ||
| 2299 | # Extract the first word of "cc", so it can be a program name with args. | ||
| 2300 | set dummy cc; ac_word=$2 | ||
| 2301 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
| 2302 | $as_echo_n "checking for $ac_word... " >&6; } | ||
| 2303 | if ${ac_cv_prog_CC+:} false; then : | ||
| 2304 | $as_echo_n "(cached) " >&6 | ||
| 2305 | else | ||
| 2306 | if test -n "$CC"; then | ||
| 2307 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
| 2308 | else | ||
| 2309 | ac_prog_rejected=no | ||
| 2310 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 2311 | for as_dir in $PATH | ||
| 2312 | do | ||
| 2313 | IFS=$as_save_IFS | ||
| 2314 | test -z "$as_dir" && as_dir=. | ||
| 2315 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 2316 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
| 2317 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | ||
| 2318 | ac_prog_rejected=yes | ||
| 2319 | continue | ||
| 2320 | fi | ||
| 2321 | ac_cv_prog_CC="cc" | ||
| 2322 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
| 2323 | break 2 | ||
| 2324 | fi | ||
| 2325 | done | ||
| 2326 | done | ||
| 2327 | IFS=$as_save_IFS | ||
| 2328 | |||
| 2329 | if test $ac_prog_rejected = yes; then | ||
| 2330 | # We found a bogon in the path, so make sure we never use it. | ||
| 2331 | set dummy $ac_cv_prog_CC | ||
| 2332 | shift | ||
| 2333 | if test $# != 0; then | ||
| 2334 | # We chose a different compiler from the bogus one. | ||
| 2335 | # However, it has the same basename, so the bogon will be chosen | ||
| 2336 | # first if we set CC to just the basename; use the full file name. | ||
| 2337 | shift | ||
| 2338 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | ||
| 2339 | fi | ||
| 2340 | fi | ||
| 2341 | fi | ||
| 2342 | fi | ||
| 2343 | CC=$ac_cv_prog_CC | ||
| 2344 | if test -n "$CC"; then | ||
| 2345 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | ||
| 2346 | $as_echo "$CC" >&6; } | ||
| 2347 | else | ||
| 2348 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
| 2349 | $as_echo "no" >&6; } | ||
| 2350 | fi | ||
| 2351 | |||
| 2352 | |||
| 2353 | fi | ||
| 2354 | if test -z "$CC"; then | ||
| 2355 | if test -n "$ac_tool_prefix"; then | ||
| 2356 | for ac_prog in cl.exe | ||
| 2357 | do | ||
| 2358 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | ||
| 2359 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | ||
| 2360 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
| 2361 | $as_echo_n "checking for $ac_word... " >&6; } | ||
| 2362 | if ${ac_cv_prog_CC+:} false; then : | ||
| 2363 | $as_echo_n "(cached) " >&6 | ||
| 2364 | else | ||
| 2365 | if test -n "$CC"; then | ||
| 2366 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
| 2367 | else | ||
| 2368 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 2369 | for as_dir in $PATH | ||
| 2370 | do | ||
| 2371 | IFS=$as_save_IFS | ||
| 2372 | test -z "$as_dir" && as_dir=. | ||
| 2373 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 2374 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
| 2375 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | ||
| 2376 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
| 2377 | break 2 | ||
| 2378 | fi | ||
| 2379 | done | ||
| 2380 | done | ||
| 2381 | IFS=$as_save_IFS | ||
| 2382 | |||
| 2383 | fi | ||
| 2384 | fi | ||
| 2385 | CC=$ac_cv_prog_CC | ||
| 2386 | if test -n "$CC"; then | ||
| 2387 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | ||
| 2388 | $as_echo "$CC" >&6; } | ||
| 2389 | else | ||
| 2390 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
| 2391 | $as_echo "no" >&6; } | ||
| 2392 | fi | ||
| 2393 | |||
| 2394 | |||
| 2395 | test -n "$CC" && break | ||
| 2396 | done | ||
| 2397 | fi | ||
| 2398 | if test -z "$CC"; then | ||
| 2399 | ac_ct_CC=$CC | ||
| 2400 | for ac_prog in cl.exe | ||
| 2401 | do | ||
| 2402 | # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
| 2403 | set dummy $ac_prog; ac_word=$2 | ||
| 2404 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
| 2405 | $as_echo_n "checking for $ac_word... " >&6; } | ||
| 2406 | if ${ac_cv_prog_ac_ct_CC+:} false; then : | ||
| 2407 | $as_echo_n "(cached) " >&6 | ||
| 2408 | else | ||
| 2409 | if test -n "$ac_ct_CC"; then | ||
| 2410 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
| 2411 | else | ||
| 2412 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 2413 | for as_dir in $PATH | ||
| 2414 | do | ||
| 2415 | IFS=$as_save_IFS | ||
| 2416 | test -z "$as_dir" && as_dir=. | ||
| 2417 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 2418 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
| 2419 | ac_cv_prog_ac_ct_CC="$ac_prog" | ||
| 2420 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
| 2421 | break 2 | ||
| 2422 | fi | ||
| 2423 | done | ||
| 2424 | done | ||
| 2425 | IFS=$as_save_IFS | ||
| 2426 | |||
| 2427 | fi | ||
| 2428 | fi | ||
| 2429 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
| 2430 | if test -n "$ac_ct_CC"; then | ||
| 2431 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | ||
| 2432 | $as_echo "$ac_ct_CC" >&6; } | ||
| 2433 | else | ||
| 2434 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
| 2435 | $as_echo "no" >&6; } | ||
| 2436 | fi | ||
| 2437 | |||
| 2438 | |||
| 2439 | test -n "$ac_ct_CC" && break | ||
| 2440 | done | ||
| 2441 | |||
| 2442 | if test "x$ac_ct_CC" = x; then | ||
| 2443 | CC="" | ||
| 2444 | else | ||
| 2445 | case $cross_compiling:$ac_tool_warned in | ||
| 2446 | yes:) | ||
| 2447 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | ||
| 2448 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | ||
| 2449 | ac_tool_warned=yes ;; | ||
| 2450 | esac | ||
| 2451 | CC=$ac_ct_CC | ||
| 2452 | fi | ||
| 2453 | fi | ||
| 2454 | |||
| 2455 | fi | ||
| 2456 | |||
| 2457 | |||
| 2458 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
| 2459 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
| 2460 | as_fn_error $? "no acceptable C compiler found in \$PATH | ||
| 2461 | See \`config.log' for more details" "$LINENO" 5; } | ||
| 2462 | |||
| 2463 | # Provide some information about the compiler. | ||
| 2464 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | ||
| 2465 | set X $ac_compile | ||
| 2466 | ac_compiler=$2 | ||
| 2467 | for ac_option in --version -v -V -qversion; do | ||
| 2468 | { { ac_try="$ac_compiler $ac_option >&5" | ||
| 2469 | case "(($ac_try" in | ||
| 2470 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 2471 | *) ac_try_echo=$ac_try;; | ||
| 2472 | esac | ||
| 2473 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 2474 | $as_echo "$ac_try_echo"; } >&5 | ||
| 2475 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err | ||
| 2476 | ac_status=$? | ||
| 2477 | if test -s conftest.err; then | ||
| 2478 | sed '10a\ | ||
| 2479 | ... rest of stderr output deleted ... | ||
| 2480 | 10q' conftest.err >conftest.er1 | ||
| 2481 | cat conftest.er1 >&5 | ||
| 2482 | fi | ||
| 2483 | rm -f conftest.er1 conftest.err | ||
| 2484 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 2485 | test $ac_status = 0; } | ||
| 2486 | done | ||
| 2487 | |||
| 2488 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 2489 | /* end confdefs.h. */ | ||
| 2490 | |||
| 2491 | int | ||
| 2492 | main () | ||
| 2493 | { | ||
| 2494 | |||
| 2495 | ; | ||
| 2496 | return 0; | ||
| 2497 | } | ||
| 2498 | _ACEOF | ||
| 2499 | ac_clean_files_save=$ac_clean_files | ||
| 2500 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" | ||
| 2501 | # Try to create an executable without -o first, disregard a.out. | ||
| 2502 | # It will help us diagnose broken compilers, and finding out an intuition | ||
| 2503 | # of exeext. | ||
| 2504 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 | ||
| 2505 | $as_echo_n "checking whether the C compiler works... " >&6; } | ||
| 2506 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | ||
| 2507 | |||
| 2508 | # The possible output files: | ||
| 2509 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | ||
| 2510 | |||
| 2511 | ac_rmfiles= | ||
| 2512 | for ac_file in $ac_files | ||
| 2513 | do | ||
| 2514 | case $ac_file in | ||
| 2515 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | ||
| 2516 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; | ||
| 2517 | esac | ||
| 2518 | done | ||
| 2519 | rm -f $ac_rmfiles | ||
| 2520 | |||
| 2521 | if { { ac_try="$ac_link_default" | ||
| 2522 | case "(($ac_try" in | ||
| 2523 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 2524 | *) ac_try_echo=$ac_try;; | ||
| 2525 | esac | ||
| 2526 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 2527 | $as_echo "$ac_try_echo"; } >&5 | ||
| 2528 | (eval "$ac_link_default") 2>&5 | ||
| 2529 | ac_status=$? | ||
| 2530 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 2531 | test $ac_status = 0; }; then : | ||
| 2532 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | ||
| 2533 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | ||
| 2534 | # in a Makefile. We should not override ac_cv_exeext if it was cached, | ||
| 2535 | # so that the user can short-circuit this test for compilers unknown to | ||
| 2536 | # Autoconf. | ||
| 2537 | for ac_file in $ac_files '' | ||
| 2538 | do | ||
| 2539 | test -f "$ac_file" || continue | ||
| 2540 | case $ac_file in | ||
| 2541 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) | ||
| 2542 | ;; | ||
| 2543 | [ab].out ) | ||
| 2544 | # We found the default executable, but exeext='' is most | ||
| 2545 | # certainly right. | ||
| 2546 | break;; | ||
| 2547 | *.* ) | ||
| 2548 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | ||
| 2549 | then :; else | ||
| 2550 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | ||
| 2551 | fi | ||
| 2552 | # We set ac_cv_exeext here because the later test for it is not | ||
| 2553 | # safe: cross compilers may not add the suffix if given an `-o' | ||
| 2554 | # argument, so we may need to know it at that point already. | ||
| 2555 | # Even if this section looks crufty: it has the advantage of | ||
| 2556 | # actually working. | ||
| 2557 | break;; | ||
| 2558 | * ) | ||
| 2559 | break;; | ||
| 2560 | esac | ||
| 2561 | done | ||
| 2562 | test "$ac_cv_exeext" = no && ac_cv_exeext= | ||
| 2563 | |||
| 2564 | else | ||
| 2565 | ac_file='' | ||
| 2566 | fi | ||
| 2567 | if test -z "$ac_file"; then : | ||
| 2568 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
| 2569 | $as_echo "no" >&6; } | ||
| 2570 | $as_echo "$as_me: failed program was:" >&5 | ||
| 2571 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 2572 | |||
| 2573 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
| 2574 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
| 2575 | as_fn_error 77 "C compiler cannot create executables | ||
| 2576 | See \`config.log' for more details" "$LINENO" 5; } | ||
| 2577 | else | ||
| 2578 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
| 2579 | $as_echo "yes" >&6; } | ||
| 2580 | fi | ||
| 2581 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | ||
| 2582 | $as_echo_n "checking for C compiler default output file name... " >&6; } | ||
| 2583 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 | ||
| 2584 | $as_echo "$ac_file" >&6; } | ||
| 2585 | ac_exeext=$ac_cv_exeext | ||
| 2586 | |||
| 2587 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | ||
| 2588 | ac_clean_files=$ac_clean_files_save | ||
| 2589 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 | ||
| 2590 | $as_echo_n "checking for suffix of executables... " >&6; } | ||
| 2591 | if { { ac_try="$ac_link" | ||
| 2592 | case "(($ac_try" in | ||
| 2593 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 2594 | *) ac_try_echo=$ac_try;; | ||
| 2595 | esac | ||
| 2596 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 2597 | $as_echo "$ac_try_echo"; } >&5 | ||
| 2598 | (eval "$ac_link") 2>&5 | ||
| 2599 | ac_status=$? | ||
| 2600 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 2601 | test $ac_status = 0; }; then : | ||
| 2602 | # If both `conftest.exe' and `conftest' are `present' (well, observable) | ||
| 2603 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | ||
| 2604 | # work properly (i.e., refer to `conftest.exe'), while it won't with | ||
| 2605 | # `rm'. | ||
| 2606 | for ac_file in conftest.exe conftest conftest.*; do | ||
| 2607 | test -f "$ac_file" || continue | ||
| 2608 | case $ac_file in | ||
| 2609 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | ||
| 2610 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | ||
| 2611 | break;; | ||
| 2612 | * ) break;; | ||
| 2613 | esac | ||
| 2614 | done | ||
| 2615 | else | ||
| 2616 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
| 2617 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
| 2618 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link | ||
| 2619 | See \`config.log' for more details" "$LINENO" 5; } | ||
| 2620 | fi | ||
| 2621 | rm -f conftest conftest$ac_cv_exeext | ||
| 2622 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | ||
| 2623 | $as_echo "$ac_cv_exeext" >&6; } | ||
| 2624 | |||
| 2625 | rm -f conftest.$ac_ext | ||
| 2626 | EXEEXT=$ac_cv_exeext | ||
| 2627 | ac_exeext=$EXEEXT | ||
| 2628 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 2629 | /* end confdefs.h. */ | ||
| 2630 | #include <stdio.h> | ||
| 2631 | int | ||
| 2632 | main () | ||
| 2633 | { | ||
| 2634 | FILE *f = fopen ("conftest.out", "w"); | ||
| 2635 | return ferror (f) || fclose (f) != 0; | ||
| 2636 | |||
| 2637 | ; | ||
| 2638 | return 0; | ||
| 2639 | } | ||
| 2640 | _ACEOF | ||
| 2641 | ac_clean_files="$ac_clean_files conftest.out" | ||
| 2642 | # Check that the compiler produces executables we can run. If not, either | ||
| 2643 | # the compiler is broken, or we cross compile. | ||
| 2644 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 | ||
| 2645 | $as_echo_n "checking whether we are cross compiling... " >&6; } | ||
| 2646 | if test "$cross_compiling" != yes; then | ||
| 2647 | { { ac_try="$ac_link" | ||
| 2648 | case "(($ac_try" in | ||
| 2649 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 2650 | *) ac_try_echo=$ac_try;; | ||
| 2651 | esac | ||
| 2652 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 2653 | $as_echo "$ac_try_echo"; } >&5 | ||
| 2654 | (eval "$ac_link") 2>&5 | ||
| 2655 | ac_status=$? | ||
| 2656 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 2657 | test $ac_status = 0; } | ||
| 2658 | if { ac_try='./conftest$ac_cv_exeext' | ||
| 2659 | { { case "(($ac_try" in | ||
| 2660 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 2661 | *) ac_try_echo=$ac_try;; | ||
| 2662 | esac | ||
| 2663 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 2664 | $as_echo "$ac_try_echo"; } >&5 | ||
| 2665 | (eval "$ac_try") 2>&5 | ||
| 2666 | ac_status=$? | ||
| 2667 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 2668 | test $ac_status = 0; }; }; then | ||
| 2669 | cross_compiling=no | ||
| 2670 | else | ||
| 2671 | if test "$cross_compiling" = maybe; then | ||
| 2672 | cross_compiling=yes | ||
| 2673 | else | ||
| 2674 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
| 2675 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
| 2676 | as_fn_error $? "cannot run C compiled programs. | ||
| 2677 | If you meant to cross compile, use \`--host'. | ||
| 2678 | See \`config.log' for more details" "$LINENO" 5; } | ||
| 2679 | fi | ||
| 2680 | fi | ||
| 2681 | fi | ||
| 2682 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | ||
| 2683 | $as_echo "$cross_compiling" >&6; } | ||
| 2684 | |||
| 2685 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out | ||
| 2686 | ac_clean_files=$ac_clean_files_save | ||
| 2687 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 | ||
| 2688 | $as_echo_n "checking for suffix of object files... " >&6; } | ||
| 2689 | if ${ac_cv_objext+:} false; then : | ||
| 2690 | $as_echo_n "(cached) " >&6 | ||
| 2691 | else | ||
| 2692 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 2693 | /* end confdefs.h. */ | ||
| 2694 | |||
| 2695 | int | ||
| 2696 | main () | ||
| 2697 | { | ||
| 2698 | |||
| 2699 | ; | ||
| 2700 | return 0; | ||
| 2701 | } | ||
| 2702 | _ACEOF | ||
| 2703 | rm -f conftest.o conftest.obj | ||
| 2704 | if { { ac_try="$ac_compile" | ||
| 2705 | case "(($ac_try" in | ||
| 2706 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 2707 | *) ac_try_echo=$ac_try;; | ||
| 2708 | esac | ||
| 2709 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 2710 | $as_echo "$ac_try_echo"; } >&5 | ||
| 2711 | (eval "$ac_compile") 2>&5 | ||
| 2712 | ac_status=$? | ||
| 2713 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 2714 | test $ac_status = 0; }; then : | ||
| 2715 | for ac_file in conftest.o conftest.obj conftest.*; do | ||
| 2716 | test -f "$ac_file" || continue; | ||
| 2717 | case $ac_file in | ||
| 2718 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; | ||
| 2719 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | ||
| 2720 | break;; | ||
| 2721 | esac | ||
| 2722 | done | ||
| 2723 | else | ||
| 2724 | $as_echo "$as_me: failed program was:" >&5 | ||
| 2725 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 2726 | |||
| 2727 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
| 2728 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
| 2729 | as_fn_error $? "cannot compute suffix of object files: cannot compile | ||
| 2730 | See \`config.log' for more details" "$LINENO" 5; } | ||
| 2731 | fi | ||
| 2732 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | ||
| 2733 | fi | ||
| 2734 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 | ||
| 2735 | $as_echo "$ac_cv_objext" >&6; } | ||
| 2736 | OBJEXT=$ac_cv_objext | ||
| 2737 | ac_objext=$OBJEXT | ||
| 2738 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 | ||
| 2739 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | ||
| 2740 | if ${ac_cv_c_compiler_gnu+:} false; then : | ||
| 2741 | $as_echo_n "(cached) " >&6 | ||
| 2742 | else | ||
| 2743 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 2744 | /* end confdefs.h. */ | ||
| 2745 | |||
| 2746 | int | ||
| 2747 | main () | ||
| 2748 | { | ||
| 2749 | #ifndef __GNUC__ | ||
| 2750 | choke me | ||
| 2751 | #endif | ||
| 2752 | |||
| 2753 | ; | ||
| 2754 | return 0; | ||
| 2755 | } | ||
| 2756 | _ACEOF | ||
| 2757 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 2758 | ac_compiler_gnu=yes | ||
| 2759 | else | ||
| 2760 | ac_compiler_gnu=no | ||
| 2761 | fi | ||
| 2762 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 2763 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | ||
| 2764 | |||
| 2765 | fi | ||
| 2766 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 | ||
| 2767 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } | ||
| 2768 | if test $ac_compiler_gnu = yes; then | ||
| 2769 | GCC=yes | ||
| 2770 | else | ||
| 2771 | GCC= | ||
| 2772 | fi | ||
| 2773 | ac_test_CFLAGS=${CFLAGS+set} | ||
| 2774 | ac_save_CFLAGS=$CFLAGS | ||
| 2775 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 | ||
| 2776 | $as_echo_n "checking whether $CC accepts -g... " >&6; } | ||
| 2777 | if ${ac_cv_prog_cc_g+:} false; then : | ||
| 2778 | $as_echo_n "(cached) " >&6 | ||
| 2779 | else | ||
| 2780 | ac_save_c_werror_flag=$ac_c_werror_flag | ||
| 2781 | ac_c_werror_flag=yes | ||
| 2782 | ac_cv_prog_cc_g=no | ||
| 2783 | CFLAGS="-g" | ||
| 2784 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 2785 | /* end confdefs.h. */ | ||
| 2786 | |||
| 2787 | int | ||
| 2788 | main () | ||
| 2789 | { | ||
| 2790 | |||
| 2791 | ; | ||
| 2792 | return 0; | ||
| 2793 | } | ||
| 2794 | _ACEOF | ||
| 2795 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 2796 | ac_cv_prog_cc_g=yes | ||
| 2797 | else | ||
| 2798 | CFLAGS="" | ||
| 2799 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 2800 | /* end confdefs.h. */ | ||
| 2801 | |||
| 2802 | int | ||
| 2803 | main () | ||
| 2804 | { | ||
| 2805 | |||
| 2806 | ; | ||
| 2807 | return 0; | ||
| 2808 | } | ||
| 2809 | _ACEOF | ||
| 2810 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 2811 | |||
| 2812 | else | ||
| 2813 | ac_c_werror_flag=$ac_save_c_werror_flag | ||
| 2814 | CFLAGS="-g" | ||
| 2815 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 2816 | /* end confdefs.h. */ | ||
| 2817 | |||
| 2818 | int | ||
| 2819 | main () | ||
| 2820 | { | ||
| 2821 | |||
| 2822 | ; | ||
| 2823 | return 0; | ||
| 2824 | } | ||
| 2825 | _ACEOF | ||
| 2826 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 2827 | ac_cv_prog_cc_g=yes | ||
| 2828 | fi | ||
| 2829 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 2830 | fi | ||
| 2831 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 2832 | fi | ||
| 2833 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 2834 | ac_c_werror_flag=$ac_save_c_werror_flag | ||
| 2835 | fi | ||
| 2836 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 | ||
| 2837 | $as_echo "$ac_cv_prog_cc_g" >&6; } | ||
| 2838 | if test "$ac_test_CFLAGS" = set; then | ||
| 2839 | CFLAGS=$ac_save_CFLAGS | ||
| 2840 | elif test $ac_cv_prog_cc_g = yes; then | ||
| 2841 | if test "$GCC" = yes; then | ||
| 2842 | CFLAGS="-g -O2" | ||
| 2843 | else | ||
| 2844 | CFLAGS="-g" | ||
| 2845 | fi | ||
| 2846 | else | ||
| 2847 | if test "$GCC" = yes; then | ||
| 2848 | CFLAGS="-O2" | ||
| 2849 | else | ||
| 2850 | CFLAGS= | ||
| 2851 | fi | ||
| 2852 | fi | ||
| 2853 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 | ||
| 2854 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | ||
| 2855 | if ${ac_cv_prog_cc_c89+:} false; then : | ||
| 2856 | $as_echo_n "(cached) " >&6 | ||
| 2857 | else | ||
| 2858 | ac_cv_prog_cc_c89=no | ||
| 2859 | ac_save_CC=$CC | ||
| 2860 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 2861 | /* end confdefs.h. */ | ||
| 2862 | #include <stdarg.h> | ||
| 2863 | #include <stdio.h> | ||
| 2864 | struct stat; | ||
| 2865 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | ||
| 2866 | struct buf { int x; }; | ||
| 2867 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | ||
| 2868 | static char *e (p, i) | ||
| 2869 | char **p; | ||
| 2870 | int i; | ||
| 2871 | { | ||
| 2872 | return p[i]; | ||
| 2873 | } | ||
| 2874 | static char *f (char * (*g) (char **, int), char **p, ...) | ||
| 2875 | { | ||
| 2876 | char *s; | ||
| 2877 | va_list v; | ||
| 2878 | va_start (v,p); | ||
| 2879 | s = g (p, va_arg (v,int)); | ||
| 2880 | va_end (v); | ||
| 2881 | return s; | ||
| 2882 | } | ||
| 2883 | |||
| 2884 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | ||
| 2885 | function prototypes and stuff, but not '\xHH' hex character constants. | ||
| 2886 | These don't provoke an error unfortunately, instead are silently treated | ||
| 2887 | as 'x'. The following induces an error, until -std is added to get | ||
| 2888 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | ||
| 2889 | array size at least. It's necessary to write '\x00'==0 to get something | ||
| 2890 | that's true only with -std. */ | ||
| 2891 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | ||
| 2892 | |||
| 2893 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | ||
| 2894 | inside strings and character constants. */ | ||
| 2895 | #define FOO(x) 'x' | ||
| 2896 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | ||
| 2897 | |||
| 2898 | int test (int i, double x); | ||
| 2899 | struct s1 {int (*f) (int a);}; | ||
| 2900 | struct s2 {int (*f) (double a);}; | ||
| 2901 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | ||
| 2902 | int argc; | ||
| 2903 | char **argv; | ||
| 2904 | int | ||
| 2905 | main () | ||
| 2906 | { | ||
| 2907 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ||
| 2908 | ; | ||
| 2909 | return 0; | ||
| 2910 | } | ||
| 2911 | _ACEOF | ||
| 2912 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | ||
| 2913 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | ||
| 2914 | do | ||
| 2915 | CC="$ac_save_CC $ac_arg" | ||
| 2916 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 2917 | ac_cv_prog_cc_c89=$ac_arg | ||
| 2918 | fi | ||
| 2919 | rm -f core conftest.err conftest.$ac_objext | ||
| 2920 | test "x$ac_cv_prog_cc_c89" != "xno" && break | ||
| 2921 | done | ||
| 2922 | rm -f conftest.$ac_ext | ||
| 2923 | CC=$ac_save_CC | ||
| 2924 | |||
| 2925 | fi | ||
| 2926 | # AC_CACHE_VAL | ||
| 2927 | case "x$ac_cv_prog_cc_c89" in | ||
| 2928 | x) | ||
| 2929 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 | ||
| 2930 | $as_echo "none needed" >&6; } ;; | ||
| 2931 | xno) | ||
| 2932 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 | ||
| 2933 | $as_echo "unsupported" >&6; } ;; | ||
| 2934 | *) | ||
| 2935 | CC="$CC $ac_cv_prog_cc_c89" | ||
| 2936 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 | ||
| 2937 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; | ||
| 2938 | esac | ||
| 2939 | if test "x$ac_cv_prog_cc_c89" != xno; then : | ||
| 2940 | |||
| 2941 | fi | ||
| 2942 | |||
| 2943 | ac_ext=c | ||
| 2944 | ac_cpp='$CPP $CPPFLAGS' | ||
| 2945 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
| 2946 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
| 2947 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
| 2948 | |||
| 2949 | ac_aux_dir= | ||
| 2950 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | ||
| 2951 | if test -f "$ac_dir/install-sh"; then | ||
| 2952 | ac_aux_dir=$ac_dir | ||
| 2953 | ac_install_sh="$ac_aux_dir/install-sh -c" | ||
| 2954 | break | ||
| 2955 | elif test -f "$ac_dir/install.sh"; then | ||
| 2956 | ac_aux_dir=$ac_dir | ||
| 2957 | ac_install_sh="$ac_aux_dir/install.sh -c" | ||
| 2958 | break | ||
| 2959 | elif test -f "$ac_dir/shtool"; then | ||
| 2960 | ac_aux_dir=$ac_dir | ||
| 2961 | ac_install_sh="$ac_aux_dir/shtool install -c" | ||
| 2962 | break | ||
| 2963 | fi | ||
| 2964 | done | ||
| 2965 | if test -z "$ac_aux_dir"; then | ||
| 2966 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 | ||
| 2967 | fi | ||
| 2968 | |||
| 2969 | # These three variables are undocumented and unsupported, | ||
| 2970 | # and are intended to be withdrawn in a future Autoconf release. | ||
| 2971 | # They can cause serious problems if a builder's source tree is in a directory | ||
| 2972 | # whose full name contains unusual characters. | ||
| 2973 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. | ||
| 2974 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. | ||
| 2975 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | ||
| 2976 | |||
| 2977 | |||
| 2978 | # Expand $ac_aux_dir to an absolute path. | ||
| 2979 | am_aux_dir=`cd "$ac_aux_dir" && pwd` | ||
| 2980 | |||
| 2981 | ac_ext=c | ||
| 2982 | ac_cpp='$CPP $CPPFLAGS' | ||
| 2983 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
| 2984 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
| 2985 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
| 2986 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 | ||
| 2987 | $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } | ||
| 2988 | if ${am_cv_prog_cc_c_o+:} false; then : | ||
| 2989 | $as_echo_n "(cached) " >&6 | ||
| 2990 | else | ||
| 2991 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 2992 | /* end confdefs.h. */ | ||
| 2993 | |||
| 2994 | int | ||
| 2995 | main () | ||
| 2996 | { | ||
| 2997 | |||
| 2998 | ; | ||
| 2999 | return 0; | ||
| 3000 | } | ||
| 3001 | _ACEOF | ||
| 3002 | # Make sure it works both with $CC and with simple cc. | ||
| 3003 | # Following AC_PROG_CC_C_O, we do the test twice because some | ||
| 3004 | # compilers refuse to overwrite an existing .o file with -o, | ||
| 3005 | # though they will create one. | ||
| 3006 | am_cv_prog_cc_c_o=yes | ||
| 3007 | for am_i in 1 2; do | ||
| 3008 | if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 | ||
| 3009 | ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 | ||
| 3010 | ac_status=$? | ||
| 3011 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3012 | (exit $ac_status); } \ | ||
| 3013 | && test -f conftest2.$ac_objext; then | ||
| 3014 | : OK | ||
| 3015 | else | ||
| 3016 | am_cv_prog_cc_c_o=no | ||
| 3017 | break | ||
| 3018 | fi | ||
| 3019 | done | ||
| 3020 | rm -f core conftest* | ||
| 3021 | unset am_i | ||
| 3022 | fi | ||
| 3023 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 | ||
| 3024 | $as_echo "$am_cv_prog_cc_c_o" >&6; } | ||
| 3025 | if test "$am_cv_prog_cc_c_o" != yes; then | ||
| 3026 | # Losing compiler, so override with the script. | ||
| 3027 | # FIXME: It is wrong to rewrite CC. | ||
| 3028 | # But if we don't then we get into trouble of one sort or another. | ||
| 3029 | # A longer-term fix would be to have automake use am__CC in this case, | ||
| 3030 | # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" | ||
| 3031 | CC="$am_aux_dir/compile $CC" | ||
| 3032 | fi | ||
| 3033 | ac_ext=c | ||
| 3034 | ac_cpp='$CPP $CPPFLAGS' | ||
| 3035 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
| 3036 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
| 3037 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
| 3038 | |||
| 3039 | |||
| 3040 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 | ||
| 3041 | $as_echo_n "checking for $CC option to accept ISO C99... " >&6; } | ||
| 3042 | if ${ac_cv_prog_cc_c99+:} false; then : | ||
| 3043 | $as_echo_n "(cached) " >&6 | ||
| 3044 | else | ||
| 3045 | ac_cv_prog_cc_c99=no | ||
| 3046 | ac_save_CC=$CC | ||
| 3047 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 3048 | /* end confdefs.h. */ | ||
| 3049 | #include <stdarg.h> | ||
| 3050 | #include <stdbool.h> | ||
| 3051 | #include <stdlib.h> | ||
| 3052 | #include <wchar.h> | ||
| 3053 | #include <stdio.h> | ||
| 3054 | |||
| 3055 | // Check varargs macros. These examples are taken from C99 6.10.3.5. | ||
| 3056 | #define debug(...) fprintf (stderr, __VA_ARGS__) | ||
| 3057 | #define showlist(...) puts (#__VA_ARGS__) | ||
| 3058 | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | ||
| 3059 | static void | ||
| 3060 | test_varargs_macros (void) | ||
| 3061 | { | ||
| 3062 | int x = 1234; | ||
| 3063 | int y = 5678; | ||
| 3064 | debug ("Flag"); | ||
| 3065 | debug ("X = %d\n", x); | ||
| 3066 | showlist (The first, second, and third items.); | ||
| 3067 | report (x>y, "x is %d but y is %d", x, y); | ||
| 3068 | } | ||
| 3069 | |||
| 3070 | // Check long long types. | ||
| 3071 | #define BIG64 18446744073709551615ull | ||
| 3072 | #define BIG32 4294967295ul | ||
| 3073 | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | ||
| 3074 | #if !BIG_OK | ||
| 3075 | your preprocessor is broken; | ||
| 3076 | #endif | ||
| 3077 | #if BIG_OK | ||
| 3078 | #else | ||
| 3079 | your preprocessor is broken; | ||
| 3080 | #endif | ||
| 3081 | static long long int bignum = -9223372036854775807LL; | ||
| 3082 | static unsigned long long int ubignum = BIG64; | ||
| 3083 | |||
| 3084 | struct incomplete_array | ||
| 3085 | { | ||
| 3086 | int datasize; | ||
| 3087 | double data[]; | ||
| 3088 | }; | ||
| 3089 | |||
| 3090 | struct named_init { | ||
| 3091 | int number; | ||
| 3092 | const wchar_t *name; | ||
| 3093 | double average; | ||
| 3094 | }; | ||
| 3095 | |||
| 3096 | typedef const char *ccp; | ||
| 3097 | |||
| 3098 | static inline int | ||
| 3099 | test_restrict (ccp restrict text) | ||
| 3100 | { | ||
| 3101 | // See if C++-style comments work. | ||
| 3102 | // Iterate through items via the restricted pointer. | ||
| 3103 | // Also check for declarations in for loops. | ||
| 3104 | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | ||
| 3105 | continue; | ||
| 3106 | return 0; | ||
| 3107 | } | ||
| 3108 | |||
| 3109 | // Check varargs and va_copy. | ||
| 3110 | static void | ||
| 3111 | test_varargs (const char *format, ...) | ||
| 3112 | { | ||
| 3113 | va_list args; | ||
| 3114 | va_start (args, format); | ||
| 3115 | va_list args_copy; | ||
| 3116 | va_copy (args_copy, args); | ||
| 3117 | |||
| 3118 | const char *str; | ||
| 3119 | int number; | ||
| 3120 | float fnumber; | ||
| 3121 | |||
| 3122 | while (*format) | ||
| 3123 | { | ||
| 3124 | switch (*format++) | ||
| 3125 | { | ||
| 3126 | case 's': // string | ||
| 3127 | str = va_arg (args_copy, const char *); | ||
| 3128 | break; | ||
| 3129 | case 'd': // int | ||
| 3130 | number = va_arg (args_copy, int); | ||
| 3131 | break; | ||
| 3132 | case 'f': // float | ||
| 3133 | fnumber = va_arg (args_copy, double); | ||
| 3134 | break; | ||
| 3135 | default: | ||
| 3136 | break; | ||
| 3137 | } | ||
| 3138 | } | ||
| 3139 | va_end (args_copy); | ||
| 3140 | va_end (args); | ||
| 3141 | } | ||
| 3142 | |||
| 3143 | int | ||
| 3144 | main () | ||
| 3145 | { | ||
| 3146 | |||
| 3147 | // Check bool. | ||
| 3148 | _Bool success = false; | ||
| 3149 | |||
| 3150 | // Check restrict. | ||
| 3151 | if (test_restrict ("String literal") == 0) | ||
| 3152 | success = true; | ||
| 3153 | char *restrict newvar = "Another string"; | ||
| 3154 | |||
| 3155 | // Check varargs. | ||
| 3156 | test_varargs ("s, d' f .", "string", 65, 34.234); | ||
| 3157 | test_varargs_macros (); | ||
| 3158 | |||
| 3159 | // Check flexible array members. | ||
| 3160 | struct incomplete_array *ia = | ||
| 3161 | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ||
| 3162 | ia->datasize = 10; | ||
| 3163 | for (int i = 0; i < ia->datasize; ++i) | ||
| 3164 | ia->data[i] = i * 1.234; | ||
| 3165 | |||
| 3166 | // Check named initializers. | ||
| 3167 | struct named_init ni = { | ||
| 3168 | .number = 34, | ||
| 3169 | .name = L"Test wide string", | ||
| 3170 | .average = 543.34343, | ||
| 3171 | }; | ||
| 3172 | |||
| 3173 | ni.number = 58; | ||
| 3174 | |||
| 3175 | int dynamic_array[ni.number]; | ||
| 3176 | dynamic_array[ni.number - 1] = 543; | ||
| 3177 | |||
| 3178 | // work around unused variable warnings | ||
| 3179 | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | ||
| 3180 | || dynamic_array[ni.number - 1] != 543); | ||
| 3181 | |||
| 3182 | ; | ||
| 3183 | return 0; | ||
| 3184 | } | ||
| 3185 | _ACEOF | ||
| 3186 | for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 | ||
| 3187 | do | ||
| 3188 | CC="$ac_save_CC $ac_arg" | ||
| 3189 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 3190 | ac_cv_prog_cc_c99=$ac_arg | ||
| 3191 | fi | ||
| 3192 | rm -f core conftest.err conftest.$ac_objext | ||
| 3193 | test "x$ac_cv_prog_cc_c99" != "xno" && break | ||
| 3194 | done | ||
| 3195 | rm -f conftest.$ac_ext | ||
| 3196 | CC=$ac_save_CC | ||
| 3197 | |||
| 3198 | fi | ||
| 3199 | # AC_CACHE_VAL | ||
| 3200 | case "x$ac_cv_prog_cc_c99" in | ||
| 3201 | x) | ||
| 3202 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 | ||
| 3203 | $as_echo "none needed" >&6; } ;; | ||
| 3204 | xno) | ||
| 3205 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 | ||
| 3206 | $as_echo "unsupported" >&6; } ;; | ||
| 3207 | *) | ||
| 3208 | CC="$CC $ac_cv_prog_cc_c99" | ||
| 3209 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 | ||
| 3210 | $as_echo "$ac_cv_prog_cc_c99" >&6; } ;; | ||
| 3211 | esac | ||
| 3212 | if test "x$ac_cv_prog_cc_c99" != xno; then : | ||
| 3213 | |||
| 3214 | fi | ||
| 3215 | |||
| 3216 | |||
| 3217 | ac_ext=c | ||
| 3218 | ac_cpp='$CPP $CPPFLAGS' | ||
| 3219 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
| 3220 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
| 3221 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
| 3222 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 | ||
| 3223 | $as_echo_n "checking how to run the C preprocessor... " >&6; } | ||
| 3224 | # On Suns, sometimes $CPP names a directory. | ||
| 3225 | if test -n "$CPP" && test -d "$CPP"; then | ||
| 3226 | CPP= | ||
| 3227 | fi | ||
| 3228 | if test -z "$CPP"; then | ||
| 3229 | if ${ac_cv_prog_CPP+:} false; then : | ||
| 3230 | $as_echo_n "(cached) " >&6 | ||
| 3231 | else | ||
| 3232 | # Double quotes because CPP needs to be expanded | ||
| 3233 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | ||
| 3234 | do | ||
| 3235 | ac_preproc_ok=false | ||
| 3236 | for ac_c_preproc_warn_flag in '' yes | ||
| 3237 | do | ||
| 3238 | # Use a header file that comes with gcc, so configuring glibc | ||
| 3239 | # with a fresh cross-compiler works. | ||
| 3240 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 3241 | # <limits.h> exists even on freestanding compilers. | ||
| 3242 | # On the NeXT, cc -E runs the code through the compiler's parser, | ||
| 3243 | # not just through cpp. "Syntax error" is here to catch this case. | ||
| 3244 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 3245 | /* end confdefs.h. */ | ||
| 3246 | #ifdef __STDC__ | ||
| 3247 | # include <limits.h> | ||
| 3248 | #else | ||
| 3249 | # include <assert.h> | ||
| 3250 | #endif | ||
| 3251 | Syntax error | ||
| 3252 | _ACEOF | ||
| 3253 | if ac_fn_c_try_cpp "$LINENO"; then : | ||
| 3254 | |||
| 3255 | else | ||
| 3256 | # Broken: fails on valid input. | ||
| 3257 | continue | ||
| 3258 | fi | ||
| 3259 | rm -f conftest.err conftest.i conftest.$ac_ext | ||
| 3260 | |||
| 3261 | # OK, works on sane cases. Now check whether nonexistent headers | ||
| 3262 | # can be detected and how. | ||
| 3263 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 3264 | /* end confdefs.h. */ | ||
| 3265 | #include <ac_nonexistent.h> | ||
| 3266 | _ACEOF | ||
| 3267 | if ac_fn_c_try_cpp "$LINENO"; then : | ||
| 3268 | # Broken: success on invalid input. | ||
| 3269 | continue | ||
| 3270 | else | ||
| 3271 | # Passes both tests. | ||
| 3272 | ac_preproc_ok=: | ||
| 3273 | break | ||
| 3274 | fi | ||
| 3275 | rm -f conftest.err conftest.i conftest.$ac_ext | ||
| 3276 | |||
| 3277 | done | ||
| 3278 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | ||
| 3279 | rm -f conftest.i conftest.err conftest.$ac_ext | ||
| 3280 | if $ac_preproc_ok; then : | ||
| 3281 | break | ||
| 3282 | fi | ||
| 3283 | |||
| 3284 | done | ||
| 3285 | ac_cv_prog_CPP=$CPP | ||
| 3286 | |||
| 3287 | fi | ||
| 3288 | CPP=$ac_cv_prog_CPP | ||
| 3289 | else | ||
| 3290 | ac_cv_prog_CPP=$CPP | ||
| 3291 | fi | ||
| 3292 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 | ||
| 3293 | $as_echo "$CPP" >&6; } | ||
| 3294 | ac_preproc_ok=false | ||
| 3295 | for ac_c_preproc_warn_flag in '' yes | ||
| 3296 | do | ||
| 3297 | # Use a header file that comes with gcc, so configuring glibc | ||
| 3298 | # with a fresh cross-compiler works. | ||
| 3299 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 3300 | # <limits.h> exists even on freestanding compilers. | ||
| 3301 | # On the NeXT, cc -E runs the code through the compiler's parser, | ||
| 3302 | # not just through cpp. "Syntax error" is here to catch this case. | ||
| 3303 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 3304 | /* end confdefs.h. */ | ||
| 3305 | #ifdef __STDC__ | ||
| 3306 | # include <limits.h> | ||
| 3307 | #else | ||
| 3308 | # include <assert.h> | ||
| 3309 | #endif | ||
| 3310 | Syntax error | ||
| 3311 | _ACEOF | ||
| 3312 | if ac_fn_c_try_cpp "$LINENO"; then : | ||
| 3313 | |||
| 3314 | else | ||
| 3315 | # Broken: fails on valid input. | ||
| 3316 | continue | ||
| 3317 | fi | ||
| 3318 | rm -f conftest.err conftest.i conftest.$ac_ext | ||
| 3319 | |||
| 3320 | # OK, works on sane cases. Now check whether nonexistent headers | ||
| 3321 | # can be detected and how. | ||
| 3322 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 3323 | /* end confdefs.h. */ | ||
| 3324 | #include <ac_nonexistent.h> | ||
| 3325 | _ACEOF | ||
| 3326 | if ac_fn_c_try_cpp "$LINENO"; then : | ||
| 3327 | # Broken: success on invalid input. | ||
| 3328 | continue | ||
| 3329 | else | ||
| 3330 | # Passes both tests. | ||
| 3331 | ac_preproc_ok=: | ||
| 3332 | break | ||
| 3333 | fi | ||
| 3334 | rm -f conftest.err conftest.i conftest.$ac_ext | ||
| 3335 | |||
| 3336 | done | ||
| 3337 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | ||
| 3338 | rm -f conftest.i conftest.err conftest.$ac_ext | ||
| 3339 | if $ac_preproc_ok; then : | ||
| 3340 | |||
| 3341 | else | ||
| 3342 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
| 3343 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
| 3344 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check | ||
| 3345 | See \`config.log' for more details" "$LINENO" 5; } | ||
| 3346 | fi | ||
| 3347 | |||
| 3348 | ac_ext=c | ||
| 3349 | ac_cpp='$CPP $CPPFLAGS' | ||
| 3350 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
| 3351 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
| 3352 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
| 3353 | |||
| 3354 | |||
| 3355 | |||
| 3356 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for typeof syntax and keyword spelling" >&5 | ||
| 3357 | $as_echo_n "checking for typeof syntax and keyword spelling... " >&6; } | ||
| 3358 | if ${ac_cv_c_typeof+:} false; then : | ||
| 3359 | $as_echo_n "(cached) " >&6 | ||
| 3360 | else | ||
| 3361 | ac_cv_c_typeof=no | ||
| 3362 | for ac_kw in typeof __typeof__ no; do | ||
| 3363 | test $ac_kw = no && break | ||
| 3364 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 3365 | /* end confdefs.h. */ | ||
| 3366 | |||
| 3367 | int | ||
| 3368 | main () | ||
| 3369 | { | ||
| 3370 | |||
| 3371 | int value; | ||
| 3372 | typedef struct { | ||
| 3373 | char a [1 | ||
| 3374 | + ! (($ac_kw (value)) | ||
| 3375 | (($ac_kw (value)) 0 < ($ac_kw (value)) -1 | ||
| 3376 | ? ($ac_kw (value)) - 1 | ||
| 3377 | : ~ (~ ($ac_kw (value)) 0 | ||
| 3378 | << sizeof ($ac_kw (value)))))]; } | ||
| 3379 | ac__typeof_type_; | ||
| 3380 | return | ||
| 3381 | (! ((void) ((ac__typeof_type_ *) 0), 0)); | ||
| 3382 | |||
| 3383 | ; | ||
| 3384 | return 0; | ||
| 3385 | } | ||
| 3386 | _ACEOF | ||
| 3387 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 3388 | ac_cv_c_typeof=$ac_kw | ||
| 3389 | fi | ||
| 3390 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 3391 | test $ac_cv_c_typeof != no && break | ||
| 3392 | done | ||
| 3393 | fi | ||
| 3394 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_typeof" >&5 | ||
| 3395 | $as_echo "$ac_cv_c_typeof" >&6; } | ||
| 3396 | if test $ac_cv_c_typeof != no; then | ||
| 3397 | |||
| 3398 | $as_echo "#define HAVE_TYPEOF 1" >>confdefs.h | ||
| 3399 | |||
| 3400 | if test $ac_cv_c_typeof != typeof; then | ||
| 3401 | |||
| 3402 | cat >>confdefs.h <<_ACEOF | ||
| 3403 | #define typeof $ac_cv_c_typeof | ||
| 3404 | _ACEOF | ||
| 3405 | |||
| 3406 | fi | ||
| 3407 | fi | ||
| 3408 | |||
| 3409 | |||
| 3410 | # Checks for libraries. | ||
| 3411 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncurses" >&5 | ||
| 3412 | $as_echo_n "checking for initscr in -lncurses... " >&6; } | ||
| 3413 | if ${ac_cv_lib_ncurses_initscr+:} false; then : | ||
| 3414 | $as_echo_n "(cached) " >&6 | ||
| 3415 | else | ||
| 3416 | ac_check_lib_save_LIBS=$LIBS | ||
| 3417 | LIBS="-lncurses $LIBS" | ||
| 3418 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 3419 | /* end confdefs.h. */ | ||
| 3420 | |||
| 3421 | /* Override any GCC internal prototype to avoid an error. | ||
| 3422 | Use char because int might match the return type of a GCC | ||
| 3423 | builtin and then its argument prototype would still apply. */ | ||
| 3424 | #ifdef __cplusplus | ||
| 3425 | extern "C" | ||
| 3426 | #endif | ||
| 3427 | char initscr (); | ||
| 3428 | int | ||
| 3429 | main () | ||
| 3430 | { | ||
| 3431 | return initscr (); | ||
| 3432 | ; | ||
| 3433 | return 0; | ||
| 3434 | } | ||
| 3435 | _ACEOF | ||
| 3436 | if ac_fn_c_try_link "$LINENO"; then : | ||
| 3437 | ac_cv_lib_ncurses_initscr=yes | ||
| 3438 | else | ||
| 3439 | ac_cv_lib_ncurses_initscr=no | ||
| 3440 | fi | ||
| 3441 | rm -f core conftest.err conftest.$ac_objext \ | ||
| 3442 | conftest$ac_exeext conftest.$ac_ext | ||
| 3443 | LIBS=$ac_check_lib_save_LIBS | ||
| 3444 | fi | ||
| 3445 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_initscr" >&5 | ||
| 3446 | $as_echo "$ac_cv_lib_ncurses_initscr" >&6; } | ||
| 3447 | if test "x$ac_cv_lib_ncurses_initscr" = xyes; then : | ||
| 3448 | cat >>confdefs.h <<_ACEOF | ||
| 3449 | #define HAVE_LIBNCURSES 1 | ||
| 3450 | _ACEOF | ||
| 3451 | |||
| 3452 | LIBS="-lncurses $LIBS" | ||
| 3453 | |||
| 3454 | fi | ||
| 3455 | |||
| 3456 | |||
| 3457 | # Checks for header files. | ||
| 3458 | |||
| 3459 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 | ||
| 3460 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } | ||
| 3461 | if ${ac_cv_path_GREP+:} false; then : | ||
| 3462 | $as_echo_n "(cached) " >&6 | ||
| 3463 | else | ||
| 3464 | if test -z "$GREP"; then | ||
| 3465 | ac_path_GREP_found=false | ||
| 3466 | # Loop through the user's path and test for each of PROGNAME-LIST | ||
| 3467 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 3468 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | ||
| 3469 | do | ||
| 3470 | IFS=$as_save_IFS | ||
| 3471 | test -z "$as_dir" && as_dir=. | ||
| 3472 | for ac_prog in grep ggrep; do | ||
| 3473 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 3474 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | ||
| 3475 | as_fn_executable_p "$ac_path_GREP" || continue | ||
| 3476 | # Check for GNU ac_path_GREP and select it if it is found. | ||
| 3477 | # Check for GNU $ac_path_GREP | ||
| 3478 | case `"$ac_path_GREP" --version 2>&1` in | ||
| 3479 | *GNU*) | ||
| 3480 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | ||
| 3481 | *) | ||
| 3482 | ac_count=0 | ||
| 3483 | $as_echo_n 0123456789 >"conftest.in" | ||
| 3484 | while : | ||
| 3485 | do | ||
| 3486 | cat "conftest.in" "conftest.in" >"conftest.tmp" | ||
| 3487 | mv "conftest.tmp" "conftest.in" | ||
| 3488 | cp "conftest.in" "conftest.nl" | ||
| 3489 | $as_echo 'GREP' >> "conftest.nl" | ||
| 3490 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | ||
| 3491 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | ||
| 3492 | as_fn_arith $ac_count + 1 && ac_count=$as_val | ||
| 3493 | if test $ac_count -gt ${ac_path_GREP_max-0}; then | ||
| 3494 | # Best one so far, save it but keep looking for a better one | ||
| 3495 | ac_cv_path_GREP="$ac_path_GREP" | ||
| 3496 | ac_path_GREP_max=$ac_count | ||
| 3497 | fi | ||
| 3498 | # 10*(2^10) chars as input seems more than enough | ||
| 3499 | test $ac_count -gt 10 && break | ||
| 3500 | done | ||
| 3501 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | ||
| 3502 | esac | ||
| 3503 | |||
| 3504 | $ac_path_GREP_found && break 3 | ||
| 3505 | done | ||
| 3506 | done | ||
| 3507 | done | ||
| 3508 | IFS=$as_save_IFS | ||
| 3509 | if test -z "$ac_cv_path_GREP"; then | ||
| 3510 | as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | ||
| 3511 | fi | ||
| 3512 | else | ||
| 3513 | ac_cv_path_GREP=$GREP | ||
| 3514 | fi | ||
| 3515 | |||
| 3516 | fi | ||
| 3517 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 | ||
| 3518 | $as_echo "$ac_cv_path_GREP" >&6; } | ||
| 3519 | GREP="$ac_cv_path_GREP" | ||
| 3520 | |||
| 3521 | |||
| 3522 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 | ||
| 3523 | $as_echo_n "checking for egrep... " >&6; } | ||
| 3524 | if ${ac_cv_path_EGREP+:} false; then : | ||
| 3525 | $as_echo_n "(cached) " >&6 | ||
| 3526 | else | ||
| 3527 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | ||
| 3528 | then ac_cv_path_EGREP="$GREP -E" | ||
| 3529 | else | ||
| 3530 | if test -z "$EGREP"; then | ||
| 3531 | ac_path_EGREP_found=false | ||
| 3532 | # Loop through the user's path and test for each of PROGNAME-LIST | ||
| 3533 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 3534 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | ||
| 3535 | do | ||
| 3536 | IFS=$as_save_IFS | ||
| 3537 | test -z "$as_dir" && as_dir=. | ||
| 3538 | for ac_prog in egrep; do | ||
| 3539 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 3540 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | ||
| 3541 | as_fn_executable_p "$ac_path_EGREP" || continue | ||
| 3542 | # Check for GNU ac_path_EGREP and select it if it is found. | ||
| 3543 | # Check for GNU $ac_path_EGREP | ||
| 3544 | case `"$ac_path_EGREP" --version 2>&1` in | ||
| 3545 | *GNU*) | ||
| 3546 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | ||
| 3547 | *) | ||
| 3548 | ac_count=0 | ||
| 3549 | $as_echo_n 0123456789 >"conftest.in" | ||
| 3550 | while : | ||
| 3551 | do | ||
| 3552 | cat "conftest.in" "conftest.in" >"conftest.tmp" | ||
| 3553 | mv "conftest.tmp" "conftest.in" | ||
| 3554 | cp "conftest.in" "conftest.nl" | ||
| 3555 | $as_echo 'EGREP' >> "conftest.nl" | ||
| 3556 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | ||
| 3557 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | ||
| 3558 | as_fn_arith $ac_count + 1 && ac_count=$as_val | ||
| 3559 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then | ||
| 3560 | # Best one so far, save it but keep looking for a better one | ||
| 3561 | ac_cv_path_EGREP="$ac_path_EGREP" | ||
| 3562 | ac_path_EGREP_max=$ac_count | ||
| 3563 | fi | ||
| 3564 | # 10*(2^10) chars as input seems more than enough | ||
| 3565 | test $ac_count -gt 10 && break | ||
| 3566 | done | ||
| 3567 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | ||
| 3568 | esac | ||
| 3569 | |||
| 3570 | $ac_path_EGREP_found && break 3 | ||
| 3571 | done | ||
| 3572 | done | ||
| 3573 | done | ||
| 3574 | IFS=$as_save_IFS | ||
| 3575 | if test -z "$ac_cv_path_EGREP"; then | ||
| 3576 | as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | ||
| 3577 | fi | ||
| 3578 | else | ||
| 3579 | ac_cv_path_EGREP=$EGREP | ||
| 3580 | fi | ||
| 3581 | |||
| 3582 | fi | ||
| 3583 | fi | ||
| 3584 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 | ||
| 3585 | $as_echo "$ac_cv_path_EGREP" >&6; } | ||
| 3586 | EGREP="$ac_cv_path_EGREP" | ||
| 3587 | |||
| 3588 | |||
| 3589 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | ||
| 3590 | $as_echo_n "checking for ANSI C header files... " >&6; } | ||
| 3591 | if ${ac_cv_header_stdc+:} false; then : | ||
| 3592 | $as_echo_n "(cached) " >&6 | ||
| 3593 | else | ||
| 3594 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 3595 | /* end confdefs.h. */ | ||
| 3596 | #include <stdlib.h> | ||
| 3597 | #include <stdarg.h> | ||
| 3598 | #include <string.h> | ||
| 3599 | #include <float.h> | ||
| 3600 | |||
| 3601 | int | ||
| 3602 | main () | ||
| 3603 | { | ||
| 3604 | |||
| 3605 | ; | ||
| 3606 | return 0; | ||
| 3607 | } | ||
| 3608 | _ACEOF | ||
| 3609 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 3610 | ac_cv_header_stdc=yes | ||
| 3611 | else | ||
| 3612 | ac_cv_header_stdc=no | ||
| 3613 | fi | ||
| 3614 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 3615 | |||
| 3616 | if test $ac_cv_header_stdc = yes; then | ||
| 3617 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | ||
| 3618 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 3619 | /* end confdefs.h. */ | ||
| 3620 | #include <string.h> | ||
| 3621 | |||
| 3622 | _ACEOF | ||
| 3623 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
| 3624 | $EGREP "memchr" >/dev/null 2>&1; then : | ||
| 3625 | |||
| 3626 | else | ||
| 3627 | ac_cv_header_stdc=no | ||
| 3628 | fi | ||
| 3629 | rm -f conftest* | ||
| 3630 | |||
| 3631 | fi | ||
| 3632 | |||
| 3633 | if test $ac_cv_header_stdc = yes; then | ||
| 3634 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | ||
| 3635 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 3636 | /* end confdefs.h. */ | ||
| 3637 | #include <stdlib.h> | ||
| 3638 | |||
| 3639 | _ACEOF | ||
| 3640 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
| 3641 | $EGREP "free" >/dev/null 2>&1; then : | ||
| 3642 | |||
| 3643 | else | ||
| 3644 | ac_cv_header_stdc=no | ||
| 3645 | fi | ||
| 3646 | rm -f conftest* | ||
| 3647 | |||
| 3648 | fi | ||
| 3649 | |||
| 3650 | if test $ac_cv_header_stdc = yes; then | ||
| 3651 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | ||
| 3652 | if test "$cross_compiling" = yes; then : | ||
| 3653 | : | ||
| 3654 | else | ||
| 3655 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 3656 | /* end confdefs.h. */ | ||
| 3657 | #include <ctype.h> | ||
| 3658 | #include <stdlib.h> | ||
| 3659 | #if ((' ' & 0x0FF) == 0x020) | ||
| 3660 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | ||
| 3661 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | ||
| 3662 | #else | ||
| 3663 | # define ISLOWER(c) \ | ||
| 3664 | (('a' <= (c) && (c) <= 'i') \ | ||
| 3665 | || ('j' <= (c) && (c) <= 'r') \ | ||
| 3666 | || ('s' <= (c) && (c) <= 'z')) | ||
| 3667 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | ||
| 3668 | #endif | ||
| 3669 | |||
| 3670 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | ||
| 3671 | int | ||
| 3672 | main () | ||
| 3673 | { | ||
| 3674 | int i; | ||
| 3675 | for (i = 0; i < 256; i++) | ||
| 3676 | if (XOR (islower (i), ISLOWER (i)) | ||
| 3677 | || toupper (i) != TOUPPER (i)) | ||
| 3678 | return 2; | ||
| 3679 | return 0; | ||
| 3680 | } | ||
| 3681 | _ACEOF | ||
| 3682 | if ac_fn_c_try_run "$LINENO"; then : | ||
| 3683 | |||
| 3684 | else | ||
| 3685 | ac_cv_header_stdc=no | ||
| 3686 | fi | ||
| 3687 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | ||
| 3688 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
| 3689 | fi | ||
| 3690 | |||
| 3691 | fi | ||
| 3692 | fi | ||
| 3693 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 | ||
| 3694 | $as_echo "$ac_cv_header_stdc" >&6; } | ||
| 3695 | if test $ac_cv_header_stdc = yes; then | ||
| 3696 | |||
| 3697 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h | ||
| 3698 | |||
| 3699 | fi | ||
| 3700 | |||
| 3701 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. | ||
| 3702 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | ||
| 3703 | inttypes.h stdint.h unistd.h | ||
| 3704 | do : | ||
| 3705 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
| 3706 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | ||
| 3707 | " | ||
| 3708 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | ||
| 3709 | cat >>confdefs.h <<_ACEOF | ||
| 3710 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
| 3711 | _ACEOF | ||
| 3712 | |||
| 3713 | fi | ||
| 3714 | |||
| 3715 | done | ||
| 3716 | |||
| 3717 | |||
| 3718 | for ac_header in stdlib.h string.h unistd.h | ||
| 3719 | do : | ||
| 3720 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
| 3721 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | ||
| 3722 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | ||
| 3723 | cat >>confdefs.h <<_ACEOF | ||
| 3724 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
| 3725 | _ACEOF | ||
| 3726 | |||
| 3727 | fi | ||
| 3728 | |||
| 3729 | done | ||
| 3730 | |||
| 3731 | |||
| 3732 | # Checks for typedefs, structures, and compiler characteristics. | ||
| 3733 | |||
| 3734 | # Checks for library functions. | ||
| 3735 | for ac_func in memset strtol | ||
| 3736 | do : | ||
| 3737 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
| 3738 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | ||
| 3739 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | ||
| 3740 | cat >>confdefs.h <<_ACEOF | ||
| 3741 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
| 3742 | _ACEOF | ||
| 3743 | |||
| 3744 | fi | ||
| 3745 | done | ||
| 3746 | |||
| 3747 | |||
| 3748 | ac_config_files="$ac_config_files docs/Makefile docs/life.6 test/Makefile src/Makefile Makefile" | ||
| 3749 | |||
| 3750 | am__api_version='1.15' | ||
| 3751 | |||
| 3752 | # Find a good install program. We prefer a C program (faster), | ||
| 3753 | # so one script is as good as another. But avoid the broken or | ||
| 3754 | # incompatible versions: | ||
| 3755 | # SysV /etc/install, /usr/sbin/install | ||
| 3756 | # SunOS /usr/etc/install | ||
| 3757 | # IRIX /sbin/install | ||
| 3758 | # AIX /bin/install | ||
| 3759 | # AmigaOS /C/install, which installs bootblocks on floppy discs | ||
| 3760 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | ||
| 3761 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | ||
| 3762 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||
| 3763 | # OS/2's system install, which has a completely different semantic | ||
| 3764 | # ./install, which can be erroneously created by make from ./install.sh. | ||
| 3765 | # Reject install programs that cannot install multiple files. | ||
| 3766 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 | ||
| 3767 | $as_echo_n "checking for a BSD-compatible install... " >&6; } | ||
| 3768 | if test -z "$INSTALL"; then | ||
| 3769 | if ${ac_cv_path_install+:} false; then : | ||
| 3770 | $as_echo_n "(cached) " >&6 | ||
| 3771 | else | ||
| 3772 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 3773 | for as_dir in $PATH | ||
| 3774 | do | ||
| 3775 | IFS=$as_save_IFS | ||
| 3776 | test -z "$as_dir" && as_dir=. | ||
| 3777 | # Account for people who put trailing slashes in PATH elements. | ||
| 3778 | case $as_dir/ in #(( | ||
| 3779 | ./ | .// | /[cC]/* | \ | ||
| 3780 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | ||
| 3781 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ | ||
| 3782 | /usr/ucb/* ) ;; | ||
| 3783 | *) | ||
| 3784 | # OSF1 and SCO ODT 3.0 have their own names for install. | ||
| 3785 | # Don't use installbsd from OSF since it installs stuff as root | ||
| 3786 | # by default. | ||
| 3787 | for ac_prog in ginstall scoinst install; do | ||
| 3788 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 3789 | if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | ||
| 3790 | if test $ac_prog = install && | ||
| 3791 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | ||
| 3792 | # AIX install. It has an incompatible calling convention. | ||
| 3793 | : | ||
| 3794 | elif test $ac_prog = install && | ||
| 3795 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | ||
| 3796 | # program-specific install script used by HP pwplus--don't use. | ||
| 3797 | : | ||
| 3798 | else | ||
| 3799 | rm -rf conftest.one conftest.two conftest.dir | ||
| 3800 | echo one > conftest.one | ||
| 3801 | echo two > conftest.two | ||
| 3802 | mkdir conftest.dir | ||
| 3803 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && | ||
| 3804 | test -s conftest.one && test -s conftest.two && | ||
| 3805 | test -s conftest.dir/conftest.one && | ||
| 3806 | test -s conftest.dir/conftest.two | ||
| 3807 | then | ||
| 3808 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | ||
| 3809 | break 3 | ||
| 3810 | fi | ||
| 3811 | fi | ||
| 3812 | fi | ||
| 3813 | done | ||
| 3814 | done | ||
| 3815 | ;; | ||
| 3816 | esac | ||
| 3817 | |||
| 3818 | done | ||
| 3819 | IFS=$as_save_IFS | ||
| 3820 | |||
| 3821 | rm -rf conftest.one conftest.two conftest.dir | ||
| 3822 | |||
| 3823 | fi | ||
| 3824 | if test "${ac_cv_path_install+set}" = set; then | ||
| 3825 | INSTALL=$ac_cv_path_install | ||
| 3826 | else | ||
| 3827 | # As a last resort, use the slow shell script. Don't cache a | ||
| 3828 | # value for INSTALL within a source directory, because that will | ||
| 3829 | # break other packages using the cache if that directory is | ||
| 3830 | # removed, or if the value is a relative name. | ||
| 3831 | INSTALL=$ac_install_sh | ||
| 3832 | fi | ||
| 3833 | fi | ||
| 3834 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 | ||
| 3835 | $as_echo "$INSTALL" >&6; } | ||
| 3836 | |||
| 3837 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | ||
| 3838 | # It thinks the first close brace ends the variable substitution. | ||
| 3839 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | ||
| 3840 | |||
| 3841 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | ||
| 3842 | |||
| 3843 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||
| 3844 | |||
| 3845 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 | ||
| 3846 | $as_echo_n "checking whether build environment is sane... " >&6; } | ||
| 3847 | # Reject unsafe characters in $srcdir or the absolute working directory | ||
| 3848 | # name. Accept space and tab only in the latter. | ||
| 3849 | am_lf=' | ||
| 3850 | ' | ||
| 3851 | case `pwd` in | ||
| 3852 | *[\\\"\#\$\&\'\`$am_lf]*) | ||
| 3853 | as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; | ||
| 3854 | esac | ||
| 3855 | case $srcdir in | ||
| 3856 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) | ||
| 3857 | as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; | ||
| 3858 | esac | ||
| 3859 | |||
| 3860 | # Do 'set' in a subshell so we don't clobber the current shell's | ||
| 3861 | # arguments. Must try -L first in case configure is actually a | ||
| 3862 | # symlink; some systems play weird games with the mod time of symlinks | ||
| 3863 | # (eg FreeBSD returns the mod time of the symlink's containing | ||
| 3864 | # directory). | ||
| 3865 | if ( | ||
| 3866 | am_has_slept=no | ||
| 3867 | for am_try in 1 2; do | ||
| 3868 | echo "timestamp, slept: $am_has_slept" > conftest.file | ||
| 3869 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | ||
| 3870 | if test "$*" = "X"; then | ||
| 3871 | # -L didn't work. | ||
| 3872 | set X `ls -t "$srcdir/configure" conftest.file` | ||
| 3873 | fi | ||
| 3874 | if test "$*" != "X $srcdir/configure conftest.file" \ | ||
| 3875 | && test "$*" != "X conftest.file $srcdir/configure"; then | ||
| 3876 | |||
| 3877 | # If neither matched, then we have a broken ls. This can happen | ||
| 3878 | # if, for instance, CONFIG_SHELL is bash and it inherits a | ||
| 3879 | # broken ls alias from the environment. This has actually | ||
| 3880 | # happened. Such a system could not be considered "sane". | ||
| 3881 | as_fn_error $? "ls -t appears to fail. Make sure there is not a broken | ||
| 3882 | alias in your environment" "$LINENO" 5 | ||
| 3883 | fi | ||
| 3884 | if test "$2" = conftest.file || test $am_try -eq 2; then | ||
| 3885 | break | ||
| 3886 | fi | ||
| 3887 | # Just in case. | ||
| 3888 | sleep 1 | ||
| 3889 | am_has_slept=yes | ||
| 3890 | done | ||
| 3891 | test "$2" = conftest.file | ||
| 3892 | ) | ||
| 3893 | then | ||
| 3894 | # Ok. | ||
| 3895 | : | ||
| 3896 | else | ||
| 3897 | as_fn_error $? "newly created file is older than distributed files! | ||
| 3898 | Check your system clock" "$LINENO" 5 | ||
| 3899 | fi | ||
| 3900 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
| 3901 | $as_echo "yes" >&6; } | ||
| 3902 | # If we didn't sleep, we still need to ensure time stamps of config.status and | ||
| 3903 | # generated files are strictly newer. | ||
| 3904 | am_sleep_pid= | ||
| 3905 | if grep 'slept: no' conftest.file >/dev/null 2>&1; then | ||
| 3906 | ( sleep 1 ) & | ||
| 3907 | am_sleep_pid=$! | ||
| 3908 | fi | ||
| 3909 | |||
| 3910 | rm -f conftest.file | ||
| 3911 | |||
| 3912 | test "$program_prefix" != NONE && | ||
| 3913 | program_transform_name="s&^&$program_prefix&;$program_transform_name" | ||
| 3914 | # Use a double $ so make ignores it. | ||
| 3915 | test "$program_suffix" != NONE && | ||
| 3916 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" | ||
| 3917 | # Double any \ or $. | ||
| 3918 | # By default was `s,x,x', remove it if useless. | ||
| 3919 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' | ||
| 3920 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` | ||
| 3921 | |||
| 3922 | if test x"${MISSING+set}" != xset; then | ||
| 3923 | case $am_aux_dir in | ||
| 3924 | *\ * | *\ *) | ||
| 3925 | MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; | ||
| 3926 | *) | ||
| 3927 | MISSING="\${SHELL} $am_aux_dir/missing" ;; | ||
| 3928 | esac | ||
| 3929 | fi | ||
| 3930 | # Use eval to expand $SHELL | ||
| 3931 | if eval "$MISSING --is-lightweight"; then | ||
| 3932 | am_missing_run="$MISSING " | ||
| 3933 | else | ||
| 3934 | am_missing_run= | ||
| 3935 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 | ||
| 3936 | $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} | ||
| 3937 | fi | ||
| 3938 | |||
| 3939 | if test x"${install_sh+set}" != xset; then | ||
| 3940 | case $am_aux_dir in | ||
| 3941 | *\ * | *\ *) | ||
| 3942 | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; | ||
| 3943 | *) | ||
| 3944 | install_sh="\${SHELL} $am_aux_dir/install-sh" | ||
| 3945 | esac | ||
| 3946 | fi | ||
| 3947 | |||
| 3948 | # Installed binaries are usually stripped using 'strip' when the user | ||
| 3949 | # run "make install-strip". However 'strip' might not be the right | ||
| 3950 | # tool to use in cross-compilation environments, therefore Automake | ||
| 3951 | # will honor the 'STRIP' environment variable to overrule this program. | ||
| 3952 | if test "$cross_compiling" != no; then | ||
| 3953 | if test -n "$ac_tool_prefix"; then | ||
| 3954 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | ||
| 3955 | set dummy ${ac_tool_prefix}strip; ac_word=$2 | ||
| 3956 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
| 3957 | $as_echo_n "checking for $ac_word... " >&6; } | ||
| 3958 | if ${ac_cv_prog_STRIP+:} false; then : | ||
| 3959 | $as_echo_n "(cached) " >&6 | ||
| 3960 | else | ||
| 3961 | if test -n "$STRIP"; then | ||
| 3962 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | ||
| 3963 | else | ||
| 3964 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 3965 | for as_dir in $PATH | ||
| 3966 | do | ||
| 3967 | IFS=$as_save_IFS | ||
| 3968 | test -z "$as_dir" && as_dir=. | ||
| 3969 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 3970 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
| 3971 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" | ||
| 3972 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
| 3973 | break 2 | ||
| 3974 | fi | ||
| 3975 | done | ||
| 3976 | done | ||
| 3977 | IFS=$as_save_IFS | ||
| 3978 | |||
| 3979 | fi | ||
| 3980 | fi | ||
| 3981 | STRIP=$ac_cv_prog_STRIP | ||
| 3982 | if test -n "$STRIP"; then | ||
| 3983 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 | ||
| 3984 | $as_echo "$STRIP" >&6; } | ||
| 3985 | else | ||
| 3986 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
| 3987 | $as_echo "no" >&6; } | ||
| 3988 | fi | ||
| 3989 | |||
| 3990 | |||
| 3991 | fi | ||
| 3992 | if test -z "$ac_cv_prog_STRIP"; then | ||
| 3993 | ac_ct_STRIP=$STRIP | ||
| 3994 | # Extract the first word of "strip", so it can be a program name with args. | ||
| 3995 | set dummy strip; ac_word=$2 | ||
| 3996 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
| 3997 | $as_echo_n "checking for $ac_word... " >&6; } | ||
| 3998 | if ${ac_cv_prog_ac_ct_STRIP+:} false; then : | ||
| 3999 | $as_echo_n "(cached) " >&6 | ||
| 4000 | else | ||
| 4001 | if test -n "$ac_ct_STRIP"; then | ||
| 4002 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | ||
| 4003 | else | ||
| 4004 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 4005 | for as_dir in $PATH | ||
| 4006 | do | ||
| 4007 | IFS=$as_save_IFS | ||
| 4008 | test -z "$as_dir" && as_dir=. | ||
| 4009 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 4010 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
| 4011 | ac_cv_prog_ac_ct_STRIP="strip" | ||
| 4012 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
| 4013 | break 2 | ||
| 4014 | fi | ||
| 4015 | done | ||
| 4016 | done | ||
| 4017 | IFS=$as_save_IFS | ||
| 4018 | |||
| 4019 | fi | ||
| 4020 | fi | ||
| 4021 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | ||
| 4022 | if test -n "$ac_ct_STRIP"; then | ||
| 4023 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 | ||
| 4024 | $as_echo "$ac_ct_STRIP" >&6; } | ||
| 4025 | else | ||
| 4026 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
| 4027 | $as_echo "no" >&6; } | ||
| 4028 | fi | ||
| 4029 | |||
| 4030 | if test "x$ac_ct_STRIP" = x; then | ||
| 4031 | STRIP=":" | ||
| 4032 | else | ||
| 4033 | case $cross_compiling:$ac_tool_warned in | ||
| 4034 | yes:) | ||
| 4035 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | ||
| 4036 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | ||
| 4037 | ac_tool_warned=yes ;; | ||
| 4038 | esac | ||
| 4039 | STRIP=$ac_ct_STRIP | ||
| 4040 | fi | ||
| 4041 | else | ||
| 4042 | STRIP="$ac_cv_prog_STRIP" | ||
| 4043 | fi | ||
| 4044 | |||
| 4045 | fi | ||
| 4046 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | ||
| 4047 | |||
| 4048 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 | ||
| 4049 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } | ||
| 4050 | if test -z "$MKDIR_P"; then | ||
| 4051 | if ${ac_cv_path_mkdir+:} false; then : | ||
| 4052 | $as_echo_n "(cached) " >&6 | ||
| 4053 | else | ||
| 4054 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 4055 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin | ||
| 4056 | do | ||
| 4057 | IFS=$as_save_IFS | ||
| 4058 | test -z "$as_dir" && as_dir=. | ||
| 4059 | for ac_prog in mkdir gmkdir; do | ||
| 4060 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 4061 | as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue | ||
| 4062 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( | ||
| 4063 | 'mkdir (GNU coreutils) '* | \ | ||
| 4064 | 'mkdir (coreutils) '* | \ | ||
| 4065 | 'mkdir (fileutils) '4.1*) | ||
| 4066 | ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext | ||
| 4067 | break 3;; | ||
| 4068 | esac | ||
| 4069 | done | ||
| 4070 | done | ||
| 4071 | done | ||
| 4072 | IFS=$as_save_IFS | ||
| 4073 | |||
| 4074 | fi | ||
| 4075 | |||
| 4076 | test -d ./--version && rmdir ./--version | ||
| 4077 | if test "${ac_cv_path_mkdir+set}" = set; then | ||
| 4078 | MKDIR_P="$ac_cv_path_mkdir -p" | ||
| 4079 | else | ||
| 4080 | # As a last resort, use the slow shell script. Don't cache a | ||
| 4081 | # value for MKDIR_P within a source directory, because that will | ||
| 4082 | # break other packages using the cache if that directory is | ||
| 4083 | # removed, or if the value is a relative name. | ||
| 4084 | MKDIR_P="$ac_install_sh -d" | ||
| 4085 | fi | ||
| 4086 | fi | ||
| 4087 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 | ||
| 4088 | $as_echo "$MKDIR_P" >&6; } | ||
| 4089 | |||
| 4090 | for ac_prog in gawk mawk nawk awk | ||
| 4091 | do | ||
| 4092 | # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
| 4093 | set dummy $ac_prog; ac_word=$2 | ||
| 4094 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
| 4095 | $as_echo_n "checking for $ac_word... " >&6; } | ||
| 4096 | if ${ac_cv_prog_AWK+:} false; then : | ||
| 4097 | $as_echo_n "(cached) " >&6 | ||
| 4098 | else | ||
| 4099 | if test -n "$AWK"; then | ||
| 4100 | ac_cv_prog_AWK="$AWK" # Let the user override the test. | ||
| 4101 | else | ||
| 4102 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 4103 | for as_dir in $PATH | ||
| 4104 | do | ||
| 4105 | IFS=$as_save_IFS | ||
| 4106 | test -z "$as_dir" && as_dir=. | ||
| 4107 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 4108 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
| 4109 | ac_cv_prog_AWK="$ac_prog" | ||
| 4110 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
| 4111 | break 2 | ||
| 4112 | fi | ||
| 4113 | done | ||
| 4114 | done | ||
| 4115 | IFS=$as_save_IFS | ||
| 4116 | |||
| 4117 | fi | ||
| 4118 | fi | ||
| 4119 | AWK=$ac_cv_prog_AWK | ||
| 4120 | if test -n "$AWK"; then | ||
| 4121 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 | ||
| 4122 | $as_echo "$AWK" >&6; } | ||
| 4123 | else | ||
| 4124 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
| 4125 | $as_echo "no" >&6; } | ||
| 4126 | fi | ||
| 4127 | |||
| 4128 | |||
| 4129 | test -n "$AWK" && break | ||
| 4130 | done | ||
| 4131 | |||
| 4132 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | ||
| 4133 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | ||
| 4134 | set x ${MAKE-make} | ||
| 4135 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | ||
| 4136 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : | ||
| 4137 | $as_echo_n "(cached) " >&6 | ||
| 4138 | else | ||
| 4139 | cat >conftest.make <<\_ACEOF | ||
| 4140 | SHELL = /bin/sh | ||
| 4141 | all: | ||
| 4142 | @echo '@@@%%%=$(MAKE)=@@@%%%' | ||
| 4143 | _ACEOF | ||
| 4144 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. | ||
| 4145 | case `${MAKE-make} -f conftest.make 2>/dev/null` in | ||
| 4146 | *@@@%%%=?*=@@@%%%*) | ||
| 4147 | eval ac_cv_prog_make_${ac_make}_set=yes;; | ||
| 4148 | *) | ||
| 4149 | eval ac_cv_prog_make_${ac_make}_set=no;; | ||
| 4150 | esac | ||
| 4151 | rm -f conftest.make | ||
| 4152 | fi | ||
| 4153 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then | ||
| 4154 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
| 4155 | $as_echo "yes" >&6; } | ||
| 4156 | SET_MAKE= | ||
| 4157 | else | ||
| 4158 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
| 4159 | $as_echo "no" >&6; } | ||
| 4160 | SET_MAKE="MAKE=${MAKE-make}" | ||
| 4161 | fi | ||
| 4162 | |||
| 4163 | rm -rf .tst 2>/dev/null | ||
| 4164 | mkdir .tst 2>/dev/null | ||
| 4165 | if test -d .tst; then | ||
| 4166 | am__leading_dot=. | ||
| 4167 | else | ||
| 4168 | am__leading_dot=_ | ||
| 4169 | fi | ||
| 4170 | rmdir .tst 2>/dev/null | ||
| 4171 | |||
| 4172 | DEPDIR="${am__leading_dot}deps" | ||
| 4173 | |||
| 4174 | ac_config_commands="$ac_config_commands depfiles" | ||
| 4175 | |||
| 4176 | |||
| 4177 | am_make=${MAKE-make} | ||
| 4178 | cat > confinc << 'END' | ||
| 4179 | am__doit: | ||
| 4180 | @echo this is the am__doit target | ||
| 4181 | .PHONY: am__doit | ||
| 4182 | END | ||
| 4183 | # If we don't find an include directive, just comment out the code. | ||
| 4184 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 | ||
| 4185 | $as_echo_n "checking for style of include used by $am_make... " >&6; } | ||
| 4186 | am__include="#" | ||
| 4187 | am__quote= | ||
| 4188 | _am_result=none | ||
| 4189 | # First try GNU make style include. | ||
| 4190 | echo "include confinc" > confmf | ||
| 4191 | # Ignore all kinds of additional output from 'make'. | ||
| 4192 | case `$am_make -s -f confmf 2> /dev/null` in #( | ||
| 4193 | *the\ am__doit\ target*) | ||
| 4194 | am__include=include | ||
| 4195 | am__quote= | ||
| 4196 | _am_result=GNU | ||
| 4197 | ;; | ||
| 4198 | esac | ||
| 4199 | # Now try BSD make style include. | ||
| 4200 | if test "$am__include" = "#"; then | ||
| 4201 | echo '.include "confinc"' > confmf | ||
| 4202 | case `$am_make -s -f confmf 2> /dev/null` in #( | ||
| 4203 | *the\ am__doit\ target*) | ||
| 4204 | am__include=.include | ||
| 4205 | am__quote="\"" | ||
| 4206 | _am_result=BSD | ||
| 4207 | ;; | ||
| 4208 | esac | ||
| 4209 | fi | ||
| 4210 | |||
| 4211 | |||
| 4212 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 | ||
| 4213 | $as_echo "$_am_result" >&6; } | ||
| 4214 | rm -f confinc confmf | ||
| 4215 | |||
| 4216 | # Check whether --enable-dependency-tracking was given. | ||
| 4217 | if test "${enable_dependency_tracking+set}" = set; then : | ||
| 4218 | enableval=$enable_dependency_tracking; | ||
| 4219 | fi | ||
| 4220 | |||
| 4221 | if test "x$enable_dependency_tracking" != xno; then | ||
| 4222 | am_depcomp="$ac_aux_dir/depcomp" | ||
| 4223 | AMDEPBACKSLASH='\' | ||
| 4224 | am__nodep='_no' | ||
| 4225 | fi | ||
| 4226 | if test "x$enable_dependency_tracking" != xno; then | ||
| 4227 | AMDEP_TRUE= | ||
| 4228 | AMDEP_FALSE='#' | ||
| 4229 | else | ||
| 4230 | AMDEP_TRUE='#' | ||
| 4231 | AMDEP_FALSE= | ||
| 4232 | fi | ||
| 4233 | |||
| 4234 | |||
| 4235 | # Check whether --enable-silent-rules was given. | ||
| 4236 | if test "${enable_silent_rules+set}" = set; then : | ||
| 4237 | enableval=$enable_silent_rules; | ||
| 4238 | fi | ||
| 4239 | |||
| 4240 | case $enable_silent_rules in # ((( | ||
| 4241 | yes) AM_DEFAULT_VERBOSITY=0;; | ||
| 4242 | no) AM_DEFAULT_VERBOSITY=1;; | ||
| 4243 | *) AM_DEFAULT_VERBOSITY=1;; | ||
| 4244 | esac | ||
| 4245 | am_make=${MAKE-make} | ||
| 4246 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 | ||
| 4247 | $as_echo_n "checking whether $am_make supports nested variables... " >&6; } | ||
| 4248 | if ${am_cv_make_support_nested_variables+:} false; then : | ||
| 4249 | $as_echo_n "(cached) " >&6 | ||
| 4250 | else | ||
| 4251 | if $as_echo 'TRUE=$(BAR$(V)) | ||
| 4252 | BAR0=false | ||
| 4253 | BAR1=true | ||
| 4254 | V=1 | ||
| 4255 | am__doit: | ||
| 4256 | @$(TRUE) | ||
| 4257 | .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then | ||
| 4258 | am_cv_make_support_nested_variables=yes | ||
| 4259 | else | ||
| 4260 | am_cv_make_support_nested_variables=no | ||
| 4261 | fi | ||
| 4262 | fi | ||
| 4263 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 | ||
| 4264 | $as_echo "$am_cv_make_support_nested_variables" >&6; } | ||
| 4265 | if test $am_cv_make_support_nested_variables = yes; then | ||
| 4266 | AM_V='$(V)' | ||
| 4267 | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' | ||
| 4268 | else | ||
| 4269 | AM_V=$AM_DEFAULT_VERBOSITY | ||
| 4270 | AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY | ||
| 4271 | fi | ||
| 4272 | AM_BACKSLASH='\' | ||
| 4273 | |||
| 4274 | if test "`cd $srcdir && pwd`" != "`pwd`"; then | ||
| 4275 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output | ||
| 4276 | # is not polluted with repeated "-I." | ||
| 4277 | am__isrc=' -I$(srcdir)' | ||
| 4278 | # test to see if srcdir already configured | ||
| 4279 | if test -f $srcdir/config.status; then | ||
| 4280 | as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 | ||
| 4281 | fi | ||
| 4282 | fi | ||
| 4283 | |||
| 4284 | # test whether we have cygpath | ||
| 4285 | if test -z "$CYGPATH_W"; then | ||
| 4286 | if (cygpath --version) >/dev/null 2>/dev/null; then | ||
| 4287 | CYGPATH_W='cygpath -w' | ||
| 4288 | else | ||
| 4289 | CYGPATH_W=echo | ||
| 4290 | fi | ||
| 4291 | fi | ||
| 4292 | |||
| 4293 | |||
| 4294 | # Define the identity of the package. | ||
| 4295 | PACKAGE='life' | ||
| 4296 | VERSION='1.6.0' | ||
| 4297 | |||
| 4298 | |||
| 4299 | cat >>confdefs.h <<_ACEOF | ||
| 4300 | #define PACKAGE "$PACKAGE" | ||
| 4301 | _ACEOF | ||
| 4302 | |||
| 4303 | |||
| 4304 | cat >>confdefs.h <<_ACEOF | ||
| 4305 | #define VERSION "$VERSION" | ||
| 4306 | _ACEOF | ||
| 4307 | |||
| 4308 | # Some tools Automake needs. | ||
| 4309 | |||
| 4310 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} | ||
| 4311 | |||
| 4312 | |||
| 4313 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} | ||
| 4314 | |||
| 4315 | |||
| 4316 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} | ||
| 4317 | |||
| 4318 | |||
| 4319 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} | ||
| 4320 | |||
| 4321 | |||
| 4322 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | ||
| 4323 | |||
| 4324 | # For better backward compatibility. To be removed once Automake 1.9.x | ||
| 4325 | # dies out for good. For more background, see: | ||
| 4326 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> | ||
| 4327 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> | ||
| 4328 | mkdir_p='$(MKDIR_P)' | ||
| 4329 | |||
| 4330 | # We need awk for the "check" target (and possibly the TAP driver). The | ||
| 4331 | # system "awk" is bad on some platforms. | ||
| 4332 | # Always define AMTAR for backward compatibility. Yes, it's still used | ||
| 4333 | # in the wild :-( We should find a proper way to deprecate it ... | ||
| 4334 | AMTAR='$${TAR-tar}' | ||
| 4335 | |||
| 4336 | |||
| 4337 | # We'll loop over all known methods to create a tar archive until one works. | ||
| 4338 | _am_tools='gnutar pax cpio none' | ||
| 4339 | |||
| 4340 | am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' | ||
| 4341 | |||
| 4342 | |||
| 4343 | |||
| 4344 | |||
| 4345 | |||
| 4346 | depcc="$CC" am_compiler_list= | ||
| 4347 | |||
| 4348 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 | ||
| 4349 | $as_echo_n "checking dependency style of $depcc... " >&6; } | ||
| 4350 | if ${am_cv_CC_dependencies_compiler_type+:} false; then : | ||
| 4351 | $as_echo_n "(cached) " >&6 | ||
| 4352 | else | ||
| 4353 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | ||
| 4354 | # We make a subdir and do the tests there. Otherwise we can end up | ||
| 4355 | # making bogus files that we don't know about and never remove. For | ||
| 4356 | # instance it was reported that on HP-UX the gcc test will end up | ||
| 4357 | # making a dummy file named 'D' -- because '-MD' means "put the output | ||
| 4358 | # in D". | ||
| 4359 | rm -rf conftest.dir | ||
| 4360 | mkdir conftest.dir | ||
| 4361 | # Copy depcomp to subdir because otherwise we won't find it if we're | ||
| 4362 | # using a relative directory. | ||
| 4363 | cp "$am_depcomp" conftest.dir | ||
| 4364 | cd conftest.dir | ||
| 4365 | # We will build objects and dependencies in a subdirectory because | ||
| 4366 | # it helps to detect inapplicable dependency modes. For instance | ||
| 4367 | # both Tru64's cc and ICC support -MD to output dependencies as a | ||
| 4368 | # side effect of compilation, but ICC will put the dependencies in | ||
| 4369 | # the current directory while Tru64 will put them in the object | ||
| 4370 | # directory. | ||
| 4371 | mkdir sub | ||
| 4372 | |||
| 4373 | am_cv_CC_dependencies_compiler_type=none | ||
| 4374 | if test "$am_compiler_list" = ""; then | ||
| 4375 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | ||
| 4376 | fi | ||
| 4377 | am__universal=false | ||
| 4378 | case " $depcc " in #( | ||
| 4379 | *\ -arch\ *\ -arch\ *) am__universal=true ;; | ||
| 4380 | esac | ||
| 4381 | |||
| 4382 | for depmode in $am_compiler_list; do | ||
| 4383 | # Setup a source with many dependencies, because some compilers | ||
| 4384 | # like to wrap large dependency lists on column 80 (with \), and | ||
| 4385 | # we should not choose a depcomp mode which is confused by this. | ||
| 4386 | # | ||
| 4387 | # We need to recreate these files for each test, as the compiler may | ||
| 4388 | # overwrite some of them when testing with obscure command lines. | ||
| 4389 | # This happens at least with the AIX C compiler. | ||
| 4390 | : > sub/conftest.c | ||
| 4391 | for i in 1 2 3 4 5 6; do | ||
| 4392 | echo '#include "conftst'$i'.h"' >> sub/conftest.c | ||
| 4393 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with | ||
| 4394 | # Solaris 10 /bin/sh. | ||
| 4395 | echo '/* dummy */' > sub/conftst$i.h | ||
| 4396 | done | ||
| 4397 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | ||
| 4398 | |||
| 4399 | # We check with '-c' and '-o' for the sake of the "dashmstdout" | ||
| 4400 | # mode. It turns out that the SunPro C++ compiler does not properly | ||
| 4401 | # handle '-M -o', and we need to detect this. Also, some Intel | ||
| 4402 | # versions had trouble with output in subdirs. | ||
| 4403 | am__obj=sub/conftest.${OBJEXT-o} | ||
| 4404 | am__minus_obj="-o $am__obj" | ||
| 4405 | case $depmode in | ||
| 4406 | gcc) | ||
| 4407 | # This depmode causes a compiler race in universal mode. | ||
| 4408 | test "$am__universal" = false || continue | ||
| 4409 | ;; | ||
| 4410 | nosideeffect) | ||
| 4411 | # After this tag, mechanisms are not by side-effect, so they'll | ||
| 4412 | # only be used when explicitly requested. | ||
| 4413 | if test "x$enable_dependency_tracking" = xyes; then | ||
| 4414 | continue | ||
| 4415 | else | ||
| 4416 | break | ||
| 4417 | fi | ||
| 4418 | ;; | ||
| 4419 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) | ||
| 4420 | # This compiler won't grok '-c -o', but also, the minuso test has | ||
| 4421 | # not run yet. These depmodes are late enough in the game, and | ||
| 4422 | # so weak that their functioning should not be impacted. | ||
| 4423 | am__obj=conftest.${OBJEXT-o} | ||
| 4424 | am__minus_obj= | ||
| 4425 | ;; | ||
| 4426 | none) break ;; | ||
| 4427 | esac | ||
| 4428 | if depmode=$depmode \ | ||
| 4429 | source=sub/conftest.c object=$am__obj \ | ||
| 4430 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | ||
| 4431 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ | ||
| 4432 | >/dev/null 2>conftest.err && | ||
| 4433 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | ||
| 4434 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | ||
| 4435 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && | ||
| 4436 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | ||
| 4437 | # icc doesn't choke on unknown options, it will just issue warnings | ||
| 4438 | # or remarks (even with -Werror). So we grep stderr for any message | ||
| 4439 | # that says an option was ignored or not supported. | ||
| 4440 | # When given -MP, icc 7.0 and 7.1 complain thusly: | ||
| 4441 | # icc: Command line warning: ignoring option '-M'; no argument required | ||
| 4442 | # The diagnosis changed in icc 8.0: | ||
| 4443 | # icc: Command line remark: option '-MP' not supported | ||
| 4444 | if (grep 'ignoring option' conftest.err || | ||
| 4445 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | ||
| 4446 | am_cv_CC_dependencies_compiler_type=$depmode | ||
| 4447 | break | ||
| 4448 | fi | ||
| 4449 | fi | ||
| 4450 | done | ||
| 4451 | |||
| 4452 | cd .. | ||
| 4453 | rm -rf conftest.dir | ||
| 4454 | else | ||
| 4455 | am_cv_CC_dependencies_compiler_type=none | ||
| 4456 | fi | ||
| 4457 | |||
| 4458 | fi | ||
| 4459 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 | ||
| 4460 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } | ||
| 4461 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type | ||
| 4462 | |||
| 4463 | if | ||
| 4464 | test "x$enable_dependency_tracking" != xno \ | ||
| 4465 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then | ||
| 4466 | am__fastdepCC_TRUE= | ||
| 4467 | am__fastdepCC_FALSE='#' | ||
| 4468 | else | ||
| 4469 | am__fastdepCC_TRUE='#' | ||
| 4470 | am__fastdepCC_FALSE= | ||
| 4471 | fi | ||
| 4472 | |||
| 4473 | |||
| 4474 | |||
| 4475 | # POSIX will say in a future version that running "rm -f" with no argument | ||
| 4476 | # is OK; and we want to be able to make that assumption in our Makefile | ||
| 4477 | # recipes. So use an aggressive probe to check that the usage we want is | ||
| 4478 | # actually supported "in the wild" to an acceptable degree. | ||
| 4479 | # See automake bug#10828. | ||
| 4480 | # To make any issue more visible, cause the running configure to be aborted | ||
| 4481 | # by default if the 'rm' program in use doesn't match our expectations; the | ||
| 4482 | # user can still override this though. | ||
| 4483 | if rm -f && rm -fr && rm -rf; then : OK; else | ||
| 4484 | cat >&2 <<'END' | ||
| 4485 | Oops! | ||
| 4486 | |||
| 4487 | Your 'rm' program seems unable to run without file operands specified | ||
| 4488 | on the command line, even when the '-f' option is present. This is contrary | ||
| 4489 | to the behaviour of most rm programs out there, and not conforming with | ||
| 4490 | the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> | ||
| 4491 | |||
| 4492 | Please tell bug-automake@gnu.org about your system, including the value | ||
| 4493 | of your $PATH and any error possibly output before this message. This | ||
| 4494 | can help us improve future automake versions. | ||
| 4495 | |||
| 4496 | END | ||
| 4497 | if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then | ||
| 4498 | echo 'Configuration will proceed anyway, since you have set the' >&2 | ||
| 4499 | echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 | ||
| 4500 | echo >&2 | ||
| 4501 | else | ||
| 4502 | cat >&2 <<'END' | ||
| 4503 | Aborting the configuration process, to ensure you take notice of the issue. | ||
| 4504 | |||
| 4505 | You can download and install GNU coreutils to get an 'rm' implementation | ||
| 4506 | that behaves properly: <http://www.gnu.org/software/coreutils/>. | ||
| 4507 | |||
| 4508 | If you want to complete the configuration process using your problematic | ||
| 4509 | 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM | ||
| 4510 | to "yes", and re-run configure. | ||
| 4511 | |||
| 4512 | END | ||
| 4513 | as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 | ||
| 4514 | fi | ||
| 4515 | fi | ||
| 4516 | |||
| 4517 | cat >confcache <<\_ACEOF | ||
| 4518 | # This file is a shell script that caches the results of configure | ||
| 4519 | # tests run on this system so they can be shared between configure | ||
| 4520 | # scripts and configure runs, see configure's option --config-cache. | ||
| 4521 | # It is not useful on other systems. If it contains results you don't | ||
| 4522 | # want to keep, you may remove or edit it. | ||
| 4523 | # | ||
| 4524 | # config.status only pays attention to the cache file if you give it | ||
| 4525 | # the --recheck option to rerun configure. | ||
| 4526 | # | ||
| 4527 | # `ac_cv_env_foo' variables (set or unset) will be overridden when | ||
| 4528 | # loading this file, other *unset* `ac_cv_foo' will be assigned the | ||
| 4529 | # following values. | ||
| 4530 | |||
| 4531 | _ACEOF | ||
| 4532 | |||
| 4533 | # The following way of writing the cache mishandles newlines in values, | ||
| 4534 | # but we know of no workaround that is simple, portable, and efficient. | ||
| 4535 | # So, we kill variables containing newlines. | ||
| 4536 | # Ultrix sh set writes to stderr and can't be redirected directly, | ||
| 4537 | # and sets the high bit in the cache file unless we assign to the vars. | ||
| 4538 | ( | ||
| 4539 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do | ||
| 4540 | eval ac_val=\$$ac_var | ||
| 4541 | case $ac_val in #( | ||
| 4542 | *${as_nl}*) | ||
| 4543 | case $ac_var in #( | ||
| 4544 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | ||
| 4545 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | ||
| 4546 | esac | ||
| 4547 | case $ac_var in #( | ||
| 4548 | _ | IFS | as_nl) ;; #( | ||
| 4549 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | ||
| 4550 | *) { eval $ac_var=; unset $ac_var;} ;; | ||
| 4551 | esac ;; | ||
| 4552 | esac | ||
| 4553 | done | ||
| 4554 | |||
| 4555 | (set) 2>&1 | | ||
| 4556 | case $as_nl`(ac_space=' '; set) 2>&1` in #( | ||
| 4557 | *${as_nl}ac_space=\ *) | ||
| 4558 | # `set' does not quote correctly, so add quotes: double-quote | ||
| 4559 | # substitution turns \\\\ into \\, and sed turns \\ into \. | ||
| 4560 | sed -n \ | ||
| 4561 | "s/'/'\\\\''/g; | ||
| 4562 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | ||
| 4563 | ;; #( | ||
| 4564 | *) | ||
| 4565 | # `set' quotes correctly as required by POSIX, so do not add quotes. | ||
| 4566 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | ||
| 4567 | ;; | ||
| 4568 | esac | | ||
| 4569 | sort | ||
| 4570 | ) | | ||
| 4571 | sed ' | ||
| 4572 | /^ac_cv_env_/b end | ||
| 4573 | t clear | ||
| 4574 | :clear | ||
| 4575 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | ||
| 4576 | t end | ||
| 4577 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | ||
| 4578 | :end' >>confcache | ||
| 4579 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | ||
| 4580 | if test -w "$cache_file"; then | ||
| 4581 | if test "x$cache_file" != "x/dev/null"; then | ||
| 4582 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 | ||
| 4583 | $as_echo "$as_me: updating cache $cache_file" >&6;} | ||
| 4584 | if test ! -f "$cache_file" || test -h "$cache_file"; then | ||
| 4585 | cat confcache >"$cache_file" | ||
| 4586 | else | ||
| 4587 | case $cache_file in #( | ||
| 4588 | */* | ?:*) | ||
| 4589 | mv -f confcache "$cache_file"$$ && | ||
| 4590 | mv -f "$cache_file"$$ "$cache_file" ;; #( | ||
| 4591 | *) | ||
| 4592 | mv -f confcache "$cache_file" ;; | ||
| 4593 | esac | ||
| 4594 | fi | ||
| 4595 | fi | ||
| 4596 | else | ||
| 4597 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 | ||
| 4598 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | ||
| 4599 | fi | ||
| 4600 | fi | ||
| 4601 | rm -f confcache | ||
| 4602 | |||
| 4603 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | ||
| 4604 | # Let make expand exec_prefix. | ||
| 4605 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | ||
| 4606 | |||
| 4607 | DEFS=-DHAVE_CONFIG_H | ||
| 4608 | |||
| 4609 | ac_libobjs= | ||
| 4610 | ac_ltlibobjs= | ||
| 4611 | U= | ||
| 4612 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | ||
| 4613 | # 1. Remove the extension, and $U if already installed. | ||
| 4614 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | ||
| 4615 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | ||
| 4616 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | ||
| 4617 | # will be set to the directory where LIBOBJS objects are built. | ||
| 4618 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" | ||
| 4619 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' | ||
| 4620 | done | ||
| 4621 | LIBOBJS=$ac_libobjs | ||
| 4622 | |||
| 4623 | LTLIBOBJS=$ac_ltlibobjs | ||
| 4624 | |||
| 4625 | |||
| 4626 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 | ||
| 4627 | $as_echo_n "checking that generated files are newer than configure... " >&6; } | ||
| 4628 | if test -n "$am_sleep_pid"; then | ||
| 4629 | # Hide warnings about reused PIDs. | ||
| 4630 | wait $am_sleep_pid 2>/dev/null | ||
| 4631 | fi | ||
| 4632 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 | ||
| 4633 | $as_echo "done" >&6; } | ||
| 4634 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then | ||
| 4635 | as_fn_error $? "conditional \"AMDEP\" was never defined. | ||
| 4636 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 | ||
| 4637 | fi | ||
| 4638 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then | ||
| 4639 | as_fn_error $? "conditional \"am__fastdepCC\" was never defined. | ||
| 4640 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 | ||
| 4641 | fi | ||
| 4642 | if test -n "$EXEEXT"; then | ||
| 4643 | am__EXEEXT_TRUE= | ||
| 4644 | am__EXEEXT_FALSE='#' | ||
| 4645 | else | ||
| 4646 | am__EXEEXT_TRUE='#' | ||
| 4647 | am__EXEEXT_FALSE= | ||
| 4648 | fi | ||
| 4649 | |||
| 4650 | |||
| 4651 | : "${CONFIG_STATUS=./config.status}" | ||
| 4652 | ac_write_fail=0 | ||
| 4653 | ac_clean_files_save=$ac_clean_files | ||
| 4654 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | ||
| 4655 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 | ||
| 4656 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | ||
| 4657 | as_write_fail=0 | ||
| 4658 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | ||
| 4659 | #! $SHELL | ||
| 4660 | # Generated by $as_me. | ||
| 4661 | # Run this file to recreate the current configuration. | ||
| 4662 | # Compiler output produced by configure, useful for debugging | ||
| 4663 | # configure, is in config.log if it exists. | ||
| 4664 | |||
| 4665 | debug=false | ||
| 4666 | ac_cs_recheck=false | ||
| 4667 | ac_cs_silent=false | ||
| 4668 | |||
| 4669 | SHELL=\${CONFIG_SHELL-$SHELL} | ||
| 4670 | export SHELL | ||
| 4671 | _ASEOF | ||
| 4672 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 | ||
| 4673 | ## -------------------- ## | ||
| 4674 | ## M4sh Initialization. ## | ||
| 4675 | ## -------------------- ## | ||
| 4676 | |||
| 4677 | # Be more Bourne compatible | ||
| 4678 | DUALCASE=1; export DUALCASE # for MKS sh | ||
| 4679 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | ||
| 4680 | emulate sh | ||
| 4681 | NULLCMD=: | ||
| 4682 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | ||
| 4683 | # is contrary to our usage. Disable this feature. | ||
| 4684 | alias -g '${1+"$@"}'='"$@"' | ||
| 4685 | setopt NO_GLOB_SUBST | ||
| 4686 | else | ||
| 4687 | case `(set -o) 2>/dev/null` in #( | ||
| 4688 | *posix*) : | ||
| 4689 | set -o posix ;; #( | ||
| 4690 | *) : | ||
| 4691 | ;; | ||
| 4692 | esac | ||
| 4693 | fi | ||
| 4694 | |||
| 4695 | |||
| 4696 | as_nl=' | ||
| 4697 | ' | ||
| 4698 | export as_nl | ||
| 4699 | # Printing a long string crashes Solaris 7 /usr/bin/printf. | ||
| 4700 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | ||
| 4701 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | ||
| 4702 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | ||
| 4703 | # Prefer a ksh shell builtin over an external printf program on Solaris, | ||
| 4704 | # but without wasting forks for bash or zsh. | ||
| 4705 | if test -z "$BASH_VERSION$ZSH_VERSION" \ | ||
| 4706 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | ||
| 4707 | as_echo='print -r --' | ||
| 4708 | as_echo_n='print -rn --' | ||
| 4709 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | ||
| 4710 | as_echo='printf %s\n' | ||
| 4711 | as_echo_n='printf %s' | ||
| 4712 | else | ||
| 4713 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | ||
| 4714 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | ||
| 4715 | as_echo_n='/usr/ucb/echo -n' | ||
| 4716 | else | ||
| 4717 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | ||
| 4718 | as_echo_n_body='eval | ||
| 4719 | arg=$1; | ||
| 4720 | case $arg in #( | ||
| 4721 | *"$as_nl"*) | ||
| 4722 | expr "X$arg" : "X\\(.*\\)$as_nl"; | ||
| 4723 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | ||
| 4724 | esac; | ||
| 4725 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | ||
| 4726 | ' | ||
| 4727 | export as_echo_n_body | ||
| 4728 | as_echo_n='sh -c $as_echo_n_body as_echo' | ||
| 4729 | fi | ||
| 4730 | export as_echo_body | ||
| 4731 | as_echo='sh -c $as_echo_body as_echo' | ||
| 4732 | fi | ||
| 4733 | |||
| 4734 | # The user is always right. | ||
| 4735 | if test "${PATH_SEPARATOR+set}" != set; then | ||
| 4736 | PATH_SEPARATOR=: | ||
| 4737 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | ||
| 4738 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | ||
| 4739 | PATH_SEPARATOR=';' | ||
| 4740 | } | ||
| 4741 | fi | ||
| 4742 | |||
| 4743 | |||
| 4744 | # IFS | ||
| 4745 | # We need space, tab and new line, in precisely that order. Quoting is | ||
| 4746 | # there to prevent editors from complaining about space-tab. | ||
| 4747 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | ||
| 4748 | # splitting by setting IFS to empty value.) | ||
| 4749 | IFS=" "" $as_nl" | ||
| 4750 | |||
| 4751 | # Find who we are. Look in the path if we contain no directory separator. | ||
| 4752 | as_myself= | ||
| 4753 | case $0 in #(( | ||
| 4754 | *[\\/]* ) as_myself=$0 ;; | ||
| 4755 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 4756 | for as_dir in $PATH | ||
| 4757 | do | ||
| 4758 | IFS=$as_save_IFS | ||
| 4759 | test -z "$as_dir" && as_dir=. | ||
| 4760 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | ||
| 4761 | done | ||
| 4762 | IFS=$as_save_IFS | ||
| 4763 | |||
| 4764 | ;; | ||
| 4765 | esac | ||
| 4766 | # We did not find ourselves, most probably we were run as `sh COMMAND' | ||
| 4767 | # in which case we are not to be found in the path. | ||
| 4768 | if test "x$as_myself" = x; then | ||
| 4769 | as_myself=$0 | ||
| 4770 | fi | ||
| 4771 | if test ! -f "$as_myself"; then | ||
| 4772 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | ||
| 4773 | exit 1 | ||
| 4774 | fi | ||
| 4775 | |||
| 4776 | # Unset variables that we do not need and which cause bugs (e.g. in | ||
| 4777 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | ||
| 4778 | # suppresses any "Segmentation fault" message there. '((' could | ||
| 4779 | # trigger a bug in pdksh 5.2.14. | ||
| 4780 | for as_var in BASH_ENV ENV MAIL MAILPATH | ||
| 4781 | do eval test x\${$as_var+set} = xset \ | ||
| 4782 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | ||
| 4783 | done | ||
| 4784 | PS1='$ ' | ||
| 4785 | PS2='> ' | ||
| 4786 | PS4='+ ' | ||
| 4787 | |||
| 4788 | # NLS nuisances. | ||
| 4789 | LC_ALL=C | ||
| 4790 | export LC_ALL | ||
| 4791 | LANGUAGE=C | ||
| 4792 | export LANGUAGE | ||
| 4793 | |||
| 4794 | # CDPATH. | ||
| 4795 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | ||
| 4796 | |||
| 4797 | |||
| 4798 | # as_fn_error STATUS ERROR [LINENO LOG_FD] | ||
| 4799 | # ---------------------------------------- | ||
| 4800 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | ||
| 4801 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | ||
| 4802 | # script with STATUS, using 1 if that was 0. | ||
| 4803 | as_fn_error () | ||
| 4804 | { | ||
| 4805 | as_status=$1; test $as_status -eq 0 && as_status=1 | ||
| 4806 | if test "$4"; then | ||
| 4807 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 4808 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | ||
| 4809 | fi | ||
| 4810 | $as_echo "$as_me: error: $2" >&2 | ||
| 4811 | as_fn_exit $as_status | ||
| 4812 | } # as_fn_error | ||
| 4813 | |||
| 4814 | |||
| 4815 | # as_fn_set_status STATUS | ||
| 4816 | # ----------------------- | ||
| 4817 | # Set $? to STATUS, without forking. | ||
| 4818 | as_fn_set_status () | ||
| 4819 | { | ||
| 4820 | return $1 | ||
| 4821 | } # as_fn_set_status | ||
| 4822 | |||
| 4823 | # as_fn_exit STATUS | ||
| 4824 | # ----------------- | ||
| 4825 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | ||
| 4826 | as_fn_exit () | ||
| 4827 | { | ||
| 4828 | set +e | ||
| 4829 | as_fn_set_status $1 | ||
| 4830 | exit $1 | ||
| 4831 | } # as_fn_exit | ||
| 4832 | |||
| 4833 | # as_fn_unset VAR | ||
| 4834 | # --------------- | ||
| 4835 | # Portably unset VAR. | ||
| 4836 | as_fn_unset () | ||
| 4837 | { | ||
| 4838 | { eval $1=; unset $1;} | ||
| 4839 | } | ||
| 4840 | as_unset=as_fn_unset | ||
| 4841 | # as_fn_append VAR VALUE | ||
| 4842 | # ---------------------- | ||
| 4843 | # Append the text in VALUE to the end of the definition contained in VAR. Take | ||
| 4844 | # advantage of any shell optimizations that allow amortized linear growth over | ||
| 4845 | # repeated appends, instead of the typical quadratic growth present in naive | ||
| 4846 | # implementations. | ||
| 4847 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | ||
| 4848 | eval 'as_fn_append () | ||
| 4849 | { | ||
| 4850 | eval $1+=\$2 | ||
| 4851 | }' | ||
| 4852 | else | ||
| 4853 | as_fn_append () | ||
| 4854 | { | ||
| 4855 | eval $1=\$$1\$2 | ||
| 4856 | } | ||
| 4857 | fi # as_fn_append | ||
| 4858 | |||
| 4859 | # as_fn_arith ARG... | ||
| 4860 | # ------------------ | ||
| 4861 | # Perform arithmetic evaluation on the ARGs, and store the result in the | ||
| 4862 | # global $as_val. Take advantage of shells that can avoid forks. The arguments | ||
| 4863 | # must be portable across $(()) and expr. | ||
| 4864 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | ||
| 4865 | eval 'as_fn_arith () | ||
| 4866 | { | ||
| 4867 | as_val=$(( $* )) | ||
| 4868 | }' | ||
| 4869 | else | ||
| 4870 | as_fn_arith () | ||
| 4871 | { | ||
| 4872 | as_val=`expr "$@" || test $? -eq 1` | ||
| 4873 | } | ||
| 4874 | fi # as_fn_arith | ||
| 4875 | |||
| 4876 | |||
| 4877 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
| 4878 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
| 4879 | as_expr=expr | ||
| 4880 | else | ||
| 4881 | as_expr=false | ||
| 4882 | fi | ||
| 4883 | |||
| 4884 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | ||
| 4885 | as_basename=basename | ||
| 4886 | else | ||
| 4887 | as_basename=false | ||
| 4888 | fi | ||
| 4889 | |||
| 4890 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | ||
| 4891 | as_dirname=dirname | ||
| 4892 | else | ||
| 4893 | as_dirname=false | ||
| 4894 | fi | ||
| 4895 | |||
| 4896 | as_me=`$as_basename -- "$0" || | ||
| 4897 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | ||
| 4898 | X"$0" : 'X\(//\)$' \| \ | ||
| 4899 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | ||
| 4900 | $as_echo X/"$0" | | ||
| 4901 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | ||
| 4902 | s//\1/ | ||
| 4903 | q | ||
| 4904 | } | ||
| 4905 | /^X\/\(\/\/\)$/{ | ||
| 4906 | s//\1/ | ||
| 4907 | q | ||
| 4908 | } | ||
| 4909 | /^X\/\(\/\).*/{ | ||
| 4910 | s//\1/ | ||
| 4911 | q | ||
| 4912 | } | ||
| 4913 | s/.*/./; q'` | ||
| 4914 | |||
| 4915 | # Avoid depending upon Character Ranges. | ||
| 4916 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
| 4917 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
| 4918 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
| 4919 | as_cr_digits='0123456789' | ||
| 4920 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
| 4921 | |||
| 4922 | ECHO_C= ECHO_N= ECHO_T= | ||
| 4923 | case `echo -n x` in #((((( | ||
| 4924 | -n*) | ||
| 4925 | case `echo 'xy\c'` in | ||
| 4926 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | ||
| 4927 | xy) ECHO_C='\c';; | ||
| 4928 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | ||
| 4929 | ECHO_T=' ';; | ||
| 4930 | esac;; | ||
| 4931 | *) | ||
| 4932 | ECHO_N='-n';; | ||
| 4933 | esac | ||
| 4934 | |||
| 4935 | rm -f conf$$ conf$$.exe conf$$.file | ||
| 4936 | if test -d conf$$.dir; then | ||
| 4937 | rm -f conf$$.dir/conf$$.file | ||
| 4938 | else | ||
| 4939 | rm -f conf$$.dir | ||
| 4940 | mkdir conf$$.dir 2>/dev/null | ||
| 4941 | fi | ||
| 4942 | if (echo >conf$$.file) 2>/dev/null; then | ||
| 4943 | if ln -s conf$$.file conf$$ 2>/dev/null; then | ||
| 4944 | as_ln_s='ln -s' | ||
| 4945 | # ... but there are two gotchas: | ||
| 4946 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | ||
| 4947 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | ||
| 4948 | # In both cases, we have to default to `cp -pR'. | ||
| 4949 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | ||
| 4950 | as_ln_s='cp -pR' | ||
| 4951 | elif ln conf$$.file conf$$ 2>/dev/null; then | ||
| 4952 | as_ln_s=ln | ||
| 4953 | else | ||
| 4954 | as_ln_s='cp -pR' | ||
| 4955 | fi | ||
| 4956 | else | ||
| 4957 | as_ln_s='cp -pR' | ||
| 4958 | fi | ||
| 4959 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | ||
| 4960 | rmdir conf$$.dir 2>/dev/null | ||
| 4961 | |||
| 4962 | |||
| 4963 | # as_fn_mkdir_p | ||
| 4964 | # ------------- | ||
| 4965 | # Create "$as_dir" as a directory, including parents if necessary. | ||
| 4966 | as_fn_mkdir_p () | ||
| 4967 | { | ||
| 4968 | |||
| 4969 | case $as_dir in #( | ||
| 4970 | -*) as_dir=./$as_dir;; | ||
| 4971 | esac | ||
| 4972 | test -d "$as_dir" || eval $as_mkdir_p || { | ||
| 4973 | as_dirs= | ||
| 4974 | while :; do | ||
| 4975 | case $as_dir in #( | ||
| 4976 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | ||
| 4977 | *) as_qdir=$as_dir;; | ||
| 4978 | esac | ||
| 4979 | as_dirs="'$as_qdir' $as_dirs" | ||
| 4980 | as_dir=`$as_dirname -- "$as_dir" || | ||
| 4981 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
| 4982 | X"$as_dir" : 'X\(//\)[^/]' \| \ | ||
| 4983 | X"$as_dir" : 'X\(//\)$' \| \ | ||
| 4984 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | ||
| 4985 | $as_echo X"$as_dir" | | ||
| 4986 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
| 4987 | s//\1/ | ||
| 4988 | q | ||
| 4989 | } | ||
| 4990 | /^X\(\/\/\)[^/].*/{ | ||
| 4991 | s//\1/ | ||
| 4992 | q | ||
| 4993 | } | ||
| 4994 | /^X\(\/\/\)$/{ | ||
| 4995 | s//\1/ | ||
| 4996 | q | ||
| 4997 | } | ||
| 4998 | /^X\(\/\).*/{ | ||
| 4999 | s//\1/ | ||
| 5000 | q | ||
| 5001 | } | ||
| 5002 | s/.*/./; q'` | ||
| 5003 | test -d "$as_dir" && break | ||
| 5004 | done | ||
| 5005 | test -z "$as_dirs" || eval "mkdir $as_dirs" | ||
| 5006 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | ||
| 5007 | |||
| 5008 | |||
| 5009 | } # as_fn_mkdir_p | ||
| 5010 | if mkdir -p . 2>/dev/null; then | ||
| 5011 | as_mkdir_p='mkdir -p "$as_dir"' | ||
| 5012 | else | ||
| 5013 | test -d ./-p && rmdir ./-p | ||
| 5014 | as_mkdir_p=false | ||
| 5015 | fi | ||
| 5016 | |||
| 5017 | |||
| 5018 | # as_fn_executable_p FILE | ||
| 5019 | # ----------------------- | ||
| 5020 | # Test if FILE is an executable regular file. | ||
| 5021 | as_fn_executable_p () | ||
| 5022 | { | ||
| 5023 | test -f "$1" && test -x "$1" | ||
| 5024 | } # as_fn_executable_p | ||
| 5025 | as_test_x='test -x' | ||
| 5026 | as_executable_p=as_fn_executable_p | ||
| 5027 | |||
| 5028 | # Sed expression to map a string onto a valid CPP name. | ||
| 5029 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | ||
| 5030 | |||
| 5031 | # Sed expression to map a string onto a valid variable name. | ||
| 5032 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | ||
| 5033 | |||
| 5034 | |||
| 5035 | exec 6>&1 | ||
| 5036 | ## ----------------------------------- ## | ||
| 5037 | ## Main body of $CONFIG_STATUS script. ## | ||
| 5038 | ## ----------------------------------- ## | ||
| 5039 | _ASEOF | ||
| 5040 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | ||
| 5041 | |||
| 5042 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
| 5043 | # Save the log message, to keep $0 and so on meaningful, and to | ||
| 5044 | # report actual input values of CONFIG_FILES etc. instead of their | ||
| 5045 | # values after options handling. | ||
| 5046 | ac_log=" | ||
| 5047 | This file was extended by life $as_me 1.6.0, which was | ||
| 5048 | generated by GNU Autoconf 2.69. Invocation command line was | ||
| 5049 | |||
| 5050 | CONFIG_FILES = $CONFIG_FILES | ||
| 5051 | CONFIG_HEADERS = $CONFIG_HEADERS | ||
| 5052 | CONFIG_LINKS = $CONFIG_LINKS | ||
| 5053 | CONFIG_COMMANDS = $CONFIG_COMMANDS | ||
| 5054 | $ $0 $@ | ||
| 5055 | |||
| 5056 | on `(hostname || uname -n) 2>/dev/null | sed 1q` | ||
| 5057 | " | ||
| 5058 | |||
| 5059 | _ACEOF | ||
| 5060 | |||
| 5061 | case $ac_config_files in *" | ||
| 5062 | "*) set x $ac_config_files; shift; ac_config_files=$*;; | ||
| 5063 | esac | ||
| 5064 | |||
| 5065 | case $ac_config_headers in *" | ||
| 5066 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;; | ||
| 5067 | esac | ||
| 5068 | |||
| 5069 | |||
| 5070 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
| 5071 | # Files that config.status was made for. | ||
| 5072 | config_files="$ac_config_files" | ||
| 5073 | config_headers="$ac_config_headers" | ||
| 5074 | config_commands="$ac_config_commands" | ||
| 5075 | |||
| 5076 | _ACEOF | ||
| 5077 | |||
| 5078 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
| 5079 | ac_cs_usage="\ | ||
| 5080 | \`$as_me' instantiates files and other configuration actions | ||
| 5081 | from templates according to the current configuration. Unless the files | ||
| 5082 | and actions are specified as TAGs, all are instantiated by default. | ||
| 5083 | |||
| 5084 | Usage: $0 [OPTION]... [TAG]... | ||
| 5085 | |||
| 5086 | -h, --help print this help, then exit | ||
| 5087 | -V, --version print version number and configuration settings, then exit | ||
| 5088 | --config print configuration, then exit | ||
| 5089 | -q, --quiet, --silent | ||
| 5090 | do not print progress messages | ||
| 5091 | -d, --debug don't remove temporary files | ||
| 5092 | --recheck update $as_me by reconfiguring in the same conditions | ||
| 5093 | --file=FILE[:TEMPLATE] | ||
| 5094 | instantiate the configuration file FILE | ||
| 5095 | --header=FILE[:TEMPLATE] | ||
| 5096 | instantiate the configuration header FILE | ||
| 5097 | |||
| 5098 | Configuration files: | ||
| 5099 | $config_files | ||
| 5100 | |||
| 5101 | Configuration headers: | ||
| 5102 | $config_headers | ||
| 5103 | |||
| 5104 | Configuration commands: | ||
| 5105 | $config_commands | ||
| 5106 | |||
| 5107 | Report bugs to <aiden.woodruff@gmail.com>." | ||
| 5108 | |||
| 5109 | _ACEOF | ||
| 5110 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
| 5111 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | ||
| 5112 | ac_cs_version="\\ | ||
| 5113 | life config.status 1.6.0 | ||
| 5114 | configured by $0, generated by GNU Autoconf 2.69, | ||
| 5115 | with options \\"\$ac_cs_config\\" | ||
| 5116 | |||
| 5117 | Copyright (C) 2012 Free Software Foundation, Inc. | ||
| 5118 | This config.status script is free software; the Free Software Foundation | ||
| 5119 | gives unlimited permission to copy, distribute and modify it." | ||
| 5120 | |||
| 5121 | ac_pwd='$ac_pwd' | ||
| 5122 | srcdir='$srcdir' | ||
| 5123 | INSTALL='$INSTALL' | ||
| 5124 | MKDIR_P='$MKDIR_P' | ||
| 5125 | AWK='$AWK' | ||
| 5126 | test -n "\$AWK" || AWK=awk | ||
| 5127 | _ACEOF | ||
| 5128 | |||
| 5129 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
| 5130 | # The default lists apply if the user does not specify any file. | ||
| 5131 | ac_need_defaults=: | ||
| 5132 | while test $# != 0 | ||
| 5133 | do | ||
| 5134 | case $1 in | ||
| 5135 | --*=?*) | ||
| 5136 | ac_option=`expr "X$1" : 'X\([^=]*\)='` | ||
| 5137 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | ||
| 5138 | ac_shift=: | ||
| 5139 | ;; | ||
| 5140 | --*=) | ||
| 5141 | ac_option=`expr "X$1" : 'X\([^=]*\)='` | ||
| 5142 | ac_optarg= | ||
| 5143 | ac_shift=: | ||
| 5144 | ;; | ||
| 5145 | *) | ||
| 5146 | ac_option=$1 | ||
| 5147 | ac_optarg=$2 | ||
| 5148 | ac_shift=shift | ||
| 5149 | ;; | ||
| 5150 | esac | ||
| 5151 | |||
| 5152 | case $ac_option in | ||
| 5153 | # Handling of the options. | ||
| 5154 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | ||
| 5155 | ac_cs_recheck=: ;; | ||
| 5156 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | ||
| 5157 | $as_echo "$ac_cs_version"; exit ;; | ||
| 5158 | --config | --confi | --conf | --con | --co | --c ) | ||
| 5159 | $as_echo "$ac_cs_config"; exit ;; | ||
| 5160 | --debug | --debu | --deb | --de | --d | -d ) | ||
| 5161 | debug=: ;; | ||
| 5162 | --file | --fil | --fi | --f ) | ||
| 5163 | $ac_shift | ||
| 5164 | case $ac_optarg in | ||
| 5165 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
| 5166 | '') as_fn_error $? "missing file argument" ;; | ||
| 5167 | esac | ||
| 5168 | as_fn_append CONFIG_FILES " '$ac_optarg'" | ||
| 5169 | ac_need_defaults=false;; | ||
| 5170 | --header | --heade | --head | --hea ) | ||
| 5171 | $ac_shift | ||
| 5172 | case $ac_optarg in | ||
| 5173 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
| 5174 | esac | ||
| 5175 | as_fn_append CONFIG_HEADERS " '$ac_optarg'" | ||
| 5176 | ac_need_defaults=false;; | ||
| 5177 | --he | --h) | ||
| 5178 | # Conflict between --help and --header | ||
| 5179 | as_fn_error $? "ambiguous option: \`$1' | ||
| 5180 | Try \`$0 --help' for more information.";; | ||
| 5181 | --help | --hel | -h ) | ||
| 5182 | $as_echo "$ac_cs_usage"; exit ;; | ||
| 5183 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | ||
| 5184 | | -silent | --silent | --silen | --sile | --sil | --si | --s) | ||
| 5185 | ac_cs_silent=: ;; | ||
| 5186 | |||
| 5187 | # This is an error. | ||
| 5188 | -*) as_fn_error $? "unrecognized option: \`$1' | ||
| 5189 | Try \`$0 --help' for more information." ;; | ||
| 5190 | |||
| 5191 | *) as_fn_append ac_config_targets " $1" | ||
| 5192 | ac_need_defaults=false ;; | ||
| 5193 | |||
| 5194 | esac | ||
| 5195 | shift | ||
| 5196 | done | ||
| 5197 | |||
| 5198 | ac_configure_extra_args= | ||
| 5199 | |||
| 5200 | if $ac_cs_silent; then | ||
| 5201 | exec 6>/dev/null | ||
| 5202 | ac_configure_extra_args="$ac_configure_extra_args --silent" | ||
| 5203 | fi | ||
| 5204 | |||
| 5205 | _ACEOF | ||
| 5206 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
| 5207 | if \$ac_cs_recheck; then | ||
| 5208 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | ||
| 5209 | shift | ||
| 5210 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 | ||
| 5211 | CONFIG_SHELL='$SHELL' | ||
| 5212 | export CONFIG_SHELL | ||
| 5213 | exec "\$@" | ||
| 5214 | fi | ||
| 5215 | |||
| 5216 | _ACEOF | ||
| 5217 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
| 5218 | exec 5>>config.log | ||
| 5219 | { | ||
| 5220 | echo | ||
| 5221 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | ||
| 5222 | ## Running $as_me. ## | ||
| 5223 | _ASBOX | ||
| 5224 | $as_echo "$ac_log" | ||
| 5225 | } >&5 | ||
| 5226 | |||
| 5227 | _ACEOF | ||
| 5228 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
| 5229 | # | ||
| 5230 | # INIT-COMMANDS | ||
| 5231 | # | ||
| 5232 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" | ||
| 5233 | |||
| 5234 | _ACEOF | ||
| 5235 | |||
| 5236 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
| 5237 | |||
| 5238 | # Handling of arguments. | ||
| 5239 | for ac_config_target in $ac_config_targets | ||
| 5240 | do | ||
| 5241 | case $ac_config_target in | ||
| 5242 | "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;; | ||
| 5243 | "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; | ||
| 5244 | "docs/life.6") CONFIG_FILES="$CONFIG_FILES docs/life.6" ;; | ||
| 5245 | "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;; | ||
| 5246 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; | ||
| 5247 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | ||
| 5248 | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; | ||
| 5249 | |||
| 5250 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | ||
| 5251 | esac | ||
| 5252 | done | ||
| 5253 | |||
| 5254 | |||
| 5255 | # If the user did not use the arguments to specify the items to instantiate, | ||
| 5256 | # then the envvar interface is used. Set only those that are not. | ||
| 5257 | # We use the long form for the default assignment because of an extremely | ||
| 5258 | # bizarre bug on SunOS 4.1.3. | ||
| 5259 | if $ac_need_defaults; then | ||
| 5260 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | ||
| 5261 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | ||
| 5262 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands | ||
| 5263 | fi | ||
| 5264 | |||
| 5265 | # Have a temporary directory for convenience. Make it in the build tree | ||
| 5266 | # simply because there is no reason against having it here, and in addition, | ||
| 5267 | # creating and moving files from /tmp can sometimes cause problems. | ||
| 5268 | # Hook for its removal unless debugging. | ||
| 5269 | # Note that there is a small window in which the directory will not be cleaned: | ||
| 5270 | # after its creation but before its name has been assigned to `$tmp'. | ||
| 5271 | $debug || | ||
| 5272 | { | ||
| 5273 | tmp= ac_tmp= | ||
| 5274 | trap 'exit_status=$? | ||
| 5275 | : "${ac_tmp:=$tmp}" | ||
| 5276 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status | ||
| 5277 | ' 0 | ||
| 5278 | trap 'as_fn_exit 1' 1 2 13 15 | ||
| 5279 | } | ||
| 5280 | # Create a (secure) tmp directory for tmp files. | ||
| 5281 | |||
| 5282 | { | ||
| 5283 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | ||
| 5284 | test -d "$tmp" | ||
| 5285 | } || | ||
| 5286 | { | ||
| 5287 | tmp=./conf$$-$RANDOM | ||
| 5288 | (umask 077 && mkdir "$tmp") | ||
| 5289 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 | ||
| 5290 | ac_tmp=$tmp | ||
| 5291 | |||
| 5292 | # Set up the scripts for CONFIG_FILES section. | ||
| 5293 | # No need to generate them if there are no CONFIG_FILES. | ||
| 5294 | # This happens for instance with `./config.status config.h'. | ||
| 5295 | if test -n "$CONFIG_FILES"; then | ||
| 5296 | |||
| 5297 | |||
| 5298 | ac_cr=`echo X | tr X '\015'` | ||
| 5299 | # On cygwin, bash can eat \r inside `` if the user requested igncr. | ||
| 5300 | # But we know of no other shell where ac_cr would be empty at this | ||
| 5301 | # point, so we can use a bashism as a fallback. | ||
| 5302 | if test "x$ac_cr" = x; then | ||
| 5303 | eval ac_cr=\$\'\\r\' | ||
| 5304 | fi | ||
| 5305 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | ||
| 5306 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | ||
| 5307 | ac_cs_awk_cr='\\r' | ||
| 5308 | else | ||
| 5309 | ac_cs_awk_cr=$ac_cr | ||
| 5310 | fi | ||
| 5311 | |||
| 5312 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && | ||
| 5313 | _ACEOF | ||
| 5314 | |||
| 5315 | |||
| 5316 | { | ||
| 5317 | echo "cat >conf$$subs.awk <<_ACEOF" && | ||
| 5318 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | ||
| 5319 | echo "_ACEOF" | ||
| 5320 | } >conf$$subs.sh || | ||
| 5321 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | ||
| 5322 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` | ||
| 5323 | ac_delim='%!_!# ' | ||
| 5324 | for ac_last_try in false false false false false :; do | ||
| 5325 | . ./conf$$subs.sh || | ||
| 5326 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | ||
| 5327 | |||
| 5328 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | ||
| 5329 | if test $ac_delim_n = $ac_delim_num; then | ||
| 5330 | break | ||
| 5331 | elif $ac_last_try; then | ||
| 5332 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | ||
| 5333 | else | ||
| 5334 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | ||
| 5335 | fi | ||
| 5336 | done | ||
| 5337 | rm -f conf$$subs.sh | ||
| 5338 | |||
| 5339 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
| 5340 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && | ||
| 5341 | _ACEOF | ||
| 5342 | sed -n ' | ||
| 5343 | h | ||
| 5344 | s/^/S["/; s/!.*/"]=/ | ||
| 5345 | p | ||
| 5346 | g | ||
| 5347 | s/^[^!]*!// | ||
| 5348 | :repl | ||
| 5349 | t repl | ||
| 5350 | s/'"$ac_delim"'$// | ||
| 5351 | t delim | ||
| 5352 | :nl | ||
| 5353 | h | ||
| 5354 | s/\(.\{148\}\)..*/\1/ | ||
| 5355 | t more1 | ||
| 5356 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | ||
| 5357 | p | ||
| 5358 | n | ||
| 5359 | b repl | ||
| 5360 | :more1 | ||
| 5361 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | ||
| 5362 | p | ||
| 5363 | g | ||
| 5364 | s/.\{148\}// | ||
| 5365 | t nl | ||
| 5366 | :delim | ||
| 5367 | h | ||
| 5368 | s/\(.\{148\}\)..*/\1/ | ||
| 5369 | t more2 | ||
| 5370 | s/["\\]/\\&/g; s/^/"/; s/$/"/ | ||
| 5371 | p | ||
| 5372 | b | ||
| 5373 | :more2 | ||
| 5374 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | ||
| 5375 | p | ||
| 5376 | g | ||
| 5377 | s/.\{148\}// | ||
| 5378 | t delim | ||
| 5379 | ' <conf$$subs.awk | sed ' | ||
| 5380 | /^[^""]/{ | ||
| 5381 | N | ||
| 5382 | s/\n// | ||
| 5383 | } | ||
| 5384 | ' >>$CONFIG_STATUS || ac_write_fail=1 | ||
| 5385 | rm -f conf$$subs.awk | ||
| 5386 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
| 5387 | _ACAWK | ||
| 5388 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && | ||
| 5389 | for (key in S) S_is_set[key] = 1 | ||
| 5390 | FS = "" | ||
| 5391 | |||
| 5392 | } | ||
| 5393 | { | ||
| 5394 | line = $ 0 | ||
| 5395 | nfields = split(line, field, "@") | ||
| 5396 | substed = 0 | ||
| 5397 | len = length(field[1]) | ||
| 5398 | for (i = 2; i < nfields; i++) { | ||
| 5399 | key = field[i] | ||
| 5400 | keylen = length(key) | ||
| 5401 | if (S_is_set[key]) { | ||
| 5402 | value = S[key] | ||
| 5403 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) | ||
| 5404 | len += length(value) + length(field[++i]) | ||
| 5405 | substed = 1 | ||
| 5406 | } else | ||
| 5407 | len += 1 + keylen | ||
| 5408 | } | ||
| 5409 | |||
| 5410 | print line | ||
| 5411 | } | ||
| 5412 | |||
| 5413 | _ACAWK | ||
| 5414 | _ACEOF | ||
| 5415 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
| 5416 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | ||
| 5417 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | ||
| 5418 | else | ||
| 5419 | cat | ||
| 5420 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ | ||
| 5421 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 | ||
| 5422 | _ACEOF | ||
| 5423 | |||
| 5424 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), | ||
| 5425 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and | ||
| 5426 | # trailing colons and then remove the whole line if VPATH becomes empty | ||
| 5427 | # (actually we leave an empty line to preserve line numbers). | ||
| 5428 | if test "x$srcdir" = x.; then | ||
| 5429 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ | ||
| 5430 | h | ||
| 5431 | s/// | ||
| 5432 | s/^/:/ | ||
| 5433 | s/[ ]*$/:/ | ||
| 5434 | s/:\$(srcdir):/:/g | ||
| 5435 | s/:\${srcdir}:/:/g | ||
| 5436 | s/:@srcdir@:/:/g | ||
| 5437 | s/^:*// | ||
| 5438 | s/:*$// | ||
| 5439 | x | ||
| 5440 | s/\(=[ ]*\).*/\1/ | ||
| 5441 | G | ||
| 5442 | s/\n// | ||
| 5443 | s/^[^=]*=[ ]*$// | ||
| 5444 | }' | ||
| 5445 | fi | ||
| 5446 | |||
| 5447 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
| 5448 | fi # test -n "$CONFIG_FILES" | ||
| 5449 | |||
| 5450 | # Set up the scripts for CONFIG_HEADERS section. | ||
| 5451 | # No need to generate them if there are no CONFIG_HEADERS. | ||
| 5452 | # This happens for instance with `./config.status Makefile'. | ||
| 5453 | if test -n "$CONFIG_HEADERS"; then | ||
| 5454 | cat >"$ac_tmp/defines.awk" <<\_ACAWK || | ||
| 5455 | BEGIN { | ||
| 5456 | _ACEOF | ||
| 5457 | |||
| 5458 | # Transform confdefs.h into an awk script `defines.awk', embedded as | ||
| 5459 | # here-document in config.status, that substitutes the proper values into | ||
| 5460 | # config.h.in to produce config.h. | ||
| 5461 | |||
| 5462 | # Create a delimiter string that does not exist in confdefs.h, to ease | ||
| 5463 | # handling of long lines. | ||
| 5464 | ac_delim='%!_!# ' | ||
| 5465 | for ac_last_try in false false :; do | ||
| 5466 | ac_tt=`sed -n "/$ac_delim/p" confdefs.h` | ||
| 5467 | if test -z "$ac_tt"; then | ||
| 5468 | break | ||
| 5469 | elif $ac_last_try; then | ||
| 5470 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 | ||
| 5471 | else | ||
| 5472 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | ||
| 5473 | fi | ||
| 5474 | done | ||
| 5475 | |||
| 5476 | # For the awk script, D is an array of macro values keyed by name, | ||
| 5477 | # likewise P contains macro parameters if any. Preserve backslash | ||
| 5478 | # newline sequences. | ||
| 5479 | |||
| 5480 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* | ||
| 5481 | sed -n ' | ||
| 5482 | s/.\{148\}/&'"$ac_delim"'/g | ||
| 5483 | t rset | ||
| 5484 | :rset | ||
| 5485 | s/^[ ]*#[ ]*define[ ][ ]*/ / | ||
| 5486 | t def | ||
| 5487 | d | ||
| 5488 | :def | ||
| 5489 | s/\\$// | ||
| 5490 | t bsnl | ||
| 5491 | s/["\\]/\\&/g | ||
| 5492 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | ||
| 5493 | D["\1"]=" \3"/p | ||
| 5494 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p | ||
| 5495 | d | ||
| 5496 | :bsnl | ||
| 5497 | s/["\\]/\\&/g | ||
| 5498 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | ||
| 5499 | D["\1"]=" \3\\\\\\n"\\/p | ||
| 5500 | t cont | ||
| 5501 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p | ||
| 5502 | t cont | ||
| 5503 | d | ||
| 5504 | :cont | ||
| 5505 | n | ||
| 5506 | s/.\{148\}/&'"$ac_delim"'/g | ||
| 5507 | t clear | ||
| 5508 | :clear | ||
| 5509 | s/\\$// | ||
| 5510 | t bsnlc | ||
| 5511 | s/["\\]/\\&/g; s/^/"/; s/$/"/p | ||
| 5512 | d | ||
| 5513 | :bsnlc | ||
| 5514 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p | ||
| 5515 | b cont | ||
| 5516 | ' <confdefs.h | sed ' | ||
| 5517 | s/'"$ac_delim"'/"\\\ | ||
| 5518 | "/g' >>$CONFIG_STATUS || ac_write_fail=1 | ||
| 5519 | |||
| 5520 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
| 5521 | for (key in D) D_is_set[key] = 1 | ||
| 5522 | FS = "" | ||
| 5523 | } | ||
| 5524 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { | ||
| 5525 | line = \$ 0 | ||
| 5526 | split(line, arg, " ") | ||
| 5527 | if (arg[1] == "#") { | ||
| 5528 | defundef = arg[2] | ||
| 5529 | mac1 = arg[3] | ||
| 5530 | } else { | ||
| 5531 | defundef = substr(arg[1], 2) | ||
| 5532 | mac1 = arg[2] | ||
| 5533 | } | ||
| 5534 | split(mac1, mac2, "(") #) | ||
| 5535 | macro = mac2[1] | ||
| 5536 | prefix = substr(line, 1, index(line, defundef) - 1) | ||
| 5537 | if (D_is_set[macro]) { | ||
| 5538 | # Preserve the white space surrounding the "#". | ||
| 5539 | print prefix "define", macro P[macro] D[macro] | ||
| 5540 | next | ||
| 5541 | } else { | ||
| 5542 | # Replace #undef with comments. This is necessary, for example, | ||
| 5543 | # in the case of _POSIX_SOURCE, which is predefined and required | ||
| 5544 | # on some systems where configure will not decide to define it. | ||
| 5545 | if (defundef == "undef") { | ||
| 5546 | print "/*", prefix defundef, macro, "*/" | ||
| 5547 | next | ||
| 5548 | } | ||
| 5549 | } | ||
| 5550 | } | ||
| 5551 | { print } | ||
| 5552 | _ACAWK | ||
| 5553 | _ACEOF | ||
| 5554 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
| 5555 | as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 | ||
| 5556 | fi # test -n "$CONFIG_HEADERS" | ||
| 5557 | |||
| 5558 | |||
| 5559 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" | ||
| 5560 | shift | ||
| 5561 | for ac_tag | ||
| 5562 | do | ||
| 5563 | case $ac_tag in | ||
| 5564 | :[FHLC]) ac_mode=$ac_tag; continue;; | ||
| 5565 | esac | ||
| 5566 | case $ac_mode$ac_tag in | ||
| 5567 | :[FHL]*:*);; | ||
| 5568 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; | ||
| 5569 | :[FH]-) ac_tag=-:-;; | ||
| 5570 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | ||
| 5571 | esac | ||
| 5572 | ac_save_IFS=$IFS | ||
| 5573 | IFS=: | ||
| 5574 | set x $ac_tag | ||
| 5575 | IFS=$ac_save_IFS | ||
| 5576 | shift | ||
| 5577 | ac_file=$1 | ||
| 5578 | shift | ||
| 5579 | |||
| 5580 | case $ac_mode in | ||
| 5581 | :L) ac_source=$1;; | ||
| 5582 | :[FH]) | ||
| 5583 | ac_file_inputs= | ||
| 5584 | for ac_f | ||
| 5585 | do | ||
| 5586 | case $ac_f in | ||
| 5587 | -) ac_f="$ac_tmp/stdin";; | ||
| 5588 | *) # Look for the file first in the build tree, then in the source tree | ||
| 5589 | # (if the path is not absolute). The absolute path cannot be DOS-style, | ||
| 5590 | # because $ac_f cannot contain `:'. | ||
| 5591 | test -f "$ac_f" || | ||
| 5592 | case $ac_f in | ||
| 5593 | [\\/$]*) false;; | ||
| 5594 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | ||
| 5595 | esac || | ||
| 5596 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; | ||
| 5597 | esac | ||
| 5598 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | ||
| 5599 | as_fn_append ac_file_inputs " '$ac_f'" | ||
| 5600 | done | ||
| 5601 | |||
| 5602 | # Let's still pretend it is `configure' which instantiates (i.e., don't | ||
| 5603 | # use $as_me), people would be surprised to read: | ||
| 5604 | # /* config.h. Generated by config.status. */ | ||
| 5605 | configure_input='Generated from '` | ||
| 5606 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' | ||
| 5607 | `' by configure.' | ||
| 5608 | if test x"$ac_file" != x-; then | ||
| 5609 | configure_input="$ac_file. $configure_input" | ||
| 5610 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 | ||
| 5611 | $as_echo "$as_me: creating $ac_file" >&6;} | ||
| 5612 | fi | ||
| 5613 | # Neutralize special characters interpreted by sed in replacement strings. | ||
| 5614 | case $configure_input in #( | ||
| 5615 | *\&* | *\|* | *\\* ) | ||
| 5616 | ac_sed_conf_input=`$as_echo "$configure_input" | | ||
| 5617 | sed 's/[\\\\&|]/\\\\&/g'`;; #( | ||
| 5618 | *) ac_sed_conf_input=$configure_input;; | ||
| 5619 | esac | ||
| 5620 | |||
| 5621 | case $ac_tag in | ||
| 5622 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ | ||
| 5623 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; | ||
| 5624 | esac | ||
| 5625 | ;; | ||
| 5626 | esac | ||
| 5627 | |||
| 5628 | ac_dir=`$as_dirname -- "$ac_file" || | ||
| 5629 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
| 5630 | X"$ac_file" : 'X\(//\)[^/]' \| \ | ||
| 5631 | X"$ac_file" : 'X\(//\)$' \| \ | ||
| 5632 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | ||
| 5633 | $as_echo X"$ac_file" | | ||
| 5634 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
| 5635 | s//\1/ | ||
| 5636 | q | ||
| 5637 | } | ||
| 5638 | /^X\(\/\/\)[^/].*/{ | ||
| 5639 | s//\1/ | ||
| 5640 | q | ||
| 5641 | } | ||
| 5642 | /^X\(\/\/\)$/{ | ||
| 5643 | s//\1/ | ||
| 5644 | q | ||
| 5645 | } | ||
| 5646 | /^X\(\/\).*/{ | ||
| 5647 | s//\1/ | ||
| 5648 | q | ||
| 5649 | } | ||
| 5650 | s/.*/./; q'` | ||
| 5651 | as_dir="$ac_dir"; as_fn_mkdir_p | ||
| 5652 | ac_builddir=. | ||
| 5653 | |||
| 5654 | case "$ac_dir" in | ||
| 5655 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | ||
| 5656 | *) | ||
| 5657 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | ||
| 5658 | # A ".." for each directory in $ac_dir_suffix. | ||
| 5659 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | ||
| 5660 | case $ac_top_builddir_sub in | ||
| 5661 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | ||
| 5662 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | ||
| 5663 | esac ;; | ||
| 5664 | esac | ||
| 5665 | ac_abs_top_builddir=$ac_pwd | ||
| 5666 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | ||
| 5667 | # for backward compatibility: | ||
| 5668 | ac_top_builddir=$ac_top_build_prefix | ||
| 5669 | |||
| 5670 | case $srcdir in | ||
| 5671 | .) # We are building in place. | ||
| 5672 | ac_srcdir=. | ||
| 5673 | ac_top_srcdir=$ac_top_builddir_sub | ||
| 5674 | ac_abs_top_srcdir=$ac_pwd ;; | ||
| 5675 | [\\/]* | ?:[\\/]* ) # Absolute name. | ||
| 5676 | ac_srcdir=$srcdir$ac_dir_suffix; | ||
| 5677 | ac_top_srcdir=$srcdir | ||
| 5678 | ac_abs_top_srcdir=$srcdir ;; | ||
| 5679 | *) # Relative name. | ||
| 5680 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | ||
| 5681 | ac_top_srcdir=$ac_top_build_prefix$srcdir | ||
| 5682 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | ||
| 5683 | esac | ||
| 5684 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | ||
| 5685 | |||
| 5686 | |||
| 5687 | case $ac_mode in | ||
| 5688 | :F) | ||
| 5689 | # | ||
| 5690 | # CONFIG_FILE | ||
| 5691 | # | ||
| 5692 | |||
| 5693 | case $INSTALL in | ||
| 5694 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | ||
| 5695 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; | ||
| 5696 | esac | ||
| 5697 | ac_MKDIR_P=$MKDIR_P | ||
| 5698 | case $MKDIR_P in | ||
| 5699 | [\\/$]* | ?:[\\/]* ) ;; | ||
| 5700 | */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; | ||
| 5701 | esac | ||
| 5702 | _ACEOF | ||
| 5703 | |||
| 5704 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
| 5705 | # If the template does not know about datarootdir, expand it. | ||
| 5706 | # FIXME: This hack should be removed a few years after 2.60. | ||
| 5707 | ac_datarootdir_hack=; ac_datarootdir_seen= | ||
| 5708 | ac_sed_dataroot=' | ||
| 5709 | /datarootdir/ { | ||
| 5710 | p | ||
| 5711 | q | ||
| 5712 | } | ||
| 5713 | /@datadir@/p | ||
| 5714 | /@docdir@/p | ||
| 5715 | /@infodir@/p | ||
| 5716 | /@localedir@/p | ||
| 5717 | /@mandir@/p' | ||
| 5718 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in | ||
| 5719 | *datarootdir*) ac_datarootdir_seen=yes;; | ||
| 5720 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | ||
| 5721 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 | ||
| 5722 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | ||
| 5723 | _ACEOF | ||
| 5724 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
| 5725 | ac_datarootdir_hack=' | ||
| 5726 | s&@datadir@&$datadir&g | ||
| 5727 | s&@docdir@&$docdir&g | ||
| 5728 | s&@infodir@&$infodir&g | ||
| 5729 | s&@localedir@&$localedir&g | ||
| 5730 | s&@mandir@&$mandir&g | ||
| 5731 | s&\\\${datarootdir}&$datarootdir&g' ;; | ||
| 5732 | esac | ||
| 5733 | _ACEOF | ||
| 5734 | |||
| 5735 | # Neutralize VPATH when `$srcdir' = `.'. | ||
| 5736 | # Shell code in configure.ac might set extrasub. | ||
| 5737 | # FIXME: do we really want to maintain this feature? | ||
| 5738 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
| 5739 | ac_sed_extra="$ac_vpsub | ||
| 5740 | $extrasub | ||
| 5741 | _ACEOF | ||
| 5742 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
| 5743 | :t | ||
| 5744 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | ||
| 5745 | s|@configure_input@|$ac_sed_conf_input|;t t | ||
| 5746 | s&@top_builddir@&$ac_top_builddir_sub&;t t | ||
| 5747 | s&@top_build_prefix@&$ac_top_build_prefix&;t t | ||
| 5748 | s&@srcdir@&$ac_srcdir&;t t | ||
| 5749 | s&@abs_srcdir@&$ac_abs_srcdir&;t t | ||
| 5750 | s&@top_srcdir@&$ac_top_srcdir&;t t | ||
| 5751 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | ||
| 5752 | s&@builddir@&$ac_builddir&;t t | ||
| 5753 | s&@abs_builddir@&$ac_abs_builddir&;t t | ||
| 5754 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | ||
| 5755 | s&@INSTALL@&$ac_INSTALL&;t t | ||
| 5756 | s&@MKDIR_P@&$ac_MKDIR_P&;t t | ||
| 5757 | $ac_datarootdir_hack | ||
| 5758 | " | ||
| 5759 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ | ||
| 5760 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | ||
| 5761 | |||
| 5762 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | ||
| 5763 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && | ||
| 5764 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ | ||
| 5765 | "$ac_tmp/out"`; test -z "$ac_out"; } && | ||
| 5766 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' | ||
| 5767 | which seems to be undefined. Please make sure it is defined" >&5 | ||
| 5768 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | ||
| 5769 | which seems to be undefined. Please make sure it is defined" >&2;} | ||
| 5770 | |||
| 5771 | rm -f "$ac_tmp/stdin" | ||
| 5772 | case $ac_file in | ||
| 5773 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; | ||
| 5774 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; | ||
| 5775 | esac \ | ||
| 5776 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | ||
| 5777 | ;; | ||
| 5778 | :H) | ||
| 5779 | # | ||
| 5780 | # CONFIG_HEADER | ||
| 5781 | # | ||
| 5782 | if test x"$ac_file" != x-; then | ||
| 5783 | { | ||
| 5784 | $as_echo "/* $configure_input */" \ | ||
| 5785 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" | ||
| 5786 | } >"$ac_tmp/config.h" \ | ||
| 5787 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | ||
| 5788 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then | ||
| 5789 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 | ||
| 5790 | $as_echo "$as_me: $ac_file is unchanged" >&6;} | ||
| 5791 | else | ||
| 5792 | rm -f "$ac_file" | ||
| 5793 | mv "$ac_tmp/config.h" "$ac_file" \ | ||
| 5794 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | ||
| 5795 | fi | ||
| 5796 | else | ||
| 5797 | $as_echo "/* $configure_input */" \ | ||
| 5798 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ | ||
| 5799 | || as_fn_error $? "could not create -" "$LINENO" 5 | ||
| 5800 | fi | ||
| 5801 | # Compute "$ac_file"'s index in $config_headers. | ||
| 5802 | _am_arg="$ac_file" | ||
| 5803 | _am_stamp_count=1 | ||
| 5804 | for _am_header in $config_headers :; do | ||
| 5805 | case $_am_header in | ||
| 5806 | $_am_arg | $_am_arg:* ) | ||
| 5807 | break ;; | ||
| 5808 | * ) | ||
| 5809 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; | ||
| 5810 | esac | ||
| 5811 | done | ||
| 5812 | echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || | ||
| 5813 | $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
| 5814 | X"$_am_arg" : 'X\(//\)[^/]' \| \ | ||
| 5815 | X"$_am_arg" : 'X\(//\)$' \| \ | ||
| 5816 | X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || | ||
| 5817 | $as_echo X"$_am_arg" | | ||
| 5818 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
| 5819 | s//\1/ | ||
| 5820 | q | ||
| 5821 | } | ||
| 5822 | /^X\(\/\/\)[^/].*/{ | ||
| 5823 | s//\1/ | ||
| 5824 | q | ||
| 5825 | } | ||
| 5826 | /^X\(\/\/\)$/{ | ||
| 5827 | s//\1/ | ||
| 5828 | q | ||
| 5829 | } | ||
| 5830 | /^X\(\/\).*/{ | ||
| 5831 | s//\1/ | ||
| 5832 | q | ||
| 5833 | } | ||
| 5834 | s/.*/./; q'`/stamp-h$_am_stamp_count | ||
| 5835 | ;; | ||
| 5836 | |||
| 5837 | :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 | ||
| 5838 | $as_echo "$as_me: executing $ac_file commands" >&6;} | ||
| 5839 | ;; | ||
| 5840 | esac | ||
| 5841 | |||
| 5842 | |||
| 5843 | case $ac_file$ac_mode in | ||
| 5844 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || { | ||
| 5845 | # Older Autoconf quotes --file arguments for eval, but not when files | ||
| 5846 | # are listed without --file. Let's play safe and only enable the eval | ||
| 5847 | # if we detect the quoting. | ||
| 5848 | case $CONFIG_FILES in | ||
| 5849 | *\'*) eval set x "$CONFIG_FILES" ;; | ||
| 5850 | *) set x $CONFIG_FILES ;; | ||
| 5851 | esac | ||
| 5852 | shift | ||
| 5853 | for mf | ||
| 5854 | do | ||
| 5855 | # Strip MF so we end up with the name of the file. | ||
| 5856 | mf=`echo "$mf" | sed -e 's/:.*$//'` | ||
| 5857 | # Check whether this is an Automake generated Makefile or not. | ||
| 5858 | # We used to match only the files named 'Makefile.in', but | ||
| 5859 | # some people rename them; so instead we look at the file content. | ||
| 5860 | # Grep'ing the first line is not enough: some people post-process | ||
| 5861 | # each Makefile.in and add a new line on top of each file to say so. | ||
| 5862 | # Grep'ing the whole file is not good either: AIX grep has a line | ||
| 5863 | # limit of 2048, but all sed's we know have understand at least 4000. | ||
| 5864 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then | ||
| 5865 | dirpart=`$as_dirname -- "$mf" || | ||
| 5866 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
| 5867 | X"$mf" : 'X\(//\)[^/]' \| \ | ||
| 5868 | X"$mf" : 'X\(//\)$' \| \ | ||
| 5869 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || | ||
| 5870 | $as_echo X"$mf" | | ||
| 5871 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
| 5872 | s//\1/ | ||
| 5873 | q | ||
| 5874 | } | ||
| 5875 | /^X\(\/\/\)[^/].*/{ | ||
| 5876 | s//\1/ | ||
| 5877 | q | ||
| 5878 | } | ||
| 5879 | /^X\(\/\/\)$/{ | ||
| 5880 | s//\1/ | ||
| 5881 | q | ||
| 5882 | } | ||
| 5883 | /^X\(\/\).*/{ | ||
| 5884 | s//\1/ | ||
| 5885 | q | ||
| 5886 | } | ||
| 5887 | s/.*/./; q'` | ||
| 5888 | else | ||
| 5889 | continue | ||
| 5890 | fi | ||
| 5891 | # Extract the definition of DEPDIR, am__include, and am__quote | ||
| 5892 | # from the Makefile without running 'make'. | ||
| 5893 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | ||
| 5894 | test -z "$DEPDIR" && continue | ||
| 5895 | am__include=`sed -n 's/^am__include = //p' < "$mf"` | ||
| 5896 | test -z "$am__include" && continue | ||
| 5897 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | ||
| 5898 | # Find all dependency output files, they are included files with | ||
| 5899 | # $(DEPDIR) in their names. We invoke sed twice because it is the | ||
| 5900 | # simplest approach to changing $(DEPDIR) to its actual value in the | ||
| 5901 | # expansion. | ||
| 5902 | for file in `sed -n " | ||
| 5903 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | ||
| 5904 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do | ||
| 5905 | # Make sure the directory exists. | ||
| 5906 | test -f "$dirpart/$file" && continue | ||
| 5907 | fdir=`$as_dirname -- "$file" || | ||
| 5908 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
| 5909 | X"$file" : 'X\(//\)[^/]' \| \ | ||
| 5910 | X"$file" : 'X\(//\)$' \| \ | ||
| 5911 | X"$file" : 'X\(/\)' \| . 2>/dev/null || | ||
| 5912 | $as_echo X"$file" | | ||
| 5913 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
| 5914 | s//\1/ | ||
| 5915 | q | ||
| 5916 | } | ||
| 5917 | /^X\(\/\/\)[^/].*/{ | ||
| 5918 | s//\1/ | ||
| 5919 | q | ||
| 5920 | } | ||
| 5921 | /^X\(\/\/\)$/{ | ||
| 5922 | s//\1/ | ||
| 5923 | q | ||
| 5924 | } | ||
| 5925 | /^X\(\/\).*/{ | ||
| 5926 | s//\1/ | ||
| 5927 | q | ||
| 5928 | } | ||
| 5929 | s/.*/./; q'` | ||
| 5930 | as_dir=$dirpart/$fdir; as_fn_mkdir_p | ||
| 5931 | # echo "creating $dirpart/$file" | ||
| 5932 | echo '# dummy' > "$dirpart/$file" | ||
| 5933 | done | ||
| 5934 | done | ||
| 5935 | } | ||
| 5936 | ;; | ||
| 5937 | |||
| 5938 | esac | ||
| 5939 | done # for ac_tag | ||
| 5940 | |||
| 5941 | |||
| 5942 | as_fn_exit 0 | ||
| 5943 | _ACEOF | ||
| 5944 | ac_clean_files=$ac_clean_files_save | ||
| 5945 | |||
| 5946 | test $ac_write_fail = 0 || | ||
| 5947 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 | ||
| 5948 | |||
| 5949 | |||
| 5950 | # configure is writing to config.log, and then calls config.status. | ||
| 5951 | # config.status does its own redirection, appending to config.log. | ||
| 5952 | # Unfortunately, on DOS this fails, as config.log is still kept open | ||
| 5953 | # by configure, so config.status won't be able to write to it; its | ||
| 5954 | # output is simply discarded. So we exec the FD to /dev/null, | ||
| 5955 | # effectively closing config.log, so it can be properly (re)opened and | ||
| 5956 | # appended to by config.status. When coming back to configure, we | ||
| 5957 | # need to make the FD available again. | ||
| 5958 | if test "$no_create" != yes; then | ||
| 5959 | ac_cs_success=: | ||
| 5960 | ac_config_status_args= | ||
| 5961 | test "$silent" = yes && | ||
| 5962 | ac_config_status_args="$ac_config_status_args --quiet" | ||
| 5963 | exec 5>/dev/null | ||
| 5964 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | ||
| 5965 | exec 5>>config.log | ||
| 5966 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which | ||
| 5967 | # would make configure fail if this is the last instruction. | ||
| 5968 | $ac_cs_success || as_fn_exit 1 | ||
| 5969 | fi | ||
| 5970 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | ||
| 5971 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | ||
| 5972 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | ||
| 5973 | fi | ||
| 5974 | |||
diff --git a/depcomp b/depcomp deleted file mode 100755 index fc98710..0000000 --- a/depcomp +++ /dev/null | |||
| @@ -1,791 +0,0 @@ | |||
| 1 | #! /bin/sh | ||
| 2 | # depcomp - compile a program generating dependencies as side-effects | ||
| 3 | |||
| 4 | scriptversion=2013-05-30.07; # UTC | ||
| 5 | |||
| 6 | # Copyright (C) 1999-2014 Free Software Foundation, Inc. | ||
| 7 | |||
| 8 | # This program is free software; you can redistribute it and/or modify | ||
| 9 | # it under the terms of the GNU General Public License as published by | ||
| 10 | # the Free Software Foundation; either version 2, or (at your option) | ||
| 11 | # any later version. | ||
| 12 | |||
| 13 | # This program is distributed in the hope that it will be useful, | ||
| 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | # GNU General Public License for more details. | ||
| 17 | |||
| 18 | # You should have received a copy of the GNU General Public License | ||
| 19 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 20 | |||
| 21 | # As a special exception to the GNU General Public License, if you | ||
| 22 | # distribute this file as part of a program that contains a | ||
| 23 | # configuration script generated by Autoconf, you may include it under | ||
| 24 | # the same distribution terms that you use for the rest of that program. | ||
| 25 | |||
| 26 | # Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>. | ||
| 27 | |||
| 28 | case $1 in | ||
| 29 | '') | ||
| 30 | echo "$0: No command. Try '$0 --help' for more information." 1>&2 | ||
| 31 | exit 1; | ||
| 32 | ;; | ||
| 33 | -h | --h*) | ||
| 34 | cat <<\EOF | ||
| 35 | Usage: depcomp [--help] [--version] PROGRAM [ARGS] | ||
| 36 | |||
| 37 | Run PROGRAMS ARGS to compile a file, generating dependencies | ||
| 38 | as side-effects. | ||
| 39 | |||
| 40 | Environment variables: | ||
| 41 | depmode Dependency tracking mode. | ||
| 42 | source Source file read by 'PROGRAMS ARGS'. | ||
| 43 | object Object file output by 'PROGRAMS ARGS'. | ||
| 44 | DEPDIR directory where to store dependencies. | ||
| 45 | depfile Dependency file to output. | ||
| 46 | tmpdepfile Temporary file to use when outputting dependencies. | ||
| 47 | libtool Whether libtool is used (yes/no). | ||
| 48 | |||
| 49 | Report bugs to <bug-automake@gnu.org>. | ||
| 50 | EOF | ||
| 51 | exit $? | ||
| 52 | ;; | ||
| 53 | -v | --v*) | ||
| 54 | echo "depcomp $scriptversion" | ||
| 55 | exit $? | ||
| 56 | ;; | ||
| 57 | esac | ||
| 58 | |||
| 59 | # Get the directory component of the given path, and save it in the | ||
| 60 | # global variables '$dir'. Note that this directory component will | ||
| 61 | # be either empty or ending with a '/' character. This is deliberate. | ||
| 62 | set_dir_from () | ||
| 63 | { | ||
| 64 | case $1 in | ||
| 65 | */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;; | ||
| 66 | *) dir=;; | ||
| 67 | esac | ||
| 68 | } | ||
| 69 | |||
| 70 | # Get the suffix-stripped basename of the given path, and save it the | ||
| 71 | # global variable '$base'. | ||
| 72 | set_base_from () | ||
| 73 | { | ||
| 74 | base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'` | ||
| 75 | } | ||
| 76 | |||
| 77 | # If no dependency file was actually created by the compiler invocation, | ||
| 78 | # we still have to create a dummy depfile, to avoid errors with the | ||
| 79 | # Makefile "include basename.Plo" scheme. | ||
| 80 | make_dummy_depfile () | ||
| 81 | { | ||
| 82 | echo "#dummy" > "$depfile" | ||
| 83 | } | ||
| 84 | |||
| 85 | # Factor out some common post-processing of the generated depfile. | ||
| 86 | # Requires the auxiliary global variable '$tmpdepfile' to be set. | ||
| 87 | aix_post_process_depfile () | ||
| 88 | { | ||
| 89 | # If the compiler actually managed to produce a dependency file, | ||
| 90 | # post-process it. | ||
| 91 | if test -f "$tmpdepfile"; then | ||
| 92 | # Each line is of the form 'foo.o: dependency.h'. | ||
| 93 | # Do two passes, one to just change these to | ||
| 94 | # $object: dependency.h | ||
| 95 | # and one to simply output | ||
| 96 | # dependency.h: | ||
| 97 | # which is needed to avoid the deleted-header problem. | ||
| 98 | { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile" | ||
| 99 | sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile" | ||
| 100 | } > "$depfile" | ||
| 101 | rm -f "$tmpdepfile" | ||
| 102 | else | ||
| 103 | make_dummy_depfile | ||
| 104 | fi | ||
| 105 | } | ||
| 106 | |||
| 107 | # A tabulation character. | ||
| 108 | tab=' ' | ||
| 109 | # A newline character. | ||
| 110 | nl=' | ||
| 111 | ' | ||
| 112 | # Character ranges might be problematic outside the C locale. | ||
| 113 | # These definitions help. | ||
| 114 | upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ | ||
| 115 | lower=abcdefghijklmnopqrstuvwxyz | ||
| 116 | digits=0123456789 | ||
| 117 | alpha=${upper}${lower} | ||
| 118 | |||
| 119 | if test -z "$depmode" || test -z "$source" || test -z "$object"; then | ||
| 120 | echo "depcomp: Variables source, object and depmode must be set" 1>&2 | ||
| 121 | exit 1 | ||
| 122 | fi | ||
| 123 | |||
| 124 | # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. | ||
| 125 | depfile=${depfile-`echo "$object" | | ||
| 126 | sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} | ||
| 127 | tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} | ||
| 128 | |||
| 129 | rm -f "$tmpdepfile" | ||
| 130 | |||
| 131 | # Avoid interferences from the environment. | ||
| 132 | gccflag= dashmflag= | ||
| 133 | |||
| 134 | # Some modes work just like other modes, but use different flags. We | ||
| 135 | # parameterize here, but still list the modes in the big case below, | ||
| 136 | # to make depend.m4 easier to write. Note that we *cannot* use a case | ||
| 137 | # here, because this file can only contain one case statement. | ||
| 138 | if test "$depmode" = hp; then | ||
| 139 | # HP compiler uses -M and no extra arg. | ||
| 140 | gccflag=-M | ||
| 141 | depmode=gcc | ||
| 142 | fi | ||
| 143 | |||
| 144 | if test "$depmode" = dashXmstdout; then | ||
| 145 | # This is just like dashmstdout with a different argument. | ||
| 146 | dashmflag=-xM | ||
| 147 | depmode=dashmstdout | ||
| 148 | fi | ||
| 149 | |||
| 150 | cygpath_u="cygpath -u -f -" | ||
| 151 | if test "$depmode" = msvcmsys; then | ||
| 152 | # This is just like msvisualcpp but w/o cygpath translation. | ||
| 153 | # Just convert the backslash-escaped backslashes to single forward | ||
| 154 | # slashes to satisfy depend.m4 | ||
| 155 | cygpath_u='sed s,\\\\,/,g' | ||
| 156 | depmode=msvisualcpp | ||
| 157 | fi | ||
| 158 | |||
| 159 | if test "$depmode" = msvc7msys; then | ||
| 160 | # This is just like msvc7 but w/o cygpath translation. | ||
| 161 | # Just convert the backslash-escaped backslashes to single forward | ||
| 162 | # slashes to satisfy depend.m4 | ||
| 163 | cygpath_u='sed s,\\\\,/,g' | ||
| 164 | depmode=msvc7 | ||
| 165 | fi | ||
| 166 | |||
| 167 | if test "$depmode" = xlc; then | ||
| 168 | # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information. | ||
| 169 | gccflag=-qmakedep=gcc,-MF | ||
| 170 | depmode=gcc | ||
| 171 | fi | ||
| 172 | |||
| 173 | case "$depmode" in | ||
| 174 | gcc3) | ||
| 175 | ## gcc 3 implements dependency tracking that does exactly what | ||
| 176 | ## we want. Yay! Note: for some reason libtool 1.4 doesn't like | ||
| 177 | ## it if -MD -MP comes after the -MF stuff. Hmm. | ||
| 178 | ## Unfortunately, FreeBSD c89 acceptance of flags depends upon | ||
| 179 | ## the command line argument order; so add the flags where they | ||
| 180 | ## appear in depend2.am. Note that the slowdown incurred here | ||
| 181 | ## affects only configure: in makefiles, %FASTDEP% shortcuts this. | ||
| 182 | for arg | ||
| 183 | do | ||
| 184 | case $arg in | ||
| 185 | -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; | ||
| 186 | *) set fnord "$@" "$arg" ;; | ||
| 187 | esac | ||
| 188 | shift # fnord | ||
| 189 | shift # $arg | ||
| 190 | done | ||
| 191 | "$@" | ||
| 192 | stat=$? | ||
| 193 | if test $stat -ne 0; then | ||
| 194 | rm -f "$tmpdepfile" | ||
| 195 | exit $stat | ||
| 196 | fi | ||
| 197 | mv "$tmpdepfile" "$depfile" | ||
| 198 | ;; | ||
| 199 | |||
| 200 | gcc) | ||
| 201 | ## Note that this doesn't just cater to obsosete pre-3.x GCC compilers. | ||
| 202 | ## but also to in-use compilers like IMB xlc/xlC and the HP C compiler. | ||
| 203 | ## (see the conditional assignment to $gccflag above). | ||
| 204 | ## There are various ways to get dependency output from gcc. Here's | ||
| 205 | ## why we pick this rather obscure method: | ||
| 206 | ## - Don't want to use -MD because we'd like the dependencies to end | ||
| 207 | ## up in a subdir. Having to rename by hand is ugly. | ||
| 208 | ## (We might end up doing this anyway to support other compilers.) | ||
| 209 | ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like | ||
| 210 | ## -MM, not -M (despite what the docs say). Also, it might not be | ||
| 211 | ## supported by the other compilers which use the 'gcc' depmode. | ||
| 212 | ## - Using -M directly means running the compiler twice (even worse | ||
| 213 | ## than renaming). | ||
| 214 | if test -z "$gccflag"; then | ||
| 215 | gccflag=-MD, | ||
| 216 | fi | ||
| 217 | "$@" -Wp,"$gccflag$tmpdepfile" | ||
| 218 | stat=$? | ||
| 219 | if test $stat -ne 0; then | ||
| 220 | rm -f "$tmpdepfile" | ||
| 221 | exit $stat | ||
| 222 | fi | ||
| 223 | rm -f "$depfile" | ||
| 224 | echo "$object : \\" > "$depfile" | ||
| 225 | # The second -e expression handles DOS-style file names with drive | ||
| 226 | # letters. | ||
| 227 | sed -e 's/^[^:]*: / /' \ | ||
| 228 | -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" | ||
| 229 | ## This next piece of magic avoids the "deleted header file" problem. | ||
| 230 | ## The problem is that when a header file which appears in a .P file | ||
| 231 | ## is deleted, the dependency causes make to die (because there is | ||
| 232 | ## typically no way to rebuild the header). We avoid this by adding | ||
| 233 | ## dummy dependencies for each header file. Too bad gcc doesn't do | ||
| 234 | ## this for us directly. | ||
| 235 | ## Some versions of gcc put a space before the ':'. On the theory | ||
| 236 | ## that the space means something, we add a space to the output as | ||
| 237 | ## well. hp depmode also adds that space, but also prefixes the VPATH | ||
| 238 | ## to the object. Take care to not repeat it in the output. | ||
| 239 | ## Some versions of the HPUX 10.20 sed can't process this invocation | ||
| 240 | ## correctly. Breaking it into two sed invocations is a workaround. | ||
| 241 | tr ' ' "$nl" < "$tmpdepfile" \ | ||
| 242 | | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \ | ||
| 243 | | sed -e 's/$/ :/' >> "$depfile" | ||
| 244 | rm -f "$tmpdepfile" | ||
| 245 | ;; | ||
| 246 | |||
| 247 | hp) | ||
| 248 | # This case exists only to let depend.m4 do its work. It works by | ||
| 249 | # looking at the text of this script. This case will never be run, | ||
| 250 | # since it is checked for above. | ||
| 251 | exit 1 | ||
| 252 | ;; | ||
| 253 | |||
| 254 | sgi) | ||
| 255 | if test "$libtool" = yes; then | ||
| 256 | "$@" "-Wp,-MDupdate,$tmpdepfile" | ||
| 257 | else | ||
| 258 | "$@" -MDupdate "$tmpdepfile" | ||
| 259 | fi | ||
| 260 | stat=$? | ||
| 261 | if test $stat -ne 0; then | ||
| 262 | rm -f "$tmpdepfile" | ||
| 263 | exit $stat | ||
| 264 | fi | ||
| 265 | rm -f "$depfile" | ||
| 266 | |||
| 267 | if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files | ||
| 268 | echo "$object : \\" > "$depfile" | ||
| 269 | # Clip off the initial element (the dependent). Don't try to be | ||
| 270 | # clever and replace this with sed code, as IRIX sed won't handle | ||
| 271 | # lines with more than a fixed number of characters (4096 in | ||
| 272 | # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; | ||
| 273 | # the IRIX cc adds comments like '#:fec' to the end of the | ||
| 274 | # dependency line. | ||
| 275 | tr ' ' "$nl" < "$tmpdepfile" \ | ||
| 276 | | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \ | ||
| 277 | | tr "$nl" ' ' >> "$depfile" | ||
| 278 | echo >> "$depfile" | ||
| 279 | # The second pass generates a dummy entry for each header file. | ||
| 280 | tr ' ' "$nl" < "$tmpdepfile" \ | ||
| 281 | | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ | ||
| 282 | >> "$depfile" | ||
| 283 | else | ||
| 284 | make_dummy_depfile | ||
| 285 | fi | ||
| 286 | rm -f "$tmpdepfile" | ||
| 287 | ;; | ||
| 288 | |||
| 289 | xlc) | ||
| 290 | # This case exists only to let depend.m4 do its work. It works by | ||
| 291 | # looking at the text of this script. This case will never be run, | ||
| 292 | # since it is checked for above. | ||
| 293 | exit 1 | ||
| 294 | ;; | ||
| 295 | |||
| 296 | aix) | ||
| 297 | # The C for AIX Compiler uses -M and outputs the dependencies | ||
| 298 | # in a .u file. In older versions, this file always lives in the | ||
| 299 | # current directory. Also, the AIX compiler puts '$object:' at the | ||
| 300 | # start of each line; $object doesn't have directory information. | ||
| 301 | # Version 6 uses the directory in both cases. | ||
| 302 | set_dir_from "$object" | ||
| 303 | set_base_from "$object" | ||
| 304 | if test "$libtool" = yes; then | ||
| 305 | tmpdepfile1=$dir$base.u | ||
| 306 | tmpdepfile2=$base.u | ||
| 307 | tmpdepfile3=$dir.libs/$base.u | ||
| 308 | "$@" -Wc,-M | ||
| 309 | else | ||
| 310 | tmpdepfile1=$dir$base.u | ||
| 311 | tmpdepfile2=$dir$base.u | ||
| 312 | tmpdepfile3=$dir$base.u | ||
| 313 | "$@" -M | ||
| 314 | fi | ||
| 315 | stat=$? | ||
| 316 | if test $stat -ne 0; then | ||
| 317 | rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" | ||
| 318 | exit $stat | ||
| 319 | fi | ||
| 320 | |||
| 321 | for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" | ||
| 322 | do | ||
| 323 | test -f "$tmpdepfile" && break | ||
| 324 | done | ||
| 325 | aix_post_process_depfile | ||
| 326 | ;; | ||
| 327 | |||
| 328 | tcc) | ||
| 329 | # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26 | ||
| 330 | # FIXME: That version still under development at the moment of writing. | ||
| 331 | # Make that this statement remains true also for stable, released | ||
| 332 | # versions. | ||
| 333 | # It will wrap lines (doesn't matter whether long or short) with a | ||
| 334 | # trailing '\', as in: | ||
| 335 | # | ||
| 336 | # foo.o : \ | ||
| 337 | # foo.c \ | ||
| 338 | # foo.h \ | ||
| 339 | # | ||
| 340 | # It will put a trailing '\' even on the last line, and will use leading | ||
| 341 | # spaces rather than leading tabs (at least since its commit 0394caf7 | ||
| 342 | # "Emit spaces for -MD"). | ||
| 343 | "$@" -MD -MF "$tmpdepfile" | ||
| 344 | stat=$? | ||
| 345 | if test $stat -ne 0; then | ||
| 346 | rm -f "$tmpdepfile" | ||
| 347 | exit $stat | ||
| 348 | fi | ||
| 349 | rm -f "$depfile" | ||
| 350 | # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'. | ||
| 351 | # We have to change lines of the first kind to '$object: \'. | ||
| 352 | sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile" | ||
| 353 | # And for each line of the second kind, we have to emit a 'dep.h:' | ||
| 354 | # dummy dependency, to avoid the deleted-header problem. | ||
| 355 | sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile" | ||
| 356 | rm -f "$tmpdepfile" | ||
| 357 | ;; | ||
| 358 | |||
| 359 | ## The order of this option in the case statement is important, since the | ||
| 360 | ## shell code in configure will try each of these formats in the order | ||
| 361 | ## listed in this file. A plain '-MD' option would be understood by many | ||
| 362 | ## compilers, so we must ensure this comes after the gcc and icc options. | ||
| 363 | pgcc) | ||
| 364 | # Portland's C compiler understands '-MD'. | ||
| 365 | # Will always output deps to 'file.d' where file is the root name of the | ||
| 366 | # source file under compilation, even if file resides in a subdirectory. | ||
| 367 | # The object file name does not affect the name of the '.d' file. | ||
| 368 | # pgcc 10.2 will output | ||
| 369 | # foo.o: sub/foo.c sub/foo.h | ||
| 370 | # and will wrap long lines using '\' : | ||
| 371 | # foo.o: sub/foo.c ... \ | ||
| 372 | # sub/foo.h ... \ | ||
| 373 | # ... | ||
| 374 | set_dir_from "$object" | ||
| 375 | # Use the source, not the object, to determine the base name, since | ||
| 376 | # that's sadly what pgcc will do too. | ||
| 377 | set_base_from "$source" | ||
| 378 | tmpdepfile=$base.d | ||
| 379 | |||
| 380 | # For projects that build the same source file twice into different object | ||
| 381 | # files, the pgcc approach of using the *source* file root name can cause | ||
| 382 | # problems in parallel builds. Use a locking strategy to avoid stomping on | ||
| 383 | # the same $tmpdepfile. | ||
| 384 | lockdir=$base.d-lock | ||
| 385 | trap " | ||
| 386 | echo '$0: caught signal, cleaning up...' >&2 | ||
| 387 | rmdir '$lockdir' | ||
| 388 | exit 1 | ||
| 389 | " 1 2 13 15 | ||
| 390 | numtries=100 | ||
| 391 | i=$numtries | ||
| 392 | while test $i -gt 0; do | ||
| 393 | # mkdir is a portable test-and-set. | ||
| 394 | if mkdir "$lockdir" 2>/dev/null; then | ||
| 395 | # This process acquired the lock. | ||
| 396 | "$@" -MD | ||
| 397 | stat=$? | ||
| 398 | # Release the lock. | ||
| 399 | rmdir "$lockdir" | ||
| 400 | break | ||
| 401 | else | ||
| 402 | # If the lock is being held by a different process, wait | ||
| 403 | # until the winning process is done or we timeout. | ||
| 404 | while test -d "$lockdir" && test $i -gt 0; do | ||
| 405 | sleep 1 | ||
| 406 | i=`expr $i - 1` | ||
| 407 | done | ||
| 408 | fi | ||
| 409 | i=`expr $i - 1` | ||
| 410 | done | ||
| 411 | trap - 1 2 13 15 | ||
| 412 | if test $i -le 0; then | ||
| 413 | echo "$0: failed to acquire lock after $numtries attempts" >&2 | ||
| 414 | echo "$0: check lockdir '$lockdir'" >&2 | ||
| 415 | exit 1 | ||
| 416 | fi | ||
| 417 | |||
| 418 | if test $stat -ne 0; then | ||
| 419 | rm -f "$tmpdepfile" | ||
| 420 | exit $stat | ||
| 421 | fi | ||
| 422 | rm -f "$depfile" | ||
| 423 | # Each line is of the form `foo.o: dependent.h', | ||
| 424 | # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. | ||
| 425 | # Do two passes, one to just change these to | ||
| 426 | # `$object: dependent.h' and one to simply `dependent.h:'. | ||
| 427 | sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" | ||
| 428 | # Some versions of the HPUX 10.20 sed can't process this invocation | ||
| 429 | # correctly. Breaking it into two sed invocations is a workaround. | ||
| 430 | sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \ | ||
| 431 | | sed -e 's/$/ :/' >> "$depfile" | ||
| 432 | rm -f "$tmpdepfile" | ||
| 433 | ;; | ||
| 434 | |||
| 435 | hp2) | ||
| 436 | # The "hp" stanza above does not work with aCC (C++) and HP's ia64 | ||
| 437 | # compilers, which have integrated preprocessors. The correct option | ||
| 438 | # to use with these is +Maked; it writes dependencies to a file named | ||
| 439 | # 'foo.d', which lands next to the object file, wherever that | ||
| 440 | # happens to be. | ||
| 441 | # Much of this is similar to the tru64 case; see comments there. | ||
| 442 | set_dir_from "$object" | ||
| 443 | set_base_from "$object" | ||
| 444 | if test "$libtool" = yes; then | ||
| 445 | tmpdepfile1=$dir$base.d | ||
| 446 | tmpdepfile2=$dir.libs/$base.d | ||
| 447 | "$@" -Wc,+Maked | ||
| 448 | else | ||
| 449 | tmpdepfile1=$dir$base.d | ||
| 450 | tmpdepfile2=$dir$base.d | ||
| 451 | "$@" +Maked | ||
| 452 | fi | ||
| 453 | stat=$? | ||
| 454 | if test $stat -ne 0; then | ||
| 455 | rm -f "$tmpdepfile1" "$tmpdepfile2" | ||
| 456 | exit $stat | ||
| 457 | fi | ||
| 458 | |||
| 459 | for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" | ||
| 460 | do | ||
| 461 | test -f "$tmpdepfile" && break | ||
| 462 | done | ||
| 463 | if test -f "$tmpdepfile"; then | ||
| 464 | sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile" | ||
| 465 | # Add 'dependent.h:' lines. | ||
| 466 | sed -ne '2,${ | ||
| 467 | s/^ *// | ||
| 468 | s/ \\*$// | ||
| 469 | s/$/:/ | ||
| 470 | p | ||
| 471 | }' "$tmpdepfile" >> "$depfile" | ||
| 472 | else | ||
| 473 | make_dummy_depfile | ||
| 474 | fi | ||
| 475 | rm -f "$tmpdepfile" "$tmpdepfile2" | ||
| 476 | ;; | ||
| 477 | |||
| 478 | tru64) | ||
| 479 | # The Tru64 compiler uses -MD to generate dependencies as a side | ||
| 480 | # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'. | ||
| 481 | # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put | ||
| 482 | # dependencies in 'foo.d' instead, so we check for that too. | ||
| 483 | # Subdirectories are respected. | ||
| 484 | set_dir_from "$object" | ||
| 485 | set_base_from "$object" | ||
| 486 | |||
| 487 | if test "$libtool" = yes; then | ||
| 488 | # Libtool generates 2 separate objects for the 2 libraries. These | ||
| 489 | # two compilations output dependencies in $dir.libs/$base.o.d and | ||
| 490 | # in $dir$base.o.d. We have to check for both files, because | ||
| 491 | # one of the two compilations can be disabled. We should prefer | ||
| 492 | # $dir$base.o.d over $dir.libs/$base.o.d because the latter is | ||
| 493 | # automatically cleaned when .libs/ is deleted, while ignoring | ||
| 494 | # the former would cause a distcleancheck panic. | ||
| 495 | tmpdepfile1=$dir$base.o.d # libtool 1.5 | ||
| 496 | tmpdepfile2=$dir.libs/$base.o.d # Likewise. | ||
| 497 | tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504 | ||
| 498 | "$@" -Wc,-MD | ||
| 499 | else | ||
| 500 | tmpdepfile1=$dir$base.d | ||
| 501 | tmpdepfile2=$dir$base.d | ||
| 502 | tmpdepfile3=$dir$base.d | ||
| 503 | "$@" -MD | ||
| 504 | fi | ||
| 505 | |||
| 506 | stat=$? | ||
| 507 | if test $stat -ne 0; then | ||
| 508 | rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" | ||
| 509 | exit $stat | ||
| 510 | fi | ||
| 511 | |||
| 512 | for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" | ||
| 513 | do | ||
| 514 | test -f "$tmpdepfile" && break | ||
| 515 | done | ||
| 516 | # Same post-processing that is required for AIX mode. | ||
| 517 | aix_post_process_depfile | ||
| 518 | ;; | ||
| 519 | |||
| 520 | msvc7) | ||
| 521 | if test "$libtool" = yes; then | ||
| 522 | showIncludes=-Wc,-showIncludes | ||
| 523 | else | ||
| 524 | showIncludes=-showIncludes | ||
| 525 | fi | ||
| 526 | "$@" $showIncludes > "$tmpdepfile" | ||
| 527 | stat=$? | ||
| 528 | grep -v '^Note: including file: ' "$tmpdepfile" | ||
| 529 | if test $stat -ne 0; then | ||
| 530 | rm -f "$tmpdepfile" | ||
| 531 | exit $stat | ||
| 532 | fi | ||
| 533 | rm -f "$depfile" | ||
| 534 | echo "$object : \\" > "$depfile" | ||
| 535 | # The first sed program below extracts the file names and escapes | ||
| 536 | # backslashes for cygpath. The second sed program outputs the file | ||
| 537 | # name when reading, but also accumulates all include files in the | ||
| 538 | # hold buffer in order to output them again at the end. This only | ||
| 539 | # works with sed implementations that can handle large buffers. | ||
| 540 | sed < "$tmpdepfile" -n ' | ||
| 541 | /^Note: including file: *\(.*\)/ { | ||
| 542 | s//\1/ | ||
| 543 | s/\\/\\\\/g | ||
| 544 | p | ||
| 545 | }' | $cygpath_u | sort -u | sed -n ' | ||
| 546 | s/ /\\ /g | ||
| 547 | s/\(.*\)/'"$tab"'\1 \\/p | ||
| 548 | s/.\(.*\) \\/\1:/ | ||
| 549 | H | ||
| 550 | $ { | ||
| 551 | s/.*/'"$tab"'/ | ||
| 552 | G | ||
| 553 | p | ||
| 554 | }' >> "$depfile" | ||
| 555 | echo >> "$depfile" # make sure the fragment doesn't end with a backslash | ||
| 556 | rm -f "$tmpdepfile" | ||
| 557 | ;; | ||
| 558 | |||
| 559 | msvc7msys) | ||
| 560 | # This case exists only to let depend.m4 do its work. It works by | ||
| 561 | # looking at the text of this script. This case will never be run, | ||
| 562 | # since it is checked for above. | ||
| 563 | exit 1 | ||
| 564 | ;; | ||
| 565 | |||
| 566 | #nosideeffect) | ||
| 567 | # This comment above is used by automake to tell side-effect | ||
| 568 | # dependency tracking mechanisms from slower ones. | ||
| 569 | |||
| 570 | dashmstdout) | ||
| 571 | # Important note: in order to support this mode, a compiler *must* | ||
| 572 | # always write the preprocessed file to stdout, regardless of -o. | ||
| 573 | "$@" || exit $? | ||
| 574 | |||
| 575 | # Remove the call to Libtool. | ||
| 576 | if test "$libtool" = yes; then | ||
| 577 | while test "X$1" != 'X--mode=compile'; do | ||
| 578 | shift | ||
| 579 | done | ||
| 580 | shift | ||
| 581 | fi | ||
| 582 | |||
| 583 | # Remove '-o $object'. | ||
| 584 | IFS=" " | ||
| 585 | for arg | ||
| 586 | do | ||
| 587 | case $arg in | ||
| 588 | -o) | ||
| 589 | shift | ||
| 590 | ;; | ||
| 591 | $object) | ||
| 592 | shift | ||
| 593 | ;; | ||
| 594 | *) | ||
| 595 | set fnord "$@" "$arg" | ||
| 596 | shift # fnord | ||
| 597 | shift # $arg | ||
| 598 | ;; | ||
| 599 | esac | ||
| 600 | done | ||
| 601 | |||
| 602 | test -z "$dashmflag" && dashmflag=-M | ||
| 603 | # Require at least two characters before searching for ':' | ||
| 604 | # in the target name. This is to cope with DOS-style filenames: | ||
| 605 | # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise. | ||
| 606 | "$@" $dashmflag | | ||
| 607 | sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile" | ||
| 608 | rm -f "$depfile" | ||
| 609 | cat < "$tmpdepfile" > "$depfile" | ||
| 610 | # Some versions of the HPUX 10.20 sed can't process this sed invocation | ||
| 611 | # correctly. Breaking it into two sed invocations is a workaround. | ||
| 612 | tr ' ' "$nl" < "$tmpdepfile" \ | ||
| 613 | | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ | ||
| 614 | | sed -e 's/$/ :/' >> "$depfile" | ||
| 615 | rm -f "$tmpdepfile" | ||
| 616 | ;; | ||
| 617 | |||
| 618 | dashXmstdout) | ||
| 619 | # This case only exists to satisfy depend.m4. It is never actually | ||
| 620 | # run, as this mode is specially recognized in the preamble. | ||
| 621 | exit 1 | ||
| 622 | ;; | ||
| 623 | |||
| 624 | makedepend) | ||
| 625 | "$@" || exit $? | ||
| 626 | # Remove any Libtool call | ||
| 627 | if test "$libtool" = yes; then | ||
| 628 | while test "X$1" != 'X--mode=compile'; do | ||
| 629 | shift | ||
| 630 | done | ||
| 631 | shift | ||
| 632 | fi | ||
| 633 | # X makedepend | ||
| 634 | shift | ||
| 635 | cleared=no eat=no | ||
| 636 | for arg | ||
| 637 | do | ||
| 638 | case $cleared in | ||
| 639 | no) | ||
| 640 | set ""; shift | ||
| 641 | cleared=yes ;; | ||
| 642 | esac | ||
| 643 | if test $eat = yes; then | ||
| 644 | eat=no | ||
| 645 | continue | ||
| 646 | fi | ||
| 647 | case "$arg" in | ||
| 648 | -D*|-I*) | ||
| 649 | set fnord "$@" "$arg"; shift ;; | ||
| 650 | # Strip any option that makedepend may not understand. Remove | ||
| 651 | # the object too, otherwise makedepend will parse it as a source file. | ||
| 652 | -arch) | ||
| 653 | eat=yes ;; | ||
| 654 | -*|$object) | ||
| 655 | ;; | ||
| 656 | *) | ||
| 657 | set fnord "$@" "$arg"; shift ;; | ||
| 658 | esac | ||
| 659 | done | ||
| 660 | obj_suffix=`echo "$object" | sed 's/^.*\././'` | ||
| 661 | touch "$tmpdepfile" | ||
| 662 | ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" | ||
| 663 | rm -f "$depfile" | ||
| 664 | # makedepend may prepend the VPATH from the source file name to the object. | ||
| 665 | # No need to regex-escape $object, excess matching of '.' is harmless. | ||
| 666 | sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile" | ||
| 667 | # Some versions of the HPUX 10.20 sed can't process the last invocation | ||
| 668 | # correctly. Breaking it into two sed invocations is a workaround. | ||
| 669 | sed '1,2d' "$tmpdepfile" \ | ||
| 670 | | tr ' ' "$nl" \ | ||
| 671 | | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ | ||
| 672 | | sed -e 's/$/ :/' >> "$depfile" | ||
| 673 | rm -f "$tmpdepfile" "$tmpdepfile".bak | ||
| 674 | ;; | ||
| 675 | |||
| 676 | cpp) | ||
| 677 | # Important note: in order to support this mode, a compiler *must* | ||
| 678 | # always write the preprocessed file to stdout. | ||
| 679 | "$@" || exit $? | ||
| 680 | |||
| 681 | # Remove the call to Libtool. | ||
| 682 | if test "$libtool" = yes; then | ||
| 683 | while test "X$1" != 'X--mode=compile'; do | ||
| 684 | shift | ||
| 685 | done | ||
| 686 | shift | ||
| 687 | fi | ||
| 688 | |||
| 689 | # Remove '-o $object'. | ||
| 690 | IFS=" " | ||
| 691 | for arg | ||
| 692 | do | ||
| 693 | case $arg in | ||
| 694 | -o) | ||
| 695 | shift | ||
| 696 | ;; | ||
| 697 | $object) | ||
| 698 | shift | ||
| 699 | ;; | ||
| 700 | *) | ||
| 701 | set fnord "$@" "$arg" | ||
| 702 | shift # fnord | ||
| 703 | shift # $arg | ||
| 704 | ;; | ||
| 705 | esac | ||
| 706 | done | ||
| 707 | |||
| 708 | "$@" -E \ | ||
| 709 | | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ | ||
| 710 | -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ | ||
| 711 | | sed '$ s: \\$::' > "$tmpdepfile" | ||
| 712 | rm -f "$depfile" | ||
| 713 | echo "$object : \\" > "$depfile" | ||
| 714 | cat < "$tmpdepfile" >> "$depfile" | ||
| 715 | sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" | ||
| 716 | rm -f "$tmpdepfile" | ||
| 717 | ;; | ||
| 718 | |||
| 719 | msvisualcpp) | ||
| 720 | # Important note: in order to support this mode, a compiler *must* | ||
| 721 | # always write the preprocessed file to stdout. | ||
| 722 | "$@" || exit $? | ||
| 723 | |||
| 724 | # Remove the call to Libtool. | ||
| 725 | if test "$libtool" = yes; then | ||
| 726 | while test "X$1" != 'X--mode=compile'; do | ||
| 727 | shift | ||
| 728 | done | ||
| 729 | shift | ||
| 730 | fi | ||
| 731 | |||
| 732 | IFS=" " | ||
| 733 | for arg | ||
| 734 | do | ||
| 735 | case "$arg" in | ||
| 736 | -o) | ||
| 737 | shift | ||
| 738 | ;; | ||
| 739 | $object) | ||
| 740 | shift | ||
| 741 | ;; | ||
| 742 | "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") | ||
| 743 | set fnord "$@" | ||
| 744 | shift | ||
| 745 | shift | ||
| 746 | ;; | ||
| 747 | *) | ||
| 748 | set fnord "$@" "$arg" | ||
| 749 | shift | ||
| 750 | shift | ||
| 751 | ;; | ||
| 752 | esac | ||
| 753 | done | ||
| 754 | "$@" -E 2>/dev/null | | ||
| 755 | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" | ||
| 756 | rm -f "$depfile" | ||
| 757 | echo "$object : \\" > "$depfile" | ||
| 758 | sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile" | ||
| 759 | echo "$tab" >> "$depfile" | ||
| 760 | sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" | ||
| 761 | rm -f "$tmpdepfile" | ||
| 762 | ;; | ||
| 763 | |||
| 764 | msvcmsys) | ||
| 765 | # This case exists only to let depend.m4 do its work. It works by | ||
| 766 | # looking at the text of this script. This case will never be run, | ||
| 767 | # since it is checked for above. | ||
| 768 | exit 1 | ||
| 769 | ;; | ||
| 770 | |||
| 771 | none) | ||
| 772 | exec "$@" | ||
| 773 | ;; | ||
| 774 | |||
| 775 | *) | ||
| 776 | echo "Unknown depmode $depmode" 1>&2 | ||
| 777 | exit 1 | ||
| 778 | ;; | ||
| 779 | esac | ||
| 780 | |||
| 781 | exit 0 | ||
| 782 | |||
| 783 | # Local Variables: | ||
| 784 | # mode: shell-script | ||
| 785 | # sh-indentation: 2 | ||
| 786 | # eval: (add-hook 'write-file-hooks 'time-stamp) | ||
| 787 | # time-stamp-start: "scriptversion=" | ||
| 788 | # time-stamp-format: "%:y-%02m-%02d.%02H" | ||
| 789 | # time-stamp-time-zone: "UTC" | ||
| 790 | # time-stamp-end: "; # UTC" | ||
| 791 | # End: | ||
diff --git a/docs/Makefile.in b/docs/Makefile.in deleted file mode 100644 index f21a863..0000000 --- a/docs/Makefile.in +++ /dev/null | |||
| @@ -1,479 +0,0 @@ | |||
| 1 | # Makefile.in generated by automake 1.15.1 from Makefile.am. | ||
| 2 | # @configure_input@ | ||
| 3 | |||
| 4 | # Copyright (C) 1994-2017 Free Software Foundation, Inc. | ||
| 5 | |||
| 6 | # This Makefile.in is free software; the Free Software Foundation | ||
| 7 | # gives unlimited permission to copy and/or distribute it, | ||
| 8 | # with or without modifications, as long as this notice is preserved. | ||
| 9 | |||
| 10 | # This program is distributed in the hope that it will be useful, | ||
| 11 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | ||
| 12 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
| 13 | # PARTICULAR PURPOSE. | ||
| 14 | |||
| 15 | @SET_MAKE@ | ||
| 16 | VPATH = @srcdir@ | ||
| 17 | am__is_gnu_make = { \ | ||
| 18 | if test -z '$(MAKELEVEL)'; then \ | ||
| 19 | false; \ | ||
| 20 | elif test -n '$(MAKE_HOST)'; then \ | ||
| 21 | true; \ | ||
| 22 | elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ | ||
| 23 | true; \ | ||
| 24 | else \ | ||
| 25 | false; \ | ||
| 26 | fi; \ | ||
| 27 | } | ||
| 28 | am__make_running_with_option = \ | ||
| 29 | case $${target_option-} in \ | ||
| 30 | ?) ;; \ | ||
| 31 | *) echo "am__make_running_with_option: internal error: invalid" \ | ||
| 32 | "target option '$${target_option-}' specified" >&2; \ | ||
| 33 | exit 1;; \ | ||
| 34 | esac; \ | ||
| 35 | has_opt=no; \ | ||
| 36 | sane_makeflags=$$MAKEFLAGS; \ | ||
| 37 | if $(am__is_gnu_make); then \ | ||
| 38 | sane_makeflags=$$MFLAGS; \ | ||
| 39 | else \ | ||
| 40 | case $$MAKEFLAGS in \ | ||
| 41 | *\\[\ \ ]*) \ | ||
| 42 | bs=\\; \ | ||
| 43 | sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | ||
| 44 | | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ | ||
| 45 | esac; \ | ||
| 46 | fi; \ | ||
| 47 | skip_next=no; \ | ||
| 48 | strip_trailopt () \ | ||
| 49 | { \ | ||
| 50 | flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ | ||
| 51 | }; \ | ||
| 52 | for flg in $$sane_makeflags; do \ | ||
| 53 | test $$skip_next = yes && { skip_next=no; continue; }; \ | ||
| 54 | case $$flg in \ | ||
| 55 | *=*|--*) continue;; \ | ||
| 56 | -*I) strip_trailopt 'I'; skip_next=yes;; \ | ||
| 57 | -*I?*) strip_trailopt 'I';; \ | ||
| 58 | -*O) strip_trailopt 'O'; skip_next=yes;; \ | ||
| 59 | -*O?*) strip_trailopt 'O';; \ | ||
| 60 | -*l) strip_trailopt 'l'; skip_next=yes;; \ | ||
| 61 | -*l?*) strip_trailopt 'l';; \ | ||
| 62 | -[dEDm]) skip_next=yes;; \ | ||
| 63 | -[JT]) skip_next=yes;; \ | ||
| 64 | esac; \ | ||
| 65 | case $$flg in \ | ||
| 66 | *$$target_option*) has_opt=yes; break;; \ | ||
| 67 | esac; \ | ||
| 68 | done; \ | ||
| 69 | test $$has_opt = yes | ||
| 70 | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) | ||
| 71 | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) | ||
| 72 | pkgdatadir = $(datadir)/@PACKAGE@ | ||
| 73 | pkgincludedir = $(includedir)/@PACKAGE@ | ||
| 74 | pkglibdir = $(libdir)/@PACKAGE@ | ||
| 75 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | ||
| 76 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||
| 77 | install_sh_DATA = $(install_sh) -c -m 644 | ||
| 78 | install_sh_PROGRAM = $(install_sh) -c | ||
| 79 | install_sh_SCRIPT = $(install_sh) -c | ||
| 80 | INSTALL_HEADER = $(INSTALL_DATA) | ||
| 81 | transform = $(program_transform_name) | ||
| 82 | NORMAL_INSTALL = : | ||
| 83 | PRE_INSTALL = : | ||
| 84 | POST_INSTALL = : | ||
| 85 | NORMAL_UNINSTALL = : | ||
| 86 | PRE_UNINSTALL = : | ||
| 87 | POST_UNINSTALL = : | ||
| 88 | subdir = docs | ||
| 89 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||
| 90 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac | ||
| 91 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | ||
| 92 | $(ACLOCAL_M4) | ||
| 93 | DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) | ||
| 94 | mkinstalldirs = $(install_sh) -d | ||
| 95 | CONFIG_HEADER = $(top_builddir)/src/config.h | ||
| 96 | CONFIG_CLEAN_FILES = life.6 | ||
| 97 | CONFIG_CLEAN_VPATH_FILES = | ||
| 98 | AM_V_P = $(am__v_P_@AM_V@) | ||
| 99 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | ||
| 100 | am__v_P_0 = false | ||
| 101 | am__v_P_1 = : | ||
| 102 | AM_V_GEN = $(am__v_GEN_@AM_V@) | ||
| 103 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) | ||
| 104 | am__v_GEN_0 = @echo " GEN " $@; | ||
| 105 | am__v_GEN_1 = | ||
| 106 | AM_V_at = $(am__v_at_@AM_V@) | ||
| 107 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) | ||
| 108 | am__v_at_0 = @ | ||
| 109 | am__v_at_1 = | ||
| 110 | SOURCES = | ||
| 111 | DIST_SOURCES = | ||
| 112 | am__can_run_installinfo = \ | ||
| 113 | case $$AM_UPDATE_INFO_DIR in \ | ||
| 114 | n|no|NO) false;; \ | ||
| 115 | *) (install-info --version) >/dev/null 2>&1;; \ | ||
| 116 | esac | ||
| 117 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; | ||
| 118 | am__vpath_adj = case $$p in \ | ||
| 119 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ | ||
| 120 | *) f=$$p;; \ | ||
| 121 | esac; | ||
| 122 | am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; | ||
| 123 | am__install_max = 40 | ||
| 124 | am__nobase_strip_setup = \ | ||
| 125 | srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` | ||
| 126 | am__nobase_strip = \ | ||
| 127 | for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" | ||
| 128 | am__nobase_list = $(am__nobase_strip_setup); \ | ||
| 129 | for p in $$list; do echo "$$p $$p"; done | \ | ||
| 130 | sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ | ||
| 131 | $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ | ||
| 132 | if (++n[$$2] == $(am__install_max)) \ | ||
| 133 | { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ | ||
| 134 | END { for (dir in files) print dir, files[dir] }' | ||
| 135 | am__base_list = \ | ||
| 136 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ | ||
| 137 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | ||
| 138 | am__uninstall_files_from_dir = { \ | ||
| 139 | test -z "$$files" \ | ||
| 140 | || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ | ||
| 141 | || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ | ||
| 142 | $(am__cd) "$$dir" && rm -f $$files; }; \ | ||
| 143 | } | ||
| 144 | man6dir = $(mandir)/man6 | ||
| 145 | am__installdirs = "$(DESTDIR)$(man6dir)" | ||
| 146 | NROFF = nroff | ||
| 147 | MANS = $(man_MANS) | ||
| 148 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) | ||
| 149 | am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/life.6.in | ||
| 150 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
| 151 | ACLOCAL = @ACLOCAL@ | ||
| 152 | AMTAR = @AMTAR@ | ||
| 153 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | ||
| 154 | AUTOCONF = @AUTOCONF@ | ||
| 155 | AUTOHEADER = @AUTOHEADER@ | ||
| 156 | AUTOMAKE = @AUTOMAKE@ | ||
| 157 | AWK = @AWK@ | ||
| 158 | CC = @CC@ | ||
| 159 | CCDEPMODE = @CCDEPMODE@ | ||
| 160 | CFLAGS = @CFLAGS@ | ||
| 161 | CPP = @CPP@ | ||
| 162 | CPPFLAGS = @CPPFLAGS@ | ||
| 163 | CYGPATH_W = @CYGPATH_W@ | ||
| 164 | DEFS = @DEFS@ | ||
| 165 | DEPDIR = @DEPDIR@ | ||
| 166 | ECHO_C = @ECHO_C@ | ||
| 167 | ECHO_N = @ECHO_N@ | ||
| 168 | ECHO_T = @ECHO_T@ | ||
| 169 | EGREP = @EGREP@ | ||
| 170 | EXEEXT = @EXEEXT@ | ||
| 171 | GREP = @GREP@ | ||
| 172 | INSTALL = @INSTALL@ | ||
| 173 | INSTALL_DATA = @INSTALL_DATA@ | ||
| 174 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||
| 175 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||
| 176 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||
| 177 | LDFLAGS = @LDFLAGS@ | ||
| 178 | LIBOBJS = @LIBOBJS@ | ||
| 179 | LIBS = @LIBS@ | ||
| 180 | LTLIBOBJS = @LTLIBOBJS@ | ||
| 181 | MAKEINFO = @MAKEINFO@ | ||
| 182 | MKDIR_P = @MKDIR_P@ | ||
| 183 | OBJEXT = @OBJEXT@ | ||
| 184 | PACKAGE = @PACKAGE@ | ||
| 185 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||
| 186 | PACKAGE_NAME = @PACKAGE_NAME@ | ||
| 187 | PACKAGE_STRING = @PACKAGE_STRING@ | ||
| 188 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||
| 189 | PACKAGE_URL = @PACKAGE_URL@ | ||
| 190 | PACKAGE_VERSION = @PACKAGE_VERSION@ | ||
| 191 | PATH_SEPARATOR = @PATH_SEPARATOR@ | ||
| 192 | SET_MAKE = @SET_MAKE@ | ||
| 193 | SHELL = @SHELL@ | ||
| 194 | STRIP = @STRIP@ | ||
| 195 | VERSION = @VERSION@ | ||
| 196 | abs_builddir = @abs_builddir@ | ||
| 197 | abs_srcdir = @abs_srcdir@ | ||
| 198 | abs_top_builddir = @abs_top_builddir@ | ||
| 199 | abs_top_srcdir = @abs_top_srcdir@ | ||
| 200 | ac_ct_CC = @ac_ct_CC@ | ||
| 201 | am__include = @am__include@ | ||
| 202 | am__leading_dot = @am__leading_dot@ | ||
| 203 | am__quote = @am__quote@ | ||
| 204 | am__tar = @am__tar@ | ||
| 205 | am__untar = @am__untar@ | ||
| 206 | bindir = @bindir@ | ||
| 207 | build_alias = @build_alias@ | ||
| 208 | builddir = @builddir@ | ||
| 209 | datadir = @datadir@ | ||
| 210 | datarootdir = @datarootdir@ | ||
| 211 | docdir = @docdir@ | ||
| 212 | dvidir = @dvidir@ | ||
| 213 | exec_prefix = @exec_prefix@ | ||
| 214 | host_alias = @host_alias@ | ||
| 215 | htmldir = @htmldir@ | ||
| 216 | includedir = @includedir@ | ||
| 217 | infodir = @infodir@ | ||
| 218 | install_sh = @install_sh@ | ||
| 219 | libdir = @libdir@ | ||
| 220 | libexecdir = @libexecdir@ | ||
| 221 | localedir = @localedir@ | ||
| 222 | localstatedir = @localstatedir@ | ||
| 223 | mandir = @mandir@ | ||
| 224 | mkdir_p = @mkdir_p@ | ||
| 225 | oldincludedir = @oldincludedir@ | ||
| 226 | pdfdir = @pdfdir@ | ||
| 227 | prefix = @prefix@ | ||
| 228 | program_transform_name = @program_transform_name@ | ||
| 229 | psdir = @psdir@ | ||
| 230 | runstatedir = @runstatedir@ | ||
| 231 | sbindir = @sbindir@ | ||
| 232 | sharedstatedir = @sharedstatedir@ | ||
| 233 | srcdir = @srcdir@ | ||
| 234 | sysconfdir = @sysconfdir@ | ||
| 235 | target_alias = @target_alias@ | ||
| 236 | top_build_prefix = @top_build_prefix@ | ||
| 237 | top_builddir = @top_builddir@ | ||
| 238 | top_srcdir = @top_srcdir@ | ||
| 239 | man_MANS = life.6 | ||
| 240 | EXTRA_DIST = $(man_MANS) | ||
| 241 | all: all-am | ||
| 242 | |||
| 243 | .SUFFIXES: | ||
| 244 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | ||
| 245 | @for dep in $?; do \ | ||
| 246 | case '$(am__configure_deps)' in \ | ||
| 247 | *$$dep*) \ | ||
| 248 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | ||
| 249 | && { if test -f $@; then exit 0; else break; fi; }; \ | ||
| 250 | exit 1;; \ | ||
| 251 | esac; \ | ||
| 252 | done; \ | ||
| 253 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/Makefile'; \ | ||
| 254 | $(am__cd) $(top_srcdir) && \ | ||
| 255 | $(AUTOMAKE) --gnu docs/Makefile | ||
| 256 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
| 257 | @case '$?' in \ | ||
| 258 | *config.status*) \ | ||
| 259 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | ||
| 260 | *) \ | ||
| 261 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | ||
| 262 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | ||
| 263 | esac; | ||
| 264 | |||
| 265 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||
| 266 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
| 267 | |||
| 268 | $(top_srcdir)/configure: $(am__configure_deps) | ||
| 269 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
| 270 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | ||
| 271 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
| 272 | $(am__aclocal_m4_deps): | ||
| 273 | life.6: $(top_builddir)/config.status $(srcdir)/life.6.in | ||
| 274 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ | ||
| 275 | install-man6: $(man_MANS) | ||
| 276 | @$(NORMAL_INSTALL) | ||
| 277 | @list1=''; \ | ||
| 278 | list2='$(man_MANS)'; \ | ||
| 279 | test -n "$(man6dir)" \ | ||
| 280 | && test -n "`echo $$list1$$list2`" \ | ||
| 281 | || exit 0; \ | ||
| 282 | echo " $(MKDIR_P) '$(DESTDIR)$(man6dir)'"; \ | ||
| 283 | $(MKDIR_P) "$(DESTDIR)$(man6dir)" || exit 1; \ | ||
| 284 | { for i in $$list1; do echo "$$i"; done; \ | ||
| 285 | if test -n "$$list2"; then \ | ||
| 286 | for i in $$list2; do echo "$$i"; done \ | ||
| 287 | | sed -n '/\.6[a-z]*$$/p'; \ | ||
| 288 | fi; \ | ||
| 289 | } | while read p; do \ | ||
| 290 | if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ | ||
| 291 | echo "$$d$$p"; echo "$$p"; \ | ||
| 292 | done | \ | ||
| 293 | sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^6][0-9a-z]*$$,6,;x' \ | ||
| 294 | -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ | ||
| 295 | sed 'N;N;s,\n, ,g' | { \ | ||
| 296 | list=; while read file base inst; do \ | ||
| 297 | if test "$$base" = "$$inst"; then list="$$list $$file"; else \ | ||
| 298 | echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man6dir)/$$inst'"; \ | ||
| 299 | $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man6dir)/$$inst" || exit $$?; \ | ||
| 300 | fi; \ | ||
| 301 | done; \ | ||
| 302 | for i in $$list; do echo "$$i"; done | $(am__base_list) | \ | ||
| 303 | while read files; do \ | ||
| 304 | test -z "$$files" || { \ | ||
| 305 | echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man6dir)'"; \ | ||
| 306 | $(INSTALL_DATA) $$files "$(DESTDIR)$(man6dir)" || exit $$?; }; \ | ||
| 307 | done; } | ||
| 308 | |||
| 309 | uninstall-man6: | ||
| 310 | @$(NORMAL_UNINSTALL) | ||
| 311 | @list=''; test -n "$(man6dir)" || exit 0; \ | ||
| 312 | files=`{ for i in $$list; do echo "$$i"; done; \ | ||
| 313 | l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ | ||
| 314 | sed -n '/\.6[a-z]*$$/p'; \ | ||
| 315 | } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^6][0-9a-z]*$$,6,;x' \ | ||
| 316 | -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ | ||
| 317 | dir='$(DESTDIR)$(man6dir)'; $(am__uninstall_files_from_dir) | ||
| 318 | tags TAGS: | ||
| 319 | |||
| 320 | ctags CTAGS: | ||
| 321 | |||
| 322 | cscope cscopelist: | ||
| 323 | |||
| 324 | |||
| 325 | distdir: $(DISTFILES) | ||
| 326 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
| 327 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
| 328 | list='$(DISTFILES)'; \ | ||
| 329 | dist_files=`for file in $$list; do echo $$file; done | \ | ||
| 330 | sed -e "s|^$$srcdirstrip/||;t" \ | ||
| 331 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | ||
| 332 | case $$dist_files in \ | ||
| 333 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | ||
| 334 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | ||
| 335 | sort -u` ;; \ | ||
| 336 | esac; \ | ||
| 337 | for file in $$dist_files; do \ | ||
| 338 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||
| 339 | if test -d $$d/$$file; then \ | ||
| 340 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||
| 341 | if test -d "$(distdir)/$$file"; then \ | ||
| 342 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
| 343 | fi; \ | ||
| 344 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||
| 345 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | ||
| 346 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
| 347 | fi; \ | ||
| 348 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | ||
| 349 | else \ | ||
| 350 | test -f "$(distdir)/$$file" \ | ||
| 351 | || cp -p $$d/$$file "$(distdir)/$$file" \ | ||
| 352 | || exit 1; \ | ||
| 353 | fi; \ | ||
| 354 | done | ||
| 355 | check-am: all-am | ||
| 356 | check: check-am | ||
| 357 | all-am: Makefile $(MANS) | ||
| 358 | installdirs: | ||
| 359 | for dir in "$(DESTDIR)$(man6dir)"; do \ | ||
| 360 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | ||
| 361 | done | ||
| 362 | install: install-am | ||
| 363 | install-exec: install-exec-am | ||
| 364 | install-data: install-data-am | ||
| 365 | uninstall: uninstall-am | ||
| 366 | |||
| 367 | install-am: all-am | ||
| 368 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
| 369 | |||
| 370 | installcheck: installcheck-am | ||
| 371 | install-strip: | ||
| 372 | if test -z '$(STRIP)'; then \ | ||
| 373 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
| 374 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
| 375 | install; \ | ||
| 376 | else \ | ||
| 377 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
| 378 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
| 379 | "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ | ||
| 380 | fi | ||
| 381 | mostlyclean-generic: | ||
| 382 | |||
| 383 | clean-generic: | ||
| 384 | |||
| 385 | distclean-generic: | ||
| 386 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||
| 387 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | ||
| 388 | |||
| 389 | maintainer-clean-generic: | ||
| 390 | @echo "This command is intended for maintainers to use" | ||
| 391 | @echo "it deletes files that may require special tools to rebuild." | ||
| 392 | clean: clean-am | ||
| 393 | |||
| 394 | clean-am: clean-generic mostlyclean-am | ||
| 395 | |||
| 396 | distclean: distclean-am | ||
| 397 | -rm -f Makefile | ||
| 398 | distclean-am: clean-am distclean-generic | ||
| 399 | |||
| 400 | dvi: dvi-am | ||
| 401 | |||
| 402 | dvi-am: | ||
| 403 | |||
| 404 | html: html-am | ||
| 405 | |||
| 406 | html-am: | ||
| 407 | |||
| 408 | info: info-am | ||
| 409 | |||
| 410 | info-am: | ||
| 411 | |||
| 412 | install-data-am: install-man | ||
| 413 | |||
| 414 | install-dvi: install-dvi-am | ||
| 415 | |||
| 416 | install-dvi-am: | ||
| 417 | |||
| 418 | install-exec-am: | ||
| 419 | |||
| 420 | install-html: install-html-am | ||
| 421 | |||
| 422 | install-html-am: | ||
| 423 | |||
| 424 | install-info: install-info-am | ||
| 425 | |||
| 426 | install-info-am: | ||
| 427 | |||
| 428 | install-man: install-man6 | ||
| 429 | |||
| 430 | install-pdf: install-pdf-am | ||
| 431 | |||
| 432 | install-pdf-am: | ||
| 433 | |||
| 434 | install-ps: install-ps-am | ||
| 435 | |||
| 436 | install-ps-am: | ||
| 437 | |||
| 438 | installcheck-am: | ||
| 439 | |||
| 440 | maintainer-clean: maintainer-clean-am | ||
| 441 | -rm -f Makefile | ||
| 442 | maintainer-clean-am: distclean-am maintainer-clean-generic | ||
| 443 | |||
| 444 | mostlyclean: mostlyclean-am | ||
| 445 | |||
| 446 | mostlyclean-am: mostlyclean-generic | ||
| 447 | |||
| 448 | pdf: pdf-am | ||
| 449 | |||
| 450 | pdf-am: | ||
| 451 | |||
| 452 | ps: ps-am | ||
| 453 | |||
| 454 | ps-am: | ||
| 455 | |||
| 456 | uninstall-am: uninstall-man | ||
| 457 | |||
| 458 | uninstall-man: uninstall-man6 | ||
| 459 | |||
| 460 | .MAKE: install-am install-strip | ||
| 461 | |||
| 462 | .PHONY: all all-am check check-am clean clean-generic cscopelist-am \ | ||
| 463 | ctags-am distclean distclean-generic distdir dvi dvi-am html \ | ||
| 464 | html-am info info-am install install-am install-data \ | ||
| 465 | install-data-am install-dvi install-dvi-am install-exec \ | ||
| 466 | install-exec-am install-html install-html-am install-info \ | ||
| 467 | install-info-am install-man install-man6 install-pdf \ | ||
| 468 | install-pdf-am install-ps install-ps-am install-strip \ | ||
| 469 | installcheck installcheck-am installdirs maintainer-clean \ | ||
| 470 | maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ | ||
| 471 | pdf-am ps ps-am tags-am uninstall uninstall-am uninstall-man \ | ||
| 472 | uninstall-man6 | ||
| 473 | |||
| 474 | .PRECIOUS: Makefile | ||
| 475 | |||
| 476 | |||
| 477 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||
| 478 | # Otherwise a system limit (for SysV at least) may be exceeded. | ||
| 479 | .NOEXPORT: | ||
diff --git a/missing b/missing deleted file mode 100755 index f62bbae..0000000 --- a/missing +++ /dev/null | |||
| @@ -1,215 +0,0 @@ | |||
| 1 | #! /bin/sh | ||
| 2 | # Common wrapper for a few potentially missing GNU programs. | ||
| 3 | |||
| 4 | scriptversion=2013-10-28.13; # UTC | ||
| 5 | |||
| 6 | # Copyright (C) 1996-2014 Free Software Foundation, Inc. | ||
| 7 | # Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. | ||
| 8 | |||
| 9 | # This program is free software; you can redistribute it and/or modify | ||
| 10 | # it under the terms of the GNU General Public License as published by | ||
| 11 | # the Free Software Foundation; either version 2, or (at your option) | ||
| 12 | # any later version. | ||
| 13 | |||
| 14 | # This program is distributed in the hope that it will be useful, | ||
| 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 17 | # GNU General Public License for more details. | ||
| 18 | |||
| 19 | # You should have received a copy of the GNU General Public License | ||
| 20 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 21 | |||
| 22 | # As a special exception to the GNU General Public License, if you | ||
| 23 | # distribute this file as part of a program that contains a | ||
| 24 | # configuration script generated by Autoconf, you may include it under | ||
| 25 | # the same distribution terms that you use for the rest of that program. | ||
| 26 | |||
| 27 | if test $# -eq 0; then | ||
| 28 | echo 1>&2 "Try '$0 --help' for more information" | ||
| 29 | exit 1 | ||
| 30 | fi | ||
| 31 | |||
| 32 | case $1 in | ||
| 33 | |||
| 34 | --is-lightweight) | ||
| 35 | # Used by our autoconf macros to check whether the available missing | ||
| 36 | # script is modern enough. | ||
| 37 | exit 0 | ||
| 38 | ;; | ||
| 39 | |||
| 40 | --run) | ||
| 41 | # Back-compat with the calling convention used by older automake. | ||
| 42 | shift | ||
| 43 | ;; | ||
| 44 | |||
| 45 | -h|--h|--he|--hel|--help) | ||
| 46 | echo "\ | ||
| 47 | $0 [OPTION]... PROGRAM [ARGUMENT]... | ||
| 48 | |||
| 49 | Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due | ||
| 50 | to PROGRAM being missing or too old. | ||
| 51 | |||
| 52 | Options: | ||
| 53 | -h, --help display this help and exit | ||
| 54 | -v, --version output version information and exit | ||
| 55 | |||
| 56 | Supported PROGRAM values: | ||
| 57 | aclocal autoconf autoheader autom4te automake makeinfo | ||
| 58 | bison yacc flex lex help2man | ||
| 59 | |||
| 60 | Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and | ||
| 61 | 'g' are ignored when checking the name. | ||
| 62 | |||
| 63 | Send bug reports to <bug-automake@gnu.org>." | ||
| 64 | exit $? | ||
| 65 | ;; | ||
| 66 | |||
| 67 | -v|--v|--ve|--ver|--vers|--versi|--versio|--version) | ||
| 68 | echo "missing $scriptversion (GNU Automake)" | ||
| 69 | exit $? | ||
| 70 | ;; | ||
| 71 | |||
| 72 | -*) | ||
| 73 | echo 1>&2 "$0: unknown '$1' option" | ||
| 74 | echo 1>&2 "Try '$0 --help' for more information" | ||
| 75 | exit 1 | ||
| 76 | ;; | ||
| 77 | |||
| 78 | esac | ||
| 79 | |||
| 80 | # Run the given program, remember its exit status. | ||
| 81 | "$@"; st=$? | ||
| 82 | |||
| 83 | # If it succeeded, we are done. | ||
| 84 | test $st -eq 0 && exit 0 | ||
| 85 | |||
| 86 | # Also exit now if we it failed (or wasn't found), and '--version' was | ||
| 87 | # passed; such an option is passed most likely to detect whether the | ||
| 88 | # program is present and works. | ||
| 89 | case $2 in --version|--help) exit $st;; esac | ||
| 90 | |||
| 91 | # Exit code 63 means version mismatch. This often happens when the user | ||
| 92 | # tries to use an ancient version of a tool on a file that requires a | ||
| 93 | # minimum version. | ||
| 94 | if test $st -eq 63; then | ||
| 95 | msg="probably too old" | ||
| 96 | elif test $st -eq 127; then | ||
| 97 | # Program was missing. | ||
| 98 | msg="missing on your system" | ||
| 99 | else | ||
| 100 | # Program was found and executed, but failed. Give up. | ||
| 101 | exit $st | ||
| 102 | fi | ||
| 103 | |||
| 104 | perl_URL=http://www.perl.org/ | ||
| 105 | flex_URL=http://flex.sourceforge.net/ | ||
| 106 | gnu_software_URL=http://www.gnu.org/software | ||
| 107 | |||
| 108 | program_details () | ||
| 109 | { | ||
| 110 | case $1 in | ||
| 111 | aclocal|automake) | ||
| 112 | echo "The '$1' program is part of the GNU Automake package:" | ||
| 113 | echo "<$gnu_software_URL/automake>" | ||
| 114 | echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:" | ||
| 115 | echo "<$gnu_software_URL/autoconf>" | ||
| 116 | echo "<$gnu_software_URL/m4/>" | ||
| 117 | echo "<$perl_URL>" | ||
| 118 | ;; | ||
| 119 | autoconf|autom4te|autoheader) | ||
| 120 | echo "The '$1' program is part of the GNU Autoconf package:" | ||
| 121 | echo "<$gnu_software_URL/autoconf/>" | ||
| 122 | echo "It also requires GNU m4 and Perl in order to run:" | ||
| 123 | echo "<$gnu_software_URL/m4/>" | ||
| 124 | echo "<$perl_URL>" | ||
| 125 | ;; | ||
| 126 | esac | ||
| 127 | } | ||
| 128 | |||
| 129 | give_advice () | ||
| 130 | { | ||
| 131 | # Normalize program name to check for. | ||
| 132 | normalized_program=`echo "$1" | sed ' | ||
| 133 | s/^gnu-//; t | ||
| 134 | s/^gnu//; t | ||
| 135 | s/^g//; t'` | ||
| 136 | |||
| 137 | printf '%s\n' "'$1' is $msg." | ||
| 138 | |||
| 139 | configure_deps="'configure.ac' or m4 files included by 'configure.ac'" | ||
| 140 | case $normalized_program in | ||
| 141 | autoconf*) | ||
| 142 | echo "You should only need it if you modified 'configure.ac'," | ||
| 143 | echo "or m4 files included by it." | ||
| 144 | program_details 'autoconf' | ||
| 145 | ;; | ||
| 146 | autoheader*) | ||
| 147 | echo "You should only need it if you modified 'acconfig.h' or" | ||
| 148 | echo "$configure_deps." | ||
| 149 | program_details 'autoheader' | ||
| 150 | ;; | ||
| 151 | automake*) | ||
| 152 | echo "You should only need it if you modified 'Makefile.am' or" | ||
| 153 | echo "$configure_deps." | ||
| 154 | program_details 'automake' | ||
| 155 | ;; | ||
| 156 | aclocal*) | ||
| 157 | echo "You should only need it if you modified 'acinclude.m4' or" | ||
| 158 | echo "$configure_deps." | ||
| 159 | program_details 'aclocal' | ||
| 160 | ;; | ||
| 161 | autom4te*) | ||
| 162 | echo "You might have modified some maintainer files that require" | ||
| 163 | echo "the 'autom4te' program to be rebuilt." | ||
| 164 | program_details 'autom4te' | ||
| 165 | ;; | ||
| 166 | bison*|yacc*) | ||
| 167 | echo "You should only need it if you modified a '.y' file." | ||
| 168 | echo "You may want to install the GNU Bison package:" | ||
| 169 | echo "<$gnu_software_URL/bison/>" | ||
| 170 | ;; | ||
| 171 | lex*|flex*) | ||
| 172 | echo "You should only need it if you modified a '.l' file." | ||
| 173 | echo "You may want to install the Fast Lexical Analyzer package:" | ||
| 174 | echo "<$flex_URL>" | ||
| 175 | ;; | ||
| 176 | help2man*) | ||
| 177 | echo "You should only need it if you modified a dependency" \ | ||
| 178 | "of a man page." | ||
| 179 | echo "You may want to install the GNU Help2man package:" | ||
| 180 | echo "<$gnu_software_URL/help2man/>" | ||
| 181 | ;; | ||
| 182 | makeinfo*) | ||
| 183 | echo "You should only need it if you modified a '.texi' file, or" | ||
| 184 | echo "any other file indirectly affecting the aspect of the manual." | ||
| 185 | echo "You might want to install the Texinfo package:" | ||
| 186 | echo "<$gnu_software_URL/texinfo/>" | ||
| 187 | echo "The spurious makeinfo call might also be the consequence of" | ||
| 188 | echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might" | ||
| 189 | echo "want to install GNU make:" | ||
| 190 | echo "<$gnu_software_URL/make/>" | ||
| 191 | ;; | ||
| 192 | *) | ||
| 193 | echo "You might have modified some files without having the proper" | ||
| 194 | echo "tools for further handling them. Check the 'README' file, it" | ||
| 195 | echo "often tells you about the needed prerequisites for installing" | ||
| 196 | echo "this package. You may also peek at any GNU archive site, in" | ||
| 197 | echo "case some other package contains this missing '$1' program." | ||
| 198 | ;; | ||
| 199 | esac | ||
| 200 | } | ||
| 201 | |||
| 202 | give_advice "$1" | sed -e '1s/^/WARNING: /' \ | ||
| 203 | -e '2,$s/^/ /' >&2 | ||
| 204 | |||
| 205 | # Propagate the correct exit status (expected to be 127 for a program | ||
| 206 | # not found, 63 for a program that failed due to version mismatch). | ||
| 207 | exit $st | ||
| 208 | |||
| 209 | # Local variables: | ||
| 210 | # eval: (add-hook 'write-file-hooks 'time-stamp) | ||
| 211 | # time-stamp-start: "scriptversion=" | ||
| 212 | # time-stamp-format: "%:y-%02m-%02d.%02H" | ||
| 213 | # time-stamp-time-zone: "UTC" | ||
| 214 | # time-stamp-end: "; # UTC" | ||
| 215 | # End: | ||
diff --git a/src/Makefile.in b/src/Makefile.in deleted file mode 100644 index c7d1edc..0000000 --- a/src/Makefile.in +++ /dev/null | |||
| @@ -1,632 +0,0 @@ | |||
| 1 | # Makefile.in generated by automake 1.15.1 from Makefile.am. | ||
| 2 | # @configure_input@ | ||
| 3 | |||
| 4 | # Copyright (C) 1994-2017 Free Software Foundation, Inc. | ||
| 5 | |||
| 6 | # This Makefile.in is free software; the Free Software Foundation | ||
| 7 | # gives unlimited permission to copy and/or distribute it, | ||
| 8 | # with or without modifications, as long as this notice is preserved. | ||
| 9 | |||
| 10 | # This program is distributed in the hope that it will be useful, | ||
| 11 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | ||
| 12 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
| 13 | # PARTICULAR PURPOSE. | ||
| 14 | |||
| 15 | @SET_MAKE@ | ||
| 16 | |||
| 17 | |||
| 18 | VPATH = @srcdir@ | ||
| 19 | am__is_gnu_make = { \ | ||
| 20 | if test -z '$(MAKELEVEL)'; then \ | ||
| 21 | false; \ | ||
| 22 | elif test -n '$(MAKE_HOST)'; then \ | ||
| 23 | true; \ | ||
| 24 | elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ | ||
| 25 | true; \ | ||
| 26 | else \ | ||
| 27 | false; \ | ||
| 28 | fi; \ | ||
| 29 | } | ||
| 30 | am__make_running_with_option = \ | ||
| 31 | case $${target_option-} in \ | ||
| 32 | ?) ;; \ | ||
| 33 | *) echo "am__make_running_with_option: internal error: invalid" \ | ||
| 34 | "target option '$${target_option-}' specified" >&2; \ | ||
| 35 | exit 1;; \ | ||
| 36 | esac; \ | ||
| 37 | has_opt=no; \ | ||
| 38 | sane_makeflags=$$MAKEFLAGS; \ | ||
| 39 | if $(am__is_gnu_make); then \ | ||
| 40 | sane_makeflags=$$MFLAGS; \ | ||
| 41 | else \ | ||
| 42 | case $$MAKEFLAGS in \ | ||
| 43 | *\\[\ \ ]*) \ | ||
| 44 | bs=\\; \ | ||
| 45 | sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | ||
| 46 | | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ | ||
| 47 | esac; \ | ||
| 48 | fi; \ | ||
| 49 | skip_next=no; \ | ||
| 50 | strip_trailopt () \ | ||
| 51 | { \ | ||
| 52 | flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ | ||
| 53 | }; \ | ||
| 54 | for flg in $$sane_makeflags; do \ | ||
| 55 | test $$skip_next = yes && { skip_next=no; continue; }; \ | ||
| 56 | case $$flg in \ | ||
| 57 | *=*|--*) continue;; \ | ||
| 58 | -*I) strip_trailopt 'I'; skip_next=yes;; \ | ||
| 59 | -*I?*) strip_trailopt 'I';; \ | ||
| 60 | -*O) strip_trailopt 'O'; skip_next=yes;; \ | ||
| 61 | -*O?*) strip_trailopt 'O';; \ | ||
| 62 | -*l) strip_trailopt 'l'; skip_next=yes;; \ | ||
| 63 | -*l?*) strip_trailopt 'l';; \ | ||
| 64 | -[dEDm]) skip_next=yes;; \ | ||
| 65 | -[JT]) skip_next=yes;; \ | ||
| 66 | esac; \ | ||
| 67 | case $$flg in \ | ||
| 68 | *$$target_option*) has_opt=yes; break;; \ | ||
| 69 | esac; \ | ||
| 70 | done; \ | ||
| 71 | test $$has_opt = yes | ||
| 72 | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) | ||
| 73 | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) | ||
| 74 | pkgdatadir = $(datadir)/@PACKAGE@ | ||
| 75 | pkgincludedir = $(includedir)/@PACKAGE@ | ||
| 76 | pkglibdir = $(libdir)/@PACKAGE@ | ||
| 77 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | ||
| 78 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||
| 79 | install_sh_DATA = $(install_sh) -c -m 644 | ||
| 80 | install_sh_PROGRAM = $(install_sh) -c | ||
| 81 | install_sh_SCRIPT = $(install_sh) -c | ||
| 82 | INSTALL_HEADER = $(INSTALL_DATA) | ||
| 83 | transform = $(program_transform_name) | ||
| 84 | NORMAL_INSTALL = : | ||
| 85 | PRE_INSTALL = : | ||
| 86 | POST_INSTALL = : | ||
| 87 | NORMAL_UNINSTALL = : | ||
| 88 | PRE_UNINSTALL = : | ||
| 89 | POST_UNINSTALL = : | ||
| 90 | bin_PROGRAMS = life$(EXEEXT) | ||
| 91 | subdir = src | ||
| 92 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||
| 93 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac | ||
| 94 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | ||
| 95 | $(ACLOCAL_M4) | ||
| 96 | DIST_COMMON = $(srcdir)/Makefile.am $(noinst_HEADERS) \ | ||
| 97 | $(am__DIST_COMMON) | ||
| 98 | mkinstalldirs = $(install_sh) -d | ||
| 99 | CONFIG_HEADER = $(top_builddir)/config.h | ||
| 100 | CONFIG_CLEAN_FILES = | ||
| 101 | CONFIG_CLEAN_VPATH_FILES = | ||
| 102 | am__installdirs = "$(DESTDIR)$(bindir)" | ||
| 103 | PROGRAMS = $(bin_PROGRAMS) | ||
| 104 | am_life_OBJECTS = life-life.$(OBJEXT) life-cmdline-life.$(OBJEXT) \ | ||
| 105 | life-updatemap.$(OBJEXT) life-menus.$(OBJEXT) | ||
| 106 | life_OBJECTS = $(am_life_OBJECTS) | ||
| 107 | life_LDADD = $(LDADD) | ||
| 108 | life_LINK = $(CCLD) $(life_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ | ||
| 109 | -o $@ | ||
| 110 | AM_V_P = $(am__v_P_@AM_V@) | ||
| 111 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | ||
| 112 | am__v_P_0 = false | ||
| 113 | am__v_P_1 = : | ||
| 114 | AM_V_GEN = $(am__v_GEN_@AM_V@) | ||
| 115 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) | ||
| 116 | am__v_GEN_0 = @echo " GEN " $@; | ||
| 117 | am__v_GEN_1 = | ||
| 118 | AM_V_at = $(am__v_at_@AM_V@) | ||
| 119 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) | ||
| 120 | am__v_at_0 = @ | ||
| 121 | am__v_at_1 = | ||
| 122 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) | ||
| 123 | depcomp = $(SHELL) $(top_srcdir)/depcomp | ||
| 124 | am__depfiles_maybe = depfiles | ||
| 125 | am__mv = mv -f | ||
| 126 | AM_V_lt = $(am__v_lt_@AM_V@) | ||
| 127 | am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) | ||
| 128 | am__v_lt_0 = --silent | ||
| 129 | am__v_lt_1 = | ||
| 130 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ | ||
| 131 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | ||
| 132 | AM_V_CC = $(am__v_CC_@AM_V@) | ||
| 133 | am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) | ||
| 134 | am__v_CC_0 = @echo " CC " $@; | ||
| 135 | am__v_CC_1 = | ||
| 136 | CCLD = $(CC) | ||
| 137 | LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ | ||
| 138 | AM_V_CCLD = $(am__v_CCLD_@AM_V@) | ||
| 139 | am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) | ||
| 140 | am__v_CCLD_0 = @echo " CCLD " $@; | ||
| 141 | am__v_CCLD_1 = | ||
| 142 | SOURCES = $(life_SOURCES) | ||
| 143 | DIST_SOURCES = $(life_SOURCES) | ||
| 144 | am__can_run_installinfo = \ | ||
| 145 | case $$AM_UPDATE_INFO_DIR in \ | ||
| 146 | n|no|NO) false;; \ | ||
| 147 | *) (install-info --version) >/dev/null 2>&1;; \ | ||
| 148 | esac | ||
| 149 | HEADERS = $(noinst_HEADERS) | ||
| 150 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) | ||
| 151 | # Read a list of newline-separated strings from the standard input, | ||
| 152 | # and print each of them once, without duplicates. Input order is | ||
| 153 | # *not* preserved. | ||
| 154 | am__uniquify_input = $(AWK) '\ | ||
| 155 | BEGIN { nonempty = 0; } \ | ||
| 156 | { items[$$0] = 1; nonempty = 1; } \ | ||
| 157 | END { if (nonempty) { for (i in items) print i; }; } \ | ||
| 158 | ' | ||
| 159 | # Make sure the list of sources is unique. This is necessary because, | ||
| 160 | # e.g., the same source file might be shared among _SOURCES variables | ||
| 161 | # for different programs/libraries. | ||
| 162 | am__define_uniq_tagged_files = \ | ||
| 163 | list='$(am__tagged_files)'; \ | ||
| 164 | unique=`for i in $$list; do \ | ||
| 165 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
| 166 | done | $(am__uniquify_input)` | ||
| 167 | ETAGS = etags | ||
| 168 | CTAGS = ctags | ||
| 169 | am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp | ||
| 170 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
| 171 | ACLOCAL = @ACLOCAL@ | ||
| 172 | AMTAR = @AMTAR@ | ||
| 173 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | ||
| 174 | AUTOCONF = @AUTOCONF@ | ||
| 175 | AUTOHEADER = @AUTOHEADER@ | ||
| 176 | AUTOMAKE = @AUTOMAKE@ | ||
| 177 | AWK = @AWK@ | ||
| 178 | CC = @CC@ | ||
| 179 | CCDEPMODE = @CCDEPMODE@ | ||
| 180 | CFLAGS = @CFLAGS@ | ||
| 181 | CPP = @CPP@ | ||
| 182 | CPPFLAGS = @CPPFLAGS@ | ||
| 183 | CYGPATH_W = @CYGPATH_W@ | ||
| 184 | DEFS = @DEFS@ | ||
| 185 | DEPDIR = @DEPDIR@ | ||
| 186 | ECHO_C = @ECHO_C@ | ||
| 187 | ECHO_N = @ECHO_N@ | ||
| 188 | ECHO_T = @ECHO_T@ | ||
| 189 | EGREP = @EGREP@ | ||
| 190 | EXEEXT = @EXEEXT@ | ||
| 191 | GREP = @GREP@ | ||
| 192 | INSTALL = @INSTALL@ | ||
| 193 | INSTALL_DATA = @INSTALL_DATA@ | ||
| 194 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||
| 195 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||
| 196 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||
| 197 | LDFLAGS = @LDFLAGS@ | ||
| 198 | LIBOBJS = @LIBOBJS@ | ||
| 199 | LIBS = @LIBS@ | ||
| 200 | LTLIBOBJS = @LTLIBOBJS@ | ||
| 201 | MAKEINFO = @MAKEINFO@ | ||
| 202 | MKDIR_P = @MKDIR_P@ | ||
| 203 | OBJEXT = @OBJEXT@ | ||
| 204 | PACKAGE = @PACKAGE@ | ||
| 205 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||
| 206 | PACKAGE_NAME = @PACKAGE_NAME@ | ||
| 207 | PACKAGE_STRING = @PACKAGE_STRING@ | ||
| 208 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||
| 209 | PACKAGE_URL = @PACKAGE_URL@ | ||
| 210 | PACKAGE_VERSION = @PACKAGE_VERSION@ | ||
| 211 | PATH_SEPARATOR = @PATH_SEPARATOR@ | ||
| 212 | SET_MAKE = @SET_MAKE@ | ||
| 213 | SHELL = @SHELL@ | ||
| 214 | STRIP = @STRIP@ | ||
| 215 | VERSION = @VERSION@ | ||
| 216 | abs_builddir = @abs_builddir@ | ||
| 217 | abs_srcdir = @abs_srcdir@ | ||
| 218 | abs_top_builddir = @abs_top_builddir@ | ||
| 219 | abs_top_srcdir = @abs_top_srcdir@ | ||
| 220 | ac_ct_CC = @ac_ct_CC@ | ||
| 221 | am__include = @am__include@ | ||
| 222 | am__leading_dot = @am__leading_dot@ | ||
| 223 | am__quote = @am__quote@ | ||
| 224 | am__tar = @am__tar@ | ||
| 225 | am__untar = @am__untar@ | ||
| 226 | bindir = @bindir@ | ||
| 227 | build_alias = @build_alias@ | ||
| 228 | builddir = @builddir@ | ||
| 229 | datadir = @datadir@ | ||
| 230 | datarootdir = @datarootdir@ | ||
| 231 | docdir = @docdir@ | ||
| 232 | dvidir = @dvidir@ | ||
| 233 | exec_prefix = @exec_prefix@ | ||
| 234 | host_alias = @host_alias@ | ||
| 235 | htmldir = @htmldir@ | ||
| 236 | includedir = @includedir@ | ||
| 237 | infodir = @infodir@ | ||
| 238 | install_sh = @install_sh@ | ||
| 239 | libdir = @libdir@ | ||
| 240 | libexecdir = @libexecdir@ | ||
| 241 | localedir = @localedir@ | ||
| 242 | localstatedir = @localstatedir@ | ||
| 243 | mandir = @mandir@ | ||
| 244 | mkdir_p = @mkdir_p@ | ||
| 245 | oldincludedir = @oldincludedir@ | ||
| 246 | pdfdir = @pdfdir@ | ||
| 247 | prefix = @prefix@ | ||
| 248 | program_transform_name = @program_transform_name@ | ||
| 249 | psdir = @psdir@ | ||
| 250 | runstatedir = @runstatedir@ | ||
| 251 | sbindir = @sbindir@ | ||
| 252 | sharedstatedir = @sharedstatedir@ | ||
| 253 | srcdir = @srcdir@ | ||
| 254 | sysconfdir = @sysconfdir@ | ||
| 255 | target_alias = @target_alias@ | ||
| 256 | top_build_prefix = @top_build_prefix@ | ||
| 257 | top_builddir = @top_builddir@ | ||
| 258 | top_srcdir = @top_srcdir@ | ||
| 259 | life_SOURCES = life.c cmdline-life.c updatemap.c menus.c | ||
| 260 | life_CFLAGS = -Wall -pedantic | ||
| 261 | noinst_HEADERS = life.h updatemap.h menus.h cmdline-life.h life-macros.h | ||
| 262 | all: all-am | ||
| 263 | |||
| 264 | .SUFFIXES: | ||
| 265 | .SUFFIXES: .c .o .obj | ||
| 266 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | ||
| 267 | @for dep in $?; do \ | ||
| 268 | case '$(am__configure_deps)' in \ | ||
| 269 | *$$dep*) \ | ||
| 270 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | ||
| 271 | && { if test -f $@; then exit 0; else break; fi; }; \ | ||
| 272 | exit 1;; \ | ||
| 273 | esac; \ | ||
| 274 | done; \ | ||
| 275 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \ | ||
| 276 | $(am__cd) $(top_srcdir) && \ | ||
| 277 | $(AUTOMAKE) --gnu src/Makefile | ||
| 278 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
| 279 | @case '$?' in \ | ||
| 280 | *config.status*) \ | ||
| 281 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | ||
| 282 | *) \ | ||
| 283 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | ||
| 284 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | ||
| 285 | esac; | ||
| 286 | |||
| 287 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||
| 288 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
| 289 | |||
| 290 | $(top_srcdir)/configure: $(am__configure_deps) | ||
| 291 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
| 292 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | ||
| 293 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
| 294 | $(am__aclocal_m4_deps): | ||
| 295 | install-binPROGRAMS: $(bin_PROGRAMS) | ||
| 296 | @$(NORMAL_INSTALL) | ||
| 297 | @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ | ||
| 298 | if test -n "$$list"; then \ | ||
| 299 | echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ | ||
| 300 | $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ | ||
| 301 | fi; \ | ||
| 302 | for p in $$list; do echo "$$p $$p"; done | \ | ||
| 303 | sed 's/$(EXEEXT)$$//' | \ | ||
| 304 | while read p p1; do if test -f $$p \ | ||
| 305 | ; then echo "$$p"; echo "$$p"; else :; fi; \ | ||
| 306 | done | \ | ||
| 307 | sed -e 'p;s,.*/,,;n;h' \ | ||
| 308 | -e 's|.*|.|' \ | ||
| 309 | -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ | ||
| 310 | sed 'N;N;N;s,\n, ,g' | \ | ||
| 311 | $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ | ||
| 312 | { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ | ||
| 313 | if ($$2 == $$4) files[d] = files[d] " " $$1; \ | ||
| 314 | else { print "f", $$3 "/" $$4, $$1; } } \ | ||
| 315 | END { for (d in files) print "f", d, files[d] }' | \ | ||
| 316 | while read type dir files; do \ | ||
| 317 | if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ | ||
| 318 | test -z "$$files" || { \ | ||
| 319 | echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ | ||
| 320 | $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ | ||
| 321 | } \ | ||
| 322 | ; done | ||
| 323 | |||
| 324 | uninstall-binPROGRAMS: | ||
| 325 | @$(NORMAL_UNINSTALL) | ||
| 326 | @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ | ||
| 327 | files=`for p in $$list; do echo "$$p"; done | \ | ||
| 328 | sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ | ||
| 329 | -e 's/$$/$(EXEEXT)/' \ | ||
| 330 | `; \ | ||
| 331 | test -n "$$list" || exit 0; \ | ||
| 332 | echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ | ||
| 333 | cd "$(DESTDIR)$(bindir)" && rm -f $$files | ||
| 334 | |||
| 335 | clean-binPROGRAMS: | ||
| 336 | -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) | ||
| 337 | |||
| 338 | life$(EXEEXT): $(life_OBJECTS) $(life_DEPENDENCIES) $(EXTRA_life_DEPENDENCIES) | ||
| 339 | @rm -f life$(EXEEXT) | ||
| 340 | $(AM_V_CCLD)$(life_LINK) $(life_OBJECTS) $(life_LDADD) $(LIBS) | ||
| 341 | |||
| 342 | mostlyclean-compile: | ||
| 343 | -rm -f *.$(OBJEXT) | ||
| 344 | |||
| 345 | distclean-compile: | ||
| 346 | -rm -f *.tab.c | ||
| 347 | |||
| 348 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/life-cmdline-life.Po@am__quote@ | ||
| 349 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/life-life.Po@am__quote@ | ||
| 350 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/life-menus.Po@am__quote@ | ||
| 351 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/life-updatemap.Po@am__quote@ | ||
| 352 | |||
| 353 | .c.o: | ||
| 354 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
| 355 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
| 356 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
| 357 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
| 358 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< | ||
| 359 | |||
| 360 | .c.obj: | ||
| 361 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | ||
| 362 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
| 363 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
| 364 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
| 365 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` | ||
| 366 | |||
| 367 | life-life.o: life.c | ||
| 368 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(life_CFLAGS) $(CFLAGS) -MT life-life.o -MD -MP -MF $(DEPDIR)/life-life.Tpo -c -o life-life.o `test -f 'life.c' || echo '$(srcdir)/'`life.c | ||
| 369 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/life-life.Tpo $(DEPDIR)/life-life.Po | ||
| 370 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='life.c' object='life-life.o' libtool=no @AMDEPBACKSLASH@ | ||
| 371 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
| 372 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(life_CFLAGS) $(CFLAGS) -c -o life-life.o `test -f 'life.c' || echo '$(srcdir)/'`life.c | ||
| 373 | |||
| 374 | life-life.obj: life.c | ||
| 375 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(life_CFLAGS) $(CFLAGS) -MT life-life.obj -MD -MP -MF $(DEPDIR)/life-life.Tpo -c -o life-life.obj `if test -f 'life.c'; then $(CYGPATH_W) 'life.c'; else $(CYGPATH_W) '$(srcdir)/life.c'; fi` | ||
| 376 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/life-life.Tpo $(DEPDIR)/life-life.Po | ||
| 377 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='life.c' object='life-life.obj' libtool=no @AMDEPBACKSLASH@ | ||
| 378 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
| 379 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(life_CFLAGS) $(CFLAGS) -c -o life-life.obj `if test -f 'life.c'; then $(CYGPATH_W) 'life.c'; else $(CYGPATH_W) '$(srcdir)/life.c'; fi` | ||
| 380 | |||
| 381 | life-cmdline-life.o: cmdline-life.c | ||
| 382 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(life_CFLAGS) $(CFLAGS) -MT life-cmdline-life.o -MD -MP -MF $(DEPDIR)/life-cmdline-life.Tpo -c -o life-cmdline-life.o `test -f 'cmdline-life.c' || echo '$(srcdir)/'`cmdline-life.c | ||
| 383 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/life-cmdline-life.Tpo $(DEPDIR)/life-cmdline-life.Po | ||
| 384 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='cmdline-life.c' object='life-cmdline-life.o' libtool=no @AMDEPBACKSLASH@ | ||
| 385 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
| 386 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(life_CFLAGS) $(CFLAGS) -c -o life-cmdline-life.o `test -f 'cmdline-life.c' || echo '$(srcdir)/'`cmdline-life.c | ||
| 387 | |||
| 388 | life-cmdline-life.obj: cmdline-life.c | ||
| 389 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(life_CFLAGS) $(CFLAGS) -MT life-cmdline-life.obj -MD -MP -MF $(DEPDIR)/life-cmdline-life.Tpo -c -o life-cmdline-life.obj `if test -f 'cmdline-life.c'; then $(CYGPATH_W) 'cmdline-life.c'; else $(CYGPATH_W) '$(srcdir)/cmdline-life.c'; fi` | ||
| 390 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/life-cmdline-life.Tpo $(DEPDIR)/life-cmdline-life.Po | ||
| 391 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='cmdline-life.c' object='life-cmdline-life.obj' libtool=no @AMDEPBACKSLASH@ | ||
| 392 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
| 393 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(life_CFLAGS) $(CFLAGS) -c -o life-cmdline-life.obj `if test -f 'cmdline-life.c'; then $(CYGPATH_W) 'cmdline-life.c'; else $(CYGPATH_W) '$(srcdir)/cmdline-life.c'; fi` | ||
| 394 | |||
| 395 | life-updatemap.o: updatemap.c | ||
| 396 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(life_CFLAGS) $(CFLAGS) -MT life-updatemap.o -MD -MP -MF $(DEPDIR)/life-updatemap.Tpo -c -o life-updatemap.o `test -f 'updatemap.c' || echo '$(srcdir)/'`updatemap.c | ||
| 397 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/life-updatemap.Tpo $(DEPDIR)/life-updatemap.Po | ||
| 398 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='updatemap.c' object='life-updatemap.o' libtool=no @AMDEPBACKSLASH@ | ||
| 399 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
| 400 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(life_CFLAGS) $(CFLAGS) -c -o life-updatemap.o `test -f 'updatemap.c' || echo '$(srcdir)/'`updatemap.c | ||
| 401 | |||
| 402 | life-updatemap.obj: updatemap.c | ||
| 403 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(life_CFLAGS) $(CFLAGS) -MT life-updatemap.obj -MD -MP -MF $(DEPDIR)/life-updatemap.Tpo -c -o life-updatemap.obj `if test -f 'updatemap.c'; then $(CYGPATH_W) 'updatemap.c'; else $(CYGPATH_W) '$(srcdir)/updatemap.c'; fi` | ||
| 404 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/life-updatemap.Tpo $(DEPDIR)/life-updatemap.Po | ||
| 405 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='updatemap.c' object='life-updatemap.obj' libtool=no @AMDEPBACKSLASH@ | ||
| 406 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
| 407 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(life_CFLAGS) $(CFLAGS) -c -o life-updatemap.obj `if test -f 'updatemap.c'; then $(CYGPATH_W) 'updatemap.c'; else $(CYGPATH_W) '$(srcdir)/updatemap.c'; fi` | ||
| 408 | |||
| 409 | life-menus.o: menus.c | ||
| 410 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(life_CFLAGS) $(CFLAGS) -MT life-menus.o -MD -MP -MF $(DEPDIR)/life-menus.Tpo -c -o life-menus.o `test -f 'menus.c' || echo '$(srcdir)/'`menus.c | ||
| 411 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/life-menus.Tpo $(DEPDIR)/life-menus.Po | ||
| 412 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='menus.c' object='life-menus.o' libtool=no @AMDEPBACKSLASH@ | ||
| 413 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
| 414 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(life_CFLAGS) $(CFLAGS) -c -o life-menus.o `test -f 'menus.c' || echo '$(srcdir)/'`menus.c | ||
| 415 | |||
| 416 | life-menus.obj: menus.c | ||
| 417 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(life_CFLAGS) $(CFLAGS) -MT life-menus.obj -MD -MP -MF $(DEPDIR)/life-menus.Tpo -c -o life-menus.obj `if test -f 'menus.c'; then $(CYGPATH_W) 'menus.c'; else $(CYGPATH_W) '$(srcdir)/menus.c'; fi` | ||
| 418 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/life-menus.Tpo $(DEPDIR)/life-menus.Po | ||
| 419 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='menus.c' object='life-menus.obj' libtool=no @AMDEPBACKSLASH@ | ||
| 420 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
| 421 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(life_CFLAGS) $(CFLAGS) -c -o life-menus.obj `if test -f 'menus.c'; then $(CYGPATH_W) 'menus.c'; else $(CYGPATH_W) '$(srcdir)/menus.c'; fi` | ||
| 422 | |||
| 423 | ID: $(am__tagged_files) | ||
| 424 | $(am__define_uniq_tagged_files); mkid -fID $$unique | ||
| 425 | tags: tags-am | ||
| 426 | TAGS: tags | ||
| 427 | |||
| 428 | tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | ||
| 429 | set x; \ | ||
| 430 | here=`pwd`; \ | ||
| 431 | $(am__define_uniq_tagged_files); \ | ||
| 432 | shift; \ | ||
| 433 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | ||
| 434 | test -n "$$unique" || unique=$$empty_fix; \ | ||
| 435 | if test $$# -gt 0; then \ | ||
| 436 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
| 437 | "$$@" $$unique; \ | ||
| 438 | else \ | ||
| 439 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
| 440 | $$unique; \ | ||
| 441 | fi; \ | ||
| 442 | fi | ||
| 443 | ctags: ctags-am | ||
| 444 | |||
| 445 | CTAGS: ctags | ||
| 446 | ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | ||
| 447 | $(am__define_uniq_tagged_files); \ | ||
| 448 | test -z "$(CTAGS_ARGS)$$unique" \ | ||
| 449 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | ||
| 450 | $$unique | ||
| 451 | |||
| 452 | GTAGS: | ||
| 453 | here=`$(am__cd) $(top_builddir) && pwd` \ | ||
| 454 | && $(am__cd) $(top_srcdir) \ | ||
| 455 | && gtags -i $(GTAGS_ARGS) "$$here" | ||
| 456 | cscopelist: cscopelist-am | ||
| 457 | |||
| 458 | cscopelist-am: $(am__tagged_files) | ||
| 459 | list='$(am__tagged_files)'; \ | ||
| 460 | case "$(srcdir)" in \ | ||
| 461 | [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ | ||
| 462 | *) sdir=$(subdir)/$(srcdir) ;; \ | ||
| 463 | esac; \ | ||
| 464 | for i in $$list; do \ | ||
| 465 | if test -f "$$i"; then \ | ||
| 466 | echo "$(subdir)/$$i"; \ | ||
| 467 | else \ | ||
| 468 | echo "$$sdir/$$i"; \ | ||
| 469 | fi; \ | ||
| 470 | done >> $(top_builddir)/cscope.files | ||
| 471 | |||
| 472 | distclean-tags: | ||
| 473 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
| 474 | |||
| 475 | distdir: $(DISTFILES) | ||
| 476 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
| 477 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
| 478 | list='$(DISTFILES)'; \ | ||
| 479 | dist_files=`for file in $$list; do echo $$file; done | \ | ||
| 480 | sed -e "s|^$$srcdirstrip/||;t" \ | ||
| 481 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | ||
| 482 | case $$dist_files in \ | ||
| 483 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | ||
| 484 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | ||
| 485 | sort -u` ;; \ | ||
| 486 | esac; \ | ||
| 487 | for file in $$dist_files; do \ | ||
| 488 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||
| 489 | if test -d $$d/$$file; then \ | ||
| 490 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||
| 491 | if test -d "$(distdir)/$$file"; then \ | ||
| 492 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
| 493 | fi; \ | ||
| 494 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||
| 495 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | ||
| 496 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
| 497 | fi; \ | ||
| 498 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | ||
| 499 | else \ | ||
| 500 | test -f "$(distdir)/$$file" \ | ||
| 501 | || cp -p $$d/$$file "$(distdir)/$$file" \ | ||
| 502 | || exit 1; \ | ||
| 503 | fi; \ | ||
| 504 | done | ||
| 505 | check-am: all-am | ||
| 506 | check: check-am | ||
| 507 | all-am: Makefile $(PROGRAMS) $(HEADERS) | ||
| 508 | installdirs: | ||
| 509 | for dir in "$(DESTDIR)$(bindir)"; do \ | ||
| 510 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | ||
| 511 | done | ||
| 512 | install: install-am | ||
| 513 | install-exec: install-exec-am | ||
| 514 | install-data: install-data-am | ||
| 515 | uninstall: uninstall-am | ||
| 516 | |||
| 517 | install-am: all-am | ||
| 518 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
| 519 | |||
| 520 | installcheck: installcheck-am | ||
| 521 | install-strip: | ||
| 522 | if test -z '$(STRIP)'; then \ | ||
| 523 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
| 524 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
| 525 | install; \ | ||
| 526 | else \ | ||
| 527 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
| 528 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
| 529 | "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ | ||
| 530 | fi | ||
| 531 | mostlyclean-generic: | ||
| 532 | |||
| 533 | clean-generic: | ||
| 534 | |||
| 535 | distclean-generic: | ||
| 536 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||
| 537 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | ||
| 538 | |||
| 539 | maintainer-clean-generic: | ||
| 540 | @echo "This command is intended for maintainers to use" | ||
| 541 | @echo "it deletes files that may require special tools to rebuild." | ||
| 542 | clean: clean-am | ||
| 543 | |||
| 544 | clean-am: clean-binPROGRAMS clean-generic mostlyclean-am | ||
| 545 | |||
| 546 | distclean: distclean-am | ||
| 547 | -rm -rf ./$(DEPDIR) | ||
| 548 | -rm -f Makefile | ||
| 549 | distclean-am: clean-am distclean-compile distclean-generic \ | ||
| 550 | distclean-tags | ||
| 551 | |||
| 552 | dvi: dvi-am | ||
| 553 | |||
| 554 | dvi-am: | ||
| 555 | |||
| 556 | html: html-am | ||
| 557 | |||
| 558 | html-am: | ||
| 559 | |||
| 560 | info: info-am | ||
| 561 | |||
| 562 | info-am: | ||
| 563 | |||
| 564 | install-data-am: | ||
| 565 | |||
| 566 | install-dvi: install-dvi-am | ||
| 567 | |||
| 568 | install-dvi-am: | ||
| 569 | |||
| 570 | install-exec-am: install-binPROGRAMS | ||
| 571 | |||
| 572 | install-html: install-html-am | ||
| 573 | |||
| 574 | install-html-am: | ||
| 575 | |||
| 576 | install-info: install-info-am | ||
| 577 | |||
| 578 | install-info-am: | ||
| 579 | |||
| 580 | install-man: | ||
| 581 | |||
| 582 | install-pdf: install-pdf-am | ||
| 583 | |||
| 584 | install-pdf-am: | ||
| 585 | |||
| 586 | install-ps: install-ps-am | ||
| 587 | |||
| 588 | install-ps-am: | ||
| 589 | |||
| 590 | installcheck-am: | ||
| 591 | |||
| 592 | maintainer-clean: maintainer-clean-am | ||
| 593 | -rm -rf ./$(DEPDIR) | ||
| 594 | -rm -f Makefile | ||
| 595 | maintainer-clean-am: distclean-am maintainer-clean-generic | ||
| 596 | |||
| 597 | mostlyclean: mostlyclean-am | ||
| 598 | |||
| 599 | mostlyclean-am: mostlyclean-compile mostlyclean-generic | ||
| 600 | |||
| 601 | pdf: pdf-am | ||
| 602 | |||
| 603 | pdf-am: | ||
| 604 | |||
| 605 | ps: ps-am | ||
| 606 | |||
| 607 | ps-am: | ||
| 608 | |||
| 609 | uninstall-am: uninstall-binPROGRAMS | ||
| 610 | |||
| 611 | .MAKE: install-am install-strip | ||
| 612 | |||
| 613 | .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \ | ||
| 614 | clean-binPROGRAMS clean-generic cscopelist-am ctags ctags-am \ | ||
| 615 | distclean distclean-compile distclean-generic distclean-tags \ | ||
| 616 | distdir dvi dvi-am html html-am info info-am install \ | ||
| 617 | install-am install-binPROGRAMS install-data install-data-am \ | ||
| 618 | install-dvi install-dvi-am install-exec install-exec-am \ | ||
| 619 | install-html install-html-am install-info install-info-am \ | ||
| 620 | install-man install-pdf install-pdf-am install-ps \ | ||
| 621 | install-ps-am install-strip installcheck installcheck-am \ | ||
| 622 | installdirs maintainer-clean maintainer-clean-generic \ | ||
| 623 | mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \ | ||
| 624 | ps ps-am tags tags-am uninstall uninstall-am \ | ||
| 625 | uninstall-binPROGRAMS | ||
| 626 | |||
| 627 | .PRECIOUS: Makefile | ||
| 628 | |||
| 629 | |||
| 630 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||
| 631 | # Otherwise a system limit (for SysV at least) may be exceeded. | ||
| 632 | .NOEXPORT: | ||
diff --git a/test/Makefile.in b/test/Makefile.in deleted file mode 100644 index d5da6ad..0000000 --- a/test/Makefile.in +++ /dev/null | |||
| @@ -1,777 +0,0 @@ | |||
| 1 | # Makefile.in generated by automake 1.15.1 from Makefile.am. | ||
| 2 | # @configure_input@ | ||
| 3 | |||
| 4 | # Copyright (C) 1994-2017 Free Software Foundation, Inc. | ||
| 5 | |||
| 6 | # This Makefile.in is free software; the Free Software Foundation | ||
| 7 | # gives unlimited permission to copy and/or distribute it, | ||
| 8 | # with or without modifications, as long as this notice is preserved. | ||
| 9 | |||
| 10 | # This program is distributed in the hope that it will be useful, | ||
| 11 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | ||
| 12 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
| 13 | # PARTICULAR PURPOSE. | ||
| 14 | |||
| 15 | @SET_MAKE@ | ||
| 16 | VPATH = @srcdir@ | ||
| 17 | am__is_gnu_make = { \ | ||
| 18 | if test -z '$(MAKELEVEL)'; then \ | ||
| 19 | false; \ | ||
| 20 | elif test -n '$(MAKE_HOST)'; then \ | ||
| 21 | true; \ | ||
| 22 | elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ | ||
| 23 | true; \ | ||
| 24 | else \ | ||
| 25 | false; \ | ||
| 26 | fi; \ | ||
| 27 | } | ||
| 28 | am__make_running_with_option = \ | ||
| 29 | case $${target_option-} in \ | ||
| 30 | ?) ;; \ | ||
| 31 | *) echo "am__make_running_with_option: internal error: invalid" \ | ||
| 32 | "target option '$${target_option-}' specified" >&2; \ | ||
| 33 | exit 1;; \ | ||
| 34 | esac; \ | ||
| 35 | has_opt=no; \ | ||
| 36 | sane_makeflags=$$MAKEFLAGS; \ | ||
| 37 | if $(am__is_gnu_make); then \ | ||
| 38 | sane_makeflags=$$MFLAGS; \ | ||
| 39 | else \ | ||
| 40 | case $$MAKEFLAGS in \ | ||
| 41 | *\\[\ \ ]*) \ | ||
| 42 | bs=\\; \ | ||
| 43 | sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | ||
| 44 | | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ | ||
| 45 | esac; \ | ||
| 46 | fi; \ | ||
| 47 | skip_next=no; \ | ||
| 48 | strip_trailopt () \ | ||
| 49 | { \ | ||
| 50 | flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ | ||
| 51 | }; \ | ||
| 52 | for flg in $$sane_makeflags; do \ | ||
| 53 | test $$skip_next = yes && { skip_next=no; continue; }; \ | ||
| 54 | case $$flg in \ | ||
| 55 | *=*|--*) continue;; \ | ||
| 56 | -*I) strip_trailopt 'I'; skip_next=yes;; \ | ||
| 57 | -*I?*) strip_trailopt 'I';; \ | ||
| 58 | -*O) strip_trailopt 'O'; skip_next=yes;; \ | ||
| 59 | -*O?*) strip_trailopt 'O';; \ | ||
| 60 | -*l) strip_trailopt 'l'; skip_next=yes;; \ | ||
| 61 | -*l?*) strip_trailopt 'l';; \ | ||
| 62 | -[dEDm]) skip_next=yes;; \ | ||
| 63 | -[JT]) skip_next=yes;; \ | ||
| 64 | esac; \ | ||
| 65 | case $$flg in \ | ||
| 66 | *$$target_option*) has_opt=yes; break;; \ | ||
| 67 | esac; \ | ||
| 68 | done; \ | ||
| 69 | test $$has_opt = yes | ||
| 70 | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) | ||
| 71 | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) | ||
| 72 | pkgdatadir = $(datadir)/@PACKAGE@ | ||
| 73 | pkgincludedir = $(includedir)/@PACKAGE@ | ||
| 74 | pkglibdir = $(libdir)/@PACKAGE@ | ||
| 75 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | ||
| 76 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||
| 77 | install_sh_DATA = $(install_sh) -c -m 644 | ||
| 78 | install_sh_PROGRAM = $(install_sh) -c | ||
| 79 | install_sh_SCRIPT = $(install_sh) -c | ||
| 80 | INSTALL_HEADER = $(INSTALL_DATA) | ||
| 81 | transform = $(program_transform_name) | ||
| 82 | NORMAL_INSTALL = : | ||
| 83 | PRE_INSTALL = : | ||
| 84 | POST_INSTALL = : | ||
| 85 | NORMAL_UNINSTALL = : | ||
| 86 | PRE_UNINSTALL = : | ||
| 87 | POST_UNINSTALL = : | ||
| 88 | subdir = test | ||
| 89 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||
| 90 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac | ||
| 91 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | ||
| 92 | $(ACLOCAL_M4) | ||
| 93 | DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) | ||
| 94 | mkinstalldirs = $(install_sh) -d | ||
| 95 | CONFIG_HEADER = $(top_builddir)/config.h | ||
| 96 | CONFIG_CLEAN_FILES = | ||
| 97 | CONFIG_CLEAN_VPATH_FILES = | ||
| 98 | AM_V_P = $(am__v_P_@AM_V@) | ||
| 99 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | ||
| 100 | am__v_P_0 = false | ||
| 101 | am__v_P_1 = : | ||
| 102 | AM_V_GEN = $(am__v_GEN_@AM_V@) | ||
| 103 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) | ||
| 104 | am__v_GEN_0 = @echo " GEN " $@; | ||
| 105 | am__v_GEN_1 = | ||
| 106 | AM_V_at = $(am__v_at_@AM_V@) | ||
| 107 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) | ||
| 108 | am__v_at_0 = @ | ||
| 109 | am__v_at_1 = | ||
| 110 | SOURCES = | ||
| 111 | DIST_SOURCES = | ||
| 112 | am__can_run_installinfo = \ | ||
| 113 | case $$AM_UPDATE_INFO_DIR in \ | ||
| 114 | n|no|NO) false;; \ | ||
| 115 | *) (install-info --version) >/dev/null 2>&1;; \ | ||
| 116 | esac | ||
| 117 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) | ||
| 118 | am__tty_colors_dummy = \ | ||
| 119 | mgn= red= grn= lgn= blu= brg= std=; \ | ||
| 120 | am__color_tests=no | ||
| 121 | am__tty_colors = { \ | ||
| 122 | $(am__tty_colors_dummy); \ | ||
| 123 | if test "X$(AM_COLOR_TESTS)" = Xno; then \ | ||
| 124 | am__color_tests=no; \ | ||
| 125 | elif test "X$(AM_COLOR_TESTS)" = Xalways; then \ | ||
| 126 | am__color_tests=yes; \ | ||
| 127 | elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \ | ||
| 128 | am__color_tests=yes; \ | ||
| 129 | fi; \ | ||
| 130 | if test $$am__color_tests = yes; then \ | ||
| 131 | red='[0;31m'; \ | ||
| 132 | grn='[0;32m'; \ | ||
| 133 | lgn='[1;32m'; \ | ||
| 134 | blu='[1;34m'; \ | ||
| 135 | mgn='[0;35m'; \ | ||
| 136 | brg='[1m'; \ | ||
| 137 | std='[m'; \ | ||
| 138 | fi; \ | ||
| 139 | } | ||
| 140 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; | ||
| 141 | am__vpath_adj = case $$p in \ | ||
| 142 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ | ||
| 143 | *) f=$$p;; \ | ||
| 144 | esac; | ||
| 145 | am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; | ||
| 146 | am__install_max = 40 | ||
| 147 | am__nobase_strip_setup = \ | ||
| 148 | srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` | ||
| 149 | am__nobase_strip = \ | ||
| 150 | for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" | ||
| 151 | am__nobase_list = $(am__nobase_strip_setup); \ | ||
| 152 | for p in $$list; do echo "$$p $$p"; done | \ | ||
| 153 | sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ | ||
| 154 | $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ | ||
| 155 | if (++n[$$2] == $(am__install_max)) \ | ||
| 156 | { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ | ||
| 157 | END { for (dir in files) print dir, files[dir] }' | ||
| 158 | am__base_list = \ | ||
| 159 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ | ||
| 160 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | ||
| 161 | am__uninstall_files_from_dir = { \ | ||
| 162 | test -z "$$files" \ | ||
| 163 | || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ | ||
| 164 | || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ | ||
| 165 | $(am__cd) "$$dir" && rm -f $$files; }; \ | ||
| 166 | } | ||
| 167 | am__recheck_rx = ^[ ]*:recheck:[ ]* | ||
| 168 | am__global_test_result_rx = ^[ ]*:global-test-result:[ ]* | ||
| 169 | am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]* | ||
| 170 | # A command that, given a newline-separated list of test names on the | ||
| 171 | # standard input, print the name of the tests that are to be re-run | ||
| 172 | # upon "make recheck". | ||
| 173 | am__list_recheck_tests = $(AWK) '{ \ | ||
| 174 | recheck = 1; \ | ||
| 175 | while ((rc = (getline line < ($$0 ".trs"))) != 0) \ | ||
| 176 | { \ | ||
| 177 | if (rc < 0) \ | ||
| 178 | { \ | ||
| 179 | if ((getline line2 < ($$0 ".log")) < 0) \ | ||
| 180 | recheck = 0; \ | ||
| 181 | break; \ | ||
| 182 | } \ | ||
| 183 | else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \ | ||
| 184 | { \ | ||
| 185 | recheck = 0; \ | ||
| 186 | break; \ | ||
| 187 | } \ | ||
| 188 | else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \ | ||
| 189 | { \ | ||
| 190 | break; \ | ||
| 191 | } \ | ||
| 192 | }; \ | ||
| 193 | if (recheck) \ | ||
| 194 | print $$0; \ | ||
| 195 | close ($$0 ".trs"); \ | ||
| 196 | close ($$0 ".log"); \ | ||
| 197 | }' | ||
| 198 | # A command that, given a newline-separated list of test names on the | ||
| 199 | # standard input, create the global log from their .trs and .log files. | ||
| 200 | am__create_global_log = $(AWK) ' \ | ||
| 201 | function fatal(msg) \ | ||
| 202 | { \ | ||
| 203 | print "fatal: making $@: " msg | "cat >&2"; \ | ||
| 204 | exit 1; \ | ||
| 205 | } \ | ||
| 206 | function rst_section(header) \ | ||
| 207 | { \ | ||
| 208 | print header; \ | ||
| 209 | len = length(header); \ | ||
| 210 | for (i = 1; i <= len; i = i + 1) \ | ||
| 211 | printf "="; \ | ||
| 212 | printf "\n\n"; \ | ||
| 213 | } \ | ||
| 214 | { \ | ||
| 215 | copy_in_global_log = 1; \ | ||
| 216 | global_test_result = "RUN"; \ | ||
| 217 | while ((rc = (getline line < ($$0 ".trs"))) != 0) \ | ||
| 218 | { \ | ||
| 219 | if (rc < 0) \ | ||
| 220 | fatal("failed to read from " $$0 ".trs"); \ | ||
| 221 | if (line ~ /$(am__global_test_result_rx)/) \ | ||
| 222 | { \ | ||
| 223 | sub("$(am__global_test_result_rx)", "", line); \ | ||
| 224 | sub("[ ]*$$", "", line); \ | ||
| 225 | global_test_result = line; \ | ||
| 226 | } \ | ||
| 227 | else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \ | ||
| 228 | copy_in_global_log = 0; \ | ||
| 229 | }; \ | ||
| 230 | if (copy_in_global_log) \ | ||
| 231 | { \ | ||
| 232 | rst_section(global_test_result ": " $$0); \ | ||
| 233 | while ((rc = (getline line < ($$0 ".log"))) != 0) \ | ||
| 234 | { \ | ||
| 235 | if (rc < 0) \ | ||
| 236 | fatal("failed to read from " $$0 ".log"); \ | ||
| 237 | print line; \ | ||
| 238 | }; \ | ||
| 239 | printf "\n"; \ | ||
| 240 | }; \ | ||
| 241 | close ($$0 ".trs"); \ | ||
| 242 | close ($$0 ".log"); \ | ||
| 243 | }' | ||
| 244 | # Restructured Text title. | ||
| 245 | am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; } | ||
| 246 | # Solaris 10 'make', and several other traditional 'make' implementations, | ||
| 247 | # pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it | ||
| 248 | # by disabling -e (using the XSI extension "set +e") if it's set. | ||
| 249 | am__sh_e_setup = case $$- in *e*) set +e;; esac | ||
| 250 | # Default flags passed to test drivers. | ||
| 251 | am__common_driver_flags = \ | ||
| 252 | --color-tests "$$am__color_tests" \ | ||
| 253 | --enable-hard-errors "$$am__enable_hard_errors" \ | ||
| 254 | --expect-failure "$$am__expect_failure" | ||
| 255 | # To be inserted before the command running the test. Creates the | ||
| 256 | # directory for the log if needed. Stores in $dir the directory | ||
| 257 | # containing $f, in $tst the test, in $log the log. Executes the | ||
| 258 | # developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and | ||
| 259 | # passes TESTS_ENVIRONMENT. Set up options for the wrapper that | ||
| 260 | # will run the test scripts (or their associated LOG_COMPILER, if | ||
| 261 | # thy have one). | ||
| 262 | am__check_pre = \ | ||
| 263 | $(am__sh_e_setup); \ | ||
| 264 | $(am__vpath_adj_setup) $(am__vpath_adj) \ | ||
| 265 | $(am__tty_colors); \ | ||
| 266 | srcdir=$(srcdir); export srcdir; \ | ||
| 267 | case "$@" in \ | ||
| 268 | */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \ | ||
| 269 | *) am__odir=.;; \ | ||
| 270 | esac; \ | ||
| 271 | test "x$$am__odir" = x"." || test -d "$$am__odir" \ | ||
| 272 | || $(MKDIR_P) "$$am__odir" || exit $$?; \ | ||
| 273 | if test -f "./$$f"; then dir=./; \ | ||
| 274 | elif test -f "$$f"; then dir=; \ | ||
| 275 | else dir="$(srcdir)/"; fi; \ | ||
| 276 | tst=$$dir$$f; log='$@'; \ | ||
| 277 | if test -n '$(DISABLE_HARD_ERRORS)'; then \ | ||
| 278 | am__enable_hard_errors=no; \ | ||
| 279 | else \ | ||
| 280 | am__enable_hard_errors=yes; \ | ||
| 281 | fi; \ | ||
| 282 | case " $(XFAIL_TESTS) " in \ | ||
| 283 | *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \ | ||
| 284 | am__expect_failure=yes;; \ | ||
| 285 | *) \ | ||
| 286 | am__expect_failure=no;; \ | ||
| 287 | esac; \ | ||
| 288 | $(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT) | ||
| 289 | # A shell command to get the names of the tests scripts with any registered | ||
| 290 | # extension removed (i.e., equivalently, the names of the test logs, with | ||
| 291 | # the '.log' extension removed). The result is saved in the shell variable | ||
| 292 | # '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly, | ||
| 293 | # we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)", | ||
| 294 | # since that might cause problem with VPATH rewrites for suffix-less tests. | ||
| 295 | # See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'. | ||
| 296 | am__set_TESTS_bases = \ | ||
| 297 | bases='$(TEST_LOGS)'; \ | ||
| 298 | bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \ | ||
| 299 | bases=`echo $$bases` | ||
| 300 | RECHECK_LOGS = $(TEST_LOGS) | ||
| 301 | AM_RECURSIVE_TARGETS = check recheck | ||
| 302 | TEST_SUITE_LOG = test-suite.log | ||
| 303 | TEST_EXTENSIONS = @EXEEXT@ .test | ||
| 304 | LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver | ||
| 305 | LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS) | ||
| 306 | am__set_b = \ | ||
| 307 | case '$@' in \ | ||
| 308 | */*) \ | ||
| 309 | case '$*' in \ | ||
| 310 | */*) b='$*';; \ | ||
| 311 | *) b=`echo '$@' | sed 's/\.log$$//'`; \ | ||
| 312 | esac;; \ | ||
| 313 | *) \ | ||
| 314 | b='$*';; \ | ||
| 315 | esac | ||
| 316 | am__test_logs1 = $(TESTS:=.log) | ||
| 317 | am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log) | ||
| 318 | TEST_LOGS = $(am__test_logs2:.test.log=.log) | ||
| 319 | TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver | ||
| 320 | TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \ | ||
| 321 | $(TEST_LOG_FLAGS) | ||
| 322 | am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/test-driver | ||
| 323 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
| 324 | ACLOCAL = @ACLOCAL@ | ||
| 325 | AMTAR = @AMTAR@ | ||
| 326 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | ||
| 327 | AUTOCONF = @AUTOCONF@ | ||
| 328 | AUTOHEADER = @AUTOHEADER@ | ||
| 329 | AUTOMAKE = @AUTOMAKE@ | ||
| 330 | AWK = @AWK@ | ||
| 331 | CC = @CC@ | ||
| 332 | CCDEPMODE = @CCDEPMODE@ | ||
| 333 | CFLAGS = @CFLAGS@ | ||
| 334 | CPP = @CPP@ | ||
| 335 | CPPFLAGS = @CPPFLAGS@ | ||
| 336 | CYGPATH_W = @CYGPATH_W@ | ||
| 337 | DEFS = @DEFS@ | ||
| 338 | DEPDIR = @DEPDIR@ | ||
| 339 | ECHO_C = @ECHO_C@ | ||
| 340 | ECHO_N = @ECHO_N@ | ||
| 341 | ECHO_T = @ECHO_T@ | ||
| 342 | EGREP = @EGREP@ | ||
| 343 | EXEEXT = @EXEEXT@ | ||
| 344 | GREP = @GREP@ | ||
| 345 | INSTALL = @INSTALL@ | ||
| 346 | INSTALL_DATA = @INSTALL_DATA@ | ||
| 347 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||
| 348 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||
| 349 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||
| 350 | LDFLAGS = @LDFLAGS@ | ||
| 351 | LIBOBJS = @LIBOBJS@ | ||
| 352 | LIBS = @LIBS@ | ||
| 353 | LTLIBOBJS = @LTLIBOBJS@ | ||
| 354 | MAKEINFO = @MAKEINFO@ | ||
| 355 | MKDIR_P = @MKDIR_P@ | ||
| 356 | OBJEXT = @OBJEXT@ | ||
| 357 | PACKAGE = @PACKAGE@ | ||
| 358 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||
| 359 | PACKAGE_NAME = @PACKAGE_NAME@ | ||
| 360 | PACKAGE_STRING = @PACKAGE_STRING@ | ||
| 361 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||
| 362 | PACKAGE_URL = @PACKAGE_URL@ | ||
| 363 | PACKAGE_VERSION = @PACKAGE_VERSION@ | ||
| 364 | PATH_SEPARATOR = @PATH_SEPARATOR@ | ||
| 365 | SET_MAKE = @SET_MAKE@ | ||
| 366 | SHELL = @SHELL@ | ||
| 367 | STRIP = @STRIP@ | ||
| 368 | VERSION = @VERSION@ | ||
| 369 | abs_builddir = @abs_builddir@ | ||
| 370 | abs_srcdir = @abs_srcdir@ | ||
| 371 | abs_top_builddir = @abs_top_builddir@ | ||
| 372 | abs_top_srcdir = @abs_top_srcdir@ | ||
| 373 | ac_ct_CC = @ac_ct_CC@ | ||
| 374 | am__include = @am__include@ | ||
| 375 | am__leading_dot = @am__leading_dot@ | ||
| 376 | am__quote = @am__quote@ | ||
| 377 | am__tar = @am__tar@ | ||
| 378 | am__untar = @am__untar@ | ||
| 379 | bindir = @bindir@ | ||
| 380 | build_alias = @build_alias@ | ||
| 381 | builddir = @builddir@ | ||
| 382 | datadir = @datadir@ | ||
| 383 | datarootdir = @datarootdir@ | ||
| 384 | docdir = @docdir@ | ||
| 385 | dvidir = @dvidir@ | ||
| 386 | exec_prefix = @exec_prefix@ | ||
| 387 | host_alias = @host_alias@ | ||
| 388 | htmldir = @htmldir@ | ||
| 389 | includedir = @includedir@ | ||
| 390 | infodir = @infodir@ | ||
| 391 | install_sh = @install_sh@ | ||
| 392 | libdir = @libdir@ | ||
| 393 | libexecdir = @libexecdir@ | ||
| 394 | localedir = @localedir@ | ||
| 395 | localstatedir = @localstatedir@ | ||
| 396 | mandir = @mandir@ | ||
| 397 | mkdir_p = @mkdir_p@ | ||
| 398 | oldincludedir = @oldincludedir@ | ||
| 399 | pdfdir = @pdfdir@ | ||
| 400 | prefix = @prefix@ | ||
| 401 | program_transform_name = @program_transform_name@ | ||
| 402 | psdir = @psdir@ | ||
| 403 | runstatedir = @runstatedir@ | ||
| 404 | sbindir = @sbindir@ | ||
| 405 | sharedstatedir = @sharedstatedir@ | ||
| 406 | srcdir = @srcdir@ | ||
| 407 | sysconfdir = @sysconfdir@ | ||
| 408 | target_alias = @target_alias@ | ||
| 409 | top_build_prefix = @top_build_prefix@ | ||
| 410 | top_builddir = @top_builddir@ | ||
| 411 | top_srcdir = @top_srcdir@ | ||
| 412 | sh_TESTS = sanity blank.sh | ||
| 413 | TESTS = $(sh_TESTS) | ||
| 414 | EXTRA_DIST = $(sh_TESTS) | ||
| 415 | all: all-am | ||
| 416 | |||
| 417 | .SUFFIXES: | ||
| 418 | .SUFFIXES: .log .test .test$(EXEEXT) .trs | ||
| 419 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | ||
| 420 | @for dep in $?; do \ | ||
| 421 | case '$(am__configure_deps)' in \ | ||
| 422 | *$$dep*) \ | ||
| 423 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | ||
| 424 | && { if test -f $@; then exit 0; else break; fi; }; \ | ||
| 425 | exit 1;; \ | ||
| 426 | esac; \ | ||
| 427 | done; \ | ||
| 428 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu test/Makefile'; \ | ||
| 429 | $(am__cd) $(top_srcdir) && \ | ||
| 430 | $(AUTOMAKE) --gnu test/Makefile | ||
| 431 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
| 432 | @case '$?' in \ | ||
| 433 | *config.status*) \ | ||
| 434 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | ||
| 435 | *) \ | ||
| 436 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | ||
| 437 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | ||
| 438 | esac; | ||
| 439 | |||
| 440 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||
| 441 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
| 442 | |||
| 443 | $(top_srcdir)/configure: $(am__configure_deps) | ||
| 444 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
| 445 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | ||
| 446 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
| 447 | $(am__aclocal_m4_deps): | ||
| 448 | tags TAGS: | ||
| 449 | |||
| 450 | ctags CTAGS: | ||
| 451 | |||
| 452 | cscope cscopelist: | ||
| 453 | |||
| 454 | |||
| 455 | # Recover from deleted '.trs' file; this should ensure that | ||
| 456 | # "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create | ||
| 457 | # both 'foo.log' and 'foo.trs'. Break the recipe in two subshells | ||
| 458 | # to avoid problems with "make -n". | ||
| 459 | .log.trs: | ||
| 460 | rm -f $< $@ | ||
| 461 | $(MAKE) $(AM_MAKEFLAGS) $< | ||
| 462 | |||
| 463 | # Leading 'am--fnord' is there to ensure the list of targets does not | ||
| 464 | # expand to empty, as could happen e.g. with make check TESTS=''. | ||
| 465 | am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck) | ||
| 466 | am--force-recheck: | ||
| 467 | @: | ||
| 468 | |||
| 469 | $(TEST_SUITE_LOG): $(TEST_LOGS) | ||
| 470 | @$(am__set_TESTS_bases); \ | ||
| 471 | am__f_ok () { test -f "$$1" && test -r "$$1"; }; \ | ||
| 472 | redo_bases=`for i in $$bases; do \ | ||
| 473 | am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \ | ||
| 474 | done`; \ | ||
| 475 | if test -n "$$redo_bases"; then \ | ||
| 476 | redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \ | ||
| 477 | redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \ | ||
| 478 | if $(am__make_dryrun); then :; else \ | ||
| 479 | rm -f $$redo_logs && rm -f $$redo_results || exit 1; \ | ||
| 480 | fi; \ | ||
| 481 | fi; \ | ||
| 482 | if test -n "$$am__remaking_logs"; then \ | ||
| 483 | echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \ | ||
| 484 | "recursion detected" >&2; \ | ||
| 485 | elif test -n "$$redo_logs"; then \ | ||
| 486 | am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \ | ||
| 487 | fi; \ | ||
| 488 | if $(am__make_dryrun); then :; else \ | ||
| 489 | st=0; \ | ||
| 490 | errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \ | ||
| 491 | for i in $$redo_bases; do \ | ||
| 492 | test -f $$i.trs && test -r $$i.trs \ | ||
| 493 | || { echo "$$errmsg $$i.trs" >&2; st=1; }; \ | ||
| 494 | test -f $$i.log && test -r $$i.log \ | ||
| 495 | || { echo "$$errmsg $$i.log" >&2; st=1; }; \ | ||
| 496 | done; \ | ||
| 497 | test $$st -eq 0 || exit 1; \ | ||
| 498 | fi | ||
| 499 | @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \ | ||
| 500 | ws='[ ]'; \ | ||
| 501 | results=`for b in $$bases; do echo $$b.trs; done`; \ | ||
| 502 | test -n "$$results" || results=/dev/null; \ | ||
| 503 | all=` grep "^$$ws*:test-result:" $$results | wc -l`; \ | ||
| 504 | pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \ | ||
| 505 | fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \ | ||
| 506 | skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \ | ||
| 507 | xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \ | ||
| 508 | xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \ | ||
| 509 | error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \ | ||
| 510 | if test `expr $$fail + $$xpass + $$error` -eq 0; then \ | ||
| 511 | success=true; \ | ||
| 512 | else \ | ||
| 513 | success=false; \ | ||
| 514 | fi; \ | ||
| 515 | br='==================='; br=$$br$$br$$br$$br; \ | ||
| 516 | result_count () \ | ||
| 517 | { \ | ||
| 518 | if test x"$$1" = x"--maybe-color"; then \ | ||
| 519 | maybe_colorize=yes; \ | ||
| 520 | elif test x"$$1" = x"--no-color"; then \ | ||
| 521 | maybe_colorize=no; \ | ||
| 522 | else \ | ||
| 523 | echo "$@: invalid 'result_count' usage" >&2; exit 4; \ | ||
| 524 | fi; \ | ||
| 525 | shift; \ | ||
| 526 | desc=$$1 count=$$2; \ | ||
| 527 | if test $$maybe_colorize = yes && test $$count -gt 0; then \ | ||
| 528 | color_start=$$3 color_end=$$std; \ | ||
| 529 | else \ | ||
| 530 | color_start= color_end=; \ | ||
| 531 | fi; \ | ||
| 532 | echo "$${color_start}# $$desc $$count$${color_end}"; \ | ||
| 533 | }; \ | ||
| 534 | create_testsuite_report () \ | ||
| 535 | { \ | ||
| 536 | result_count $$1 "TOTAL:" $$all "$$brg"; \ | ||
| 537 | result_count $$1 "PASS: " $$pass "$$grn"; \ | ||
| 538 | result_count $$1 "SKIP: " $$skip "$$blu"; \ | ||
| 539 | result_count $$1 "XFAIL:" $$xfail "$$lgn"; \ | ||
| 540 | result_count $$1 "FAIL: " $$fail "$$red"; \ | ||
| 541 | result_count $$1 "XPASS:" $$xpass "$$red"; \ | ||
| 542 | result_count $$1 "ERROR:" $$error "$$mgn"; \ | ||
| 543 | }; \ | ||
| 544 | { \ | ||
| 545 | echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \ | ||
| 546 | $(am__rst_title); \ | ||
| 547 | create_testsuite_report --no-color; \ | ||
| 548 | echo; \ | ||
| 549 | echo ".. contents:: :depth: 2"; \ | ||
| 550 | echo; \ | ||
| 551 | for b in $$bases; do echo $$b; done \ | ||
| 552 | | $(am__create_global_log); \ | ||
| 553 | } >$(TEST_SUITE_LOG).tmp || exit 1; \ | ||
| 554 | mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \ | ||
| 555 | if $$success; then \ | ||
| 556 | col="$$grn"; \ | ||
| 557 | else \ | ||
| 558 | col="$$red"; \ | ||
| 559 | test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \ | ||
| 560 | fi; \ | ||
| 561 | echo "$${col}$$br$${std}"; \ | ||
| 562 | echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \ | ||
| 563 | echo "$${col}$$br$${std}"; \ | ||
| 564 | create_testsuite_report --maybe-color; \ | ||
| 565 | echo "$$col$$br$$std"; \ | ||
| 566 | if $$success; then :; else \ | ||
| 567 | echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \ | ||
| 568 | if test -n "$(PACKAGE_BUGREPORT)"; then \ | ||
| 569 | echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \ | ||
| 570 | fi; \ | ||
| 571 | echo "$$col$$br$$std"; \ | ||
| 572 | fi; \ | ||
| 573 | $$success || exit 1 | ||
| 574 | |||
| 575 | check-TESTS: | ||
| 576 | @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list | ||
| 577 | @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list | ||
| 578 | @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) | ||
| 579 | @set +e; $(am__set_TESTS_bases); \ | ||
| 580 | log_list=`for i in $$bases; do echo $$i.log; done`; \ | ||
| 581 | trs_list=`for i in $$bases; do echo $$i.trs; done`; \ | ||
| 582 | log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \ | ||
| 583 | $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \ | ||
| 584 | exit $$?; | ||
| 585 | recheck: all | ||
| 586 | @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) | ||
| 587 | @set +e; $(am__set_TESTS_bases); \ | ||
| 588 | bases=`for i in $$bases; do echo $$i; done \ | ||
| 589 | | $(am__list_recheck_tests)` || exit 1; \ | ||
| 590 | log_list=`for i in $$bases; do echo $$i.log; done`; \ | ||
| 591 | log_list=`echo $$log_list`; \ | ||
| 592 | $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \ | ||
| 593 | am__force_recheck=am--force-recheck \ | ||
| 594 | TEST_LOGS="$$log_list"; \ | ||
| 595 | exit $$? | ||
| 596 | sanity.log: sanity | ||
| 597 | @p='sanity'; \ | ||
| 598 | b='sanity'; \ | ||
| 599 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
| 600 | --log-file $$b.log --trs-file $$b.trs \ | ||
| 601 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
| 602 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
| 603 | blank.sh.log: blank.sh | ||
| 604 | @p='blank.sh'; \ | ||
| 605 | b='blank.sh'; \ | ||
| 606 | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||
| 607 | --log-file $$b.log --trs-file $$b.trs \ | ||
| 608 | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | ||
| 609 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
| 610 | .test.log: | ||
| 611 | @p='$<'; \ | ||
| 612 | $(am__set_b); \ | ||
| 613 | $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \ | ||
| 614 | --log-file $$b.log --trs-file $$b.trs \ | ||
| 615 | $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ | ||
| 616 | "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
| 617 | @am__EXEEXT_TRUE@.test$(EXEEXT).log: | ||
| 618 | @am__EXEEXT_TRUE@ @p='$<'; \ | ||
| 619 | @am__EXEEXT_TRUE@ $(am__set_b); \ | ||
| 620 | @am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \ | ||
| 621 | @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \ | ||
| 622 | @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ | ||
| 623 | @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT) | ||
| 624 | |||
| 625 | distdir: $(DISTFILES) | ||
| 626 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
| 627 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
| 628 | list='$(DISTFILES)'; \ | ||
| 629 | dist_files=`for file in $$list; do echo $$file; done | \ | ||
| 630 | sed -e "s|^$$srcdirstrip/||;t" \ | ||
| 631 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | ||
| 632 | case $$dist_files in \ | ||
| 633 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | ||
| 634 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | ||
| 635 | sort -u` ;; \ | ||
| 636 | esac; \ | ||
| 637 | for file in $$dist_files; do \ | ||
| 638 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||
| 639 | if test -d $$d/$$file; then \ | ||
| 640 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||
| 641 | if test -d "$(distdir)/$$file"; then \ | ||
| 642 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
| 643 | fi; \ | ||
| 644 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||
| 645 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | ||
| 646 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
| 647 | fi; \ | ||
| 648 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | ||
| 649 | else \ | ||
| 650 | test -f "$(distdir)/$$file" \ | ||
| 651 | || cp -p $$d/$$file "$(distdir)/$$file" \ | ||
| 652 | || exit 1; \ | ||
| 653 | fi; \ | ||
| 654 | done | ||
| 655 | check-am: all-am | ||
| 656 | $(MAKE) $(AM_MAKEFLAGS) check-TESTS | ||
| 657 | check: check-am | ||
| 658 | all-am: Makefile | ||
| 659 | installdirs: | ||
| 660 | install: install-am | ||
| 661 | install-exec: install-exec-am | ||
| 662 | install-data: install-data-am | ||
| 663 | uninstall: uninstall-am | ||
| 664 | |||
| 665 | install-am: all-am | ||
| 666 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
| 667 | |||
| 668 | installcheck: installcheck-am | ||
| 669 | install-strip: | ||
| 670 | if test -z '$(STRIP)'; then \ | ||
| 671 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
| 672 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
| 673 | install; \ | ||
| 674 | else \ | ||
| 675 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
| 676 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
| 677 | "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ | ||
| 678 | fi | ||
| 679 | mostlyclean-generic: | ||
| 680 | -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS) | ||
| 681 | -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs) | ||
| 682 | -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) | ||
| 683 | |||
| 684 | clean-generic: | ||
| 685 | |||
| 686 | distclean-generic: | ||
| 687 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||
| 688 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | ||
| 689 | |||
| 690 | maintainer-clean-generic: | ||
| 691 | @echo "This command is intended for maintainers to use" | ||
| 692 | @echo "it deletes files that may require special tools to rebuild." | ||
| 693 | clean: clean-am | ||
| 694 | |||
| 695 | clean-am: clean-generic mostlyclean-am | ||
| 696 | |||
| 697 | distclean: distclean-am | ||
| 698 | -rm -f Makefile | ||
| 699 | distclean-am: clean-am distclean-generic | ||
| 700 | |||
| 701 | dvi: dvi-am | ||
| 702 | |||
| 703 | dvi-am: | ||
| 704 | |||
| 705 | html: html-am | ||
| 706 | |||
| 707 | html-am: | ||
| 708 | |||
| 709 | info: info-am | ||
| 710 | |||
| 711 | info-am: | ||
| 712 | |||
| 713 | install-data-am: | ||
| 714 | |||
| 715 | install-dvi: install-dvi-am | ||
| 716 | |||
| 717 | install-dvi-am: | ||
| 718 | |||
| 719 | install-exec-am: | ||
| 720 | |||
| 721 | install-html: install-html-am | ||
| 722 | |||
| 723 | install-html-am: | ||
| 724 | |||
| 725 | install-info: install-info-am | ||
| 726 | |||
| 727 | install-info-am: | ||
| 728 | |||
| 729 | install-man: | ||
| 730 | |||
| 731 | install-pdf: install-pdf-am | ||
| 732 | |||
| 733 | install-pdf-am: | ||
| 734 | |||
| 735 | install-ps: install-ps-am | ||
| 736 | |||
| 737 | install-ps-am: | ||
| 738 | |||
| 739 | installcheck-am: | ||
| 740 | |||
| 741 | maintainer-clean: maintainer-clean-am | ||
| 742 | -rm -f Makefile | ||
| 743 | maintainer-clean-am: distclean-am maintainer-clean-generic | ||
| 744 | |||
| 745 | mostlyclean: mostlyclean-am | ||
| 746 | |||
| 747 | mostlyclean-am: mostlyclean-generic | ||
| 748 | |||
| 749 | pdf: pdf-am | ||
| 750 | |||
| 751 | pdf-am: | ||
| 752 | |||
| 753 | ps: ps-am | ||
| 754 | |||
| 755 | ps-am: | ||
| 756 | |||
| 757 | uninstall-am: | ||
| 758 | |||
| 759 | .MAKE: check-am install-am install-strip | ||
| 760 | |||
| 761 | .PHONY: all all-am check check-TESTS check-am clean clean-generic \ | ||
| 762 | cscopelist-am ctags-am distclean distclean-generic distdir dvi \ | ||
| 763 | dvi-am html html-am info info-am install install-am \ | ||
| 764 | install-data install-data-am install-dvi install-dvi-am \ | ||
| 765 | install-exec install-exec-am install-html install-html-am \ | ||
| 766 | install-info install-info-am install-man install-pdf \ | ||
| 767 | install-pdf-am install-ps install-ps-am install-strip \ | ||
| 768 | installcheck installcheck-am installdirs maintainer-clean \ | ||
| 769 | maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ | ||
| 770 | pdf-am ps ps-am recheck tags-am uninstall uninstall-am | ||
| 771 | |||
| 772 | .PRECIOUS: Makefile | ||
| 773 | |||
| 774 | |||
| 775 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||
| 776 | # Otherwise a system limit (for SysV at least) may be exceeded. | ||
| 777 | .NOEXPORT: | ||
