Changeset 8c17ab0
- Timestamp:
- Nov 13, 2014, 3:09:54 PM (11 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
- Children:
- c8ffe20b
- Parents:
- 134b86a
- Files:
-
- 1 deleted
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
r134b86a r8c17ab0 1 # Makefile.in generated by automake 1.6.3 from Makefile.am. 2 # Generated automatically from Makefile.in by configure. 3 4 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 5 # Free Software Foundation, Inc. 1 # Makefile.in generated by automake 1.11.3 from Makefile.am. 2 # Makefile. Generated from Makefile.in by configure. 3 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software 6 # Foundation, Inc. 6 7 # This Makefile.in is free software; the Free Software Foundation 7 8 # gives unlimited permission to copy and/or distribute it, … … 14 15 15 16 16 SHELL = /bin/sh 17 18 srcdir = . 19 top_srcdir = . 20 21 prefix = /u/pabuhr/software/cfa/cfa-cc 22 exec_prefix = ${prefix} 23 24 bindir = ${exec_prefix}/bin 25 sbindir = ${exec_prefix}/sbin 26 libexecdir = ${exec_prefix}/libexec 27 datadir = ${prefix}/share 28 sysconfdir = ${prefix}/etc 29 sharedstatedir = ${prefix}/com 30 localstatedir = ${prefix}/var 31 libdir = ${exec_prefix}/lib 32 infodir = ${prefix}/info 33 mandir = ${prefix}/man 34 includedir = ${prefix}/include 35 oldincludedir = /usr/include 17 36 18 pkgdatadir = $(datadir)/cfa 19 pkgincludedir = $(includedir)/cfa 37 20 pkglibdir = $(libdir)/cfa 38 pkgincludedir = $(includedir)/cfa 39 top_builddir = . 40 41 ACLOCAL = ${SHELL} /u/pabuhr/software/cfa/cfa-cc/missing --run aclocal-1.6 42 AUTOCONF = ${SHELL} /u/pabuhr/software/cfa/cfa-cc/missing --run autoconf 43 AUTOMAKE = ${SHELL} /u/pabuhr/software/cfa/cfa-cc/missing --run automake-1.6 44 AUTOHEADER = ${SHELL} /u/pabuhr/software/cfa/cfa-cc/missing --run autoheader 45 21 pkglibexecdir = $(libexecdir)/cfa 46 22 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 47 INSTALL = /usr/bin/install -c48 INSTALL_PROGRAM = ${INSTALL}49 INSTALL_DATA = ${INSTALL} -m 64450 23 install_sh_DATA = $(install_sh) -c -m 644 51 24 install_sh_PROGRAM = $(install_sh) -c 52 25 install_sh_SCRIPT = $(install_sh) -c 53 INSTALL_SCRIPT = ${INSTALL}54 26 INSTALL_HEADER = $(INSTALL_DATA) 55 transform = s,x,x,27 transform = $(program_transform_name) 56 28 NORMAL_INSTALL = : 57 29 PRE_INSTALL = : … … 60 32 PRE_UNINSTALL = : 61 33 POST_UNINSTALL = : 62 63 EXEEXT = 64 OBJEXT = o 65 PATH_SEPARATOR = : 66 AMTAR = ${SHELL} /u/pabuhr/software/cfa/cfa-cc/missing --run tar 67 AWK = mawk 68 34 subdir = . 35 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ 36 $(srcdir)/Makefile.in $(srcdir)/config.h.in \ 37 $(top_srcdir)/configure $(top_srcdir)/driver/Makefile.in \ 38 $(top_srcdir)/libcfa/Makefile.in \ 39 $(top_srcdir)/translator/Makefile.in AUTHORS COPYING ChangeLog \ 40 INSTALL NEWS install-sh missing mkinstalldirs 41 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 42 am__aclocal_m4_deps = $(top_srcdir)/configure.in 43 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 44 $(ACLOCAL_M4) 45 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ 46 configure.lineno config.status.lineno 47 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 48 CONFIG_HEADER = config.h 49 CONFIG_CLEAN_FILES = translator/Makefile driver/Makefile \ 50 libcfa/Makefile 51 CONFIG_CLEAN_VPATH_FILES = 52 SOURCES = 53 DIST_SOURCES = 54 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ 55 html-recursive info-recursive install-data-recursive \ 56 install-dvi-recursive install-exec-recursive \ 57 install-html-recursive install-info-recursive \ 58 install-pdf-recursive install-ps-recursive install-recursive \ 59 installcheck-recursive installdirs-recursive pdf-recursive \ 60 ps-recursive uninstall-recursive 61 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ 62 distclean-recursive maintainer-clean-recursive 63 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ 64 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ 65 distdir dist dist-all distcheck 66 ETAGS = etags 67 CTAGS = ctags 68 DIST_SUBDIRS = $(SUBDIRS) 69 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 70 distdir = $(PACKAGE)-$(VERSION) 71 top_distdir = $(distdir) 72 am__remove_distdir = \ 73 if test -d "$(distdir)"; then \ 74 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ 75 && rm -rf "$(distdir)" \ 76 || { sleep 5 && rm -rf "$(distdir)"; }; \ 77 else :; fi 78 am__relativize = \ 79 dir0=`pwd`; \ 80 sed_first='s,^\([^/]*\)/.*$$,\1,'; \ 81 sed_rest='s,^[^/]*/*,,'; \ 82 sed_last='s,^.*/\([^/]*\)$$,\1,'; \ 83 sed_butlast='s,/*[^/]*$$,,'; \ 84 while test -n "$$dir1"; do \ 85 first=`echo "$$dir1" | sed -e "$$sed_first"`; \ 86 if test "$$first" != "."; then \ 87 if test "$$first" = ".."; then \ 88 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ 89 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ 90 else \ 91 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ 92 if test "$$first2" = "$$first"; then \ 93 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ 94 else \ 95 dir2="../$$dir2"; \ 96 fi; \ 97 dir0="$$dir0"/"$$first"; \ 98 fi; \ 99 fi; \ 100 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ 101 done; \ 102 reldir="$$dir2" 103 DIST_ARCHIVES = $(distdir).tar.gz 104 GZIP_ENV = --best 105 distuninstallcheck_listfiles = find . -type f -print 106 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ 107 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' 108 distcleancheck_listfiles = find . -type f -print 109 ACLOCAL = ${SHELL} /u/pabuhr/software/cfa/cfa-cc/missing --run aclocal-1.11 110 AMTAR = $${TAR-tar} 111 AUTOCONF = ${SHELL} /u/pabuhr/software/cfa/cfa-cc/missing --run autoconf 112 AUTOHEADER = ${SHELL} /u/pabuhr/software/cfa/cfa-cc/missing --run autoheader 113 AUTOMAKE = ${SHELL} /u/pabuhr/software/cfa/cfa-cc/missing --run automake-1.11 114 AWK = gawk 69 115 BACKEND_CC = /u/pabuhr/bin/gcc 70 116 CC = gcc 117 CCDEPMODE = depmode=none 71 118 CFA_BINDIR = /u/pabuhr/software/cfa/cfa-cc/bin 119 CFA_INCDIR = /u/pabuhr/software/cfa/cfa-cc/include 72 120 CFA_LIBDIR = /u/pabuhr/software/cfa/cfa-cc/lib 73 121 CFA_PREFIX = /u/pabuhr/software/cfa/cfa-cc 122 CFLAGS = -g -O2 123 CPP = gcc -E 124 CPPFLAGS = 74 125 CPP_PATH = /usr/bin/cpp 75 126 CXX = g++ 127 CXXDEPMODE = depmode=none 128 CXXFLAGS = -g -O2 129 CYGPATH_W = echo 130 DEFS = -DHAVE_CONFIG_H 76 131 DEPDIR = .deps 132 ECHO_C = 133 ECHO_N = -n 134 ECHO_T = 135 EGREP = /bin/grep -E 136 EXEEXT = 77 137 GCC_PATH = /u/pabuhr/bin/gcc 78 INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s 138 GREP = /bin/grep 139 INSTALL = /usr/bin/install -c 140 INSTALL_DATA = ${INSTALL} -m 644 141 INSTALL_PROGRAM = ${INSTALL} 142 INSTALL_SCRIPT = ${INSTALL} 143 INSTALL_STRIP_PROGRAM = $(install_sh) -c -s 144 LDFLAGS = 79 145 LEX = flex 80 146 LEXLIB = -lfl 81 147 LEX_OUTPUT_ROOT = lex.yy 148 LIBOBJS = 149 LIBS = 150 LTLIBOBJS = 151 MAKEINFO = ${SHELL} /u/pabuhr/software/cfa/cfa-cc/missing --run makeinfo 152 MKDIR_P = /bin/mkdir -p 153 OBJEXT = o 82 154 PACKAGE = cfa 155 PACKAGE_BUGREPORT = cforall@plg.uwaterloo.ca 156 PACKAGE_NAME = cfa-cc 157 PACKAGE_STRING = cfa-cc 1.0 158 PACKAGE_TARNAME = cfa-cc 159 PACKAGE_URL = 160 PACKAGE_VERSION = 1.0 161 PATH_SEPARATOR = : 162 SET_MAKE = 163 SHELL = /bin/bash 83 164 STRIP = 84 165 VERSION = 1.0 85 166 YACC = bison -y 167 YFLAGS = 168 abs_builddir = /u/pabuhr/software/cfa/cfa-cc 169 abs_srcdir = /u/pabuhr/software/cfa/cfa-cc 170 abs_top_builddir = /u/pabuhr/software/cfa/cfa-cc 171 abs_top_srcdir = /u/pabuhr/software/cfa/cfa-cc 172 ac_ct_CC = gcc 173 ac_ct_CXX = g++ 86 174 am__include = include 175 am__leading_dot = . 87 176 am__quote = 88 install_sh = /u/pabuhr/software/cfa/cfa-cc/install-sh 177 am__tar = $${TAR-tar} chof - "$$tardir" 178 am__untar = $${TAR-tar} xf - 179 bindir = ${exec_prefix}/bin 180 build_alias = 181 builddir = . 182 datadir = ${datarootdir} 183 datarootdir = ${prefix}/share 184 docdir = ${datarootdir}/doc/${PACKAGE_TARNAME} 185 dvidir = ${docdir} 186 exec_prefix = ${prefix} 187 host_alias = 188 htmldir = ${docdir} 189 includedir = ${prefix}/include 190 infodir = ${datarootdir}/info 191 install_sh = ${SHELL} /u/pabuhr/software/cfa/cfa-cc/install-sh 192 libdir = ${exec_prefix}/lib 193 libexecdir = ${exec_prefix}/libexec 194 localedir = ${datarootdir}/locale 195 localstatedir = ${prefix}/var 196 mandir = ${datarootdir}/man 197 mkdir_p = /bin/mkdir -p 198 oldincludedir = /usr/include 199 pdfdir = ${docdir} 200 prefix = /u/pabuhr/software/cfa/cfa-cc 89 201 preludedir = /u/pabuhr/software/cfa/cfa-cc/share/cfa 202 program_transform_name = s,x,x, 203 psdir = ${docdir} 204 sbindir = ${exec_prefix}/sbin 205 sharedstatedir = ${prefix}/com 206 srcdir = . 207 sysconfdir = ${prefix}/etc 208 target_alias = 209 top_build_prefix = 210 top_builddir = . 211 top_srcdir = . 90 212 SUBDIRS = translator driver libcfa 91 213 92 214 # non-source files 93 215 EXTRA_DIST = Docs 94 subdir = .95 ACLOCAL_M4 = $(top_srcdir)/aclocal.m496 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs97 CONFIG_HEADER = config.h98 CONFIG_CLEAN_FILES = translator/Makefile driver/Makefile libcfa/Makefile99 DIST_SOURCES =100 101 RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \102 uninstall-info-recursive all-recursive install-data-recursive \103 install-exec-recursive installdirs-recursive install-recursive \104 uninstall-recursive check-recursive installcheck-recursive105 DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \106 Makefile.in NEWS acconfig.h aclocal.m4 config.h.in configure \107 configure.in install-sh missing mkinstalldirs108 DIST_SUBDIRS = $(SUBDIRS)109 216 all: config.h 110 217 $(MAKE) $(AM_MAKEFLAGS) all-recursive 111 218 112 219 .SUFFIXES: 113 114 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ 115 configure.lineno 116 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 117 cd $(top_srcdir) && \ 118 $(AUTOMAKE) --gnu Makefile 119 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 120 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe) 121 122 $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 220 am--refresh: Makefile 221 @: 222 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) 223 @for dep in $?; do \ 224 case '$(am__configure_deps)' in \ 225 *$$dep*) \ 226 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ 227 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ 228 && exit 0; \ 229 exit 1;; \ 230 esac; \ 231 done; \ 232 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ 233 $(am__cd) $(top_srcdir) && \ 234 $(AUTOMAKE) --gnu Makefile 235 .PRECIOUS: Makefile 236 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 237 @case '$?' in \ 238 *config.status*) \ 239 echo ' $(SHELL) ./config.status'; \ 240 $(SHELL) ./config.status;; \ 241 *) \ 242 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ 243 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ 244 esac; 245 246 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 123 247 $(SHELL) ./config.status --recheck 124 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) 125 cd $(srcdir) && $(AUTOCONF) 126 127 $(ACLOCAL_M4): configure.in 128 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) 248 249 $(top_srcdir)/configure: $(am__configure_deps) 250 $(am__cd) $(srcdir) && $(AUTOCONF) 251 $(ACLOCAL_M4): $(am__aclocal_m4_deps) 252 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) 253 $(am__aclocal_m4_deps): 129 254 130 255 config.h: stamp-h1 131 @if test ! -f $@; then \ 132 rm -f stamp-h1; \ 133 $(MAKE) stamp-h1; \ 134 else :; fi 256 @if test ! -f $@; then rm -f stamp-h1; else :; fi 257 @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi 135 258 136 259 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status 137 260 @rm -f stamp-h1 138 261 cd $(top_builddir) && $(SHELL) ./config.status config.h 139 140 $(srcdir)/config.h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/acconfig.h 141 cd $(top_srcdir) && $(AUTOHEADER)142 touch $ (srcdir)/config.h.in262 $(srcdir)/config.h.in: $(am__configure_deps) 263 ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) 264 rm -f stamp-h1 265 touch $@ 143 266 144 267 distclean-hdr: … … 150 273 libcfa/Makefile: $(top_builddir)/config.status $(top_srcdir)/libcfa/Makefile.in 151 274 cd $(top_builddir) && $(SHELL) ./config.status $@ 152 uninstall-info-am:153 275 154 276 # This directory's subdirectories are mostly independent; you can cd … … 159 281 # (2) otherwise, pass the desired values on the `make' command line. 160 282 $(RECURSIVE_TARGETS): 161 @set fnord $$MAKEFLAGS; amf=$$2; \ 283 @fail= failcom='exit 1'; \ 284 for f in x $$MAKEFLAGS; do \ 285 case $$f in \ 286 *=* | --[!k]*);; \ 287 *k*) failcom='fail=yes';; \ 288 esac; \ 289 done; \ 162 290 dot_seen=no; \ 163 291 target=`echo $@ | sed s/-recursive//`; \ … … 170 298 local_target="$$target"; \ 171 299 fi; \ 172 ( cd$$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \173 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \300 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ 301 || eval $$failcom; \ 174 302 done; \ 175 303 if test "$$dot_seen" = "no"; then \ … … 177 305 fi; test -z "$$fail" 178 306 179 mostlyclean-recursive clean-recursive distclean-recursive \ 180 maintainer-clean-recursive: 181 @set fnord $$MAKEFLAGS; amf=$$2; \ 307 $(RECURSIVE_CLEAN_TARGETS): 308 @fail= failcom='exit 1'; \ 309 for f in x $$MAKEFLAGS; do \ 310 case $$f in \ 311 *=* | --[!k]*);; \ 312 *k*) failcom='fail=yes';; \ 313 esac; \ 314 done; \ 182 315 dot_seen=no; \ 183 316 case "$@" in \ … … 199 332 local_target="$$target"; \ 200 333 fi; \ 201 ( cd$$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \202 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \334 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ 335 || eval $$failcom; \ 203 336 done && test -z "$$fail" 204 337 tags-recursive: 205 338 list='$(SUBDIRS)'; for subdir in $$list; do \ 206 test "$$subdir" = . || ( cd$$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \339 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ 207 340 done 208 209 ETAGS = etags 210 ETAGSFLAGS = 211 212 tags: TAGS 341 ctags-recursive: 342 list='$(SUBDIRS)'; for subdir in $$list; do \ 343 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ 344 done 213 345 214 346 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) … … 217 349 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 218 350 done | \ 219 $(AWK) ' { files[$$0]= 1; } \220 END { for (i in files) print i; }'`; \351 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 352 END { if (nonempty) { for (i in files) print i; }; }'`; \ 221 353 mkid -fID $$unique 354 tags: TAGS 222 355 223 356 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ 224 357 $(TAGS_FILES) $(LISP) 225 tags=; \358 set x; \ 226 359 here=`pwd`; \ 360 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ 361 include_option=--etags-include; \ 362 empty_fix=.; \ 363 else \ 364 include_option=--include; \ 365 empty_fix=; \ 366 fi; \ 227 367 list='$(SUBDIRS)'; for subdir in $$list; do \ 228 368 if test "$$subdir" = .; then :; else \ 229 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ 369 test ! -f $$subdir/TAGS || \ 370 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ 230 371 fi; \ 231 372 done; \ … … 234 375 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 235 376 done | \ 236 $(AWK) ' { files[$$0] = 1; } \ 237 END { for (i in files) print i; }'`; \ 238 test -z "$(ETAGS_ARGS)$$tags$$unique" \ 239 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 240 $$tags $$unique 377 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 378 END { if (nonempty) { for (i in files) print i; }; }'`; \ 379 shift; \ 380 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ 381 test -n "$$unique" || unique=$$empty_fix; \ 382 if test $$# -gt 0; then \ 383 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 384 "$$@" $$unique; \ 385 else \ 386 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 387 $$unique; \ 388 fi; \ 389 fi 390 ctags: CTAGS 391 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ 392 $(TAGS_FILES) $(LISP) 393 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ 394 unique=`for i in $$list; do \ 395 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 396 done | \ 397 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 398 END { if (nonempty) { for (i in files) print i; }; }'`; \ 399 test -z "$(CTAGS_ARGS)$$unique" \ 400 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ 401 $$unique 241 402 242 403 GTAGS: 243 404 here=`$(am__cd) $(top_builddir) && pwd` \ 244 && cd$(top_srcdir) \245 && gtags -i $(GTAGS_ARGS) $$here405 && $(am__cd) $(top_srcdir) \ 406 && gtags -i $(GTAGS_ARGS) "$$here" 246 407 247 408 distclean-tags: 248 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH 249 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 250 251 top_distdir = . 252 distdir = $(PACKAGE)-$(VERSION) 253 254 am__remove_distdir = \ 255 { test ! -d $(distdir) \ 256 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ 257 && rm -fr $(distdir); }; } 258 259 GZIP_ENV = --best 260 distcleancheck_listfiles = find . -type f -print 409 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 261 410 262 411 distdir: $(DISTFILES) 263 412 $(am__remove_distdir) 264 mkdir $(distdir) 265 $(mkinstalldirs) $(distdir)/driver $(distdir)/translator $(distdir)/libcfa 266 @list='$(DISTFILES)'; for file in $$list; do \ 413 test -d "$(distdir)" || mkdir "$(distdir)" 414 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 415 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 416 list='$(DISTFILES)'; \ 417 dist_files=`for file in $$list; do echo $$file; done | \ 418 sed -e "s|^$$srcdirstrip/||;t" \ 419 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ 420 case $$dist_files in \ 421 */*) $(MKDIR_P) `echo "$$dist_files" | \ 422 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ 423 sort -u` ;; \ 424 esac; \ 425 for file in $$dist_files; do \ 267 426 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ 268 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ 269 if test "$$dir" != "$$file" && test "$$dir" != "."; then \ 270 dir="/$$dir"; \ 271 $(mkinstalldirs) "$(distdir)$$dir"; \ 427 if test -d $$d/$$file; then \ 428 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ 429 if test -d "$(distdir)/$$file"; then \ 430 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ 431 fi; \ 432 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ 433 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ 434 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ 435 fi; \ 436 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ 272 437 else \ 273 dir=''; \ 274 fi; \ 275 if test -d $$d/$$file; then \ 276 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ 277 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ 278 fi; \ 279 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ 280 else \ 281 test -f $(distdir)/$$file \ 282 || cp -p $$d/$$file $(distdir)/$$file \ 438 test -f "$(distdir)/$$file" \ 439 || cp -p $$d/$$file "$(distdir)/$$file" \ 283 440 || exit 1; \ 284 441 fi; \ 285 442 done 286 list='$(SUBDIRS)'; for subdir in $$list; do \443 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ 287 444 if test "$$subdir" = .; then :; else \ 288 test -d $(distdir)/$$subdir\289 || mkdir $(distdir)/$$subdir\445 test -d "$(distdir)/$$subdir" \ 446 || $(MKDIR_P) "$(distdir)/$$subdir" \ 290 447 || exit 1; \ 291 (cd $$subdir && \ 448 fi; \ 449 done 450 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ 451 if test "$$subdir" = .; then :; else \ 452 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ 453 $(am__relativize); \ 454 new_distdir=$$reldir; \ 455 dir1=$$subdir; dir2="$(top_distdir)"; \ 456 $(am__relativize); \ 457 new_top_distdir=$$reldir; \ 458 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ 459 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ 460 ($(am__cd) $$subdir && \ 292 461 $(MAKE) $(AM_MAKEFLAGS) \ 293 top_distdir="$(top_distdir)" \ 294 distdir=../$(distdir)/$$subdir \ 462 top_distdir="$$new_top_distdir" \ 463 distdir="$$new_distdir" \ 464 am__remove_distdir=: \ 465 am__skip_length_check=: \ 466 am__skip_mode_fix=: \ 295 467 distdir) \ 296 468 || exit 1; \ 297 469 fi; \ 298 470 done 299 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ 471 -test -n "$(am__skip_mode_fix)" \ 472 || find "$(distdir)" -type d ! -perm -755 \ 473 -exec chmod u+rwx,go+rx {} \; -o \ 300 474 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ 301 475 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ 302 ! -type d ! -perm -444 -exec $( SHELL) $(install_sh) -c -m a+r {} {} \; \303 || chmod -R a+r $(distdir)476 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ 477 || chmod -R a+r "$(distdir)" 304 478 dist-gzip: distdir 305 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz 479 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz 480 $(am__remove_distdir) 481 482 dist-bzip2: distdir 483 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 484 $(am__remove_distdir) 485 486 dist-lzip: distdir 487 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz 488 $(am__remove_distdir) 489 490 dist-lzma: distdir 491 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma 492 $(am__remove_distdir) 493 494 dist-xz: distdir 495 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz 496 $(am__remove_distdir) 497 498 dist-tarZ: distdir 499 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z 500 $(am__remove_distdir) 501 502 dist-shar: distdir 503 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz 504 $(am__remove_distdir) 505 506 dist-zip: distdir 507 -rm -f $(distdir).zip 508 zip -rq $(distdir).zip $(distdir) 306 509 $(am__remove_distdir) 307 510 308 511 dist dist-all: distdir 309 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz512 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz 310 513 $(am__remove_distdir) 311 514 … … 314 517 # tarfile. 315 518 distcheck: dist 316 $(am__remove_distdir) 317 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - 519 case '$(DIST_ARCHIVES)' in \ 520 *.tar.gz*) \ 521 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ 522 *.tar.bz2*) \ 523 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ 524 *.tar.lzma*) \ 525 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ 526 *.tar.lz*) \ 527 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ 528 *.tar.xz*) \ 529 xz -dc $(distdir).tar.xz | $(am__untar) ;;\ 530 *.tar.Z*) \ 531 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ 532 *.shar.gz*) \ 533 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ 534 *.zip*) \ 535 unzip $(distdir).zip ;;\ 536 esac 318 537 chmod -R a-w $(distdir); chmod a+w $(distdir) 319 mkdir $(distdir)/ =build320 mkdir $(distdir)/ =inst538 mkdir $(distdir)/_build 539 mkdir $(distdir)/_inst 321 540 chmod a-w $(distdir) 322 dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \ 323 && cd $(distdir)/=build \ 324 && ../configure --srcdir=.. --prefix=$$dc_install_base \ 541 test -d $(distdir)/_build || exit 0; \ 542 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ 543 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ 544 && am__cwd=`pwd` \ 545 && $(am__cd) $(distdir)/_build \ 546 && ../configure --srcdir=.. --prefix="$$dc_install_base" \ 547 $(AM_DISTCHECK_CONFIGURE_FLAGS) \ 325 548 $(DISTCHECK_CONFIGURE_FLAGS) \ 326 549 && $(MAKE) $(AM_MAKEFLAGS) \ … … 330 553 && $(MAKE) $(AM_MAKEFLAGS) installcheck \ 331 554 && $(MAKE) $(AM_MAKEFLAGS) uninstall \ 332 && (test `find $$dc_install_base -type f -print | wc -l` -le 1 \ 333 || { echo "ERROR: files left after uninstall:" ; \ 334 find $$dc_install_base -type f -print ; \ 335 exit 1; } >&2 ) \ 336 && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \ 337 && rm -f $(distdir).tar.gz \ 338 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck 339 $(am__remove_distdir) 340 @echo "$(distdir).tar.gz is ready for distribution" | \ 341 sed 'h;s/./=/g;p;x;p;x' 555 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ 556 distuninstallcheck \ 557 && chmod -R a-w "$$dc_install_base" \ 558 && ({ \ 559 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ 560 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ 561 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ 562 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ 563 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ 564 } || { rm -rf "$$dc_destdir"; exit 1; }) \ 565 && rm -rf "$$dc_destdir" \ 566 && $(MAKE) $(AM_MAKEFLAGS) dist \ 567 && rm -rf $(DIST_ARCHIVES) \ 568 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ 569 && cd "$$am__cwd" \ 570 || exit 1 571 $(am__remove_distdir) 572 @(echo "$(distdir) archives ready for distribution: "; \ 573 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ 574 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' 575 distuninstallcheck: 576 @test -n '$(distuninstallcheck_dir)' || { \ 577 echo 'ERROR: trying to run $@ with an empty' \ 578 '$$(distuninstallcheck_dir)' >&2; \ 579 exit 1; \ 580 }; \ 581 $(am__cd) '$(distuninstallcheck_dir)' || { \ 582 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ 583 exit 1; \ 584 }; \ 585 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ 586 || { echo "ERROR: files left after uninstall:" ; \ 587 if test -n "$(DESTDIR)"; then \ 588 echo " (check DESTDIR support)"; \ 589 fi ; \ 590 $(distuninstallcheck_listfiles) ; \ 591 exit 1; } >&2 342 592 distcleancheck: distclean 343 if test '$(srcdir)' = . ; then \593 @if test '$(srcdir)' = . ; then \ 344 594 echo "ERROR: distcleancheck can only run from a VPATH build" ; \ 345 595 exit 1 ; \ 346 596 fi 347 test `$(distcleancheck_listfiles) | wc -l` -eq 0 \348 || { echo "ERROR: files left after distclean:" ; \597 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ 598 || { echo "ERROR: files left in build directory after distclean:" ; \ 349 599 $(distcleancheck_listfiles) ; \ 350 600 exit 1; } >&2 … … 354 604 installdirs: installdirs-recursive 355 605 installdirs-am: 356 357 606 install: install-recursive 358 607 install-exec: install-exec-recursive … … 365 614 installcheck: installcheck-recursive 366 615 install-strip: 367 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 368 INSTALL_STRIP_FLAG=-s \ 369 `test -z '$(STRIP)' || \ 370 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install 616 if test -z '$(STRIP)'; then \ 617 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 618 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 619 install; \ 620 else \ 621 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 622 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 623 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ 624 fi 371 625 mostlyclean-generic: 372 626 … … 374 628 375 629 distclean-generic: 376 -rm -f Makefile $(CONFIG_CLEAN_FILES) 630 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) 631 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) 377 632 378 633 maintainer-clean-generic: … … 385 640 distclean: distclean-recursive 386 641 -rm -f $(am__CONFIG_DISTCLEAN_FILES) 642 -rm -f Makefile 387 643 distclean-am: clean-am distclean-generic distclean-hdr distclean-tags 388 644 … … 391 647 dvi-am: 392 648 649 html: html-recursive 650 651 html-am: 652 393 653 info: info-recursive 394 654 … … 397 657 install-data-am: 398 658 659 install-dvi: install-dvi-recursive 660 661 install-dvi-am: 662 399 663 install-exec-am: 400 664 665 install-html: install-html-recursive 666 667 install-html-am: 668 401 669 install-info: install-info-recursive 402 670 671 install-info-am: 672 403 673 install-man: 674 675 install-pdf: install-pdf-recursive 676 677 install-pdf-am: 678 679 install-ps: install-ps-recursive 680 681 install-ps-am: 404 682 405 683 installcheck-am: … … 407 685 maintainer-clean: maintainer-clean-recursive 408 686 -rm -f $(am__CONFIG_DISTCLEAN_FILES) 409 -rm -rf autom4te.cache 687 -rm -rf $(top_srcdir)/autom4te.cache 688 -rm -f Makefile 410 689 maintainer-clean-am: distclean-am maintainer-clean-generic 411 690 … … 414 693 mostlyclean-am: mostlyclean-generic 415 694 416 uninstall-am: uninstall-info-am 417 418 uninstall-info: uninstall-info-recursive 419 420 .PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \ 421 clean-generic clean-recursive dist dist-all dist-gzip distcheck \ 422 distclean distclean-generic distclean-hdr distclean-recursive \ 423 distclean-tags distcleancheck distdir dvi dvi-am dvi-recursive \ 424 info info-am info-recursive install install-am install-data \ 425 install-data-am install-data-recursive install-exec \ 426 install-exec-am install-exec-recursive install-info \ 427 install-info-am install-info-recursive install-man \ 428 install-recursive install-strip installcheck installcheck-am \ 429 installdirs installdirs-am installdirs-recursive \ 430 maintainer-clean maintainer-clean-generic \ 431 maintainer-clean-recursive mostlyclean mostlyclean-generic \ 432 mostlyclean-recursive tags tags-recursive uninstall \ 433 uninstall-am uninstall-info-am uninstall-info-recursive \ 434 uninstall-recursive 695 pdf: pdf-recursive 696 697 pdf-am: 698 699 ps: ps-recursive 700 701 ps-am: 702 703 uninstall-am: 704 705 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \ 706 ctags-recursive install-am install-strip tags-recursive 707 708 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ 709 all all-am am--refresh check check-am clean clean-generic \ 710 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ 711 dist-lzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \ 712 distcheck distclean distclean-generic distclean-hdr \ 713 distclean-tags distcleancheck distdir distuninstallcheck dvi \ 714 dvi-am html html-am info info-am install install-am \ 715 install-data install-data-am install-dvi install-dvi-am \ 716 install-exec install-exec-am install-html install-html-am \ 717 install-info install-info-am install-man install-pdf \ 718 install-pdf-am install-ps install-ps-am install-strip \ 719 installcheck installcheck-am installdirs installdirs-am \ 720 maintainer-clean maintainer-clean-generic mostlyclean \ 721 mostlyclean-generic pdf pdf-am ps ps-am tags tags-recursive \ 722 uninstall uninstall-am 723 435 724 436 725 # Tell versions [3.59,3.63) of GNU make to not export all variables. -
Makefile.in
r134b86a r8c17ab0 1 # Makefile.in generated by automake 1. 6.3 from Makefile.am.1 # Makefile.in generated by automake 1.11.3 from Makefile.am. 2 2 # @configure_input@ 3 3 4 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 5 # Free Software Foundation, Inc. 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software 6 # Foundation, Inc. 6 7 # This Makefile.in is free software; the Free Software Foundation 7 8 # gives unlimited permission to copy and/or distribute it, … … 14 15 15 16 @SET_MAKE@ 16 SHELL = @SHELL@17 18 srcdir = @srcdir@19 top_srcdir = @top_srcdir@20 17 VPATH = @srcdir@ 21 prefix = @prefix@22 exec_prefix = @exec_prefix@23 24 bindir = @bindir@25 sbindir = @sbindir@26 libexecdir = @libexecdir@27 datadir = @datadir@28 sysconfdir = @sysconfdir@29 sharedstatedir = @sharedstatedir@30 localstatedir = @localstatedir@31 libdir = @libdir@32 infodir = @infodir@33 mandir = @mandir@34 includedir = @includedir@35 oldincludedir = /usr/include36 18 pkgdatadir = $(datadir)/@PACKAGE@ 19 pkgincludedir = $(includedir)/@PACKAGE@ 37 20 pkglibdir = $(libdir)/@PACKAGE@ 38 pkgincludedir = $(includedir)/@PACKAGE@ 39 top_builddir = . 40 41 ACLOCAL = @ACLOCAL@ 42 AUTOCONF = @AUTOCONF@ 43 AUTOMAKE = @AUTOMAKE@ 44 AUTOHEADER = @AUTOHEADER@ 45 21 pkglibexecdir = $(libexecdir)/@PACKAGE@ 46 22 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 47 INSTALL = @INSTALL@48 INSTALL_PROGRAM = @INSTALL_PROGRAM@49 INSTALL_DATA = @INSTALL_DATA@50 23 install_sh_DATA = $(install_sh) -c -m 644 51 24 install_sh_PROGRAM = $(install_sh) -c 52 25 install_sh_SCRIPT = $(install_sh) -c 53 INSTALL_SCRIPT = @INSTALL_SCRIPT@54 26 INSTALL_HEADER = $(INSTALL_DATA) 55 transform = @program_transform_name@27 transform = $(program_transform_name) 56 28 NORMAL_INSTALL = : 57 29 PRE_INSTALL = : … … 60 32 PRE_UNINSTALL = : 61 33 POST_UNINSTALL = : 62 63 EXEEXT = @EXEEXT@ 64 OBJEXT = @OBJEXT@ 65 PATH_SEPARATOR = @PATH_SEPARATOR@ 34 subdir = . 35 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ 36 $(srcdir)/Makefile.in $(srcdir)/config.h.in \ 37 $(top_srcdir)/configure $(top_srcdir)/driver/Makefile.in \ 38 $(top_srcdir)/libcfa/Makefile.in \ 39 $(top_srcdir)/translator/Makefile.in AUTHORS COPYING ChangeLog \ 40 INSTALL NEWS install-sh missing mkinstalldirs 41 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 42 am__aclocal_m4_deps = $(top_srcdir)/configure.in 43 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 44 $(ACLOCAL_M4) 45 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ 46 configure.lineno config.status.lineno 47 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 48 CONFIG_HEADER = config.h 49 CONFIG_CLEAN_FILES = translator/Makefile driver/Makefile \ 50 libcfa/Makefile 51 CONFIG_CLEAN_VPATH_FILES = 52 SOURCES = 53 DIST_SOURCES = 54 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ 55 html-recursive info-recursive install-data-recursive \ 56 install-dvi-recursive install-exec-recursive \ 57 install-html-recursive install-info-recursive \ 58 install-pdf-recursive install-ps-recursive install-recursive \ 59 installcheck-recursive installdirs-recursive pdf-recursive \ 60 ps-recursive uninstall-recursive 61 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ 62 distclean-recursive maintainer-clean-recursive 63 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ 64 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ 65 distdir dist dist-all distcheck 66 ETAGS = etags 67 CTAGS = ctags 68 DIST_SUBDIRS = $(SUBDIRS) 69 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 70 distdir = $(PACKAGE)-$(VERSION) 71 top_distdir = $(distdir) 72 am__remove_distdir = \ 73 if test -d "$(distdir)"; then \ 74 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ 75 && rm -rf "$(distdir)" \ 76 || { sleep 5 && rm -rf "$(distdir)"; }; \ 77 else :; fi 78 am__relativize = \ 79 dir0=`pwd`; \ 80 sed_first='s,^\([^/]*\)/.*$$,\1,'; \ 81 sed_rest='s,^[^/]*/*,,'; \ 82 sed_last='s,^.*/\([^/]*\)$$,\1,'; \ 83 sed_butlast='s,/*[^/]*$$,,'; \ 84 while test -n "$$dir1"; do \ 85 first=`echo "$$dir1" | sed -e "$$sed_first"`; \ 86 if test "$$first" != "."; then \ 87 if test "$$first" = ".."; then \ 88 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ 89 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ 90 else \ 91 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ 92 if test "$$first2" = "$$first"; then \ 93 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ 94 else \ 95 dir2="../$$dir2"; \ 96 fi; \ 97 dir0="$$dir0"/"$$first"; \ 98 fi; \ 99 fi; \ 100 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ 101 done; \ 102 reldir="$$dir2" 103 DIST_ARCHIVES = $(distdir).tar.gz 104 GZIP_ENV = --best 105 distuninstallcheck_listfiles = find . -type f -print 106 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ 107 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' 108 distcleancheck_listfiles = find . -type f -print 109 ACLOCAL = @ACLOCAL@ 66 110 AMTAR = @AMTAR@ 111 AUTOCONF = @AUTOCONF@ 112 AUTOHEADER = @AUTOHEADER@ 113 AUTOMAKE = @AUTOMAKE@ 67 114 AWK = @AWK@ 68 69 115 BACKEND_CC = @BACKEND_CC@ 70 116 CC = @CC@ 117 CCDEPMODE = @CCDEPMODE@ 71 118 CFA_BINDIR = @CFA_BINDIR@ 119 CFA_INCDIR = @CFA_INCDIR@ 72 120 CFA_LIBDIR = @CFA_LIBDIR@ 73 121 CFA_PREFIX = @CFA_PREFIX@ 122 CFLAGS = @CFLAGS@ 123 CPP = @CPP@ 124 CPPFLAGS = @CPPFLAGS@ 74 125 CPP_PATH = @CPP_PATH@ 75 126 CXX = @CXX@ 127 CXXDEPMODE = @CXXDEPMODE@ 128 CXXFLAGS = @CXXFLAGS@ 129 CYGPATH_W = @CYGPATH_W@ 130 DEFS = @DEFS@ 76 131 DEPDIR = @DEPDIR@ 132 ECHO_C = @ECHO_C@ 133 ECHO_N = @ECHO_N@ 134 ECHO_T = @ECHO_T@ 135 EGREP = @EGREP@ 136 EXEEXT = @EXEEXT@ 77 137 GCC_PATH = @GCC_PATH@ 138 GREP = @GREP@ 139 INSTALL = @INSTALL@ 140 INSTALL_DATA = @INSTALL_DATA@ 141 INSTALL_PROGRAM = @INSTALL_PROGRAM@ 142 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 78 143 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ 144 LDFLAGS = @LDFLAGS@ 79 145 LEX = @LEX@ 80 146 LEXLIB = @LEXLIB@ 81 147 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ 148 LIBOBJS = @LIBOBJS@ 149 LIBS = @LIBS@ 150 LTLIBOBJS = @LTLIBOBJS@ 151 MAKEINFO = @MAKEINFO@ 152 MKDIR_P = @MKDIR_P@ 153 OBJEXT = @OBJEXT@ 82 154 PACKAGE = @PACKAGE@ 155 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ 156 PACKAGE_NAME = @PACKAGE_NAME@ 157 PACKAGE_STRING = @PACKAGE_STRING@ 158 PACKAGE_TARNAME = @PACKAGE_TARNAME@ 159 PACKAGE_URL = @PACKAGE_URL@ 160 PACKAGE_VERSION = @PACKAGE_VERSION@ 161 PATH_SEPARATOR = @PATH_SEPARATOR@ 162 SET_MAKE = @SET_MAKE@ 163 SHELL = @SHELL@ 83 164 STRIP = @STRIP@ 84 165 VERSION = @VERSION@ 85 166 YACC = @YACC@ 167 YFLAGS = @YFLAGS@ 168 abs_builddir = @abs_builddir@ 169 abs_srcdir = @abs_srcdir@ 170 abs_top_builddir = @abs_top_builddir@ 171 abs_top_srcdir = @abs_top_srcdir@ 172 ac_ct_CC = @ac_ct_CC@ 173 ac_ct_CXX = @ac_ct_CXX@ 86 174 am__include = @am__include@ 175 am__leading_dot = @am__leading_dot@ 87 176 am__quote = @am__quote@ 177 am__tar = @am__tar@ 178 am__untar = @am__untar@ 179 bindir = @bindir@ 180 build_alias = @build_alias@ 181 builddir = @builddir@ 182 datadir = @datadir@ 183 datarootdir = @datarootdir@ 184 docdir = @docdir@ 185 dvidir = @dvidir@ 186 exec_prefix = @exec_prefix@ 187 host_alias = @host_alias@ 188 htmldir = @htmldir@ 189 includedir = @includedir@ 190 infodir = @infodir@ 88 191 install_sh = @install_sh@ 192 libdir = @libdir@ 193 libexecdir = @libexecdir@ 194 localedir = @localedir@ 195 localstatedir = @localstatedir@ 196 mandir = @mandir@ 197 mkdir_p = @mkdir_p@ 198 oldincludedir = @oldincludedir@ 199 pdfdir = @pdfdir@ 200 prefix = @prefix@ 89 201 preludedir = @preludedir@ 202 program_transform_name = @program_transform_name@ 203 psdir = @psdir@ 204 sbindir = @sbindir@ 205 sharedstatedir = @sharedstatedir@ 206 srcdir = @srcdir@ 207 sysconfdir = @sysconfdir@ 208 target_alias = @target_alias@ 209 top_build_prefix = @top_build_prefix@ 210 top_builddir = @top_builddir@ 211 top_srcdir = @top_srcdir@ 90 212 SUBDIRS = translator driver libcfa 91 213 92 214 # non-source files 93 215 EXTRA_DIST = Docs 94 subdir = .95 ACLOCAL_M4 = $(top_srcdir)/aclocal.m496 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs97 CONFIG_HEADER = config.h98 CONFIG_CLEAN_FILES = translator/Makefile driver/Makefile libcfa/Makefile99 DIST_SOURCES =100 101 RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \102 uninstall-info-recursive all-recursive install-data-recursive \103 install-exec-recursive installdirs-recursive install-recursive \104 uninstall-recursive check-recursive installcheck-recursive105 DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \106 Makefile.in NEWS acconfig.h aclocal.m4 config.h.in configure \107 configure.in install-sh missing mkinstalldirs108 DIST_SUBDIRS = $(SUBDIRS)109 216 all: config.h 110 217 $(MAKE) $(AM_MAKEFLAGS) all-recursive 111 218 112 219 .SUFFIXES: 113 114 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ 115 configure.lineno 116 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 117 cd $(top_srcdir) && \ 118 $(AUTOMAKE) --gnu Makefile 119 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 120 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe) 121 122 $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 220 am--refresh: Makefile 221 @: 222 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) 223 @for dep in $?; do \ 224 case '$(am__configure_deps)' in \ 225 *$$dep*) \ 226 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ 227 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ 228 && exit 0; \ 229 exit 1;; \ 230 esac; \ 231 done; \ 232 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ 233 $(am__cd) $(top_srcdir) && \ 234 $(AUTOMAKE) --gnu Makefile 235 .PRECIOUS: Makefile 236 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 237 @case '$?' in \ 238 *config.status*) \ 239 echo ' $(SHELL) ./config.status'; \ 240 $(SHELL) ./config.status;; \ 241 *) \ 242 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ 243 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ 244 esac; 245 246 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 123 247 $(SHELL) ./config.status --recheck 124 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) 125 cd $(srcdir) && $(AUTOCONF) 126 127 $(ACLOCAL_M4): configure.in 128 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) 248 249 $(top_srcdir)/configure: $(am__configure_deps) 250 $(am__cd) $(srcdir) && $(AUTOCONF) 251 $(ACLOCAL_M4): $(am__aclocal_m4_deps) 252 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) 253 $(am__aclocal_m4_deps): 129 254 130 255 config.h: stamp-h1 131 @if test ! -f $@; then \ 132 rm -f stamp-h1; \ 133 $(MAKE) stamp-h1; \ 134 else :; fi 256 @if test ! -f $@; then rm -f stamp-h1; else :; fi 257 @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi 135 258 136 259 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status 137 260 @rm -f stamp-h1 138 261 cd $(top_builddir) && $(SHELL) ./config.status config.h 139 140 $(srcdir)/config.h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/acconfig.h 141 cd $(top_srcdir) && $(AUTOHEADER)142 touch $ (srcdir)/config.h.in262 $(srcdir)/config.h.in: $(am__configure_deps) 263 ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) 264 rm -f stamp-h1 265 touch $@ 143 266 144 267 distclean-hdr: … … 150 273 libcfa/Makefile: $(top_builddir)/config.status $(top_srcdir)/libcfa/Makefile.in 151 274 cd $(top_builddir) && $(SHELL) ./config.status $@ 152 uninstall-info-am:153 275 154 276 # This directory's subdirectories are mostly independent; you can cd … … 159 281 # (2) otherwise, pass the desired values on the `make' command line. 160 282 $(RECURSIVE_TARGETS): 161 @set fnord $$MAKEFLAGS; amf=$$2; \ 283 @fail= failcom='exit 1'; \ 284 for f in x $$MAKEFLAGS; do \ 285 case $$f in \ 286 *=* | --[!k]*);; \ 287 *k*) failcom='fail=yes';; \ 288 esac; \ 289 done; \ 162 290 dot_seen=no; \ 163 291 target=`echo $@ | sed s/-recursive//`; \ … … 170 298 local_target="$$target"; \ 171 299 fi; \ 172 ( cd$$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \173 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \300 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ 301 || eval $$failcom; \ 174 302 done; \ 175 303 if test "$$dot_seen" = "no"; then \ … … 177 305 fi; test -z "$$fail" 178 306 179 mostlyclean-recursive clean-recursive distclean-recursive \ 180 maintainer-clean-recursive: 181 @set fnord $$MAKEFLAGS; amf=$$2; \ 307 $(RECURSIVE_CLEAN_TARGETS): 308 @fail= failcom='exit 1'; \ 309 for f in x $$MAKEFLAGS; do \ 310 case $$f in \ 311 *=* | --[!k]*);; \ 312 *k*) failcom='fail=yes';; \ 313 esac; \ 314 done; \ 182 315 dot_seen=no; \ 183 316 case "$@" in \ … … 199 332 local_target="$$target"; \ 200 333 fi; \ 201 ( cd$$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \202 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \334 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ 335 || eval $$failcom; \ 203 336 done && test -z "$$fail" 204 337 tags-recursive: 205 338 list='$(SUBDIRS)'; for subdir in $$list; do \ 206 test "$$subdir" = . || ( cd$$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \339 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ 207 340 done 208 209 ETAGS = etags 210 ETAGSFLAGS = 211 212 tags: TAGS 341 ctags-recursive: 342 list='$(SUBDIRS)'; for subdir in $$list; do \ 343 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ 344 done 213 345 214 346 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) … … 217 349 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 218 350 done | \ 219 $(AWK) ' { files[$$0]= 1; } \220 END { for (i in files) print i; }'`; \351 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 352 END { if (nonempty) { for (i in files) print i; }; }'`; \ 221 353 mkid -fID $$unique 354 tags: TAGS 222 355 223 356 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ 224 357 $(TAGS_FILES) $(LISP) 225 tags=; \358 set x; \ 226 359 here=`pwd`; \ 360 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ 361 include_option=--etags-include; \ 362 empty_fix=.; \ 363 else \ 364 include_option=--include; \ 365 empty_fix=; \ 366 fi; \ 227 367 list='$(SUBDIRS)'; for subdir in $$list; do \ 228 368 if test "$$subdir" = .; then :; else \ 229 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ 369 test ! -f $$subdir/TAGS || \ 370 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ 230 371 fi; \ 231 372 done; \ … … 234 375 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 235 376 done | \ 236 $(AWK) ' { files[$$0] = 1; } \ 237 END { for (i in files) print i; }'`; \ 238 test -z "$(ETAGS_ARGS)$$tags$$unique" \ 239 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 240 $$tags $$unique 377 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 378 END { if (nonempty) { for (i in files) print i; }; }'`; \ 379 shift; \ 380 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ 381 test -n "$$unique" || unique=$$empty_fix; \ 382 if test $$# -gt 0; then \ 383 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 384 "$$@" $$unique; \ 385 else \ 386 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 387 $$unique; \ 388 fi; \ 389 fi 390 ctags: CTAGS 391 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ 392 $(TAGS_FILES) $(LISP) 393 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ 394 unique=`for i in $$list; do \ 395 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 396 done | \ 397 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 398 END { if (nonempty) { for (i in files) print i; }; }'`; \ 399 test -z "$(CTAGS_ARGS)$$unique" \ 400 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ 401 $$unique 241 402 242 403 GTAGS: 243 404 here=`$(am__cd) $(top_builddir) && pwd` \ 244 && cd$(top_srcdir) \245 && gtags -i $(GTAGS_ARGS) $$here405 && $(am__cd) $(top_srcdir) \ 406 && gtags -i $(GTAGS_ARGS) "$$here" 246 407 247 408 distclean-tags: 248 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH 249 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 250 251 top_distdir = . 252 distdir = $(PACKAGE)-$(VERSION) 253 254 am__remove_distdir = \ 255 { test ! -d $(distdir) \ 256 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ 257 && rm -fr $(distdir); }; } 258 259 GZIP_ENV = --best 260 distcleancheck_listfiles = find . -type f -print 409 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 261 410 262 411 distdir: $(DISTFILES) 263 412 $(am__remove_distdir) 264 mkdir $(distdir) 265 $(mkinstalldirs) $(distdir)/driver $(distdir)/translator $(distdir)/libcfa 266 @list='$(DISTFILES)'; for file in $$list; do \ 413 test -d "$(distdir)" || mkdir "$(distdir)" 414 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 415 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 416 list='$(DISTFILES)'; \ 417 dist_files=`for file in $$list; do echo $$file; done | \ 418 sed -e "s|^$$srcdirstrip/||;t" \ 419 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ 420 case $$dist_files in \ 421 */*) $(MKDIR_P) `echo "$$dist_files" | \ 422 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ 423 sort -u` ;; \ 424 esac; \ 425 for file in $$dist_files; do \ 267 426 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ 268 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ 269 if test "$$dir" != "$$file" && test "$$dir" != "."; then \ 270 dir="/$$dir"; \ 271 $(mkinstalldirs) "$(distdir)$$dir"; \ 427 if test -d $$d/$$file; then \ 428 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ 429 if test -d "$(distdir)/$$file"; then \ 430 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ 431 fi; \ 432 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ 433 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ 434 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ 435 fi; \ 436 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ 272 437 else \ 273 dir=''; \ 274 fi; \ 275 if test -d $$d/$$file; then \ 276 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ 277 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ 278 fi; \ 279 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ 280 else \ 281 test -f $(distdir)/$$file \ 282 || cp -p $$d/$$file $(distdir)/$$file \ 438 test -f "$(distdir)/$$file" \ 439 || cp -p $$d/$$file "$(distdir)/$$file" \ 283 440 || exit 1; \ 284 441 fi; \ 285 442 done 286 list='$(SUBDIRS)'; for subdir in $$list; do \443 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ 287 444 if test "$$subdir" = .; then :; else \ 288 test -d $(distdir)/$$subdir\289 || mkdir $(distdir)/$$subdir\445 test -d "$(distdir)/$$subdir" \ 446 || $(MKDIR_P) "$(distdir)/$$subdir" \ 290 447 || exit 1; \ 291 (cd $$subdir && \ 448 fi; \ 449 done 450 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ 451 if test "$$subdir" = .; then :; else \ 452 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ 453 $(am__relativize); \ 454 new_distdir=$$reldir; \ 455 dir1=$$subdir; dir2="$(top_distdir)"; \ 456 $(am__relativize); \ 457 new_top_distdir=$$reldir; \ 458 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ 459 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ 460 ($(am__cd) $$subdir && \ 292 461 $(MAKE) $(AM_MAKEFLAGS) \ 293 top_distdir="$(top_distdir)" \ 294 distdir=../$(distdir)/$$subdir \ 462 top_distdir="$$new_top_distdir" \ 463 distdir="$$new_distdir" \ 464 am__remove_distdir=: \ 465 am__skip_length_check=: \ 466 am__skip_mode_fix=: \ 295 467 distdir) \ 296 468 || exit 1; \ 297 469 fi; \ 298 470 done 299 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ 471 -test -n "$(am__skip_mode_fix)" \ 472 || find "$(distdir)" -type d ! -perm -755 \ 473 -exec chmod u+rwx,go+rx {} \; -o \ 300 474 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ 301 475 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ 302 ! -type d ! -perm -444 -exec $( SHELL) $(install_sh) -c -m a+r {} {} \; \303 || chmod -R a+r $(distdir)476 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ 477 || chmod -R a+r "$(distdir)" 304 478 dist-gzip: distdir 305 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz 479 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz 480 $(am__remove_distdir) 481 482 dist-bzip2: distdir 483 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 484 $(am__remove_distdir) 485 486 dist-lzip: distdir 487 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz 488 $(am__remove_distdir) 489 490 dist-lzma: distdir 491 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma 492 $(am__remove_distdir) 493 494 dist-xz: distdir 495 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz 496 $(am__remove_distdir) 497 498 dist-tarZ: distdir 499 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z 500 $(am__remove_distdir) 501 502 dist-shar: distdir 503 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz 504 $(am__remove_distdir) 505 506 dist-zip: distdir 507 -rm -f $(distdir).zip 508 zip -rq $(distdir).zip $(distdir) 306 509 $(am__remove_distdir) 307 510 308 511 dist dist-all: distdir 309 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz512 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz 310 513 $(am__remove_distdir) 311 514 … … 314 517 # tarfile. 315 518 distcheck: dist 316 $(am__remove_distdir) 317 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - 519 case '$(DIST_ARCHIVES)' in \ 520 *.tar.gz*) \ 521 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ 522 *.tar.bz2*) \ 523 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ 524 *.tar.lzma*) \ 525 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ 526 *.tar.lz*) \ 527 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ 528 *.tar.xz*) \ 529 xz -dc $(distdir).tar.xz | $(am__untar) ;;\ 530 *.tar.Z*) \ 531 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ 532 *.shar.gz*) \ 533 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ 534 *.zip*) \ 535 unzip $(distdir).zip ;;\ 536 esac 318 537 chmod -R a-w $(distdir); chmod a+w $(distdir) 319 mkdir $(distdir)/ =build320 mkdir $(distdir)/ =inst538 mkdir $(distdir)/_build 539 mkdir $(distdir)/_inst 321 540 chmod a-w $(distdir) 322 dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \ 323 && cd $(distdir)/=build \ 324 && ../configure --srcdir=.. --prefix=$$dc_install_base \ 541 test -d $(distdir)/_build || exit 0; \ 542 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ 543 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ 544 && am__cwd=`pwd` \ 545 && $(am__cd) $(distdir)/_build \ 546 && ../configure --srcdir=.. --prefix="$$dc_install_base" \ 547 $(AM_DISTCHECK_CONFIGURE_FLAGS) \ 325 548 $(DISTCHECK_CONFIGURE_FLAGS) \ 326 549 && $(MAKE) $(AM_MAKEFLAGS) \ … … 330 553 && $(MAKE) $(AM_MAKEFLAGS) installcheck \ 331 554 && $(MAKE) $(AM_MAKEFLAGS) uninstall \ 332 && (test `find $$dc_install_base -type f -print | wc -l` -le 1 \ 333 || { echo "ERROR: files left after uninstall:" ; \ 334 find $$dc_install_base -type f -print ; \ 335 exit 1; } >&2 ) \ 336 && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \ 337 && rm -f $(distdir).tar.gz \ 338 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck 339 $(am__remove_distdir) 340 @echo "$(distdir).tar.gz is ready for distribution" | \ 341 sed 'h;s/./=/g;p;x;p;x' 555 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ 556 distuninstallcheck \ 557 && chmod -R a-w "$$dc_install_base" \ 558 && ({ \ 559 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ 560 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ 561 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ 562 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ 563 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ 564 } || { rm -rf "$$dc_destdir"; exit 1; }) \ 565 && rm -rf "$$dc_destdir" \ 566 && $(MAKE) $(AM_MAKEFLAGS) dist \ 567 && rm -rf $(DIST_ARCHIVES) \ 568 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ 569 && cd "$$am__cwd" \ 570 || exit 1 571 $(am__remove_distdir) 572 @(echo "$(distdir) archives ready for distribution: "; \ 573 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ 574 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' 575 distuninstallcheck: 576 @test -n '$(distuninstallcheck_dir)' || { \ 577 echo 'ERROR: trying to run $@ with an empty' \ 578 '$$(distuninstallcheck_dir)' >&2; \ 579 exit 1; \ 580 }; \ 581 $(am__cd) '$(distuninstallcheck_dir)' || { \ 582 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ 583 exit 1; \ 584 }; \ 585 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ 586 || { echo "ERROR: files left after uninstall:" ; \ 587 if test -n "$(DESTDIR)"; then \ 588 echo " (check DESTDIR support)"; \ 589 fi ; \ 590 $(distuninstallcheck_listfiles) ; \ 591 exit 1; } >&2 342 592 distcleancheck: distclean 343 if test '$(srcdir)' = . ; then \593 @if test '$(srcdir)' = . ; then \ 344 594 echo "ERROR: distcleancheck can only run from a VPATH build" ; \ 345 595 exit 1 ; \ 346 596 fi 347 test `$(distcleancheck_listfiles) | wc -l` -eq 0 \348 || { echo "ERROR: files left after distclean:" ; \597 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ 598 || { echo "ERROR: files left in build directory after distclean:" ; \ 349 599 $(distcleancheck_listfiles) ; \ 350 600 exit 1; } >&2 … … 354 604 installdirs: installdirs-recursive 355 605 installdirs-am: 356 357 606 install: install-recursive 358 607 install-exec: install-exec-recursive … … 365 614 installcheck: installcheck-recursive 366 615 install-strip: 367 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 368 INSTALL_STRIP_FLAG=-s \ 369 `test -z '$(STRIP)' || \ 370 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install 616 if test -z '$(STRIP)'; then \ 617 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 618 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 619 install; \ 620 else \ 621 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 622 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 623 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ 624 fi 371 625 mostlyclean-generic: 372 626 … … 374 628 375 629 distclean-generic: 376 -rm -f Makefile $(CONFIG_CLEAN_FILES) 630 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) 631 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) 377 632 378 633 maintainer-clean-generic: … … 385 640 distclean: distclean-recursive 386 641 -rm -f $(am__CONFIG_DISTCLEAN_FILES) 642 -rm -f Makefile 387 643 distclean-am: clean-am distclean-generic distclean-hdr distclean-tags 388 644 … … 391 647 dvi-am: 392 648 649 html: html-recursive 650 651 html-am: 652 393 653 info: info-recursive 394 654 … … 397 657 install-data-am: 398 658 659 install-dvi: install-dvi-recursive 660 661 install-dvi-am: 662 399 663 install-exec-am: 400 664 665 install-html: install-html-recursive 666 667 install-html-am: 668 401 669 install-info: install-info-recursive 402 670 671 install-info-am: 672 403 673 install-man: 674 675 install-pdf: install-pdf-recursive 676 677 install-pdf-am: 678 679 install-ps: install-ps-recursive 680 681 install-ps-am: 404 682 405 683 installcheck-am: … … 407 685 maintainer-clean: maintainer-clean-recursive 408 686 -rm -f $(am__CONFIG_DISTCLEAN_FILES) 409 -rm -rf autom4te.cache 687 -rm -rf $(top_srcdir)/autom4te.cache 688 -rm -f Makefile 410 689 maintainer-clean-am: distclean-am maintainer-clean-generic 411 690 … … 414 693 mostlyclean-am: mostlyclean-generic 415 694 416 uninstall-am: uninstall-info-am 417 418 uninstall-info: uninstall-info-recursive 419 420 .PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \ 421 clean-generic clean-recursive dist dist-all dist-gzip distcheck \ 422 distclean distclean-generic distclean-hdr distclean-recursive \ 423 distclean-tags distcleancheck distdir dvi dvi-am dvi-recursive \ 424 info info-am info-recursive install install-am install-data \ 425 install-data-am install-data-recursive install-exec \ 426 install-exec-am install-exec-recursive install-info \ 427 install-info-am install-info-recursive install-man \ 428 install-recursive install-strip installcheck installcheck-am \ 429 installdirs installdirs-am installdirs-recursive \ 430 maintainer-clean maintainer-clean-generic \ 431 maintainer-clean-recursive mostlyclean mostlyclean-generic \ 432 mostlyclean-recursive tags tags-recursive uninstall \ 433 uninstall-am uninstall-info-am uninstall-info-recursive \ 434 uninstall-recursive 695 pdf: pdf-recursive 696 697 pdf-am: 698 699 ps: ps-recursive 700 701 ps-am: 702 703 uninstall-am: 704 705 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \ 706 ctags-recursive install-am install-strip tags-recursive 707 708 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ 709 all all-am am--refresh check check-am clean clean-generic \ 710 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ 711 dist-lzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \ 712 distcheck distclean distclean-generic distclean-hdr \ 713 distclean-tags distcleancheck distdir distuninstallcheck dvi \ 714 dvi-am html html-am info info-am install install-am \ 715 install-data install-data-am install-dvi install-dvi-am \ 716 install-exec install-exec-am install-html install-html-am \ 717 install-info install-info-am install-man install-pdf \ 718 install-pdf-am install-ps install-ps-am install-strip \ 719 installcheck installcheck-am installdirs installdirs-am \ 720 maintainer-clean maintainer-clean-generic mostlyclean \ 721 mostlyclean-generic pdf pdf-am ps ps-am tags tags-recursive \ 722 uninstall uninstall-am 723 435 724 436 725 # Tell versions [3.59,3.63) of GNU make to not export all variables. -
aclocal.m4
r134b86a r8c17ab0 1 # aclocal.m4 generated automatically by aclocal 1.6.3 -*- Autoconf -*- 2 3 # Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 4 # Free Software Foundation, Inc. 1 # generated automatically by aclocal 1.11.3 -*- Autoconf -*- 2 3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 4 # 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, 5 # Inc. 5 6 # This file is free software; the Free Software Foundation 6 7 # gives unlimited permission to copy and/or distribute it, … … 12 13 # PARTICULAR PURPOSE. 13 14 14 # Do all the work for Automake. -*- Autoconf -*- 15 16 # This macro actually does too much some checks are only needed if 17 # your package does certain things. But this isn't really a big deal. 18 19 # Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 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.68],, 18 [m4_warning([this file was generated for autoconf 2.68. 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, 2003, 2005, 2006, 2007, 2008, 2011 Free Software 24 # Foundation, Inc. 25 # 26 # This file is free software; the Free Software Foundation 27 # gives unlimited permission to copy and/or distribute it, 28 # with or without modifications, as long as this notice is preserved. 29 30 # serial 1 31 32 # AM_AUTOMAKE_VERSION(VERSION) 33 # ---------------------------- 34 # Automake X.Y traces this macro to ensure aclocal.m4 has been 35 # generated from the m4 files accompanying Automake X.Y. 36 # (This private macro should not be called outside this file.) 37 AC_DEFUN([AM_AUTOMAKE_VERSION], 38 [am__api_version='1.11' 39 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to 40 dnl require some minimum version. Point them to the right macro. 41 m4_if([$1], [1.11.3], [], 42 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl 43 ]) 44 45 # _AM_AUTOCONF_VERSION(VERSION) 46 # ----------------------------- 47 # aclocal traces this macro to find the Autoconf version. 48 # This is a private macro too. Using m4_define simplifies 49 # the logic in aclocal, which can simply ignore this definition. 50 m4_define([_AM_AUTOCONF_VERSION], []) 51 52 # AM_SET_CURRENT_AUTOMAKE_VERSION 53 # ------------------------------- 54 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. 55 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. 56 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], 57 [AM_AUTOMAKE_VERSION([1.11.3])dnl 58 m4_ifndef([AC_AUTOCONF_VERSION], 59 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl 60 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) 61 62 # AM_AUX_DIR_EXPAND -*- Autoconf -*- 63 64 # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. 65 # 66 # This file is free software; the Free Software Foundation 67 # gives unlimited permission to copy and/or distribute it, 68 # with or without modifications, as long as this notice is preserved. 69 70 # serial 1 71 72 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets 73 # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to 74 # `$srcdir', `$srcdir/..', or `$srcdir/../..'. 75 # 76 # Of course, Automake must honor this variable whenever it calls a 77 # tool from the auxiliary directory. The problem is that $srcdir (and 78 # therefore $ac_aux_dir as well) can be either absolute or relative, 79 # depending on how configure is run. This is pretty annoying, since 80 # it makes $ac_aux_dir quite unusable in subdirectories: in the top 81 # source directory, any form will work fine, but in subdirectories a 82 # relative path needs to be adjusted first. 83 # 84 # $ac_aux_dir/missing 85 # fails when called from a subdirectory if $ac_aux_dir is relative 86 # $top_srcdir/$ac_aux_dir/missing 87 # fails if $ac_aux_dir is absolute, 88 # fails when called from a subdirectory in a VPATH build with 89 # a relative $ac_aux_dir 90 # 91 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir 92 # are both prefixed by $srcdir. In an in-source build this is usually 93 # harmless because $srcdir is `.', but things will broke when you 94 # start a VPATH build or use an absolute $srcdir. 95 # 96 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, 97 # iff we strip the leading $srcdir from $ac_aux_dir. That would be: 98 # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` 99 # and then we would define $MISSING as 100 # MISSING="\${SHELL} $am_aux_dir/missing" 101 # This will work as long as MISSING is not called from configure, because 102 # unfortunately $(top_srcdir) has no meaning in configure. 103 # However there are other variables, like CC, which are often used in 104 # configure, and could therefore not use this "fixed" $ac_aux_dir. 105 # 106 # Another solution, used here, is to always expand $ac_aux_dir to an 107 # absolute PATH. The drawback is that using absolute paths prevent a 108 # configured tree to be moved without reconfiguration. 109 110 AC_DEFUN([AM_AUX_DIR_EXPAND], 111 [dnl Rely on autoconf to set up CDPATH properly. 112 AC_PREREQ([2.50])dnl 113 # expand $ac_aux_dir to an absolute path 114 am_aux_dir=`cd $ac_aux_dir && pwd` 115 ]) 116 117 # AM_CONDITIONAL -*- Autoconf -*- 118 119 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 20 120 # Free Software Foundation, Inc. 21 22 # This program is free software; you can redistribute it and/or modify 23 # it under the terms of the GNU General Public License as published by 24 # the Free Software Foundation; either version 2, or (at your option) 25 # any later version. 26 27 # This program is distributed in the hope that it will be useful, 28 # but WITHOUT ANY WARRANTY; without even the implied warranty of 29 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 30 # GNU General Public License for more details. 31 32 # You should have received a copy of the GNU General Public License 33 # along with this program; if not, write to the Free Software 34 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 35 # 02111-1307, USA. 36 37 # serial 8 121 # 122 # This file is free software; the Free Software Foundation 123 # gives unlimited permission to copy and/or distribute it, 124 # with or without modifications, as long as this notice is preserved. 125 126 # serial 9 127 128 # AM_CONDITIONAL(NAME, SHELL-CONDITION) 129 # ------------------------------------- 130 # Define a conditional. 131 AC_DEFUN([AM_CONDITIONAL], 132 [AC_PREREQ(2.52)dnl 133 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], 134 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl 135 AC_SUBST([$1_TRUE])dnl 136 AC_SUBST([$1_FALSE])dnl 137 _AM_SUBST_NOTMAKE([$1_TRUE])dnl 138 _AM_SUBST_NOTMAKE([$1_FALSE])dnl 139 m4_define([_AM_COND_VALUE_$1], [$2])dnl 140 if $2; then 141 $1_TRUE= 142 $1_FALSE='#' 143 else 144 $1_TRUE='#' 145 $1_FALSE= 146 fi 147 AC_CONFIG_COMMANDS_PRE( 148 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then 149 AC_MSG_ERROR([[conditional "$1" was never defined. 150 Usually this means the macro was only invoked conditionally.]]) 151 fi])]) 152 153 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009, 154 # 2010, 2011 Free Software Foundation, Inc. 155 # 156 # This file is free software; the Free Software Foundation 157 # gives unlimited permission to copy and/or distribute it, 158 # with or without modifications, as long as this notice is preserved. 159 160 # serial 12 38 161 39 162 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be … … 44 167 45 168 46 AC_PREREQ([2.52]) 47 48 # Autoconf 2.50 wants to disallow AM_ names. We explicitly allow 49 # the ones we care about. 50 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl 169 # _AM_DEPENDENCIES(NAME) 170 # ---------------------- 171 # See how the compiler implements dependency checking. 172 # NAME is "CC", "CXX", "GCJ", or "OBJC". 173 # We try a few techniques and use that to set a single cache variable. 174 # 175 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was 176 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular 177 # dependency, and given that the user is not expected to run this macro, 178 # just rely on AC_PROG_CC. 179 AC_DEFUN([_AM_DEPENDENCIES], 180 [AC_REQUIRE([AM_SET_DEPDIR])dnl 181 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl 182 AC_REQUIRE([AM_MAKE_INCLUDE])dnl 183 AC_REQUIRE([AM_DEP_TRACK])dnl 184 185 ifelse([$1], CC, [depcc="$CC" am_compiler_list=], 186 [$1], CXX, [depcc="$CXX" am_compiler_list=], 187 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], 188 [$1], UPC, [depcc="$UPC" am_compiler_list=], 189 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], 190 [depcc="$$1" am_compiler_list=]) 191 192 AC_CACHE_CHECK([dependency style of $depcc], 193 [am_cv_$1_dependencies_compiler_type], 194 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 195 # We make a subdir and do the tests there. Otherwise we can end up 196 # making bogus files that we don't know about and never remove. For 197 # instance it was reported that on HP-UX the gcc test will end up 198 # making a dummy file named `D' -- because `-MD' means `put the output 199 # in D'. 200 rm -rf conftest.dir 201 mkdir conftest.dir 202 # Copy depcomp to subdir because otherwise we won't find it if we're 203 # using a relative directory. 204 cp "$am_depcomp" conftest.dir 205 cd conftest.dir 206 # We will build objects and dependencies in a subdirectory because 207 # it helps to detect inapplicable dependency modes. For instance 208 # both Tru64's cc and ICC support -MD to output dependencies as a 209 # side effect of compilation, but ICC will put the dependencies in 210 # the current directory while Tru64 will put them in the object 211 # directory. 212 mkdir sub 213 214 am_cv_$1_dependencies_compiler_type=none 215 if test "$am_compiler_list" = ""; then 216 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` 217 fi 218 am__universal=false 219 m4_case([$1], [CC], 220 [case " $depcc " in #( 221 *\ -arch\ *\ -arch\ *) am__universal=true ;; 222 esac], 223 [CXX], 224 [case " $depcc " in #( 225 *\ -arch\ *\ -arch\ *) am__universal=true ;; 226 esac]) 227 228 for depmode in $am_compiler_list; do 229 # Setup a source with many dependencies, because some compilers 230 # like to wrap large dependency lists on column 80 (with \), and 231 # we should not choose a depcomp mode which is confused by this. 232 # 233 # We need to recreate these files for each test, as the compiler may 234 # overwrite some of them when testing with obscure command lines. 235 # This happens at least with the AIX C compiler. 236 : > sub/conftest.c 237 for i in 1 2 3 4 5 6; do 238 echo '#include "conftst'$i'.h"' >> sub/conftest.c 239 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 240 # Solaris 8's {/usr,}/bin/sh. 241 touch sub/conftst$i.h 242 done 243 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 244 245 # We check with `-c' and `-o' for the sake of the "dashmstdout" 246 # mode. It turns out that the SunPro C++ compiler does not properly 247 # handle `-M -o', and we need to detect this. Also, some Intel 248 # versions had trouble with output in subdirs 249 am__obj=sub/conftest.${OBJEXT-o} 250 am__minus_obj="-o $am__obj" 251 case $depmode in 252 gcc) 253 # This depmode causes a compiler race in universal mode. 254 test "$am__universal" = false || continue 255 ;; 256 nosideeffect) 257 # after this tag, mechanisms are not by side-effect, so they'll 258 # only be used when explicitly requested 259 if test "x$enable_dependency_tracking" = xyes; then 260 continue 261 else 262 break 263 fi 264 ;; 265 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 266 # This compiler won't grok `-c -o', but also, the minuso test has 267 # not run yet. These depmodes are late enough in the game, and 268 # so weak that their functioning should not be impacted. 269 am__obj=conftest.${OBJEXT-o} 270 am__minus_obj= 271 ;; 272 none) break ;; 273 esac 274 if depmode=$depmode \ 275 source=sub/conftest.c object=$am__obj \ 276 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 277 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 278 >/dev/null 2>conftest.err && 279 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 280 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 281 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 282 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 283 # icc doesn't choke on unknown options, it will just issue warnings 284 # or remarks (even with -Werror). So we grep stderr for any message 285 # that says an option was ignored or not supported. 286 # When given -MP, icc 7.0 and 7.1 complain thusly: 287 # icc: Command line warning: ignoring option '-M'; no argument required 288 # The diagnosis changed in icc 8.0: 289 # icc: Command line remark: option '-MP' not supported 290 if (grep 'ignoring option' conftest.err || 291 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 292 am_cv_$1_dependencies_compiler_type=$depmode 293 break 294 fi 295 fi 296 done 297 298 cd .. 299 rm -rf conftest.dir 300 else 301 am_cv_$1_dependencies_compiler_type=none 302 fi 303 ]) 304 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) 305 AM_CONDITIONAL([am__fastdep$1], [ 306 test "x$enable_dependency_tracking" != xno \ 307 && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) 308 ]) 309 310 311 # AM_SET_DEPDIR 312 # ------------- 313 # Choose a directory name for dependency files. 314 # This macro is AC_REQUIREd in _AM_DEPENDENCIES 315 AC_DEFUN([AM_SET_DEPDIR], 316 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl 317 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl 318 ]) 319 320 321 # AM_DEP_TRACK 322 # ------------ 323 AC_DEFUN([AM_DEP_TRACK], 324 [AC_ARG_ENABLE(dependency-tracking, 325 [ --disable-dependency-tracking speeds up one-time build 326 --enable-dependency-tracking do not reject slow dependency extractors]) 327 if test "x$enable_dependency_tracking" != xno; then 328 am_depcomp="$ac_aux_dir/depcomp" 329 AMDEPBACKSLASH='\' 330 am__nodep='_no' 331 fi 332 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) 333 AC_SUBST([AMDEPBACKSLASH])dnl 334 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl 335 AC_SUBST([am__nodep])dnl 336 _AM_SUBST_NOTMAKE([am__nodep])dnl 337 ]) 338 339 # Generate code to set up dependency tracking. -*- Autoconf -*- 340 341 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 342 # Free Software Foundation, Inc. 343 # 344 # This file is free software; the Free Software Foundation 345 # gives unlimited permission to copy and/or distribute it, 346 # with or without modifications, as long as this notice is preserved. 347 348 #serial 5 349 350 # _AM_OUTPUT_DEPENDENCY_COMMANDS 351 # ------------------------------ 352 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], 353 [{ 354 # Autoconf 2.62 quotes --file arguments for eval, but not when files 355 # are listed without --file. Let's play safe and only enable the eval 356 # if we detect the quoting. 357 case $CONFIG_FILES in 358 *\'*) eval set x "$CONFIG_FILES" ;; 359 *) set x $CONFIG_FILES ;; 360 esac 361 shift 362 for mf 363 do 364 # Strip MF so we end up with the name of the file. 365 mf=`echo "$mf" | sed -e 's/:.*$//'` 366 # Check whether this is an Automake generated Makefile or not. 367 # We used to match only the files named `Makefile.in', but 368 # some people rename them; so instead we look at the file content. 369 # Grep'ing the first line is not enough: some people post-process 370 # each Makefile.in and add a new line on top of each file to say so. 371 # Grep'ing the whole file is not good either: AIX grep has a line 372 # limit of 2048, but all sed's we know have understand at least 4000. 373 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 374 dirpart=`AS_DIRNAME("$mf")` 375 else 376 continue 377 fi 378 # Extract the definition of DEPDIR, am__include, and am__quote 379 # from the Makefile without running `make'. 380 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 381 test -z "$DEPDIR" && continue 382 am__include=`sed -n 's/^am__include = //p' < "$mf"` 383 test -z "am__include" && continue 384 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 385 # When using ansi2knr, U may be empty or an underscore; expand it 386 U=`sed -n 's/^U = //p' < "$mf"` 387 # Find all dependency output files, they are included files with 388 # $(DEPDIR) in their names. We invoke sed twice because it is the 389 # simplest approach to changing $(DEPDIR) to its actual value in the 390 # expansion. 391 for file in `sed -n " 392 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 393 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 394 # Make sure the directory exists. 395 test -f "$dirpart/$file" && continue 396 fdir=`AS_DIRNAME(["$file"])` 397 AS_MKDIR_P([$dirpart/$fdir]) 398 # echo "creating $dirpart/$file" 399 echo '# dummy' > "$dirpart/$file" 400 done 401 done 402 } 403 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS 404 405 406 # AM_OUTPUT_DEPENDENCY_COMMANDS 407 # ----------------------------- 408 # This macro should only be invoked once -- use via AC_REQUIRE. 409 # 410 # This code is only required when automatic dependency tracking 411 # is enabled. FIXME. This creates each `.P' file that we will 412 # need in order to bootstrap the dependency handling code. 413 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], 414 [AC_CONFIG_COMMANDS([depfiles], 415 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], 416 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) 417 ]) 418 419 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 420 # Free Software Foundation, Inc. 421 # 422 # This file is free software; the Free Software Foundation 423 # gives unlimited permission to copy and/or distribute it, 424 # with or without modifications, as long as this notice is preserved. 425 426 # serial 8 427 428 # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. 429 AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) 430 431 # Do all the work for Automake. -*- Autoconf -*- 432 433 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 434 # 2005, 2006, 2008, 2009 Free Software Foundation, Inc. 435 # 436 # This file is free software; the Free Software Foundation 437 # gives unlimited permission to copy and/or distribute it, 438 # with or without modifications, as long as this notice is preserved. 439 440 # serial 16 441 442 # This macro actually does too much. Some checks are only needed if 443 # your package does certain things. But this isn't really a big deal. 51 444 52 445 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) … … 62 455 # release and drop the old call support. 63 456 AC_DEFUN([AM_INIT_AUTOMAKE], 64 [AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl 65 AC_REQUIRE([AC_PROG_INSTALL])dnl 66 # test to see if srcdir already configured 67 if test "`cd $srcdir && pwd`" != "`pwd`" && 68 test -f $srcdir/config.status; then 69 AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) 70 fi 457 [AC_PREREQ([2.62])dnl 458 dnl Autoconf wants to disallow AM_ names. We explicitly allow 459 dnl the ones we care about. 460 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl 461 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl 462 AC_REQUIRE([AC_PROG_INSTALL])dnl 463 if test "`cd $srcdir && pwd`" != "`pwd`"; then 464 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 465 # is not polluted with repeated "-I." 466 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl 467 # test to see if srcdir already configured 468 if test -f $srcdir/config.status; then 469 AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) 470 fi 471 fi 472 473 # test whether we have cygpath 474 if test -z "$CYGPATH_W"; then 475 if (cygpath --version) >/dev/null 2>/dev/null; then 476 CYGPATH_W='cygpath -w' 477 else 478 CYGPATH_W=echo 479 fi 480 fi 481 AC_SUBST([CYGPATH_W]) 71 482 72 483 # Define the identity of the package. … … 77 488 AC_SUBST([VERSION], [$2])], 78 489 [_AM_SET_OPTIONS([$1])dnl 79 AC_SUBST([PACKAGE], [AC_PACKAGE_TARNAME])dnl 80 AC_SUBST([VERSION], [AC_PACKAGE_VERSION])])dnl 490 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. 491 m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, 492 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl 493 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl 494 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl 81 495 82 496 _AM_IF_OPTION([no-define],, … … 92 506 AM_MISSING_PROG(AUTOHEADER, autoheader) 93 507 AM_MISSING_PROG(MAKEINFO, makeinfo) 94 A M_MISSING_PROG(AMTAR, tar)95 A M_PROG_INSTALL_SH96 A M_PROG_INSTALL_STRIP508 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl 509 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl 510 AC_REQUIRE([AM_PROG_MKDIR_P])dnl 97 511 # We need awk for the "check" target. The system "awk" is bad on 98 512 # some platforms. 99 513 AC_REQUIRE([AC_PROG_AWK])dnl 100 514 AC_REQUIRE([AC_PROG_MAKE_SET])dnl 101 515 AC_REQUIRE([AM_SET_LEADING_DOT])dnl 516 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], 517 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], 518 [_AM_PROG_TAR([v7])])]) 102 519 _AM_IF_OPTION([no-dependencies],, 103 [AC_PROVIDE_IFELSE([AC_PROG_][CC], 104 [_AM_DEPENDENCIES(CC)], 105 [define([AC_PROG_][CC], 106 defn([AC_PROG_][CC])[_AM_DEPENDENCIES(CC)])])dnl 107 AC_PROVIDE_IFELSE([AC_PROG_][CXX], 108 [_AM_DEPENDENCIES(CXX)], 109 [define([AC_PROG_][CXX], 110 defn([AC_PROG_][CXX])[_AM_DEPENDENCIES(CXX)])])dnl 111 ]) 112 ]) 113 114 # Copyright 2002 Free Software Foundation, Inc. 115 116 # This program is free software; you can redistribute it and/or modify 117 # it under the terms of the GNU General Public License as published by 118 # the Free Software Foundation; either version 2, or (at your option) 119 # any later version. 120 121 # This program is distributed in the hope that it will be useful, 122 # but WITHOUT ANY WARRANTY; without even the implied warranty of 123 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 124 # GNU General Public License for more details. 125 126 # You should have received a copy of the GNU General Public License 127 # along with this program; if not, write to the Free Software 128 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 129 130 # AM_AUTOMAKE_VERSION(VERSION) 131 # ---------------------------- 132 # Automake X.Y traces this macro to ensure aclocal.m4 has been 133 # generated from the m4 files accompanying Automake X.Y. 134 AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.6"]) 135 136 # AM_SET_CURRENT_AUTOMAKE_VERSION 137 # ------------------------------- 138 # Call AM_AUTOMAKE_VERSION so it can be traced. 139 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. 140 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], 141 [AM_AUTOMAKE_VERSION([1.6.3])]) 142 143 # Helper functions for option handling. -*- Autoconf -*- 144 145 # Copyright 2001, 2002 Free Software Foundation, Inc. 146 147 # This program is free software; you can redistribute it and/or modify 148 # it under the terms of the GNU General Public License as published by 149 # the Free Software Foundation; either version 2, or (at your option) 150 # any later version. 151 152 # This program is distributed in the hope that it will be useful, 153 # but WITHOUT ANY WARRANTY; without even the implied warranty of 154 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 155 # GNU General Public License for more details. 156 157 # You should have received a copy of the GNU General Public License 158 # along with this program; if not, write to the Free Software 159 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 160 # 02111-1307, USA. 520 [AC_PROVIDE_IFELSE([AC_PROG_CC], 521 [_AM_DEPENDENCIES(CC)], 522 [define([AC_PROG_CC], 523 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl 524 AC_PROVIDE_IFELSE([AC_PROG_CXX], 525 [_AM_DEPENDENCIES(CXX)], 526 [define([AC_PROG_CXX], 527 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl 528 AC_PROVIDE_IFELSE([AC_PROG_OBJC], 529 [_AM_DEPENDENCIES(OBJC)], 530 [define([AC_PROG_OBJC], 531 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl 532 ]) 533 _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl 534 dnl The `parallel-tests' driver may need to know about EXEEXT, so add the 535 dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro 536 dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. 537 AC_CONFIG_COMMANDS_PRE(dnl 538 [m4_provide_if([_AM_COMPILER_EXEEXT], 539 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl 540 ]) 541 542 dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not 543 dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further 544 dnl mangled by Autoconf and run in a shell conditional statement. 545 m4_define([_AC_COMPILER_EXEEXT], 546 m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) 547 548 549 # When config.status generates a header, we must update the stamp-h file. 550 # This file resides in the same directory as the config header 551 # that is generated. The stamp files are numbered to have different names. 552 553 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the 554 # loop where config.status creates the headers, so we can generate 555 # our stamp files there. 556 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], 557 [# Compute $1's index in $config_headers. 558 _am_arg=$1 559 _am_stamp_count=1 560 for _am_header in $config_headers :; do 561 case $_am_header in 562 $_am_arg | $_am_arg:* ) 563 break ;; 564 * ) 565 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 566 esac 567 done 568 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) 569 570 # Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation, 571 # Inc. 572 # 573 # This file is free software; the Free Software Foundation 574 # gives unlimited permission to copy and/or distribute it, 575 # with or without modifications, as long as this notice is preserved. 576 577 # serial 1 578 579 # AM_PROG_INSTALL_SH 580 # ------------------ 581 # Define $install_sh. 582 AC_DEFUN([AM_PROG_INSTALL_SH], 583 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 584 if test x"${install_sh}" != xset; then 585 case $am_aux_dir in 586 *\ * | *\ *) 587 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 588 *) 589 install_sh="\${SHELL} $am_aux_dir/install-sh" 590 esac 591 fi 592 AC_SUBST(install_sh)]) 593 594 # Copyright (C) 2003, 2005 Free Software Foundation, Inc. 595 # 596 # This file is free software; the Free Software Foundation 597 # gives unlimited permission to copy and/or distribute it, 598 # with or without modifications, as long as this notice is preserved. 161 599 162 600 # serial 2 601 602 # Check whether the underlying file-system supports filenames 603 # with a leading dot. For instance MS-DOS doesn't. 604 AC_DEFUN([AM_SET_LEADING_DOT], 605 [rm -rf .tst 2>/dev/null 606 mkdir .tst 2>/dev/null 607 if test -d .tst; then 608 am__leading_dot=. 609 else 610 am__leading_dot=_ 611 fi 612 rmdir .tst 2>/dev/null 613 AC_SUBST([am__leading_dot])]) 614 615 # Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2005 616 # Free Software Foundation, Inc. 617 # 618 # This file is free software; the Free Software Foundation 619 # gives unlimited permission to copy and/or distribute it, 620 # with or without modifications, as long as this notice is preserved. 621 622 # serial 5 623 624 # AM_PROG_LEX 625 # ----------- 626 # Autoconf leaves LEX=: if lex or flex can't be found. Change that to a 627 # "missing" invocation, for better error output. 628 AC_DEFUN([AM_PROG_LEX], 629 [AC_PREREQ(2.50)dnl 630 AC_REQUIRE([AM_MISSING_HAS_RUN])dnl 631 AC_REQUIRE([AC_PROG_LEX])dnl 632 if test "$LEX" = :; then 633 LEX=${am_missing_run}flex 634 fi]) 635 636 # Check to see how 'make' treats includes. -*- Autoconf -*- 637 638 # Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. 639 # 640 # This file is free software; the Free Software Foundation 641 # gives unlimited permission to copy and/or distribute it, 642 # with or without modifications, as long as this notice is preserved. 643 644 # serial 4 645 646 # AM_MAKE_INCLUDE() 647 # ----------------- 648 # Check to see how make treats includes. 649 AC_DEFUN([AM_MAKE_INCLUDE], 650 [am_make=${MAKE-make} 651 cat > confinc << 'END' 652 am__doit: 653 @echo this is the am__doit target 654 .PHONY: am__doit 655 END 656 # If we don't find an include directive, just comment out the code. 657 AC_MSG_CHECKING([for style of include used by $am_make]) 658 am__include="#" 659 am__quote= 660 _am_result=none 661 # First try GNU make style include. 662 echo "include confinc" > confmf 663 # Ignore all kinds of additional output from `make'. 664 case `$am_make -s -f confmf 2> /dev/null` in #( 665 *the\ am__doit\ target*) 666 am__include=include 667 am__quote= 668 _am_result=GNU 669 ;; 670 esac 671 # Now try BSD make style include. 672 if test "$am__include" = "#"; then 673 echo '.include "confinc"' > confmf 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=BSD 679 ;; 680 esac 681 fi 682 AC_SUBST([am__include]) 683 AC_SUBST([am__quote]) 684 AC_MSG_RESULT([$_am_result]) 685 rm -f confinc confmf 686 ]) 687 688 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- 689 690 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 691 # Free Software Foundation, Inc. 692 # 693 # This file is free software; the Free Software Foundation 694 # gives unlimited permission to copy and/or distribute it, 695 # with or without modifications, as long as this notice is preserved. 696 697 # serial 6 698 699 # AM_MISSING_PROG(NAME, PROGRAM) 700 # ------------------------------ 701 AC_DEFUN([AM_MISSING_PROG], 702 [AC_REQUIRE([AM_MISSING_HAS_RUN]) 703 $1=${$1-"${am_missing_run}$2"} 704 AC_SUBST($1)]) 705 706 707 # AM_MISSING_HAS_RUN 708 # ------------------ 709 # Define MISSING if not defined so far and test if it supports --run. 710 # If it does, set am_missing_run to use it, otherwise, to nothing. 711 AC_DEFUN([AM_MISSING_HAS_RUN], 712 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 713 AC_REQUIRE_AUX_FILE([missing])dnl 714 if test x"${MISSING+set}" != xset; then 715 case $am_aux_dir in 716 *\ * | *\ *) 717 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 718 *) 719 MISSING="\${SHELL} $am_aux_dir/missing" ;; 720 esac 721 fi 722 # Use eval to expand $SHELL 723 if eval "$MISSING --run true"; then 724 am_missing_run="$MISSING --run " 725 else 726 am_missing_run= 727 AC_MSG_WARN([`missing' script is too old or missing]) 728 fi 729 ]) 730 731 # Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation, 732 # Inc. 733 # 734 # This file is free software; the Free Software Foundation 735 # gives unlimited permission to copy and/or distribute it, 736 # with or without modifications, as long as this notice is preserved. 737 738 # serial 1 739 740 # AM_PROG_MKDIR_P 741 # --------------- 742 # Check for `mkdir -p'. 743 AC_DEFUN([AM_PROG_MKDIR_P], 744 [AC_PREREQ([2.60])dnl 745 AC_REQUIRE([AC_PROG_MKDIR_P])dnl 746 dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, 747 dnl while keeping a definition of mkdir_p for backward compatibility. 748 dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. 749 dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of 750 dnl Makefile.ins that do not define MKDIR_P, so we do our own 751 dnl adjustment using top_builddir (which is defined more often than 752 dnl MKDIR_P). 753 AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl 754 case $mkdir_p in 755 [[\\/$]]* | ?:[[\\/]]*) ;; 756 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 757 esac 758 ]) 759 760 # Helper functions for option handling. -*- Autoconf -*- 761 762 # Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software 763 # Foundation, Inc. 764 # 765 # This file is free software; the Free Software Foundation 766 # gives unlimited permission to copy and/or distribute it, 767 # with or without modifications, as long as this notice is preserved. 768 769 # serial 5 163 770 164 771 # _AM_MANGLE_OPTION(NAME) … … 168 775 169 776 # _AM_SET_OPTION(NAME) 170 # -------------------- ----------777 # -------------------- 171 778 # Set option NAME. Presently that only means defining a flag for this option. 172 779 AC_DEFUN([_AM_SET_OPTION], … … 174 781 175 782 # _AM_SET_OPTIONS(OPTIONS) 176 # ------------------------ ----------783 # ------------------------ 177 784 # OPTIONS is a space-separated list of Automake options. 178 785 AC_DEFUN([_AM_SET_OPTIONS], 179 [ AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])786 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) 180 787 181 788 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) … … 185 792 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) 186 793 187 # 188 # Check to make sure that the build environment is sane. 189 # 190 191 # Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc. 192 193 # This program is free software; you can redistribute it and/or modify 194 # it under the terms of the GNU General Public License as published by 195 # the Free Software Foundation; either version 2, or (at your option) 196 # any later version. 197 198 # This program is distributed in the hope that it will be useful, 199 # but WITHOUT ANY WARRANTY; without even the implied warranty of 200 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 201 # GNU General Public License for more details. 202 203 # You should have received a copy of the GNU General Public License 204 # along with this program; if not, write to the Free Software 205 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 206 # 02111-1307, USA. 207 208 # serial 3 794 # Check to make sure that the build environment is sane. -*- Autoconf -*- 795 796 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 797 # Free Software Foundation, Inc. 798 # 799 # This file is free software; the Free Software Foundation 800 # gives unlimited permission to copy and/or distribute it, 801 # with or without modifications, as long as this notice is preserved. 802 803 # serial 5 209 804 210 805 # AM_SANITY_CHECK … … 215 810 sleep 1 216 811 echo timestamp > conftest.file 812 # Reject unsafe characters in $srcdir or the absolute working directory 813 # name. Accept space and tab only in the latter. 814 am_lf=' 815 ' 816 case `pwd` in 817 *[[\\\"\#\$\&\'\`$am_lf]]*) 818 AC_MSG_ERROR([unsafe absolute working directory name]);; 819 esac 820 case $srcdir in 821 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) 822 AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; 823 esac 824 217 825 # Do `set' in a subshell so we don't clobber the current shell's 218 826 # arguments. Must try -L first in case configure is actually a … … 221 829 # directory). 222 830 if ( 223 set X `ls -Lt $srcdir/configureconftest.file 2> /dev/null`831 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 224 832 if test "$[*]" = "X"; then 225 833 # -L didn't work. 226 set X `ls -t $srcdir/configureconftest.file`834 set X `ls -t "$srcdir/configure" conftest.file` 227 835 fi 228 836 rm -f conftest.file … … 249 857 AC_MSG_RESULT(yes)]) 250 858 251 # -*- Autoconf -*- 252 253 254 # Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc. 255 256 # This program is free software; you can redistribute it and/or modify 257 # it under the terms of the GNU General Public License as published by 258 # the Free Software Foundation; either version 2, or (at your option) 259 # any later version. 260 261 # This program is distributed in the hope that it will be useful, 262 # but WITHOUT ANY WARRANTY; without even the implied warranty of 263 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 264 # GNU General Public License for more details. 265 266 # You should have received a copy of the GNU General Public License 267 # along with this program; if not, write to the Free Software 268 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 269 # 02111-1307, USA. 270 271 # serial 3 272 273 # AM_MISSING_PROG(NAME, PROGRAM) 274 # ------------------------------ 275 AC_DEFUN([AM_MISSING_PROG], 276 [AC_REQUIRE([AM_MISSING_HAS_RUN]) 277 $1=${$1-"${am_missing_run}$2"} 278 AC_SUBST($1)]) 279 280 281 # AM_MISSING_HAS_RUN 282 # ------------------ 283 # Define MISSING if not defined so far and test if it supports --run. 284 # If it does, set am_missing_run to use it, otherwise, to nothing. 285 AC_DEFUN([AM_MISSING_HAS_RUN], 286 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 287 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 288 # Use eval to expand $SHELL 289 if eval "$MISSING --run true"; then 290 am_missing_run="$MISSING --run " 291 else 292 am_missing_run= 293 AC_MSG_WARN([`missing' script is too old or missing]) 294 fi 295 ]) 296 297 # AM_AUX_DIR_EXPAND 298 299 # Copyright 2001 Free Software Foundation, Inc. 300 301 # This program is free software; you can redistribute it and/or modify 302 # it under the terms of the GNU General Public License as published by 303 # the Free Software Foundation; either version 2, or (at your option) 304 # any later version. 305 306 # This program is distributed in the hope that it will be useful, 307 # but WITHOUT ANY WARRANTY; without even the implied warranty of 308 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 309 # GNU General Public License for more details. 310 311 # You should have received a copy of the GNU General Public License 312 # along with this program; if not, write to the Free Software 313 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 314 # 02111-1307, USA. 315 316 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets 317 # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to 318 # `$srcdir', `$srcdir/..', or `$srcdir/../..'. 319 # 320 # Of course, Automake must honor this variable whenever it calls a 321 # tool from the auxiliary directory. The problem is that $srcdir (and 322 # therefore $ac_aux_dir as well) can be either absolute or relative, 323 # depending on how configure is run. This is pretty annoying, since 324 # it makes $ac_aux_dir quite unusable in subdirectories: in the top 325 # source directory, any form will work fine, but in subdirectories a 326 # relative path needs to be adjusted first. 327 # 328 # $ac_aux_dir/missing 329 # fails when called from a subdirectory if $ac_aux_dir is relative 330 # $top_srcdir/$ac_aux_dir/missing 331 # fails if $ac_aux_dir is absolute, 332 # fails when called from a subdirectory in a VPATH build with 333 # a relative $ac_aux_dir 334 # 335 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir 336 # are both prefixed by $srcdir. In an in-source build this is usually 337 # harmless because $srcdir is `.', but things will broke when you 338 # start a VPATH build or use an absolute $srcdir. 339 # 340 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, 341 # iff we strip the leading $srcdir from $ac_aux_dir. That would be: 342 # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` 343 # and then we would define $MISSING as 344 # MISSING="\${SHELL} $am_aux_dir/missing" 345 # This will work as long as MISSING is not called from configure, because 346 # unfortunately $(top_srcdir) has no meaning in configure. 347 # However there are other variables, like CC, which are often used in 348 # configure, and could therefore not use this "fixed" $ac_aux_dir. 349 # 350 # Another solution, used here, is to always expand $ac_aux_dir to an 351 # absolute PATH. The drawback is that using absolute paths prevent a 352 # configured tree to be moved without reconfiguration. 353 354 # Rely on autoconf to set up CDPATH properly. 355 AC_PREREQ([2.50]) 356 357 AC_DEFUN([AM_AUX_DIR_EXPAND], [ 358 # expand $ac_aux_dir to an absolute path 359 am_aux_dir=`cd $ac_aux_dir && pwd` 360 ]) 361 362 # AM_PROG_INSTALL_SH 363 # ------------------ 364 # Define $install_sh. 365 366 # Copyright 2001 Free Software Foundation, Inc. 367 368 # This program is free software; you can redistribute it and/or modify 369 # it under the terms of the GNU General Public License as published by 370 # the Free Software Foundation; either version 2, or (at your option) 371 # any later version. 372 373 # This program is distributed in the hope that it will be useful, 374 # but WITHOUT ANY WARRANTY; without even the implied warranty of 375 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 376 # GNU General Public License for more details. 377 378 # You should have received a copy of the GNU General Public License 379 # along with this program; if not, write to the Free Software 380 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 381 # 02111-1307, USA. 382 383 AC_DEFUN([AM_PROG_INSTALL_SH], 384 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 385 install_sh=${install_sh-"$am_aux_dir/install-sh"} 386 AC_SUBST(install_sh)]) 859 # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. 860 # 861 # This file is free software; the Free Software Foundation 862 # gives unlimited permission to copy and/or distribute it, 863 # with or without modifications, as long as this notice is preserved. 864 865 # serial 1 387 866 388 867 # AM_PROG_INSTALL_STRIP 389 390 # Copyright 2001 Free Software Foundation, Inc. 391 392 # This program is free software; you can redistribute it and/or modify 393 # it under the terms of the GNU General Public License as published by 394 # the Free Software Foundation; either version 2, or (at your option) 395 # any later version. 396 397 # This program is distributed in the hope that it will be useful, 398 # but WITHOUT ANY WARRANTY; without even the implied warranty of 399 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 400 # GNU General Public License for more details. 401 402 # You should have received a copy of the GNU General Public License 403 # along with this program; if not, write to the Free Software 404 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 405 # 02111-1307, USA. 406 868 # --------------------- 407 869 # One issue with vendor `install' (even GNU) is that you can't 408 870 # specify the program used to strip binaries. This is especially … … 422 884 AC_CHECK_TOOL([STRIP], [strip], :) 423 885 fi 424 INSTALL_STRIP_PROGRAM="\$ {SHELL} \$(install_sh) -c -s"886 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 425 887 AC_SUBST([INSTALL_STRIP_PROGRAM])]) 426 888 427 # serial 4 -*- Autoconf -*- 428 429 # Copyright 1999, 2000, 2001 Free Software Foundation, Inc. 430 431 # This program is free software; you can redistribute it and/or modify 432 # it under the terms of the GNU General Public License as published by 433 # the Free Software Foundation; either version 2, or (at your option) 434 # any later version. 435 436 # This program is distributed in the hope that it will be useful, 437 # but WITHOUT ANY WARRANTY; without even the implied warranty of 438 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 439 # GNU General Public License for more details. 440 441 # You should have received a copy of the GNU General Public License 442 # along with this program; if not, write to the Free Software 443 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 444 # 02111-1307, USA. 445 446 447 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be 448 # written in clear, in which case automake, when reading aclocal.m4, 449 # will think it sees a *use*, and therefore will trigger all it's 450 # C support machinery. Also note that it means that autoscan, seeing 451 # CC etc. in the Makefile, will ask for an AC_PROG_CC use... 452 453 454 455 # _AM_DEPENDENCIES(NAME) 456 # ---------------------- 457 # See how the compiler implements dependency checking. 458 # NAME is "CC", "CXX", "GCJ", or "OBJC". 459 # We try a few techniques and use that to set a single cache variable. 460 # 461 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was 462 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular 463 # dependency, and given that the user is not expected to run this macro, 464 # just rely on AC_PROG_CC. 465 AC_DEFUN([_AM_DEPENDENCIES], 466 [AC_REQUIRE([AM_SET_DEPDIR])dnl 467 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl 468 AC_REQUIRE([AM_MAKE_INCLUDE])dnl 469 AC_REQUIRE([AM_DEP_TRACK])dnl 470 471 ifelse([$1], CC, [depcc="$CC" am_compiler_list=], 472 [$1], CXX, [depcc="$CXX" am_compiler_list=], 473 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], 474 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], 475 [depcc="$$1" am_compiler_list=]) 476 477 AC_CACHE_CHECK([dependency style of $depcc], 478 [am_cv_$1_dependencies_compiler_type], 479 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 480 # We make a subdir and do the tests there. Otherwise we can end up 481 # making bogus files that we don't know about and never remove. For 482 # instance it was reported that on HP-UX the gcc test will end up 483 # making a dummy file named `D' -- because `-MD' means `put the output 484 # in D'. 889 # Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc. 890 # 891 # This file is free software; the Free Software Foundation 892 # gives unlimited permission to copy and/or distribute it, 893 # with or without modifications, as long as this notice is preserved. 894 895 # serial 3 896 897 # _AM_SUBST_NOTMAKE(VARIABLE) 898 # --------------------------- 899 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. 900 # This macro is traced by Automake. 901 AC_DEFUN([_AM_SUBST_NOTMAKE]) 902 903 # AM_SUBST_NOTMAKE(VARIABLE) 904 # -------------------------- 905 # Public sister of _AM_SUBST_NOTMAKE. 906 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) 907 908 # Check how to create a tarball. -*- Autoconf -*- 909 910 # Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc. 911 # 912 # This file is free software; the Free Software Foundation 913 # gives unlimited permission to copy and/or distribute it, 914 # with or without modifications, as long as this notice is preserved. 915 916 # serial 2 917 918 # _AM_PROG_TAR(FORMAT) 919 # -------------------- 920 # Check how to create a tarball in format FORMAT. 921 # FORMAT should be one of `v7', `ustar', or `pax'. 922 # 923 # Substitute a variable $(am__tar) that is a command 924 # writing to stdout a FORMAT-tarball containing the directory 925 # $tardir. 926 # tardir=directory && $(am__tar) > result.tar 927 # 928 # Substitute a variable $(am__untar) that extract such 929 # a tarball read from stdin. 930 # $(am__untar) < result.tar 931 AC_DEFUN([_AM_PROG_TAR], 932 [# Always define AMTAR for backward compatibility. Yes, it's still used 933 # in the wild :-( We should find a proper way to deprecate it ... 934 AC_SUBST([AMTAR], ['$${TAR-tar}']) 935 m4_if([$1], [v7], 936 [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], 937 [m4_case([$1], [ustar],, [pax],, 938 [m4_fatal([Unknown tar format])]) 939 AC_MSG_CHECKING([how to create a $1 tar archive]) 940 # Loop over all known methods to create a tar archive until one works. 941 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' 942 _am_tools=${am_cv_prog_tar_$1-$_am_tools} 943 # Do not fold the above two line into one, because Tru64 sh and 944 # Solaris sh will not grok spaces in the rhs of `-'. 945 for _am_tool in $_am_tools 946 do 947 case $_am_tool in 948 gnutar) 949 for _am_tar in tar gnutar gtar; 950 do 951 AM_RUN_LOG([$_am_tar --version]) && break 952 done 953 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' 954 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' 955 am__untar="$_am_tar -xf -" 956 ;; 957 plaintar) 958 # Must skip GNU tar: if it does not support --format= it doesn't create 959 # ustar tarball either. 960 (tar --version) >/dev/null 2>&1 && continue 961 am__tar='tar chf - "$$tardir"' 962 am__tar_='tar chf - "$tardir"' 963 am__untar='tar xf -' 964 ;; 965 pax) 966 am__tar='pax -L -x $1 -w "$$tardir"' 967 am__tar_='pax -L -x $1 -w "$tardir"' 968 am__untar='pax -r' 969 ;; 970 cpio) 971 am__tar='find "$$tardir" -print | cpio -o -H $1 -L' 972 am__tar_='find "$tardir" -print | cpio -o -H $1 -L' 973 am__untar='cpio -i -H $1 -d' 974 ;; 975 none) 976 am__tar=false 977 am__tar_=false 978 am__untar=false 979 ;; 980 esac 981 982 # If the value was cached, stop now. We just wanted to have am__tar 983 # and am__untar set. 984 test -n "${am_cv_prog_tar_$1}" && break 985 986 # tar/untar a dummy directory, and stop if the command works 987 rm -rf conftest.dir 485 988 mkdir conftest.dir 486 # Copy depcomp to subdir because otherwise we won't find it if we're 487 # using a relative directory. 488 cp "$am_depcomp" conftest.dir 489 cd conftest.dir 490 491 am_cv_$1_dependencies_compiler_type=none 492 if test "$am_compiler_list" = ""; then 493 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` 989 echo GrepMe > conftest.dir/file 990 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) 991 rm -rf conftest.dir 992 if test -s conftest.tar; then 993 AM_RUN_LOG([$am__untar <conftest.tar]) 994 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 494 995 fi 495 for depmode in $am_compiler_list; do496 # We need to recreate these files for each test, as the compiler may497 # overwrite some of them when testing with obscure command lines.498 # This happens at least with the AIX C compiler.499 echo '#include "conftest.h"' > conftest.c500 echo 'int i;' > conftest.h501 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf502 503 case $depmode in504 nosideeffect)505 # after this tag, mechanisms are not by side-effect, so they'll506 # only be used when explicitly requested507 if test "x$enable_dependency_tracking" = xyes; then508 continue509 else510 break511 fi512 ;;513 none) break ;;514 esac515 # We check with `-c' and `-o' for the sake of the "dashmstdout"516 # mode. It turns out that the SunPro C++ compiler does not properly517 # handle `-M -o', and we need to detect this.518 if depmode=$depmode \519 source=conftest.c object=conftest.o \520 depfile=conftest.Po tmpdepfile=conftest.TPo \521 $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&522 grep conftest.h conftest.Po > /dev/null 2>&1 &&523 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then524 am_cv_$1_dependencies_compiler_type=$depmode525 break526 fi527 done528 529 cd ..530 rm -rf conftest.dir531 else532 am_cv_$1_dependencies_compiler_type=none533 fi534 ])535 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])536 ])537 538 539 # AM_SET_DEPDIR540 # -------------541 # Choose a directory name for dependency files.542 # This macro is AC_REQUIREd in _AM_DEPENDENCIES543 AC_DEFUN([AM_SET_DEPDIR],544 [rm -f .deps 2>/dev/null545 mkdir .deps 2>/dev/null546 if test -d .deps; then547 DEPDIR=.deps548 else549 # MS-DOS does not allow filenames that begin with a dot.550 DEPDIR=_deps551 fi552 rmdir .deps 2>/dev/null553 AC_SUBST([DEPDIR])554 ])555 556 557 # AM_DEP_TRACK558 # ------------559 AC_DEFUN([AM_DEP_TRACK],560 [AC_ARG_ENABLE(dependency-tracking,561 [ --disable-dependency-tracking Speeds up one-time builds562 --enable-dependency-tracking Do not reject slow dependency extractors])563 if test "x$enable_dependency_tracking" != xno; then564 am_depcomp="$ac_aux_dir/depcomp"565 AMDEPBACKSLASH='\'566 fi567 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])568 AC_SUBST([AMDEPBACKSLASH])569 ])570 571 # Generate code to set up dependency tracking. -*- Autoconf -*-572 573 # Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.574 575 # This program is free software; you can redistribute it and/or modify576 # it under the terms of the GNU General Public License as published by577 # the Free Software Foundation; either version 2, or (at your option)578 # any later version.579 580 # This program is distributed in the hope that it will be useful,581 # but WITHOUT ANY WARRANTY; without even the implied warranty of582 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the583 # GNU General Public License for more details.584 585 # You should have received a copy of the GNU General Public License586 # along with this program; if not, write to the Free Software587 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA588 # 02111-1307, USA.589 590 #serial 2591 592 # _AM_OUTPUT_DEPENDENCY_COMMANDS593 # ------------------------------594 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],595 [for mf in $CONFIG_FILES; do596 # Strip MF so we end up with the name of the file.597 mf=`echo "$mf" | sed -e 's/:.*$//'`598 # Check whether this is an Automake generated Makefile or not.599 # We used to match only the files named `Makefile.in', but600 # some people rename them; so instead we look at the file content.601 # Grep'ing the first line is not enough: some people post-process602 # each Makefile.in and add a new line on top of each file to say so.603 # So let's grep whole file.604 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then605 dirpart=`AS_DIRNAME("$mf")`606 else607 continue608 fi609 grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue610 # Extract the definition of DEP_FILES from the Makefile without611 # running `make'.612 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`613 test -z "$DEPDIR" && continue614 # When using ansi2knr, U may be empty or an underscore; expand it615 U=`sed -n -e '/^U = / s///p' < "$mf"`616 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"617 # We invoke sed twice because it is the simplest approach to618 # changing $(DEPDIR) to its actual value in the expansion.619 for file in `sed -n -e '620 /^DEP_FILES = .*\\\\$/ {621 s/^DEP_FILES = //622 :loop623 s/\\\\$//624 p625 n626 /\\\\$/ b loop627 p628 }629 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \630 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do631 # Make sure the directory exists.632 test -f "$dirpart/$file" && continue633 fdir=`AS_DIRNAME(["$file"])`634 AS_MKDIR_P([$dirpart/$fdir])635 # echo "creating $dirpart/$file"636 echo '# dummy' > "$dirpart/$file"637 done638 996 done 639 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS 640 641 642 # AM_OUTPUT_DEPENDENCY_COMMANDS 643 # ----------------------------- 644 # This macro should only be invoked once -- use via AC_REQUIRE. 645 # 646 # This code is only required when automatic dependency tracking 647 # is enabled. FIXME. This creates each `.P' file that we will 648 # need in order to bootstrap the dependency handling code. 649 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], 650 [AC_CONFIG_COMMANDS([depfiles], 651 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], 652 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) 653 ]) 654 655 # Copyright 2001 Free Software Foundation, Inc. -*- Autoconf -*- 656 657 # This program is free software; you can redistribute it and/or modify 658 # it under the terms of the GNU General Public License as published by 659 # the Free Software Foundation; either version 2, or (at your option) 660 # any later version. 661 662 # This program is distributed in the hope that it will be useful, 663 # but WITHOUT ANY WARRANTY; without even the implied warranty of 664 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 665 # GNU General Public License for more details. 666 667 # You should have received a copy of the GNU General Public License 668 # along with this program; if not, write to the Free Software 669 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 670 # 02111-1307, USA. 671 672 # serial 2 673 674 # AM_MAKE_INCLUDE() 675 # ----------------- 676 # Check to see how make treats includes. 677 AC_DEFUN([AM_MAKE_INCLUDE], 678 [am_make=${MAKE-make} 679 cat > confinc << 'END' 680 doit: 681 @echo done 682 END 683 # If we don't find an include directive, just comment out the code. 684 AC_MSG_CHECKING([for style of include used by $am_make]) 685 am__include="#" 686 am__quote= 687 _am_result=none 688 # First try GNU make style include. 689 echo "include confinc" > confmf 690 # We grep out `Entering directory' and `Leaving directory' 691 # messages which can occur if `w' ends up in MAKEFLAGS. 692 # In particular we don't look at `^make:' because GNU make might 693 # be invoked under some other name (usually "gmake"), in which 694 # case it prints its new name instead of `make'. 695 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then 696 am__include=include 697 am__quote= 698 _am_result=GNU 699 fi 700 # Now try BSD make style include. 701 if test "$am__include" = "#"; then 702 echo '.include "confinc"' > confmf 703 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 704 am__include=.include 705 am__quote="\"" 706 _am_result=BSD 707 fi 708 fi 709 AC_SUBST(am__include) 710 AC_SUBST(am__quote) 711 AC_MSG_RESULT($_am_result) 712 rm -f confinc confmf 713 ]) 714 715 # AM_CONDITIONAL -*- Autoconf -*- 716 717 # Copyright 1997, 2000, 2001 Free Software Foundation, Inc. 718 719 # This program is free software; you can redistribute it and/or modify 720 # it under the terms of the GNU General Public License as published by 721 # the Free Software Foundation; either version 2, or (at your option) 722 # any later version. 723 724 # This program is distributed in the hope that it will be useful, 725 # but WITHOUT ANY WARRANTY; without even the implied warranty of 726 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 727 # GNU General Public License for more details. 728 729 # You should have received a copy of the GNU General Public License 730 # along with this program; if not, write to the Free Software 731 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 732 # 02111-1307, USA. 733 734 # serial 5 735 736 AC_PREREQ(2.52) 737 738 # AM_CONDITIONAL(NAME, SHELL-CONDITION) 739 # ------------------------------------- 740 # Define a conditional. 741 AC_DEFUN([AM_CONDITIONAL], 742 [ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], 743 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl 744 AC_SUBST([$1_TRUE]) 745 AC_SUBST([$1_FALSE]) 746 if $2; then 747 $1_TRUE= 748 $1_FALSE='#' 749 else 750 $1_TRUE='#' 751 $1_FALSE= 752 fi 753 AC_CONFIG_COMMANDS_PRE( 754 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then 755 AC_MSG_ERROR([conditional \"$1\" was never defined. 756 Usually this means the macro was only invoked conditionally.]) 757 fi])]) 758 759 # Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*- 760 761 # Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc. 762 763 # This program is free software; you can redistribute it and/or modify 764 # it under the terms of the GNU General Public License as published by 765 # the Free Software Foundation; either version 2, or (at your option) 766 # any later version. 767 768 # This program is distributed in the hope that it will be useful, 769 # but WITHOUT ANY WARRANTY; without even the implied warranty of 770 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 771 # GNU General Public License for more details. 772 773 # You should have received a copy of the GNU General Public License 774 # along with this program; if not, write to the Free Software 775 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 776 # 02111-1307, USA. 777 778 AC_PREREQ([2.52]) 779 780 # serial 6 781 782 # When config.status generates a header, we must update the stamp-h file. 783 # This file resides in the same directory as the config header 784 # that is generated. We must strip everything past the first ":", 785 # and everything past the last "/". 786 787 # _AM_DIRNAME(PATH) 788 # ----------------- 789 # Like AS_DIRNAME, only do it during macro expansion 790 AC_DEFUN([_AM_DIRNAME], 791 [m4_if(regexp([$1], [^.*[^/]//*[^/][^/]*/*$]), -1, 792 m4_if(regexp([$1], [^//\([^/]\|$\)]), -1, 793 m4_if(regexp([$1], [^/.*]), -1, 794 [.], 795 patsubst([$1], [^\(/\).*], [\1])), 796 patsubst([$1], [^\(//\)\([^/].*\|$\)], [\1])), 797 patsubst([$1], [^\(.*[^/]\)//*[^/][^/]*/*$], [\1]))[]dnl 798 ])# _AM_DIRNAME 799 800 801 # The stamp files are numbered to have different names. 802 # We could number them on a directory basis, but that's additional 803 # complications, let's have a unique counter. 804 m4_define([_AM_STAMP_Count], [0]) 805 806 807 # _AM_STAMP(HEADER) 808 # ----------------- 809 # The name of the stamp file for HEADER. 810 AC_DEFUN([_AM_STAMP], 811 [m4_define([_AM_STAMP_Count], m4_incr(_AM_STAMP_Count))dnl 812 AS_ESCAPE(_AM_DIRNAME(patsubst([$1], 813 [:.*])))/stamp-h[]_AM_STAMP_Count]) 814 815 816 # _AM_CONFIG_HEADER(HEADER[:SOURCES], COMMANDS, INIT-COMMANDS) 817 # ------------------------------------------------------------ 818 # We used to try to get a real timestamp in stamp-h. But the fear is that 819 # that will cause unnecessary cvs conflicts. 820 AC_DEFUN([_AM_CONFIG_HEADER], 821 [# Add the stamp file to the list of files AC keeps track of, 822 # along with our hook. 823 AC_CONFIG_HEADERS([$1], 824 [# update the timestamp 825 echo 'timestamp for $1' >"_AM_STAMP([$1])" 826 $2], 827 [$3]) 828 ])# _AM_CONFIG_HEADER 829 830 831 # AM_CONFIG_HEADER(HEADER[:SOURCES]..., COMMANDS, INIT-COMMANDS) 832 # -------------------------------------------------------------- 833 AC_DEFUN([AM_CONFIG_HEADER], 834 [AC_FOREACH([_AM_File], [$1], [_AM_CONFIG_HEADER(_AM_File, [$2], [$3])]) 835 ])# AM_CONFIG_HEADER 836 837 838 # Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. 839 840 # This program is free software; you can redistribute it and/or modify 841 # it under the terms of the GNU General Public License as published by 842 # the Free Software Foundation; either version 2, or (at your option) 843 # any later version. 844 845 # This program is distributed in the hope that it will be useful, 846 # but WITHOUT ANY WARRANTY; without even the implied warranty of 847 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 848 # GNU General Public License for more details. 849 850 # You should have received a copy of the GNU General Public License 851 # along with this program; if not, write to the Free Software 852 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 853 # 02111-1307, USA. 854 855 # serial 3 856 857 AC_PREREQ(2.50) 858 859 # AM_PROG_LEX 860 # ----------- 861 # Autoconf leaves LEX=: if lex or flex can't be found. Change that to a 862 # "missing" invocation, for better error output. 863 AC_DEFUN([AM_PROG_LEX], 864 [AC_REQUIRE([AM_MISSING_HAS_RUN])dnl 865 AC_REQUIRE([AC_PROG_LEX])dnl 866 if test "$LEX" = :; then 867 LEX=${am_missing_run}flex 868 fi]) 869 997 rm -rf conftest.dir 998 999 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) 1000 AC_MSG_RESULT([$am_cv_prog_tar_$1])]) 1001 AC_SUBST([am__tar]) 1002 AC_SUBST([am__untar]) 1003 ]) # _AM_PROG_TAR 1004 -
config.h
r134b86a r8c17ab0 1 /* config.h. Generated automatically by configure. */ 2 /* config.h.in. Generated automatically from configure.in by autoheader. */ 1 /* config.h. Generated from config.h.in by configure. */ 2 /* config.h.in. Generated from configure.in by autoheader. */ 3 4 /* Location of cfa command. */ 5 #define CFA_BINDIR "/u/pabuhr/software/cfa/cfa-cc/bin" 6 7 /* Location of include files. */ 8 #define CFA_INCDIR "/u/pabuhr/software/cfa/cfa-cc/include" 9 10 /* Location of cc1 and cfa-cpp commands. */ 11 #define CFA_LIBDIR "/u/pabuhr/software/cfa/cfa-cc/lib" 12 13 /* Location of cfa files. */ 3 14 #define CFA_PREFIX "/u/pabuhr/software/cfa/cfa-cc" 4 #define CFA_BINDIR "/u/pabuhr/software/cfa/cfa-cc/bin" 5 #define CFA_LIBDIR "/u/pabuhr/software/cfa/cfa-cc/lib" 6 //#undef CFA_SHAREDIR 7 /* #undef ENABLE_PURIFY */ 15 16 /* Path/name of cpp preprocessor. */ 8 17 #define CPP_PATH "/usr/bin/cpp" 18 19 /* Path/name of C compiler. */ 9 20 #define GCC_PATH "/u/pabuhr/bin/gcc" 10 21 11 /* Define if you have the <malloc.h> header file. */ 22 /* Define to 1 if you have the <inttypes.h> header file. */ 23 #define HAVE_INTTYPES_H 1 24 25 /* Define to 1 if you have the <malloc.h> header file. */ 12 26 #define HAVE_MALLOC_H 1 13 27 14 /* Define if you have the <unistd.h> header file. */ 28 /* Define to 1 if you have the <memory.h> header file. */ 29 #define HAVE_MEMORY_H 1 30 31 /* Define to 1 if you have the <stdint.h> header file. */ 32 #define HAVE_STDINT_H 1 33 34 /* Define to 1 if you have the <stdlib.h> header file. */ 35 #define HAVE_STDLIB_H 1 36 37 /* Define to 1 if you have the <strings.h> header file. */ 38 #define HAVE_STRINGS_H 1 39 40 /* Define to 1 if you have the <string.h> header file. */ 41 #define HAVE_STRING_H 1 42 43 /* Define to 1 if you have the <sys/stat.h> header file. */ 44 #define HAVE_SYS_STAT_H 1 45 46 /* Define to 1 if you have the <sys/types.h> header file. */ 47 #define HAVE_SYS_TYPES_H 1 48 49 /* Define to 1 if you have the <unistd.h> header file. */ 15 50 #define HAVE_UNISTD_H 1 16 51 … … 18 53 #define PACKAGE "cfa" 19 54 20 /* Define if your <sys/time.h> declares `struct tm'. */ 55 /* Define to the address where bug reports for this package should be sent. */ 56 #define PACKAGE_BUGREPORT "cforall@plg.uwaterloo.ca" 57 58 /* Define to the full name of this package. */ 59 #define PACKAGE_NAME "cfa-cc" 60 61 /* Define to the full name and version of this package. */ 62 #define PACKAGE_STRING "cfa-cc 1.0" 63 64 /* Define to the one symbol short name of this package. */ 65 #define PACKAGE_TARNAME "cfa-cc" 66 67 /* Define to the home page for this package. */ 68 #define PACKAGE_URL "" 69 70 /* Define to the version of this package. */ 71 #define PACKAGE_VERSION "1.0" 72 73 /* Define to 1 if you have the ANSI C header files. */ 74 #define STDC_HEADERS 1 75 76 /* Define to 1 if your <sys/time.h> declares `struct tm'. */ 21 77 /* #undef TM_IN_SYS_TIME */ 22 78 … … 24 80 #define VERSION "1.0" 25 81 26 /* Define if `lex' declares `yytext' as a `char *' by default, not a `char[]'.27 */82 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a 83 `char[]'. */ 28 84 #define YYTEXT_POINTER 1 29 85 … … 31 87 /* #undef const */ 32 88 33 /* Define as `__inline' if that's what the C compiler calls it, or to nothing 34 if it is not supported. */ 89 /* Define to `__inline__' or `__inline' if that's what the C compiler 90 calls it, or to nothing if 'inline' is not supported under any name. */ 91 #ifndef __cplusplus 35 92 /* #undef inline */ 93 #endif -
config.h.in
r134b86a r8c17ab0 1 /* config.h.in. Generated automatically from configure.in by autoheader. */ 1 /* config.h.in. Generated from configure.in by autoheader. */ 2 3 /* Location of cfa command. */ 4 #undef CFA_BINDIR 5 6 /* Location of include files. */ 7 #undef CFA_INCDIR 8 9 /* Location of cc1 and cfa-cpp commands. */ 10 #undef CFA_LIBDIR 11 12 /* Location of cfa files. */ 2 13 #undef CFA_PREFIX 3 #undef CFA_BINDIR 4 #undef CFA_LIBDIR 5 //#undef CFA_SHAREDIR 6 #undef ENABLE_PURIFY 14 15 /* Path/name of cpp preprocessor. */ 7 16 #undef CPP_PATH 17 18 /* Path/name of C compiler. */ 8 19 #undef GCC_PATH 9 20 10 /* Define if you have the <malloc.h> header file. */ 21 /* Define to 1 if you have the <inttypes.h> header file. */ 22 #undef HAVE_INTTYPES_H 23 24 /* Define to 1 if you have the <malloc.h> header file. */ 11 25 #undef HAVE_MALLOC_H 12 26 13 /* Define if you have the <unistd.h> header file. */ 27 /* Define to 1 if you have the <memory.h> header file. */ 28 #undef HAVE_MEMORY_H 29 30 /* Define to 1 if you have the <stdint.h> header file. */ 31 #undef HAVE_STDINT_H 32 33 /* Define to 1 if you have the <stdlib.h> header file. */ 34 #undef HAVE_STDLIB_H 35 36 /* Define to 1 if you have the <strings.h> header file. */ 37 #undef HAVE_STRINGS_H 38 39 /* Define to 1 if you have the <string.h> header file. */ 40 #undef HAVE_STRING_H 41 42 /* Define to 1 if you have the <sys/stat.h> header file. */ 43 #undef HAVE_SYS_STAT_H 44 45 /* Define to 1 if you have the <sys/types.h> header file. */ 46 #undef HAVE_SYS_TYPES_H 47 48 /* Define to 1 if you have the <unistd.h> header file. */ 14 49 #undef HAVE_UNISTD_H 15 50 … … 17 52 #undef PACKAGE 18 53 19 /* Define if your <sys/time.h> declares `struct tm'. */ 54 /* Define to the address where bug reports for this package should be sent. */ 55 #undef PACKAGE_BUGREPORT 56 57 /* Define to the full name of this package. */ 58 #undef PACKAGE_NAME 59 60 /* Define to the full name and version of this package. */ 61 #undef PACKAGE_STRING 62 63 /* Define to the one symbol short name of this package. */ 64 #undef PACKAGE_TARNAME 65 66 /* Define to the home page for this package. */ 67 #undef PACKAGE_URL 68 69 /* Define to the version of this package. */ 70 #undef PACKAGE_VERSION 71 72 /* Define to 1 if you have the ANSI C header files. */ 73 #undef STDC_HEADERS 74 75 /* Define to 1 if your <sys/time.h> declares `struct tm'. */ 20 76 #undef TM_IN_SYS_TIME 21 77 … … 23 79 #undef VERSION 24 80 25 /* Define if `lex' declares `yytext' as a `char *' by default, not a `char[]'.26 */81 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a 82 `char[]'. */ 27 83 #undef YYTEXT_POINTER 28 84 … … 30 86 #undef const 31 87 32 /* Define as `__inline' if that's what the C compiler calls it, or to nothing 33 if it is not supported. */ 88 /* Define to `__inline__' or `__inline' if that's what the C compiler 89 calls it, or to nothing if 'inline' is not supported under any name. */ 90 #ifndef __cplusplus 34 91 #undef inline 92 #endif -
config.status
r134b86a r8c17ab0 1 #! /bin/ sh2 # Generated automaticallyby configure.1 #! /bin/bash 2 # Generated by configure. 3 3 # Run this file to recreate the current configuration. 4 4 # Compiler output produced by configure, useful for debugging … … 6 6 7 7 debug=false 8 SHELL=${CONFIG_SHELL-/bin/sh} 9 ac_cs_invocation="$0 $@" 10 11 # Be Bourne compatible 12 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 8 ac_cs_recheck=false 9 ac_cs_silent=false 10 11 SHELL=${CONFIG_SHELL-/bin/bash} 12 export SHELL 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 : 13 20 emulate sh 14 21 NULLCMD=: 15 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 16 set -o posix 17 fi 18 19 # Name of the executable. 20 as_me=`echo "$0" |sed 's,.*[\\/],,'` 21 22 if expr a : '\(a\)' >/dev/null 2>&1; then 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 138 # as_fn_error STATUS ERROR [LINENO LOG_FD] 139 # ---------------------------------------- 140 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 141 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 142 # script with STATUS, using 1 if that was 0. 143 as_fn_error () 144 { 145 as_status=$1; test $as_status -eq 0 && as_status=1 146 if test "$4"; then 147 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 148 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 149 fi 150 $as_echo "$as_me: error: $2" >&2 151 as_fn_exit $as_status 152 } # as_fn_error 153 154 155 # as_fn_set_status STATUS 156 # ----------------------- 157 # Set $? to STATUS, without forking. 158 as_fn_set_status () 159 { 160 return $1 161 } # as_fn_set_status 162 163 # as_fn_exit STATUS 164 # ----------------- 165 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 166 as_fn_exit () 167 { 168 set +e 169 as_fn_set_status $1 170 exit $1 171 } # as_fn_exit 172 173 # as_fn_unset VAR 174 # --------------- 175 # Portably unset VAR. 176 as_fn_unset () 177 { 178 { eval $1=; unset $1;} 179 } 180 as_unset=as_fn_unset 181 # as_fn_append VAR VALUE 182 # ---------------------- 183 # Append the text in VALUE to the end of the definition contained in VAR. Take 184 # advantage of any shell optimizations that allow amortized linear growth over 185 # repeated appends, instead of the typical quadratic growth present in naive 186 # implementations. 187 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 188 eval 'as_fn_append () 189 { 190 eval $1+=\$2 191 }' 192 else 193 as_fn_append () 194 { 195 eval $1=\$$1\$2 196 } 197 fi # as_fn_append 198 199 # as_fn_arith ARG... 200 # ------------------ 201 # Perform arithmetic evaluation on the ARGs, and store the result in the 202 # global $as_val. Take advantage of shells that can avoid forks. The arguments 203 # must be portable across $(()) and expr. 204 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 205 eval 'as_fn_arith () 206 { 207 as_val=$(( $* )) 208 }' 209 else 210 as_fn_arith () 211 { 212 as_val=`expr "$@" || test $? -eq 1` 213 } 214 fi # as_fn_arith 215 216 217 if expr a : '\(a\)' >/dev/null 2>&1 && 218 test "X`expr 00001 : '.*\(...\)'`" = X001; then 23 219 as_expr=expr 24 220 else … … 26 222 fi 27 223 224 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 225 as_basename=basename 226 else 227 as_basename=false 228 fi 229 230 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 231 as_dirname=dirname 232 else 233 as_dirname=false 234 fi 235 236 as_me=`$as_basename -- "$0" || 237 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 238 X"$0" : 'X\(//\)$' \| \ 239 X"$0" : 'X\(/\)' \| . 2>/dev/null || 240 $as_echo X/"$0" | 241 sed '/^.*\/\([^/][^/]*\)\/*$/{ 242 s//\1/ 243 q 244 } 245 /^X\/\(\/\/\)$/{ 246 s//\1/ 247 q 248 } 249 /^X\/\(\/\).*/{ 250 s//\1/ 251 q 252 } 253 s/.*/./; q'` 254 255 # Avoid depending upon Character Ranges. 256 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 257 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 258 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 259 as_cr_digits='0123456789' 260 as_cr_alnum=$as_cr_Letters$as_cr_digits 261 262 ECHO_C= ECHO_N= ECHO_T= 263 case `echo -n x` in #((((( 264 -n*) 265 case `echo 'xy\c'` in 266 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 267 xy) ECHO_C='\c';; 268 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 269 ECHO_T=' ';; 270 esac;; 271 *) 272 ECHO_N='-n';; 273 esac 274 28 275 rm -f conf$$ conf$$.exe conf$$.file 29 echo >conf$$.file 30 if ln -s conf$$.file conf$$ 2>/dev/null; then 31 # We could just check for DJGPP; but this test a) works b) is more generic 32 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 33 if test -f conf$$.exe; then 34 # Don't use ln at all; we don't have any links 276 if test -d conf$$.dir; then 277 rm -f conf$$.dir/conf$$.file 278 else 279 rm -f conf$$.dir 280 mkdir conf$$.dir 2>/dev/null 281 fi 282 if (echo >conf$$.file) 2>/dev/null; then 283 if ln -s conf$$.file conf$$ 2>/dev/null; then 284 as_ln_s='ln -s' 285 # ... but there are two gotchas: 286 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 287 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 288 # In both cases, we have to default to `cp -p'. 289 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 290 as_ln_s='cp -p' 291 elif ln conf$$.file conf$$ 2>/dev/null; then 292 as_ln_s=ln 293 else 35 294 as_ln_s='cp -p' 36 else37 as_ln_s='ln -s'38 295 fi 39 elif ln conf$$.file conf$$ 2>/dev/null; then40 as_ln_s=ln41 296 else 42 297 as_ln_s='cp -p' 43 298 fi 44 rm -f conf$$ conf$$.exe conf$$.file 45 46 as_executable_p="test -f" 47 48 # Support unset when possible. 49 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 50 as_unset=unset 299 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 300 rmdir conf$$.dir 2>/dev/null 301 302 303 # as_fn_mkdir_p 304 # ------------- 305 # Create "$as_dir" as a directory, including parents if necessary. 306 as_fn_mkdir_p () 307 { 308 309 case $as_dir in #( 310 -*) as_dir=./$as_dir;; 311 esac 312 test -d "$as_dir" || eval $as_mkdir_p || { 313 as_dirs= 314 while :; do 315 case $as_dir in #( 316 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 317 *) as_qdir=$as_dir;; 318 esac 319 as_dirs="'$as_qdir' $as_dirs" 320 as_dir=`$as_dirname -- "$as_dir" || 321 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 322 X"$as_dir" : 'X\(//\)[^/]' \| \ 323 X"$as_dir" : 'X\(//\)$' \| \ 324 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 325 $as_echo X"$as_dir" | 326 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 327 s//\1/ 328 q 329 } 330 /^X\(\/\/\)[^/].*/{ 331 s//\1/ 332 q 333 } 334 /^X\(\/\/\)$/{ 335 s//\1/ 336 q 337 } 338 /^X\(\/\).*/{ 339 s//\1/ 340 q 341 } 342 s/.*/./; q'` 343 test -d "$as_dir" && break 344 done 345 test -z "$as_dirs" || eval "mkdir $as_dirs" 346 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 347 348 349 } # as_fn_mkdir_p 350 if mkdir -p . 2>/dev/null; then 351 as_mkdir_p='mkdir -p "$as_dir"' 51 352 else 52 as_unset=false 53 fi 54 55 # NLS nuisances. 56 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } 57 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } 58 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } 59 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } 60 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } 61 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } 62 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } 63 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } 64 65 # IFS 66 # We need space, tab and new line, in precisely that order. 67 as_nl=' 68 ' 69 IFS=" $as_nl" 70 71 # CDPATH. 72 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } 353 test -d ./-p && rmdir ./-p 354 as_mkdir_p=false 355 fi 356 357 if test -x / >/dev/null 2>&1; then 358 as_test_x='test -x' 359 else 360 if ls -dL / >/dev/null 2>&1; then 361 as_ls_L_option=L 362 else 363 as_ls_L_option= 364 fi 365 as_test_x=' 366 eval sh -c '\'' 367 if test -d "$1"; then 368 test -d "$1/."; 369 else 370 case $1 in #( 371 -*)set "./$1";; 372 esac; 373 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 374 ???[sx]*):;;*)false;;esac;fi 375 '\'' sh 376 ' 377 fi 378 as_executable_p=$as_test_x 379 380 # Sed expression to map a string onto a valid CPP name. 381 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 382 383 # Sed expression to map a string onto a valid variable name. 384 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 385 73 386 74 387 exec 6>&1 75 388 ## ----------------------------------- ## 389 ## Main body of $CONFIG_STATUS script. ## 390 ## ----------------------------------- ## 391 # Save the log message, to keep $0 and so on meaningful, and to 392 # report actual input values of CONFIG_FILES etc. instead of their 393 # values after options handling. 394 ac_log=" 395 This file was extended by cfa-cc $as_me 1.0, which was 396 generated by GNU Autoconf 2.68. Invocation command line was 397 398 CONFIG_FILES = $CONFIG_FILES 399 CONFIG_HEADERS = $CONFIG_HEADERS 400 CONFIG_LINKS = $CONFIG_LINKS 401 CONFIG_COMMANDS = $CONFIG_COMMANDS 402 $ $0 $@ 403 404 on `(hostname || uname -n) 2>/dev/null | sed 1q` 405 " 406 407 # Files that config.status was made for. 76 408 config_files=" Makefile translator/Makefile driver/Makefile libcfa/Makefile" 77 409 config_headers=" config.h" … … 79 411 80 412 ac_cs_usage="\ 81 \`$as_me' instantiates files from templates according to the 82 current configuration. 83 84 Usage: $0 [OPTIONS] [FILE]... 413 \`$as_me' instantiates files and other configuration actions 414 from templates according to the current configuration. Unless the files 415 and actions are specified as TAGs, all are instantiated by default. 416 417 Usage: $0 [OPTION]... [TAG]... 85 418 86 419 -h, --help print this help, then exit 87 -V, --version print version number, then exit 420 -V, --version print version number and configuration settings, then exit 421 --config print configuration, then exit 422 -q, --quiet, --silent 423 do not print progress messages 88 424 -d, --debug don't remove temporary files 89 425 --recheck update $as_me by reconfiguring in the same conditions 90 --file=FILE[:TEMPLATE]426 --file=FILE[:TEMPLATE] 91 427 instantiate the configuration file FILE 92 --header=FILE[:TEMPLATE]428 --header=FILE[:TEMPLATE] 93 429 instantiate the configuration header FILE 94 430 … … 102 438 $config_commands 103 439 104 Report bugs to <bug-autoconf@gnu.org>." 440 Report bugs to <cforall@plg.uwaterloo.ca>." 441 442 ac_cs_config="'--prefix=/u/pabuhr/software/cfa/cfa-cc'" 105 443 ac_cs_version="\ 106 444 cfa-cc config.status 1.0 107 configured by ./configure, generated by GNU Autoconf 2.52, 108 with options \"--prefix=/u/pabuhr/software/cfa/cfa-cc\" 109 110 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 111 Free Software Foundation, Inc. 445 configured by ./configure, generated by GNU Autoconf 2.68, 446 with options \"$ac_cs_config\" 447 448 Copyright (C) 2010 Free Software Foundation, Inc. 112 449 This config.status script is free software; the Free Software Foundation 113 450 gives unlimited permission to copy, distribute and modify it." 114 srcdir=. 115 INSTALL="/usr/bin/install -c" 116 # If no file are specified by the user, then we need to provide default 117 # value. By we need to know if files were specified by the user. 451 452 ac_pwd='/u/pabuhr/software/cfa/cfa-cc' 453 srcdir='.' 454 INSTALL='/usr/bin/install -c' 455 MKDIR_P='/bin/mkdir -p' 456 AWK='gawk' 457 test -n "$AWK" || AWK=awk 458 # The default lists apply if the user does not specify any file. 118 459 ac_need_defaults=: 119 460 while test $# != 0 120 461 do 121 462 case $1 in 122 --*=*) 123 ac_option=`expr "x$1" : 'x\([^=]*\)='` 124 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 125 shift 126 set dummy "$ac_option" "$ac_optarg" ${1+"$@"} 127 shift 463 --*=?*) 464 ac_option=`expr "X$1" : 'X\([^=]*\)='` 465 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 466 ac_shift=: 128 467 ;; 129 -*);; 130 *) # This is not an option, so the user has probably given explicit 131 # arguments. 132 ac_need_defaults=false;; 468 --*=) 469 ac_option=`expr "X$1" : 'X\([^=]*\)='` 470 ac_optarg= 471 ac_shift=: 472 ;; 473 *) 474 ac_option=$1 475 ac_optarg=$2 476 ac_shift=shift 477 ;; 133 478 esac 134 479 135 case $ 1in480 case $ac_option in 136 481 # Handling of the options. 137 482 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 138 echo "running /bin/sh ./configure " --prefix=/u/pabuhr/software/cfa/cfa-cc " --no-create --no-recursion" 139 exec /bin/sh ./configure --prefix=/u/pabuhr/software/cfa/cfa-cc --no-create --no-recursion ;; 140 --version | --vers* | -V ) 141 echo "$ac_cs_version"; exit 0 ;; 483 ac_cs_recheck=: ;; 484 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 485 $as_echo "$ac_cs_version"; exit ;; 486 --config | --confi | --conf | --con | --co | --c ) 487 $as_echo "$ac_cs_config"; exit ;; 488 --debug | --debu | --deb | --de | --d | -d ) 489 debug=: ;; 490 --file | --fil | --fi | --f ) 491 $ac_shift 492 case $ac_optarg in 493 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 494 '') as_fn_error $? "missing file argument" ;; 495 esac 496 as_fn_append CONFIG_FILES " '$ac_optarg'" 497 ac_need_defaults=false;; 498 --header | --heade | --head | --hea ) 499 $ac_shift 500 case $ac_optarg in 501 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 502 esac 503 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 504 ac_need_defaults=false;; 142 505 --he | --h) 143 506 # Conflict between --help and --header 144 { { echo "$as_me:3829: error: ambiguous option: $1 145 Try \`$0 --help' for more information." >&5 146 echo "$as_me: error: ambiguous option: $1 147 Try \`$0 --help' for more information." >&2;} 148 { (exit 1); exit 1; }; };; 507 as_fn_error $? "ambiguous option: \`$1' 508 Try \`$0 --help' for more information.";; 149 509 --help | --hel | -h ) 150 echo "$ac_cs_usage"; exit 0 ;; 151 --debug | --d* | -d ) 152 debug=: ;; 153 --file | --fil | --fi | --f ) 154 shift 155 CONFIG_FILES="$CONFIG_FILES $1" 156 ac_need_defaults=false;; 157 --header | --heade | --head | --hea ) 158 shift 159 CONFIG_HEADERS="$CONFIG_HEADERS $1" 160 ac_need_defaults=false;; 510 $as_echo "$ac_cs_usage"; exit ;; 511 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 512 | -silent | --silent | --silen | --sile | --sil | --si | --s) 513 ac_cs_silent=: ;; 161 514 162 515 # This is an error. 163 -*) { { echo "$as_me:3848: error: unrecognized option: $1 164 Try \`$0 --help' for more information." >&5 165 echo "$as_me: error: unrecognized option: $1 166 Try \`$0 --help' for more information." >&2;} 167 { (exit 1); exit 1; }; } ;; 168 169 *) ac_config_targets="$ac_config_targets $1" ;; 516 -*) as_fn_error $? "unrecognized option: \`$1' 517 Try \`$0 --help' for more information." ;; 518 519 *) as_fn_append ac_config_targets " $1" 520 ac_need_defaults=false ;; 170 521 171 522 esac … … 173 524 done 174 525 526 ac_configure_extra_args= 527 528 if $ac_cs_silent; then 529 exec 6>/dev/null 530 ac_configure_extra_args="$ac_configure_extra_args --silent" 531 fi 532 533 if $ac_cs_recheck; then 534 set X '/bin/bash' './configure' '--prefix=/u/pabuhr/software/cfa/cfa-cc' $ac_configure_extra_args --no-create --no-recursion 535 shift 536 $as_echo "running CONFIG_SHELL=/bin/bash $*" >&6 537 CONFIG_SHELL='/bin/bash' 538 export CONFIG_SHELL 539 exec "$@" 540 fi 541 175 542 exec 5>>config.log 176 cat >&5 << _ACEOF 177 178 ## ----------------------- ## 179 ## Running config.status. ## 180 ## ----------------------- ## 181 182 This file was extended by $as_me (cfa-cc 1.0) 2.52, executed with 183 CONFIG_FILES = $CONFIG_FILES 184 CONFIG_HEADERS = $CONFIG_HEADERS 185 CONFIG_LINKS = $CONFIG_LINKS 186 CONFIG_COMMANDS = $CONFIG_COMMANDS 187 > $ac_cs_invocation 188 on `(hostname || uname -n) 2>/dev/null | sed 1q` 189 190 _ACEOF 543 { 544 echo 545 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 546 ## Running $as_me. ## 547 _ASBOX 548 $as_echo "$ac_log" 549 } >&5 550 191 551 # 192 # INIT-COMMANDS section.552 # INIT-COMMANDS 193 553 # 194 195 554 AMDEP_TRUE="" ac_aux_dir="." 196 555 556 557 # Handling of arguments. 197 558 for ac_config_target in $ac_config_targets 198 559 do 199 case "$ac_config_target" in 200 # Handling of arguments. 201 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 202 "translator/Makefile" ) CONFIG_FILES="$CONFIG_FILES translator/Makefile" ;; 203 "driver/Makefile" ) CONFIG_FILES="$CONFIG_FILES driver/Makefile" ;; 204 "libcfa/Makefile" ) CONFIG_FILES="$CONFIG_FILES libcfa/Makefile" ;; 205 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 206 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 207 *) { { echo "$as_me:3898: error: invalid argument: $ac_config_target" >&5 208 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 209 { (exit 1); exit 1; }; };; 560 case $ac_config_target in 561 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 562 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 563 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 564 "translator/Makefile") CONFIG_FILES="$CONFIG_FILES translator/Makefile" ;; 565 "driver/Makefile") CONFIG_FILES="$CONFIG_FILES driver/Makefile" ;; 566 "libcfa/Makefile") CONFIG_FILES="$CONFIG_FILES libcfa/Makefile" ;; 567 568 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 210 569 esac 211 570 done 571 212 572 213 573 # If the user did not use the arguments to specify the items to instantiate, … … 221 581 fi 222 582 223 # Create a temporary directory, and hook for its removal unless debugging. 583 # Have a temporary directory for convenience. Make it in the build tree 584 # simply because there is no reason against having it here, and in addition, 585 # creating and moving files from /tmp can sometimes cause problems. 586 # Hook for its removal unless debugging. 587 # Note that there is a small window in which the directory will not be cleaned: 588 # after its creation but before its name has been assigned to `$tmp'. 224 589 $debug || 225 590 { 226 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 227 trap '{ (exit 1); exit 1; }' 1 2 13 15 591 tmp= ac_tmp= 592 trap 'exit_status=$? 593 : "${ac_tmp:=$tmp}" 594 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 595 ' 0 596 trap 'as_fn_exit 1' 1 2 13 15 228 597 } 229 230 598 # Create a (secure) tmp directory for tmp files. 231 : ${TMPDIR=/tmp} 599 232 600 { 233 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&234 test - n "$tmp" && test -d "$tmp"601 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 602 test -d "$tmp" 235 603 } || 236 604 { 237 tmp=$TMPDIR/cs$$-$RANDOM 238 (umask 077 && mkdir $tmp) 239 } || 605 tmp=./conf$$-$RANDOM 606 (umask 077 && mkdir "$tmp") 607 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 608 ac_tmp=$tmp 609 610 # Set up the scripts for CONFIG_FILES section. 611 # No need to generate them if there are no CONFIG_FILES. 612 # This happens for instance with `./config.status config.h'. 613 if test -n "$CONFIG_FILES"; then 614 615 616 ac_cr=`echo X | tr X '\015'` 617 # On cygwin, bash can eat \r inside `` if the user requested igncr. 618 # But we know of no other shell where ac_cr would be empty at this 619 # point, so we can use a bashism as a fallback. 620 if test "x$ac_cr" = x; then 621 eval ac_cr=\$\'\\r\' 622 fi 623 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 624 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 625 ac_cs_awk_cr='\\r' 626 else 627 ac_cs_awk_cr=$ac_cr 628 fi 629 630 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 631 cat >>"$ac_tmp/subs1.awk" <<\_ACAWK && 632 S["am__EXEEXT_FALSE"]="" 633 S["am__EXEEXT_TRUE"]="#" 634 S["LTLIBOBJS"]="" 635 S["LIBOBJS"]="" 636 S["CFA_LIBDIR"]="/u/pabuhr/software/cfa/cfa-cc/lib" 637 S["CFA_BINDIR"]="/u/pabuhr/software/cfa/cfa-cc/bin" 638 S["CFA_INCDIR"]="/u/pabuhr/software/cfa/cfa-cc/include" 639 S["CFA_PREFIX"]="/u/pabuhr/software/cfa/cfa-cc" 640 S["CPP_PATH"]="/usr/bin/cpp" 641 S["BACKEND_CC"]="/u/pabuhr/bin/gcc" 642 S["GCC_PATH"]="/u/pabuhr/bin/gcc" 643 S["preludedir"]="/u/pabuhr/software/cfa/cfa-cc/share/cfa" 644 S["EGREP"]="/bin/grep -E" 645 S["GREP"]="/bin/grep" 646 S["CPP"]="gcc -E" 647 S["LEXLIB"]="-lfl" 648 S["LEX_OUTPUT_ROOT"]="lex.yy" 649 S["LEX"]="flex" 650 S["am__fastdepCC_FALSE"]="" 651 S["am__fastdepCC_TRUE"]="#" 652 S["CCDEPMODE"]="depmode=none" 653 S["ac_ct_CC"]="gcc" 654 S["CFLAGS"]="-g -O2" 655 S["CC"]="gcc" 656 S["am__fastdepCXX_FALSE"]="" 657 S["am__fastdepCXX_TRUE"]="#" 658 S["CXXDEPMODE"]="depmode=none" 659 S["am__nodep"]="_no" 660 S["AMDEPBACKSLASH"]="\\" 661 S["AMDEP_FALSE"]="#" 662 S["AMDEP_TRUE"]="" 663 S["am__quote"]="" 664 S["am__include"]="include" 665 S["DEPDIR"]=".deps" 666 S["OBJEXT"]="o" 667 S["EXEEXT"]="" 668 S["ac_ct_CXX"]="g++" 669 S["CPPFLAGS"]="" 670 S["LDFLAGS"]="" 671 S["CXXFLAGS"]="-g -O2" 672 S["CXX"]="g++" 673 S["YFLAGS"]="" 674 S["YACC"]="bison -y" 675 S["am__untar"]="$${TAR-tar} xf -" 676 S["am__tar"]="$${TAR-tar} chof - \"$$tardir\"" 677 S["AMTAR"]="$${TAR-tar}" 678 S["am__leading_dot"]="." 679 S["SET_MAKE"]="" 680 S["AWK"]="gawk" 681 S["mkdir_p"]="/bin/mkdir -p" 682 S["MKDIR_P"]="/bin/mkdir -p" 683 S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s" 684 S["STRIP"]="" 685 S["install_sh"]="${SHELL} /u/pabuhr/software/cfa/cfa-cc/install-sh" 686 S["MAKEINFO"]="${SHELL} /u/pabuhr/software/cfa/cfa-cc/missing --run makeinfo" 687 S["AUTOHEADER"]="${SHELL} /u/pabuhr/software/cfa/cfa-cc/missing --run autoheader" 688 S["AUTOMAKE"]="${SHELL} /u/pabuhr/software/cfa/cfa-cc/missing --run automake-1.11" 689 S["AUTOCONF"]="${SHELL} /u/pabuhr/software/cfa/cfa-cc/missing --run autoconf" 690 S["ACLOCAL"]="${SHELL} /u/pabuhr/software/cfa/cfa-cc/missing --run aclocal-1.11" 691 S["VERSION"]="1.0" 692 S["PACKAGE"]="cfa" 693 S["CYGPATH_W"]="echo" 694 S["am__isrc"]="" 695 S["INSTALL_DATA"]="${INSTALL} -m 644" 696 S["INSTALL_SCRIPT"]="${INSTALL}" 697 S["INSTALL_PROGRAM"]="${INSTALL}" 698 S["target_alias"]="" 699 S["host_alias"]="" 700 S["build_alias"]="" 701 S["LIBS"]="" 702 S["ECHO_T"]="" 703 S["ECHO_N"]="-n" 704 S["ECHO_C"]="" 705 S["DEFS"]="-DHAVE_CONFIG_H" 706 S["mandir"]="${datarootdir}/man" 707 S["localedir"]="${datarootdir}/locale" 708 S["libdir"]="${exec_prefix}/lib" 709 S["psdir"]="${docdir}" 710 S["pdfdir"]="${docdir}" 711 S["dvidir"]="${docdir}" 712 S["htmldir"]="${docdir}" 713 S["infodir"]="${datarootdir}/info" 714 S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}" 715 S["oldincludedir"]="/usr/include" 716 S["includedir"]="${prefix}/include" 717 S["localstatedir"]="${prefix}/var" 718 S["sharedstatedir"]="${prefix}/com" 719 S["sysconfdir"]="${prefix}/etc" 720 S["datadir"]="${datarootdir}" 721 S["datarootdir"]="${prefix}/share" 722 S["libexecdir"]="${exec_prefix}/libexec" 723 S["sbindir"]="${exec_prefix}/sbin" 724 S["bindir"]="${exec_prefix}/bin" 725 S["program_transform_name"]="s,x,x," 726 S["prefix"]="/u/pabuhr/software/cfa/cfa-cc" 727 S["exec_prefix"]="${prefix}" 728 S["PACKAGE_URL"]="" 729 S["PACKAGE_BUGREPORT"]="cforall@plg.uwaterloo.ca" 730 S["PACKAGE_STRING"]="cfa-cc 1.0" 731 S["PACKAGE_VERSION"]="1.0" 732 S["PACKAGE_TARNAME"]="cfa-cc" 733 S["PACKAGE_NAME"]="cfa-cc" 734 S["PATH_SEPARATOR"]=":" 735 S["SHELL"]="/bin/bash" 736 _ACAWK 737 cat >>"$ac_tmp/subs1.awk" <<_ACAWK && 738 for (key in S) S_is_set[key] = 1 739 FS = "" 740 741 } 240 742 { 241 echo "$me: cannot create a temporary directory in $TMPDIR" >&2 242 { (exit 1); exit 1; } 743 line = $ 0 744 nfields = split(line, field, "@") 745 substed = 0 746 len = length(field[1]) 747 for (i = 2; i < nfields; i++) { 748 key = field[i] 749 keylen = length(key) 750 if (S_is_set[key]) { 751 value = S[key] 752 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 753 len += length(value) + length(field[++i]) 754 substed = 1 755 } else 756 len += 1 + keylen 757 } 758 759 print line 243 760 } 244 761 245 246 # 247 # CONFIG_FILES section. 248 # 249 250 # No need to generate the scripts if there are no CONFIG_FILES. 251 # This happens for instance when ./config.status config.h 252 if test -n "$CONFIG_FILES"; then 253 # Protect against being on the right side of a sed subst in config.status. 254 sed 's/,@/@@/; s/@,/@@/; s/,;t t$/@;t t/; /@;t t$/s/[\\&,]/\\&/g; 255 s/@@/,@/; s/@@/@,/; s/@;t t$/,;t t/' >$tmp/subs.sed <<\CEOF 256 s,@SHELL@,/bin/sh,;t t 257 s,@exec_prefix@,${prefix},;t t 258 s,@prefix@,/u/pabuhr/software/cfa/cfa-cc,;t t 259 s,@program_transform_name@,s,x,x,,;t t 260 s,@bindir@,${exec_prefix}/bin,;t t 261 s,@sbindir@,${exec_prefix}/sbin,;t t 262 s,@libexecdir@,${exec_prefix}/libexec,;t t 263 s,@datadir@,${prefix}/share,;t t 264 s,@sysconfdir@,${prefix}/etc,;t t 265 s,@sharedstatedir@,${prefix}/com,;t t 266 s,@localstatedir@,${prefix}/var,;t t 267 s,@libdir@,${exec_prefix}/lib,;t t 268 s,@includedir@,${prefix}/include,;t t 269 s,@oldincludedir@,/usr/include,;t t 270 s,@infodir@,${prefix}/info,;t t 271 s,@mandir@,${prefix}/man,;t t 272 s,@PACKAGE_NAME@,cfa-cc,;t t 273 s,@PACKAGE_TARNAME@,cfa-cc,;t t 274 s,@PACKAGE_VERSION@,1.0,;t t 275 s,@PACKAGE_STRING@,cfa-cc 1.0,;t t 276 s,@PACKAGE_BUGREPORT@,cforall@plg.uwaterloo.ca,;t t 277 s,@build_alias@,,;t t 278 s,@host_alias@,,;t t 279 s,@target_alias@,,;t t 280 s,@ECHO_C@,\c,;t t 281 s,@ECHO_N@,,;t t 282 s,@ECHO_T@,,;t t 283 s,@PATH_SEPARATOR@,:,;t t 284 s,@DEFS@,-DHAVE_CONFIG_H,;t t 285 s,@LIBS@,,;t t 286 s,@INSTALL_PROGRAM@,${INSTALL},;t t 287 s,@INSTALL_SCRIPT@,${INSTALL},;t t 288 s,@INSTALL_DATA@,${INSTALL} -m 644,;t t 289 s,@PACKAGE@,cfa,;t t 290 s,@VERSION@,1.0,;t t 291 s,@ACLOCAL@,${SHELL} /u/pabuhr/software/cfa/cfa-cc/missing --run aclocal-1.6,;t t 292 s,@AUTOCONF@,${SHELL} /u/pabuhr/software/cfa/cfa-cc/missing --run autoconf,;t t 293 s,@AUTOMAKE@,${SHELL} /u/pabuhr/software/cfa/cfa-cc/missing --run automake-1.6,;t t 294 s,@AUTOHEADER@,${SHELL} /u/pabuhr/software/cfa/cfa-cc/missing --run autoheader,;t t 295 s,@MAKEINFO@,${SHELL} /u/pabuhr/software/cfa/cfa-cc/missing --run makeinfo,;t t 296 s,@AMTAR@,${SHELL} /u/pabuhr/software/cfa/cfa-cc/missing --run tar,;t t 297 s,@install_sh@,/u/pabuhr/software/cfa/cfa-cc/install-sh,;t t 298 s,@STRIP@,,;t t 299 s,@ac_ct_STRIP@,,;t t 300 s,@INSTALL_STRIP_PROGRAM@,${SHELL} $(install_sh) -c -s,;t t 301 s,@AWK@,mawk,;t t 302 s,@SET_MAKE@,,;t t 303 s,@YACC@,bison -y,;t t 304 s,@CXX@,g++,;t t 305 s,@CXXFLAGS@,-g -O2,;t t 306 s,@LDFLAGS@,,;t t 307 s,@CPPFLAGS@,,;t t 308 s,@ac_ct_CXX@,g++,;t t 309 s,@EXEEXT@,,;t t 310 s,@OBJEXT@,o,;t t 311 s,@DEPDIR@,.deps,;t t 312 s,@am__include@,include,;t t 313 s,@am__quote@,,;t t 314 s,@AMDEP_TRUE@,,;t t 315 s,@AMDEP_FALSE@,#,;t t 316 s,@AMDEPBACKSLASH@,\,;t t 317 s,@CXXDEPMODE@,depmode=none,;t t 318 s,@CC@,gcc,;t t 319 s,@CFLAGS@,-g -O2,;t t 320 s,@ac_ct_CC@,gcc,;t t 321 s,@CCDEPMODE@,depmode=none,;t t 322 s,@LEX@,flex,;t t 323 s,@LEXLIB@,-lfl,;t t 324 s,@LEX_OUTPUT_ROOT@,lex.yy,;t t 325 s,@CPP@,gcc -E,;t t 326 s,@preludedir@,/u/pabuhr/software/cfa/cfa-cc/share/cfa,;t t 327 s,@GCC_PATH@,/u/pabuhr/bin/gcc,;t t 328 s,@BACKEND_CC@,/u/pabuhr/bin/gcc,;t t 329 s,@CPP_PATH@,/usr/bin/cpp,;t t 330 s,@CFA_PREFIX@,/u/pabuhr/software/cfa/cfa-cc,;t t 331 s,@CFA_BINDIR@,/u/pabuhr/software/cfa/cfa-cc/bin,;t t 332 s,@CFA_LIBDIR@,/u/pabuhr/software/cfa/cfa-cc/lib,;t t 333 CEOF 334 335 # Split the substitutions into bite-sized pieces for seds with 336 # small command number limits, like on Digital OSF/1 and HP-UX. 337 ac_max_sed_lines=48 338 ac_sed_frag=1 # Number of current file. 339 ac_beg=1 # First line for current file. 340 ac_end=$ac_max_sed_lines # Line after last line for current file. 341 ac_more_lines=: 342 ac_sed_cmds= 343 while $ac_more_lines; do 344 if test $ac_beg -gt 1; then 345 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 346 else 347 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 762 _ACAWK 763 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 764 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 765 else 766 cat 767 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 768 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 769 fi # test -n "$CONFIG_FILES" 770 771 # Set up the scripts for CONFIG_HEADERS section. 772 # No need to generate them if there are no CONFIG_HEADERS. 773 # This happens for instance with `./config.status Makefile'. 774 if test -n "$CONFIG_HEADERS"; then 775 cat >"$ac_tmp/defines.awk" <<\_ACAWK || 776 BEGIN { 777 D["PACKAGE_NAME"]=" \"cfa-cc\"" 778 D["PACKAGE_TARNAME"]=" \"cfa-cc\"" 779 D["PACKAGE_VERSION"]=" \"1.0\"" 780 D["PACKAGE_STRING"]=" \"cfa-cc 1.0\"" 781 D["PACKAGE_BUGREPORT"]=" \"cforall@plg.uwaterloo.ca\"" 782 D["PACKAGE_URL"]=" \"\"" 783 D["PACKAGE"]=" \"cfa\"" 784 D["VERSION"]=" \"1.0\"" 785 D["YYTEXT_POINTER"]=" 1" 786 D["STDC_HEADERS"]=" 1" 787 D["HAVE_SYS_TYPES_H"]=" 1" 788 D["HAVE_SYS_STAT_H"]=" 1" 789 D["HAVE_STDLIB_H"]=" 1" 790 D["HAVE_STRING_H"]=" 1" 791 D["HAVE_MEMORY_H"]=" 1" 792 D["HAVE_STRINGS_H"]=" 1" 793 D["HAVE_INTTYPES_H"]=" 1" 794 D["HAVE_STDINT_H"]=" 1" 795 D["HAVE_UNISTD_H"]=" 1" 796 D["HAVE_MALLOC_H"]=" 1" 797 D["HAVE_UNISTD_H"]=" 1" 798 D["GCC_PATH"]=" \"/u/pabuhr/bin/gcc\"" 799 D["CPP_PATH"]=" \"/usr/bin/cpp\"" 800 D["CFA_PREFIX"]=" \"/u/pabuhr/software/cfa/cfa-cc\"" 801 D["CFA_INCDIR"]=" \"/u/pabuhr/software/cfa/cfa-cc/include\"" 802 D["CFA_BINDIR"]=" \"/u/pabuhr/software/cfa/cfa-cc/bin\"" 803 D["CFA_LIBDIR"]=" \"/u/pabuhr/software/cfa/cfa-cc/lib\"" 804 for (key in D) D_is_set[key] = 1 805 FS = "" 806 } 807 /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ { 808 line = $ 0 809 split(line, arg, " ") 810 if (arg[1] == "#") { 811 defundef = arg[2] 812 mac1 = arg[3] 813 } else { 814 defundef = substr(arg[1], 2) 815 mac1 = arg[2] 816 } 817 split(mac1, mac2, "(") #) 818 macro = mac2[1] 819 prefix = substr(line, 1, index(line, defundef) - 1) 820 if (D_is_set[macro]) { 821 # Preserve the white space surrounding the "#". 822 print prefix "define", macro P[macro] D[macro] 823 next 824 } else { 825 # Replace #undef with comments. This is necessary, for example, 826 # in the case of _POSIX_SOURCE, which is predefined and required 827 # on some systems where configure will not decide to define it. 828 if (defundef == "undef") { 829 print "/*", prefix defundef, macro, "*/" 830 next 831 } 832 } 833 } 834 { print } 835 _ACAWK 836 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 837 fi # test -n "$CONFIG_HEADERS" 838 839 840 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 841 shift 842 for ac_tag 843 do 844 case $ac_tag in 845 :[FHLC]) ac_mode=$ac_tag; continue;; 846 esac 847 case $ac_mode$ac_tag in 848 :[FHL]*:*);; 849 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 850 :[FH]-) ac_tag=-:-;; 851 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 852 esac 853 ac_save_IFS=$IFS 854 IFS=: 855 set x $ac_tag 856 IFS=$ac_save_IFS 857 shift 858 ac_file=$1 859 shift 860 861 case $ac_mode in 862 :L) ac_source=$1;; 863 :[FH]) 864 ac_file_inputs= 865 for ac_f 866 do 867 case $ac_f in 868 -) ac_f="$ac_tmp/stdin";; 869 *) # Look for the file first in the build tree, then in the source tree 870 # (if the path is not absolute). The absolute path cannot be DOS-style, 871 # because $ac_f cannot contain `:'. 872 test -f "$ac_f" || 873 case $ac_f in 874 [\\/$]*) false;; 875 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 876 esac || 877 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 878 esac 879 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 880 as_fn_append ac_file_inputs " '$ac_f'" 881 done 882 883 # Let's still pretend it is `configure' which instantiates (i.e., don't 884 # use $as_me), people would be surprised to read: 885 # /* config.h. Generated by config.status. */ 886 configure_input='Generated from '` 887 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 888 `' by configure.' 889 if test x"$ac_file" != x-; then 890 configure_input="$ac_file. $configure_input" 891 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 892 $as_echo "$as_me: creating $ac_file" >&6;} 348 893 fi 349 if test ! -s $tmp/subs.frag; then 350 ac_more_lines=false 351 else 352 # The purpose of the label and of the branching condition is to 353 # speed up the sed processing (if there are no `@' at all, there 354 # is no need to browse any of the substitutions). 355 # These are the two extra sed commands mentioned above. 356 (echo ':t 357 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 358 if test -z "$ac_sed_cmds"; then 359 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 360 else 361 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 362 fi 363 ac_sed_frag=`expr $ac_sed_frag + 1` 364 ac_beg=$ac_end 365 ac_end=`expr $ac_end + $ac_max_sed_lines` 366 fi 367 done 368 if test -z "$ac_sed_cmds"; then 369 ac_sed_cmds=cat 370 fi 371 fi # test -n "$CONFIG_FILES" 372 373 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 374 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 375 case $ac_file in 376 - | *:- | *:-:* ) # input from stdin 377 cat >$tmp/stdin 378 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 379 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 380 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 381 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 382 * ) ac_file_in=$ac_file.in ;; 383 esac 384 385 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 386 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 387 X"$ac_file" : 'X\(//\)[^/]' \| \ 388 X"$ac_file" : 'X\(//\)$' \| \ 389 X"$ac_file" : 'X\(/\)' \| \ 390 . : '\(.\)' 2>/dev/null || 391 echo X"$ac_file" | 392 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 393 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 394 /^X\(\/\/\)$/{ s//\1/; q; } 395 /^X\(\/\).*/{ s//\1/; q; } 396 s/.*/./; q'` 397 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 398 { case "$ac_dir" in 399 [\\/]* | ?:[\\/]* ) as_incr_dir=;; 400 *) as_incr_dir=.;; 401 esac 402 as_dummy="$ac_dir" 403 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do 404 case $as_mkdir_dir in 405 # Skip DOS drivespec 406 ?:) as_incr_dir=$as_mkdir_dir ;; 407 *) 408 as_incr_dir=$as_incr_dir/$as_mkdir_dir 409 test -d "$as_incr_dir" || mkdir "$as_incr_dir" 894 # Neutralize special characters interpreted by sed in replacement strings. 895 case $configure_input in #( 896 *\&* | *\|* | *\\* ) 897 ac_sed_conf_input=`$as_echo "$configure_input" | 898 sed 's/[\\\\&|]/\\\\&/g'`;; #( 899 *) ac_sed_conf_input=$configure_input;; 900 esac 901 902 case $ac_tag in 903 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 904 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 905 esac 410 906 ;; 411 907 esac 412 done; } 413 414 ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`" 415 # A "../" for each directory in $ac_dir_suffix. 416 ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'` 417 else 418 ac_dir_suffix= ac_dots= 419 fi 420 421 case $srcdir in 422 .) ac_srcdir=. 423 if test -z "$ac_dots"; then 424 ac_top_srcdir=. 425 else 426 ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'` 427 fi ;; 428 [\\/]* | ?:[\\/]* ) 429 ac_srcdir=$srcdir$ac_dir_suffix; 430 ac_top_srcdir=$srcdir ;; 431 *) # Relative path. 432 ac_srcdir=$ac_dots$srcdir$ac_dir_suffix 433 ac_top_srcdir=$ac_dots$srcdir ;; 434 esac 908 909 ac_dir=`$as_dirname -- "$ac_file" || 910 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 911 X"$ac_file" : 'X\(//\)[^/]' \| \ 912 X"$ac_file" : 'X\(//\)$' \| \ 913 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 914 $as_echo X"$ac_file" | 915 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 916 s//\1/ 917 q 918 } 919 /^X\(\/\/\)[^/].*/{ 920 s//\1/ 921 q 922 } 923 /^X\(\/\/\)$/{ 924 s//\1/ 925 q 926 } 927 /^X\(\/\).*/{ 928 s//\1/ 929 q 930 } 931 s/.*/./; q'` 932 as_dir="$ac_dir"; as_fn_mkdir_p 933 ac_builddir=. 934 935 case "$ac_dir" in 936 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 937 *) 938 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 939 # A ".." for each directory in $ac_dir_suffix. 940 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 941 case $ac_top_builddir_sub in 942 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 943 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 944 esac ;; 945 esac 946 ac_abs_top_builddir=$ac_pwd 947 ac_abs_builddir=$ac_pwd$ac_dir_suffix 948 # for backward compatibility: 949 ac_top_builddir=$ac_top_build_prefix 950 951 case $srcdir in 952 .) # We are building in place. 953 ac_srcdir=. 954 ac_top_srcdir=$ac_top_builddir_sub 955 ac_abs_top_srcdir=$ac_pwd ;; 956 [\\/]* | ?:[\\/]* ) # Absolute name. 957 ac_srcdir=$srcdir$ac_dir_suffix; 958 ac_top_srcdir=$srcdir 959 ac_abs_top_srcdir=$srcdir ;; 960 *) # Relative name. 961 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 962 ac_top_srcdir=$ac_top_build_prefix$srcdir 963 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 964 esac 965 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 966 967 968 case $ac_mode in 969 :F) 970 # 971 # CONFIG_FILE 972 # 435 973 436 974 case $INSTALL in 437 975 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 438 *) ac_INSTALL=$ac_ dots$INSTALL ;;976 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 439 977 esac 440 441 if test x"$ac_file" != x-; then442 { echo "$as_me:4141: creating $ac_file" >&5443 echo "$as_me: creating $ac_file" >&6;} 444 rm -f "$ac_file"445 fi 446 # Let's still pretend it is `configure' which instantiates (i.e., don't 447 # use $as_me), people would be surprised to read: 448 # /* config.h. Generated automatically by config.status. */ 449 configure_input="Generated automatically from `echo $ac_file_in | 450 sed 's,.*/,,'` by configure."451 452 # First look for the input files in the build tree, otherwise in the 453 # src tree. 454 ac_file_inputs=`IFS=: 455 for f in $ac_file_in; do 456 case $f in 457 -) echo $tmp/stdin ;; 458 [\\/$]*) 459 # Absolute (can't be DOS-style, as IFS=:) 460 test -f "$f" || { { echo "$as_me:4159: error: cannot find input file: $f" >&5 461 echo "$as_me: error: cannot find input file: $f" >&2;} 462 { (exit 1); exit 1; };}463 echo $f;;464 *) # Relative465 if test -f "$f"; then466 # Build tree467 echo $f468 elif test -f "$srcdir/$f"; then469 # Source tree470 echo $srcdir/$f 471 else 472 # /dev/null tree 473 { { echo "$as_me:4172: error: cannot find input file: $f" >&5 474 echo "$as_me: error: cannot find input file: $f" >&2;} 475 { (exit 1); exit 1; }; } 476 fi;; 477 esac 478 done` || { (exit 1); exit 1; } 479 sed "/^[ ]*VPATH[ ]*=/{ 480 s/:* \$(srcdir):*/:/;481 s/:*\${srcdir}:*/:/; 482 s/ :*@srcdir@:*/:/;483 s/^\([^=]*=[ ]*\):*/\1/; 484 s/ :*$//;485 s/^[^=]*=[ ]*$//;978 ac_MKDIR_P=$MKDIR_P 979 case $MKDIR_P in 980 [\\/$]* | ?:[\\/]* ) ;; 981 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 982 esac 983 # If the template does not know about datarootdir, expand it. 984 # FIXME: This hack should be removed a few years after 2.60. 985 ac_datarootdir_hack=; ac_datarootdir_seen= 986 ac_sed_dataroot=' 987 /datarootdir/ { 988 p 989 q 990 } 991 /@datadir@/p 992 /@docdir@/p 993 /@infodir@/p 994 /@localedir@/p 995 /@mandir@/p' 996 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 997 *datarootdir*) ac_datarootdir_seen=yes;; 998 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 1000 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 1001 ac_datarootdir_hack=' 1002 s&@datadir@&${datarootdir}&g 1003 s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g 1004 s&@infodir@&${datarootdir}/info&g 1005 s&@localedir@&${datarootdir}/locale&g 1006 s&@mandir@&${datarootdir}/man&g 1007 s&\${datarootdir}&${prefix}/share&g' ;; 1008 esac 1009 ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{ 1010 h 1011 s/// 1012 s/^/:/ 1013 s/[ ]*$/:/ 1014 s/:\$(srcdir):/:/g 1015 s/:\${srcdir}:/:/g 1016 s/:@srcdir@:/:/g 1017 s/^:*// 1018 s/:*$// 1019 x 1020 s/\(=[ ]*\).*/\1/ 1021 G 1022 s/\n// 1023 s/^[^=]*=[ ]*$// 486 1024 } 487 1025 488 1026 :t 489 1027 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 490 s,@configure_input@,$configure_input,;t t 491 s,@srcdir@,$ac_srcdir,;t t 492 s,@top_srcdir@,$ac_top_srcdir,;t t 493 s,@INSTALL@,$ac_INSTALL,;t t 494 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 495 rm -f $tmp/stdin 1028 s|@configure_input@|$ac_sed_conf_input|;t t 1029 s&@top_builddir@&$ac_top_builddir_sub&;t t 1030 s&@top_build_prefix@&$ac_top_build_prefix&;t t 1031 s&@srcdir@&$ac_srcdir&;t t 1032 s&@abs_srcdir@&$ac_abs_srcdir&;t t 1033 s&@top_srcdir@&$ac_top_srcdir&;t t 1034 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 1035 s&@builddir@&$ac_builddir&;t t 1036 s&@abs_builddir@&$ac_abs_builddir&;t t 1037 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 1038 s&@INSTALL@&$ac_INSTALL&;t t 1039 s&@MKDIR_P@&$ac_MKDIR_P&;t t 1040 $ac_datarootdir_hack 1041 " 1042 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 1043 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 1044 1045 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 1046 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 1047 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 1048 "$ac_tmp/out"`; test -z "$ac_out"; } && 1049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 1050 which seems to be undefined. Please make sure it is defined" >&5 1051 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 1052 which seems to be undefined. Please make sure it is defined" >&2;} 1053 1054 rm -f "$ac_tmp/stdin" 1055 case $ac_file in 1056 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 1057 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 1058 esac \ 1059 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 1060 ;; 1061 :H) 1062 # 1063 # CONFIG_HEADER 1064 # 496 1065 if test x"$ac_file" != x-; then 497 mv $tmp/out $ac_file 498 else 499 cat $tmp/out 500 rm -f $tmp/out 501 fi 502 503 done 504 505 # 506 # CONFIG_HEADER section. 507 # 508 509 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 510 # NAME is the cpp macro being defined and VALUE is the value it is being given. 511 # 512 # ac_d sets the value in "#define NAME VALUE" lines. 513 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 514 ac_dB='[ ].*$,\1#\2' 515 ac_dC=' ' 516 ac_dD=',;t' 517 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 518 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 519 ac_uB='$,\1#\2define\3' 520 ac_uC=' ' 521 ac_uD=',;t' 522 523 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 524 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 525 case $ac_file in 526 - | *:- | *:-:* ) # input from stdin 527 cat >$tmp/stdin 528 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 529 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 530 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 531 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 532 * ) ac_file_in=$ac_file.in ;; 533 esac 534 535 test x"$ac_file" != x- && { echo "$as_me:4233: creating $ac_file" >&5 536 echo "$as_me: creating $ac_file" >&6;} 537 538 # First look for the input files in the build tree, otherwise in the 539 # src tree. 540 ac_file_inputs=`IFS=: 541 for f in $ac_file_in; do 542 case $f in 543 -) echo $tmp/stdin ;; 544 [\\/$]*) 545 # Absolute (can't be DOS-style, as IFS=:) 546 test -f "$f" || { { echo "$as_me:4244: error: cannot find input file: $f" >&5 547 echo "$as_me: error: cannot find input file: $f" >&2;} 548 { (exit 1); exit 1; }; } 549 echo $f;; 550 *) # Relative 551 if test -f "$f"; then 552 # Build tree 553 echo $f 554 elif test -f "$srcdir/$f"; then 555 # Source tree 556 echo $srcdir/$f 557 else 558 # /dev/null tree 559 { { echo "$as_me:4257: error: cannot find input file: $f" >&5 560 echo "$as_me: error: cannot find input file: $f" >&2;} 561 { (exit 1); exit 1; }; } 562 fi;; 563 esac 564 done` || { (exit 1); exit 1; } 565 # Remove the trailing spaces. 566 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 567 568 # Handle all the #define templates only if necessary. 569 if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then 570 # If there are no defines, we may have an empty if/fi 571 : 572 cat >$tmp/defines.sed <<CEOF 573 /^[ ]*#[ ]*define/!b 574 t clr 575 : clr 576 ${ac_dA}PACKAGE${ac_dB}PACKAGE${ac_dC}"cfa"${ac_dD} 577 ${ac_dA}VERSION${ac_dB}VERSION${ac_dC}"1.0"${ac_dD} 578 ${ac_dA}YYTEXT_POINTER${ac_dB}YYTEXT_POINTER${ac_dC}1${ac_dD} 579 ${ac_dA}HAVE_MALLOC_H${ac_dB}HAVE_MALLOC_H${ac_dC}1${ac_dD} 580 ${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD} 581 ${ac_dA}GCC_PATH${ac_dB}GCC_PATH${ac_dC}"/u/pabuhr/bin/gcc"${ac_dD} 582 ${ac_dA}CPP_PATH${ac_dB}CPP_PATH${ac_dC}"/usr/bin/cpp"${ac_dD} 583 ${ac_dA}CFA_PREFIX${ac_dB}CFA_PREFIX${ac_dC}"/u/pabuhr/software/cfa/cfa-cc"${ac_dD} 584 ${ac_dA}CFA_BINDIR${ac_dB}CFA_BINDIR${ac_dC}"/u/pabuhr/software/cfa/cfa-cc/bin"${ac_dD} 585 ${ac_dA}CFA_LIBDIR${ac_dB}CFA_LIBDIR${ac_dC}"/u/pabuhr/software/cfa/cfa-cc/lib"${ac_dD} 586 CEOF 587 sed -f $tmp/defines.sed $tmp/in >$tmp/out 588 rm -f $tmp/in 589 mv $tmp/out $tmp/in 590 591 fi # egrep 592 593 # Handle all the #undef templates 594 cat >$tmp/undefs.sed <<CEOF 595 /^[ ]*#[ ]*undef/!b 596 t clr 597 : clr 598 ${ac_uA}PACKAGE${ac_uB}PACKAGE${ac_uC}"cfa"${ac_uD} 599 ${ac_uA}VERSION${ac_uB}VERSION${ac_uC}"1.0"${ac_uD} 600 ${ac_uA}YYTEXT_POINTER${ac_uB}YYTEXT_POINTER${ac_uC}1${ac_uD} 601 ${ac_uA}HAVE_MALLOC_H${ac_uB}HAVE_MALLOC_H${ac_uC}1${ac_uD} 602 ${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD} 603 ${ac_uA}GCC_PATH${ac_uB}GCC_PATH${ac_uC}"/u/pabuhr/bin/gcc"${ac_uD} 604 ${ac_uA}CPP_PATH${ac_uB}CPP_PATH${ac_uC}"/usr/bin/cpp"${ac_uD} 605 ${ac_uA}CFA_PREFIX${ac_uB}CFA_PREFIX${ac_uC}"/u/pabuhr/software/cfa/cfa-cc"${ac_uD} 606 ${ac_uA}CFA_BINDIR${ac_uB}CFA_BINDIR${ac_uC}"/u/pabuhr/software/cfa/cfa-cc/bin"${ac_uD} 607 ${ac_uA}CFA_LIBDIR${ac_uB}CFA_LIBDIR${ac_uC}"/u/pabuhr/software/cfa/cfa-cc/lib"${ac_uD} 608 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 609 CEOF 610 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 611 rm -f $tmp/in 612 mv $tmp/out $tmp/in 613 614 # Let's still pretend it is `configure' which instantiates (i.e., don't 615 # use $as_me), people would be surprised to read: 616 # /* config.h. Generated automatically by config.status. */ 617 if test x"$ac_file" = x-; then 618 echo "/* Generated automatically by configure. */" >$tmp/config.h 619 else 620 echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h 621 fi 622 cat $tmp/in >>$tmp/config.h 623 rm -f $tmp/in 624 if test x"$ac_file" != x-; then 625 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then 626 { echo "$as_me:4374: $ac_file is unchanged" >&5 627 echo "$as_me: $ac_file is unchanged" >&6;} 1066 { 1067 $as_echo "/* $configure_input */" \ 1068 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 1069 } >"$ac_tmp/config.h" \ 1070 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 1071 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 1072 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 1073 $as_echo "$as_me: $ac_file is unchanged" >&6;} 628 1074 else 629 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 630 X"$ac_file" : 'X\(//\)[^/]' \| \ 631 X"$ac_file" : 'X\(//\)$' \| \ 632 X"$ac_file" : 'X\(/\)' \| \ 633 . : '\(.\)' 2>/dev/null || 634 echo X"$ac_file" | 635 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 636 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 637 /^X\(\/\/\)$/{ s//\1/; q; } 638 /^X\(\/\).*/{ s//\1/; q; } 639 s/.*/./; q'` 640 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 641 { case "$ac_dir" in 642 [\\/]* | ?:[\\/]* ) as_incr_dir=;; 643 *) as_incr_dir=.;; 644 esac 645 as_dummy="$ac_dir" 646 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do 647 case $as_mkdir_dir in 648 # Skip DOS drivespec 649 ?:) as_incr_dir=$as_mkdir_dir ;; 650 *) 651 as_incr_dir=$as_incr_dir/$as_mkdir_dir 652 test -d "$as_incr_dir" || mkdir "$as_incr_dir" 653 ;; 654 esac 655 done; } 656 657 fi 658 rm -f $ac_file 659 mv $tmp/config.h $ac_file 1075 rm -f "$ac_file" 1076 mv "$ac_tmp/config.h" "$ac_file" \ 1077 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 660 1078 fi 661 1079 else 662 cat $tmp/config.h 663 rm -f $tmp/config.h 1080 $as_echo "/* $configure_input */" \ 1081 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 1082 || as_fn_error $? "could not create -" "$LINENO" 5 664 1083 fi 665 # Run the commands associated with the file. 666 case $ac_file in 667 config.h ) # update the timestamp 668 echo 'timestamp for config.h' >"./stamp-h1" 1084 # Compute "$ac_file"'s index in $config_headers. 1085 _am_arg="$ac_file" 1086 _am_stamp_count=1 1087 for _am_header in $config_headers :; do 1088 case $_am_header in 1089 $_am_arg | $_am_arg:* ) 1090 break ;; 1091 * ) 1092 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 1093 esac 1094 done 1095 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 1096 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1097 X"$_am_arg" : 'X\(//\)[^/]' \| \ 1098 X"$_am_arg" : 'X\(//\)$' \| \ 1099 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 1100 $as_echo X"$_am_arg" | 1101 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1102 s//\1/ 1103 q 1104 } 1105 /^X\(\/\/\)[^/].*/{ 1106 s//\1/ 1107 q 1108 } 1109 /^X\(\/\/\)$/{ 1110 s//\1/ 1111 q 1112 } 1113 /^X\(\/\).*/{ 1114 s//\1/ 1115 q 1116 } 1117 s/.*/./; q'`/stamp-h$_am_stamp_count 1118 ;; 1119 1120 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 1121 $as_echo "$as_me: executing $ac_file commands" >&6;} 669 1122 ;; 670 1123 esac 671 done 672 673 # 674 # CONFIG_COMMANDS section. 675 # 676 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue 677 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 678 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 679 680 case $ac_dest in 681 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 682 # Strip MF so we end up with the name of the file. 683 mf=`echo "$mf" | sed -e 's/:.*$//'` 684 # Check whether this is an Automake generated Makefile or not. 685 # We used to match only the files named `Makefile.in', but 686 # some people rename them; so instead we look at the file content. 687 # Grep'ing the first line is not enough: some people post-process 688 # each Makefile.in and add a new line on top of each file to say so. 689 # So let's grep whole file. 690 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 691 dirpart=`$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 692 X"$mf" : 'X\(//\)[^/]' \| \ 693 X"$mf" : 'X\(//\)$' \| \ 694 X"$mf" : 'X\(/\)' \| \ 695 . : '\(.\)' 2>/dev/null || 696 echo X"$mf" | 697 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 698 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 699 /^X\(\/\/\)$/{ s//\1/; q; } 700 /^X\(\/\).*/{ s//\1/; q; } 701 s/.*/./; q'` 702 else 703 continue 704 fi 705 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue 706 # Extract the definition of DEP_FILES from the Makefile without 707 # running `make'. 708 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` 709 test -z "$DEPDIR" && continue 710 # When using ansi2knr, U may be empty or an underscore; expand it 711 U=`sed -n -e '/^U = / s///p' < "$mf"` 712 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 713 # We invoke sed twice because it is the simplest approach to 714 # changing $(DEPDIR) to its actual value in the expansion. 715 for file in `sed -n -e ' 716 /^DEP_FILES = .*\\\\$/ { 717 s/^DEP_FILES = // 718 :loop 719 s/\\\\$// 720 p 721 n 722 /\\\\$/ b loop 723 p 724 } 725 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ 726 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 727 # Make sure the directory exists. 728 test -f "$dirpart/$file" && continue 729 fdir=`$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 730 X"$file" : 'X\(//\)[^/]' \| \ 731 X"$file" : 'X\(//\)$' \| \ 732 X"$file" : 'X\(/\)' \| \ 733 . : '\(.\)' 2>/dev/null || 734 echo X"$file" | 735 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 736 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 737 /^X\(\/\/\)$/{ s//\1/; q; } 738 /^X\(\/\).*/{ s//\1/; q; } 739 s/.*/./; q'` 740 { case $dirpart/$fdir in 741 [\\/]* | ?:[\\/]* ) as_incr_dir=;; 742 *) as_incr_dir=.;; 743 esac 744 as_dummy=$dirpart/$fdir 745 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do 746 case $as_mkdir_dir in 747 # Skip DOS drivespec 748 ?:) as_incr_dir=$as_mkdir_dir ;; 749 *) 750 as_incr_dir=$as_incr_dir/$as_mkdir_dir 751 test -d "$as_incr_dir" || mkdir "$as_incr_dir" 752 ;; 1124 1125 1126 case $ac_file$ac_mode in 1127 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 1128 # Autoconf 2.62 quotes --file arguments for eval, but not when files 1129 # are listed without --file. Let's play safe and only enable the eval 1130 # if we detect the quoting. 1131 case $CONFIG_FILES in 1132 *\'*) eval set x "$CONFIG_FILES" ;; 1133 *) set x $CONFIG_FILES ;; 753 1134 esac 754 done; } 755 756 # echo "creating $dirpart/$file" 757 echo '# dummy' > "$dirpart/$file" 1135 shift 1136 for mf 1137 do 1138 # Strip MF so we end up with the name of the file. 1139 mf=`echo "$mf" | sed -e 's/:.*$//'` 1140 # Check whether this is an Automake generated Makefile or not. 1141 # We used to match only the files named `Makefile.in', but 1142 # some people rename them; so instead we look at the file content. 1143 # Grep'ing the first line is not enough: some people post-process 1144 # each Makefile.in and add a new line on top of each file to say so. 1145 # Grep'ing the whole file is not good either: AIX grep has a line 1146 # limit of 2048, but all sed's we know have understand at least 4000. 1147 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 1148 dirpart=`$as_dirname -- "$mf" || 1149 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1150 X"$mf" : 'X\(//\)[^/]' \| \ 1151 X"$mf" : 'X\(//\)$' \| \ 1152 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 1153 $as_echo X"$mf" | 1154 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1155 s//\1/ 1156 q 1157 } 1158 /^X\(\/\/\)[^/].*/{ 1159 s//\1/ 1160 q 1161 } 1162 /^X\(\/\/\)$/{ 1163 s//\1/ 1164 q 1165 } 1166 /^X\(\/\).*/{ 1167 s//\1/ 1168 q 1169 } 1170 s/.*/./; q'` 1171 else 1172 continue 1173 fi 1174 # Extract the definition of DEPDIR, am__include, and am__quote 1175 # from the Makefile without running `make'. 1176 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 1177 test -z "$DEPDIR" && continue 1178 am__include=`sed -n 's/^am__include = //p' < "$mf"` 1179 test -z "am__include" && continue 1180 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 1181 # When using ansi2knr, U may be empty or an underscore; expand it 1182 U=`sed -n 's/^U = //p' < "$mf"` 1183 # Find all dependency output files, they are included files with 1184 # $(DEPDIR) in their names. We invoke sed twice because it is the 1185 # simplest approach to changing $(DEPDIR) to its actual value in the 1186 # expansion. 1187 for file in `sed -n " 1188 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 1189 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 1190 # Make sure the directory exists. 1191 test -f "$dirpart/$file" && continue 1192 fdir=`$as_dirname -- "$file" || 1193 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1194 X"$file" : 'X\(//\)[^/]' \| \ 1195 X"$file" : 'X\(//\)$' \| \ 1196 X"$file" : 'X\(/\)' \| . 2>/dev/null || 1197 $as_echo X"$file" | 1198 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1199 s//\1/ 1200 q 1201 } 1202 /^X\(\/\/\)[^/].*/{ 1203 s//\1/ 1204 q 1205 } 1206 /^X\(\/\/\)$/{ 1207 s//\1/ 1208 q 1209 } 1210 /^X\(\/\).*/{ 1211 s//\1/ 1212 q 1213 } 1214 s/.*/./; q'` 1215 as_dir=$dirpart/$fdir; as_fn_mkdir_p 1216 # echo "creating $dirpart/$file" 1217 echo '# dummy' > "$dirpart/$file" 1218 done 758 1219 done 759 done 1220 } 760 1221 ;; 1222 761 1223 esac 762 done 763 764 { (exit 0); exit 0; } 1224 done # for ac_tag 1225 1226 1227 as_fn_exit 0 -
configure
r134b86a r8c17ab0 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by Autoconf 2.52for cfa-cc 1.0.3 # Generated by GNU Autoconf 2.68 for cfa-cc 1.0. 4 4 # 5 5 # Report bugs to <cforall@plg.uwaterloo.ca>. 6 6 # 7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 8 # Free Software Foundation, Inc. 7 # 8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 10 # Foundation, Inc. 11 # 12 # 9 13 # This configure script is free software; the Free Software Foundation 10 14 # gives unlimited permission to copy, distribute and modify it. 15 ## -------------------- ## 16 ## M4sh Initialization. ## 17 ## -------------------- ## 18 19 # Be more Bourne compatible 20 DUALCASE=1; export DUALCASE # for MKS sh 21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 22 emulate sh 23 NULLCMD=: 24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 25 # is contrary to our usage. Disable this feature. 26 alias -g '${1+"$@"}'='"$@"' 27 setopt NO_GLOB_SUBST 28 else 29 case `(set -o) 2>/dev/null` in #( 30 *posix*) : 31 set -o posix ;; #( 32 *) : 33 ;; 34 esac 35 fi 36 37 38 as_nl=' 39 ' 40 export as_nl 41 # Printing a long string crashes Solaris 7 /usr/bin/printf. 42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 45 # Prefer a ksh shell builtin over an external printf program on Solaris, 46 # but without wasting forks for bash or zsh. 47 if test -z "$BASH_VERSION$ZSH_VERSION" \ 48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49 as_echo='print -r --' 50 as_echo_n='print -rn --' 51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 52 as_echo='printf %s\n' 53 as_echo_n='printf %s' 54 else 55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 57 as_echo_n='/usr/ucb/echo -n' 58 else 59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 60 as_echo_n_body='eval 61 arg=$1; 62 case $arg in #( 63 *"$as_nl"*) 64 expr "X$arg" : "X\\(.*\\)$as_nl"; 65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 66 esac; 67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 68 ' 69 export as_echo_n_body 70 as_echo_n='sh -c $as_echo_n_body as_echo' 71 fi 72 export as_echo_body 73 as_echo='sh -c $as_echo_body as_echo' 74 fi 75 76 # The user is always right. 77 if test "${PATH_SEPARATOR+set}" != set; then 78 PATH_SEPARATOR=: 79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 81 PATH_SEPARATOR=';' 82 } 83 fi 84 85 86 # IFS 87 # We need space, tab and new line, in precisely that order. Quoting is 88 # there to prevent editors from complaining about space-tab. 89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 90 # splitting by setting IFS to empty value.) 91 IFS=" "" $as_nl" 92 93 # Find who we are. Look in the path if we contain no directory separator. 94 as_myself= 95 case $0 in #(( 96 *[\\/]* ) as_myself=$0 ;; 97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 98 for as_dir in $PATH 99 do 100 IFS=$as_save_IFS 101 test -z "$as_dir" && as_dir=. 102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 103 done 104 IFS=$as_save_IFS 105 106 ;; 107 esac 108 # We did not find ourselves, most probably we were run as `sh COMMAND' 109 # in which case we are not to be found in the path. 110 if test "x$as_myself" = x; then 111 as_myself=$0 112 fi 113 if test ! -f "$as_myself"; then 114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 115 exit 1 116 fi 117 118 # Unset variables that we do not need and which cause bugs (e.g. in 119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 120 # suppresses any "Segmentation fault" message there. '((' could 121 # trigger a bug in pdksh 5.2.14. 122 for as_var in BASH_ENV ENV MAIL MAILPATH 123 do eval test x\${$as_var+set} = xset \ 124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 125 done 126 PS1='$ ' 127 PS2='> ' 128 PS4='+ ' 129 130 # NLS nuisances. 131 LC_ALL=C 132 export LC_ALL 133 LANGUAGE=C 134 export LANGUAGE 135 136 # CDPATH. 137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 138 139 if test "x$CONFIG_SHELL" = x; then 140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 141 emulate sh 142 NULLCMD=: 143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 144 # is contrary to our usage. Disable this feature. 145 alias -g '\${1+\"\$@\"}'='\"\$@\"' 146 setopt NO_GLOB_SUBST 147 else 148 case \`(set -o) 2>/dev/null\` in #( 149 *posix*) : 150 set -o posix ;; #( 151 *) : 152 ;; 153 esac 154 fi 155 " 156 as_required="as_fn_return () { (exit \$1); } 157 as_fn_success () { as_fn_return 0; } 158 as_fn_failure () { as_fn_return 1; } 159 as_fn_ret_success () { return 0; } 160 as_fn_ret_failure () { return 1; } 161 162 exitcode=0 163 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 168 169 else 170 exitcode=1; echo positional parameters were not saved. 171 fi 172 test x\$exitcode = x0 || exit 1" 173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 177 test \$(( 1 + 1 )) = 2 || exit 1" 178 if (eval "$as_required") 2>/dev/null; then : 179 as_have_required=yes 180 else 181 as_have_required=no 182 fi 183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 184 185 else 186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 187 as_found=false 188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 189 do 190 IFS=$as_save_IFS 191 test -z "$as_dir" && as_dir=. 192 as_found=: 193 case $as_dir in #( 194 /*) 195 for as_base in sh bash ksh sh5; do 196 # Try only shells that exist, to save several forks. 197 as_shell=$as_dir/$as_base 198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 200 CONFIG_SHELL=$as_shell as_have_required=yes 201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 202 break 2 203 fi 204 fi 205 done;; 206 esac 207 as_found=false 208 done 209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 211 CONFIG_SHELL=$SHELL as_have_required=yes 212 fi; } 213 IFS=$as_save_IFS 214 215 216 if test "x$CONFIG_SHELL" != x; then : 217 # We cannot yet assume a decent shell, so we have to provide a 218 # neutralization value for shells without unset; and this also 219 # works around shells that cannot unset nonexistent variables. 220 # Preserve -v and -x to the replacement shell. 221 BASH_ENV=/dev/null 222 ENV=/dev/null 223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 224 export CONFIG_SHELL 225 case $- in # (((( 226 *v*x* | *x*v* ) as_opts=-vx ;; 227 *v* ) as_opts=-v ;; 228 *x* ) as_opts=-x ;; 229 * ) as_opts= ;; 230 esac 231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 232 fi 233 234 if test x$as_have_required = xno; then : 235 $as_echo "$0: This script requires a shell more modern than all" 236 $as_echo "$0: the shells that I found on your system." 237 if test x${ZSH_VERSION+set} = xset ; then 238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 239 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 240 else 241 $as_echo "$0: Please tell bug-autoconf@gnu.org and 242 $0: cforall@plg.uwaterloo.ca about your system, including 243 $0: any error possibly output before this message. Then 244 $0: install a modern shell, or manually run the script 245 $0: under such a shell if you do have one." 246 fi 247 exit 1 248 fi 249 fi 250 fi 251 SHELL=${CONFIG_SHELL-/bin/sh} 252 export SHELL 253 # Unset more variables known to interfere with behavior of common tools. 254 CLICOLOR_FORCE= GREP_OPTIONS= 255 unset CLICOLOR_FORCE GREP_OPTIONS 256 257 ## --------------------- ## 258 ## M4sh Shell Functions. ## 259 ## --------------------- ## 260 # as_fn_unset VAR 261 # --------------- 262 # Portably unset VAR. 263 as_fn_unset () 264 { 265 { eval $1=; unset $1;} 266 } 267 as_unset=as_fn_unset 268 269 # as_fn_set_status STATUS 270 # ----------------------- 271 # Set $? to STATUS, without forking. 272 as_fn_set_status () 273 { 274 return $1 275 } # as_fn_set_status 276 277 # as_fn_exit STATUS 278 # ----------------- 279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 280 as_fn_exit () 281 { 282 set +e 283 as_fn_set_status $1 284 exit $1 285 } # as_fn_exit 286 287 # as_fn_mkdir_p 288 # ------------- 289 # Create "$as_dir" as a directory, including parents if necessary. 290 as_fn_mkdir_p () 291 { 292 293 case $as_dir in #( 294 -*) as_dir=./$as_dir;; 295 esac 296 test -d "$as_dir" || eval $as_mkdir_p || { 297 as_dirs= 298 while :; do 299 case $as_dir in #( 300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 301 *) as_qdir=$as_dir;; 302 esac 303 as_dirs="'$as_qdir' $as_dirs" 304 as_dir=`$as_dirname -- "$as_dir" || 305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 306 X"$as_dir" : 'X\(//\)[^/]' \| \ 307 X"$as_dir" : 'X\(//\)$' \| \ 308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 309 $as_echo X"$as_dir" | 310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 311 s//\1/ 312 q 313 } 314 /^X\(\/\/\)[^/].*/{ 315 s//\1/ 316 q 317 } 318 /^X\(\/\/\)$/{ 319 s//\1/ 320 q 321 } 322 /^X\(\/\).*/{ 323 s//\1/ 324 q 325 } 326 s/.*/./; q'` 327 test -d "$as_dir" && break 328 done 329 test -z "$as_dirs" || eval "mkdir $as_dirs" 330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 331 332 333 } # as_fn_mkdir_p 334 # as_fn_append VAR VALUE 335 # ---------------------- 336 # Append the text in VALUE to the end of the definition contained in VAR. Take 337 # advantage of any shell optimizations that allow amortized linear growth over 338 # repeated appends, instead of the typical quadratic growth present in naive 339 # implementations. 340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 341 eval 'as_fn_append () 342 { 343 eval $1+=\$2 344 }' 345 else 346 as_fn_append () 347 { 348 eval $1=\$$1\$2 349 } 350 fi # as_fn_append 351 352 # as_fn_arith ARG... 353 # ------------------ 354 # Perform arithmetic evaluation on the ARGs, and store the result in the 355 # global $as_val. Take advantage of shells that can avoid forks. The arguments 356 # must be portable across $(()) and expr. 357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 358 eval 'as_fn_arith () 359 { 360 as_val=$(( $* )) 361 }' 362 else 363 as_fn_arith () 364 { 365 as_val=`expr "$@" || test $? -eq 1` 366 } 367 fi # as_fn_arith 368 369 370 # as_fn_error STATUS ERROR [LINENO LOG_FD] 371 # ---------------------------------------- 372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 374 # script with STATUS, using 1 if that was 0. 375 as_fn_error () 376 { 377 as_status=$1; test $as_status -eq 0 && as_status=1 378 if test "$4"; then 379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 381 fi 382 $as_echo "$as_me: error: $2" >&2 383 as_fn_exit $as_status 384 } # as_fn_error 385 386 if expr a : '\(a\)' >/dev/null 2>&1 && 387 test "X`expr 00001 : '.*\(...\)'`" = X001; then 388 as_expr=expr 389 else 390 as_expr=false 391 fi 392 393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 394 as_basename=basename 395 else 396 as_basename=false 397 fi 398 399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 400 as_dirname=dirname 401 else 402 as_dirname=false 403 fi 404 405 as_me=`$as_basename -- "$0" || 406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 407 X"$0" : 'X\(//\)$' \| \ 408 X"$0" : 'X\(/\)' \| . 2>/dev/null || 409 $as_echo X/"$0" | 410 sed '/^.*\/\([^/][^/]*\)\/*$/{ 411 s//\1/ 412 q 413 } 414 /^X\/\(\/\/\)$/{ 415 s//\1/ 416 q 417 } 418 /^X\/\(\/\).*/{ 419 s//\1/ 420 q 421 } 422 s/.*/./; q'` 11 423 12 424 # Avoid depending upon Character Ranges. … … 17 429 as_cr_alnum=$as_cr_Letters$as_cr_digits 18 430 431 432 as_lineno_1=$LINENO as_lineno_1a=$LINENO 433 as_lineno_2=$LINENO as_lineno_2a=$LINENO 434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 437 sed -n ' 438 p 439 /[$]LINENO/= 440 ' <$as_myself | 441 sed ' 442 s/[$]LINENO.*/&-/ 443 t lineno 444 b 445 :lineno 446 N 447 :loop 448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 449 t loop 450 s/-\n.*// 451 ' >$as_me.lineno && 452 chmod +x "$as_me.lineno" || 453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 454 455 # Don't try to exec as it changes $[0], causing all sort of problems 456 # (the dirname of $[0] is not the place where we might find the 457 # original and so on. Autoconf is especially sensitive to this). 458 . "./$as_me.lineno" 459 # Exit status is that of the last command. 460 exit 461 } 462 463 ECHO_C= ECHO_N= ECHO_T= 464 case `echo -n x` in #((((( 465 -n*) 466 case `echo 'xy\c'` in 467 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 468 xy) ECHO_C='\c';; 469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 470 ECHO_T=' ';; 471 esac;; 472 *) 473 ECHO_N='-n';; 474 esac 475 476 rm -f conf$$ conf$$.exe conf$$.file 477 if test -d conf$$.dir; then 478 rm -f conf$$.dir/conf$$.file 479 else 480 rm -f conf$$.dir 481 mkdir conf$$.dir 2>/dev/null 482 fi 483 if (echo >conf$$.file) 2>/dev/null; then 484 if ln -s conf$$.file conf$$ 2>/dev/null; then 485 as_ln_s='ln -s' 486 # ... but there are two gotchas: 487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 489 # In both cases, we have to default to `cp -p'. 490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 491 as_ln_s='cp -p' 492 elif ln conf$$.file conf$$ 2>/dev/null; then 493 as_ln_s=ln 494 else 495 as_ln_s='cp -p' 496 fi 497 else 498 as_ln_s='cp -p' 499 fi 500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 501 rmdir conf$$.dir 2>/dev/null 502 503 if mkdir -p . 2>/dev/null; then 504 as_mkdir_p='mkdir -p "$as_dir"' 505 else 506 test -d ./-p && rmdir ./-p 507 as_mkdir_p=false 508 fi 509 510 if test -x / >/dev/null 2>&1; then 511 as_test_x='test -x' 512 else 513 if ls -dL / >/dev/null 2>&1; then 514 as_ls_L_option=L 515 else 516 as_ls_L_option= 517 fi 518 as_test_x=' 519 eval sh -c '\'' 520 if test -d "$1"; then 521 test -d "$1/."; 522 else 523 case $1 in #( 524 -*)set "./$1";; 525 esac; 526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 527 ???[sx]*):;;*)false;;esac;fi 528 '\'' sh 529 ' 530 fi 531 as_executable_p=$as_test_x 532 533 # Sed expression to map a string onto a valid CPP name. 534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 535 19 536 # Sed expression to map a string onto a valid variable name. 20 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 21 22 # Sed expression to map a string onto a valid CPP name. 23 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 24 25 # Be Bourne compatible 26 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 27 emulate sh 28 NULLCMD=: 29 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 30 set -o posix 31 fi 32 33 # Name of the executable. 34 as_me=`echo "$0" |sed 's,.*[\\/],,'` 35 36 if expr a : '\(a\)' >/dev/null 2>&1; then 37 as_expr=expr 38 else 39 as_expr=false 40 fi 41 42 rm -f conf$$ conf$$.exe conf$$.file 43 echo >conf$$.file 44 if ln -s conf$$.file conf$$ 2>/dev/null; then 45 # We could just check for DJGPP; but this test a) works b) is more generic 46 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 47 if test -f conf$$.exe; then 48 # Don't use ln at all; we don't have any links 49 as_ln_s='cp -p' 50 else 51 as_ln_s='ln -s' 52 fi 53 elif ln conf$$.file conf$$ 2>/dev/null; then 54 as_ln_s=ln 55 else 56 as_ln_s='cp -p' 57 fi 58 rm -f conf$$ conf$$.exe conf$$.file 59 60 as_executable_p="test -f" 61 62 # Support unset when possible. 63 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 64 as_unset=unset 65 else 66 as_unset=false 67 fi 68 69 # NLS nuisances. 70 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } 71 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } 72 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } 73 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } 74 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } 75 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } 76 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } 77 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } 78 79 # IFS 80 # We need space, tab and new line, in precisely that order. 81 as_nl=' 82 ' 83 IFS=" $as_nl" 84 85 # CDPATH. 86 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } 537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 538 539 540 test -n "$DJDIR" || exec 7<&0 </dev/null 541 exec 6>&1 87 542 88 543 # Name of the host. 89 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 90 545 # so uname gets run too. 91 546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 92 93 exec 6>&194 547 95 548 # … … 97 550 # 98 551 ac_default_prefix=/usr/local 552 ac_clean_files= 553 ac_config_libobj_dir=. 554 LIBOBJS= 99 555 cross_compiling=no 100 556 subdirs= 101 MFLAGS= MAKEFLAGS= 102 SHELL=${CONFIG_SHELL-/bin/sh} 103 104 # Maximum number of lines to put in a shell here document. 105 # This variable seems obsolete. It should probably be removed, and 106 # only ac_max_sed_lines should be used. 107 : ${ac_max_here_lines=38} 557 MFLAGS= 558 MAKEFLAGS= 559 560 # Identity of this package. 561 PACKAGE_NAME='cfa-cc' 562 PACKAGE_TARNAME='cfa-cc' 563 PACKAGE_VERSION='1.0' 564 PACKAGE_STRING='cfa-cc 1.0' 565 PACKAGE_BUGREPORT='cforall@plg.uwaterloo.ca' 566 PACKAGE_URL='' 108 567 109 568 ac_unique_file="translator/main.cc" 569 # Factoring default headers for most tests. 570 ac_includes_default="\ 571 #include <stdio.h> 572 #ifdef HAVE_SYS_TYPES_H 573 # include <sys/types.h> 574 #endif 575 #ifdef HAVE_SYS_STAT_H 576 # include <sys/stat.h> 577 #endif 578 #ifdef STDC_HEADERS 579 # include <stdlib.h> 580 # include <stddef.h> 581 #else 582 # ifdef HAVE_STDLIB_H 583 # include <stdlib.h> 584 # endif 585 #endif 586 #ifdef HAVE_STRING_H 587 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 588 # include <memory.h> 589 # endif 590 # include <string.h> 591 #endif 592 #ifdef HAVE_STRINGS_H 593 # include <strings.h> 594 #endif 595 #ifdef HAVE_INTTYPES_H 596 # include <inttypes.h> 597 #endif 598 #ifdef HAVE_STDINT_H 599 # include <stdint.h> 600 #endif 601 #ifdef HAVE_UNISTD_H 602 # include <unistd.h> 603 #endif" 604 605 ac_subst_vars='am__EXEEXT_FALSE 606 am__EXEEXT_TRUE 607 LTLIBOBJS 608 LIBOBJS 609 CFA_LIBDIR 610 CFA_BINDIR 611 CFA_INCDIR 612 CFA_PREFIX 613 CPP_PATH 614 BACKEND_CC 615 GCC_PATH 616 preludedir 617 EGREP 618 GREP 619 CPP 620 LEXLIB 621 LEX_OUTPUT_ROOT 622 LEX 623 am__fastdepCC_FALSE 624 am__fastdepCC_TRUE 625 CCDEPMODE 626 ac_ct_CC 627 CFLAGS 628 CC 629 am__fastdepCXX_FALSE 630 am__fastdepCXX_TRUE 631 CXXDEPMODE 632 am__nodep 633 AMDEPBACKSLASH 634 AMDEP_FALSE 635 AMDEP_TRUE 636 am__quote 637 am__include 638 DEPDIR 639 OBJEXT 640 EXEEXT 641 ac_ct_CXX 642 CPPFLAGS 643 LDFLAGS 644 CXXFLAGS 645 CXX 646 YFLAGS 647 YACC 648 am__untar 649 am__tar 650 AMTAR 651 am__leading_dot 652 SET_MAKE 653 AWK 654 mkdir_p 655 MKDIR_P 656 INSTALL_STRIP_PROGRAM 657 STRIP 658 install_sh 659 MAKEINFO 660 AUTOHEADER 661 AUTOMAKE 662 AUTOCONF 663 ACLOCAL 664 VERSION 665 PACKAGE 666 CYGPATH_W 667 am__isrc 668 INSTALL_DATA 669 INSTALL_SCRIPT 670 INSTALL_PROGRAM 671 target_alias 672 host_alias 673 build_alias 674 LIBS 675 ECHO_T 676 ECHO_N 677 ECHO_C 678 DEFS 679 mandir 680 localedir 681 libdir 682 psdir 683 pdfdir 684 dvidir 685 htmldir 686 infodir 687 docdir 688 oldincludedir 689 includedir 690 localstatedir 691 sharedstatedir 692 sysconfdir 693 datadir 694 datarootdir 695 libexecdir 696 sbindir 697 bindir 698 program_transform_name 699 prefix 700 exec_prefix 701 PACKAGE_URL 702 PACKAGE_BUGREPORT 703 PACKAGE_STRING 704 PACKAGE_VERSION 705 PACKAGE_TARNAME 706 PACKAGE_NAME 707 PATH_SEPARATOR 708 SHELL' 709 ac_subst_files='' 710 ac_user_opts=' 711 enable_option_checking 712 enable_dependency_tracking 713 with_preludedir 714 with_backend_compiler 715 ' 716 ac_precious_vars='build_alias 717 host_alias 718 target_alias 719 YACC 720 YFLAGS 721 CXX 722 CXXFLAGS 723 LDFLAGS 724 LIBS 725 CPPFLAGS 726 CCC 727 CC 728 CFLAGS 729 CPP' 730 110 731 111 732 # Initialize some variables set by options. 112 733 ac_init_help= 113 734 ac_init_version=false 735 ac_unrecognized_opts= 736 ac_unrecognized_sep= 114 737 # The variables have the same names as the options, with 115 738 # dashes changed to underlines. … … 134 757 # by default will actually change. 135 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.) 136 760 bindir='${exec_prefix}/bin' 137 761 sbindir='${exec_prefix}/sbin' 138 762 libexecdir='${exec_prefix}/libexec' 139 datadir='${prefix}/share' 763 datarootdir='${prefix}/share' 764 datadir='${datarootdir}' 140 765 sysconfdir='${prefix}/etc' 141 766 sharedstatedir='${prefix}/com' 142 767 localstatedir='${prefix}/var' 143 libdir='${exec_prefix}/lib'144 768 includedir='${prefix}/include' 145 769 oldincludedir='/usr/include' 146 infodir='${prefix}/info'147 mandir='${prefix}/man'148 149 # Identity of this package. 150 PACKAGE_NAME='cfa-cc'151 PACKAGE_TARNAME='cfa-cc'152 PACKAGE_VERSION='1.0'153 PACKAGE_STRING='cfa-cc 1.0'154 PACKAGE_BUGREPORT='cforall@plg.uwaterloo.ca'770 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 771 infodir='${datarootdir}/info' 772 htmldir='${docdir}' 773 dvidir='${docdir}' 774 pdfdir='${docdir}' 775 psdir='${docdir}' 776 libdir='${exec_prefix}/lib' 777 localedir='${datarootdir}/locale' 778 mandir='${datarootdir}/man' 155 779 156 780 ac_prev= 781 ac_dashdash= 157 782 for ac_option 158 783 do 159 784 # If the previous option needs an argument, assign it. 160 785 if test -n "$ac_prev"; then 161 eval "$ac_prev=\$ac_option"786 eval $ac_prev=\$ac_option 162 787 ac_prev= 163 788 continue 164 789 fi 165 790 166 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 791 case $ac_option in 792 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 793 *=) ac_optarg= ;; 794 *) ac_optarg=yes ;; 795 esac 167 796 168 797 # Accept the important Cygnus configure options, so we can diagnose typos. 169 798 170 case $ac_option in 799 case $ac_dashdash$ac_option in 800 --) 801 ac_dashdash=yes ;; 171 802 172 803 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 190 821 cache_file=config.cache ;; 191 822 192 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)823 -datadir | --datadir | --datadi | --datad) 193 824 ac_prev=datadir ;; 194 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 195 | --da=*) 825 -datadir=* | --datadir=* | --datadi=* | --datad=*) 196 826 datadir=$ac_optarg ;; 197 827 828 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 829 | --dataroo | --dataro | --datar) 830 ac_prev=datarootdir ;; 831 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 832 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 833 datarootdir=$ac_optarg ;; 834 198 835 -disable-* | --disable-*) 199 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`836 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 200 837 # Reject names that are not valid shell variable names. 201 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 202 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 203 { (exit 1); exit 1; }; } 204 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 205 eval "enable_$ac_feature=no" ;; 838 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 839 as_fn_error $? "invalid feature name: $ac_useropt" 840 ac_useropt_orig=$ac_useropt 841 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 842 case $ac_user_opts in 843 *" 844 "enable_$ac_useropt" 845 "*) ;; 846 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 847 ac_unrecognized_sep=', ';; 848 esac 849 eval enable_$ac_useropt=no ;; 850 851 -docdir | --docdir | --docdi | --doc | --do) 852 ac_prev=docdir ;; 853 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 854 docdir=$ac_optarg ;; 855 856 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 857 ac_prev=dvidir ;; 858 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 859 dvidir=$ac_optarg ;; 206 860 207 861 -enable-* | --enable-*) 208 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`862 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 209 863 # Reject names that are not valid shell variable names. 210 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 211 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 212 { (exit 1); exit 1; }; } 213 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 214 case $ac_option in 215 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 216 *) ac_optarg=yes ;; 864 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 865 as_fn_error $? "invalid feature name: $ac_useropt" 866 ac_useropt_orig=$ac_useropt 867 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 868 case $ac_user_opts in 869 *" 870 "enable_$ac_useropt" 871 "*) ;; 872 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 873 ac_unrecognized_sep=', ';; 217 874 esac 218 eval "enable_$ac_feature='$ac_optarg'";;875 eval enable_$ac_useropt=\$ac_optarg ;; 219 876 220 877 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 243 900 host_alias=$ac_optarg ;; 244 901 902 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 903 ac_prev=htmldir ;; 904 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 905 | --ht=*) 906 htmldir=$ac_optarg ;; 907 245 908 -includedir | --includedir | --includedi | --included | --include \ 246 909 | --includ | --inclu | --incl | --inc) … … 267 930 libexecdir=$ac_optarg ;; 268 931 932 -localedir | --localedir | --localedi | --localed | --locale) 933 ac_prev=localedir ;; 934 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 935 localedir=$ac_optarg ;; 936 269 937 -localstatedir | --localstatedir | --localstatedi | --localstated \ 270 | --localstate | --localstat | --localsta | --localst \ 271 | --locals | --local | --loca | --loc | --lo) 938 | --localstate | --localstat | --localsta | --localst | --locals) 272 939 ac_prev=localstatedir ;; 273 940 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 274 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 275 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 941 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 276 942 localstatedir=$ac_optarg ;; 277 943 … … 286 952 287 953 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 288 | --no-cr | --no-c )954 | --no-cr | --no-c | -n) 289 955 no_create=yes ;; 290 956 … … 338 1004 program_transform_name=$ac_optarg ;; 339 1005 1006 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1007 ac_prev=pdfdir ;; 1008 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1009 pdfdir=$ac_optarg ;; 1010 1011 -psdir | --psdir | --psdi | --psd | --ps) 1012 ac_prev=psdir ;; 1013 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1014 psdir=$ac_optarg ;; 1015 340 1016 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 341 1017 | -silent | --silent | --silen | --sile | --sil) … … 388 1064 389 1065 -with-* | --with-*) 390 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1066 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 391 1067 # Reject names that are not valid shell variable names. 392 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 393 { echo "$as_me: error: invalid package name: $ac_package" >&2 394 { (exit 1); exit 1; }; } 395 ac_package=`echo $ac_package| sed 's/-/_/g'` 396 case $ac_option in 397 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 398 *) ac_optarg=yes ;; 1068 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1069 as_fn_error $? "invalid package name: $ac_useropt" 1070 ac_useropt_orig=$ac_useropt 1071 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1072 case $ac_user_opts in 1073 *" 1074 "with_$ac_useropt" 1075 "*) ;; 1076 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1077 ac_unrecognized_sep=', ';; 399 1078 esac 400 eval "with_$ac_package='$ac_optarg'";;1079 eval with_$ac_useropt=\$ac_optarg ;; 401 1080 402 1081 -without-* | --without-*) 403 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1082 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 404 1083 # Reject names that are not valid shell variable names. 405 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 406 { echo "$as_me: error: invalid package name: $ac_package" >&2 407 { (exit 1); exit 1; }; } 408 ac_package=`echo $ac_package | sed 's/-/_/g'` 409 eval "with_$ac_package=no" ;; 1084 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1085 as_fn_error $? "invalid package name: $ac_useropt" 1086 ac_useropt_orig=$ac_useropt 1087 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1088 case $ac_user_opts in 1089 *" 1090 "with_$ac_useropt" 1091 "*) ;; 1092 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1093 ac_unrecognized_sep=', ';; 1094 esac 1095 eval with_$ac_useropt=no ;; 410 1096 411 1097 --x) … … 427 1113 x_libraries=$ac_optarg ;; 428 1114 429 -*) { echo "$as_me: error: unrecognized option: $ac_option 430 Try \`$0 --help' for more information." >&2 431 { (exit 1); exit 1; }; } 1115 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1116 Try \`$0 --help' for more information" 432 1117 ;; 433 1118 … … 435 1120 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 436 1121 # Reject names that are not valid shell variable names. 437 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&438 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2439 { (exit 1); exit 1; }; }440 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`441 eval "$ac_envvar='$ac_optarg'"1122 case $ac_envvar in #( 1123 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1124 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1125 esac 1126 eval $ac_envvar=\$ac_optarg 442 1127 export $ac_envvar ;; 443 1128 444 1129 *) 445 1130 # FIXME: should be removed in autoconf 3.0. 446 echo "$as_me: WARNING: you should use --build, --host, --target" >&21131 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 447 1132 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 448 echo "$as_me: WARNING: invalid host type: $ac_option" >&2449 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}1133 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1134 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 450 1135 ;; 451 1136 … … 455 1140 if test -n "$ac_prev"; then 456 1141 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 457 { echo "$as_me: error: missing argument to $ac_option" >&2 458 { (exit 1); exit 1; }; } 459 fi 460 461 # Be sure to have absolute paths. 462 for ac_var in exec_prefix prefix 1142 as_fn_error $? "missing argument to $ac_option" 1143 fi 1144 1145 if test -n "$ac_unrecognized_opts"; then 1146 case $enable_option_checking in 1147 no) ;; 1148 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1149 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1150 esac 1151 fi 1152 1153 # Check all directory arguments for consistency. 1154 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1155 datadir sysconfdir sharedstatedir localstatedir includedir \ 1156 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1157 libdir localedir mandir 463 1158 do 464 eval ac_val=$`echo $ac_var` 1159 eval ac_val=\$$ac_var 1160 # Remove trailing slashes. 465 1161 case $ac_val in 466 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;467 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2468 { (exit 1); exit 1; }; };;1162 */ ) 1163 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1164 eval $ac_var=\$ac_val;; 469 1165 esac 470 done 471 472 # Be sure to have absolute paths. 473 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 474 localstatedir libdir includedir oldincludedir infodir mandir 475 do 476 eval ac_val=$`echo $ac_var` 1166 # Be sure to have absolute directory names. 477 1167 case $ac_val in 478 [\\/$]* | ?:[\\/]* ) ;; 479 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 480 { (exit 1); exit 1; }; };; 1168 [\\/$]* | ?:[\\/]* ) continue;; 1169 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 481 1170 esac 1171 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 482 1172 done 483 1173 484 1174 # There might be people who depend on the old broken behavior: `$host' 485 1175 # used to hold the argument of --host etc. 1176 # FIXME: To remove some day. 486 1177 build=$build_alias 487 1178 host=$host_alias 488 1179 target=$target_alias 489 1180 490 # FIXME: should be removed in autoconf 3.0.1181 # FIXME: To remove some day. 491 1182 if test "x$host_alias" != x; then 492 1183 if test "x$build_alias" = x; then 493 1184 cross_compiling=maybe 494 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.495 If a cross compiler is detected then cross compile mode will be used ." >&21185 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1186 If a cross compiler is detected then cross compile mode will be used" >&2 496 1187 elif test "x$build_alias" != "x$host_alias"; then 497 1188 cross_compiling=yes … … 504 1195 test "$silent" = yes && exec 6>/dev/null 505 1196 1197 1198 ac_pwd=`pwd` && test -n "$ac_pwd" && 1199 ac_ls_di=`ls -di .` && 1200 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1201 as_fn_error $? "working directory cannot be determined" 1202 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1203 as_fn_error $? "pwd does not report name of working directory" 1204 1205 506 1206 # Find the source files, if location was not specified. 507 1207 if test -z "$srcdir"; then 508 1208 ac_srcdir_defaulted=yes 509 # Try the directory containing this script, then its parent. 510 ac_prog=$0 511 ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'` 512 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. 1209 # Try the directory containing this script, then the parent directory. 1210 ac_confdir=`$as_dirname -- "$as_myself" || 1211 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1212 X"$as_myself" : 'X\(//\)[^/]' \| \ 1213 X"$as_myself" : 'X\(//\)$' \| \ 1214 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1215 $as_echo X"$as_myself" | 1216 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1217 s//\1/ 1218 q 1219 } 1220 /^X\(\/\/\)[^/].*/{ 1221 s//\1/ 1222 q 1223 } 1224 /^X\(\/\/\)$/{ 1225 s//\1/ 1226 q 1227 } 1228 /^X\(\/\).*/{ 1229 s//\1/ 1230 q 1231 } 1232 s/.*/./; q'` 513 1233 srcdir=$ac_confdir 514 if test ! -r $srcdir/$ac_unique_file; then1234 if test ! -r "$srcdir/$ac_unique_file"; then 515 1235 srcdir=.. 516 1236 fi … … 518 1238 ac_srcdir_defaulted=no 519 1239 fi 520 if test ! -r $srcdir/$ac_unique_file; then 521 if test "$ac_srcdir_defaulted" = yes; then 522 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2 523 { (exit 1); exit 1; }; } 524 else 525 { echo "$as_me: error: cannot find sources in $srcdir" >&2 526 { (exit 1); exit 1; }; } 527 fi 528 fi 529 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 530 ac_env_build_alias_set=${build_alias+set} 531 ac_env_build_alias_value=$build_alias 532 ac_cv_env_build_alias_set=${build_alias+set} 533 ac_cv_env_build_alias_value=$build_alias 534 ac_env_host_alias_set=${host_alias+set} 535 ac_env_host_alias_value=$host_alias 536 ac_cv_env_host_alias_set=${host_alias+set} 537 ac_cv_env_host_alias_value=$host_alias 538 ac_env_target_alias_set=${target_alias+set} 539 ac_env_target_alias_value=$target_alias 540 ac_cv_env_target_alias_set=${target_alias+set} 541 ac_cv_env_target_alias_value=$target_alias 542 ac_env_CXX_set=${CXX+set} 543 ac_env_CXX_value=$CXX 544 ac_cv_env_CXX_set=${CXX+set} 545 ac_cv_env_CXX_value=$CXX 546 ac_env_CXXFLAGS_set=${CXXFLAGS+set} 547 ac_env_CXXFLAGS_value=$CXXFLAGS 548 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} 549 ac_cv_env_CXXFLAGS_value=$CXXFLAGS 550 ac_env_LDFLAGS_set=${LDFLAGS+set} 551 ac_env_LDFLAGS_value=$LDFLAGS 552 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 553 ac_cv_env_LDFLAGS_value=$LDFLAGS 554 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 555 ac_env_CPPFLAGS_value=$CPPFLAGS 556 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 557 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 558 ac_env_CC_set=${CC+set} 559 ac_env_CC_value=$CC 560 ac_cv_env_CC_set=${CC+set} 561 ac_cv_env_CC_value=$CC 562 ac_env_CFLAGS_set=${CFLAGS+set} 563 ac_env_CFLAGS_value=$CFLAGS 564 ac_cv_env_CFLAGS_set=${CFLAGS+set} 565 ac_cv_env_CFLAGS_value=$CFLAGS 566 ac_env_CPP_set=${CPP+set} 567 ac_env_CPP_value=$CPP 568 ac_cv_env_CPP_set=${CPP+set} 569 ac_cv_env_CPP_value=$CPP 1240 if test ! -r "$srcdir/$ac_unique_file"; then 1241 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1242 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1243 fi 1244 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1245 ac_abs_confdir=`( 1246 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1247 pwd)` 1248 # When building in place, set srcdir=. 1249 if test "$ac_abs_confdir" = "$ac_pwd"; then 1250 srcdir=. 1251 fi 1252 # Remove unnecessary trailing slashes from srcdir. 1253 # Double slashes in file names in object file debugging info 1254 # mess up M-x gdb in Emacs. 1255 case $srcdir in 1256 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1257 esac 1258 for ac_var in $ac_precious_vars; do 1259 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1260 eval ac_env_${ac_var}_value=\$${ac_var} 1261 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1262 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1263 done 570 1264 571 1265 # … … 575 1269 # Omit some internal or obsolete options to make the list less imposing. 576 1270 # This message is too long to be a string in the A/UX 3.1 sh. 577 cat << EOF1271 cat <<_ACEOF 578 1272 \`configure' configures cfa-cc 1.0 to adapt to many kinds of systems. 579 1273 … … 590 1284 --help=recursive display the short help of all the included packages 591 1285 -V, --version display version information and exit 592 -q, --quiet, --silent do not print \`checking ...' messages1286 -q, --quiet, --silent do not print \`checking ...' messages 593 1287 --cache-file=FILE cache test results in FILE [disabled] 594 1288 -C, --config-cache alias for \`--cache-file=config.cache' … … 596 1290 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 597 1291 598 EOF599 600 cat <<EOF601 1292 Installation directories: 602 1293 --prefix=PREFIX install architecture-independent files in PREFIX … … 613 1304 614 1305 Fine tuning of the installation directories: 615 --bindir=DIR user executables [EPREFIX/bin] 616 --sbindir=DIR system admin executables [EPREFIX/sbin] 617 --libexecdir=DIR program executables [EPREFIX/libexec] 618 --datadir=DIR read-only architecture-independent data [PREFIX/share] 619 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 620 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 621 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 622 --libdir=DIR object code libraries [EPREFIX/lib] 623 --includedir=DIR C header files [PREFIX/include] 624 --oldincludedir=DIR C header files for non-gcc [/usr/include] 625 --infodir=DIR info documentation [PREFIX/info] 626 --mandir=DIR man documentation [PREFIX/man] 627 EOF 628 629 cat <<\EOF 1306 --bindir=DIR user executables [EPREFIX/bin] 1307 --sbindir=DIR system admin executables [EPREFIX/sbin] 1308 --libexecdir=DIR program executables [EPREFIX/libexec] 1309 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1310 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1311 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1312 --libdir=DIR object code libraries [EPREFIX/lib] 1313 --includedir=DIR C header files [PREFIX/include] 1314 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1315 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1316 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1317 --infodir=DIR info documentation [DATAROOTDIR/info] 1318 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1319 --mandir=DIR man documentation [DATAROOTDIR/man] 1320 --docdir=DIR documentation root [DATAROOTDIR/doc/cfa-cc] 1321 --htmldir=DIR html documentation [DOCDIR] 1322 --dvidir=DIR dvi documentation [DOCDIR] 1323 --pdfdir=DIR pdf documentation [DOCDIR] 1324 --psdir=DIR ps documentation [DOCDIR] 1325 _ACEOF 1326 1327 cat <<\_ACEOF 630 1328 631 1329 Program names: … … 633 1331 --program-suffix=SUFFIX append SUFFIX to installed program names 634 1332 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 635 EOF1333 _ACEOF 636 1334 fi 637 1335 … … 640 1338 short | recursive ) echo "Configuration of cfa-cc 1.0:";; 641 1339 esac 642 cat <<\ EOF1340 cat <<\_ACEOF 643 1341 644 1342 Optional Features: 1343 --disable-option-checking ignore unrecognized --enable/--with options 645 1344 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 646 1345 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 647 --disable-dependency-tracking Speeds up one-time builds648 --enable-dependency-tracking Do not reject slow dependency extractors1346 --disable-dependency-tracking speeds up one-time build 1347 --enable-dependency-tracking do not reject slow dependency extractors 649 1348 650 1349 Optional Packages: … … 655 1354 656 1355 Some influential environment variables: 1356 YACC The `Yet Another Compiler Compiler' implementation to use. 1357 Defaults to the first program found out of: `bison -y', `byacc', 1358 `yacc'. 1359 YFLAGS The list of arguments that will be passed by default to $YACC. 1360 This script will default YFLAGS to the empty string to avoid a 1361 default value of `-d' given by some make applications. 657 1362 CXX C++ compiler command 658 1363 CXXFLAGS C++ compiler flags 659 1364 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 660 1365 nonstandard directory <lib dir> 661 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 662 headers in a nonstandard directory <include dir> 1366 LIBS libraries to pass to the linker, e.g. -l<library> 1367 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1368 you have headers in a nonstandard directory <include dir> 663 1369 CC C compiler command 664 1370 CFLAGS C compiler flags … … 669 1375 670 1376 Report bugs to <cforall@plg.uwaterloo.ca>. 671 EOF 1377 _ACEOF 1378 ac_status=$? 672 1379 fi 673 1380 674 1381 if test "$ac_init_help" = "recursive"; then 675 1382 # If there are subdirs, report their specific --help. 676 ac_popdir=`pwd` 677 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue 678 cd $ac_subdir 679 # A "../" for each directory in /$ac_subdir. 680 ac_dots=`echo $ac_subdir | 681 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'` 682 683 case $srcdir in 684 .) # No --srcdir option. We are building in place. 685 ac_sub_srcdir=$srcdir ;; 686 [\\/]* | ?:[\\/]* ) # Absolute path. 687 ac_sub_srcdir=$srcdir/$ac_subdir ;; 688 *) # Relative path. 689 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;; 690 esac 691 692 # Check for guested configure; otherwise get Cygnus style configure. 693 if test -f $ac_sub_srcdir/configure.gnu; then 694 echo 695 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive 696 elif test -f $ac_sub_srcdir/configure; then 697 echo 698 $SHELL $ac_sub_srcdir/configure --help=recursive 699 elif test -f $ac_sub_srcdir/configure.ac || 700 test -f $ac_sub_srcdir/configure.in; then 701 echo 702 $ac_configure --help 1383 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1384 test -d "$ac_dir" || 1385 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1386 continue 1387 ac_builddir=. 1388 1389 case "$ac_dir" in 1390 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1391 *) 1392 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1393 # A ".." for each directory in $ac_dir_suffix. 1394 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1395 case $ac_top_builddir_sub in 1396 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1397 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1398 esac ;; 1399 esac 1400 ac_abs_top_builddir=$ac_pwd 1401 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1402 # for backward compatibility: 1403 ac_top_builddir=$ac_top_build_prefix 1404 1405 case $srcdir in 1406 .) # We are building in place. 1407 ac_srcdir=. 1408 ac_top_srcdir=$ac_top_builddir_sub 1409 ac_abs_top_srcdir=$ac_pwd ;; 1410 [\\/]* | ?:[\\/]* ) # Absolute name. 1411 ac_srcdir=$srcdir$ac_dir_suffix; 1412 ac_top_srcdir=$srcdir 1413 ac_abs_top_srcdir=$srcdir ;; 1414 *) # Relative name. 1415 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1416 ac_top_srcdir=$ac_top_build_prefix$srcdir 1417 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1418 esac 1419 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1420 1421 cd "$ac_dir" || { ac_status=$?; continue; } 1422 # Check for guested configure. 1423 if test -f "$ac_srcdir/configure.gnu"; then 1424 echo && 1425 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1426 elif test -f "$ac_srcdir/configure"; then 1427 echo && 1428 $SHELL "$ac_srcdir/configure" --help=recursive 703 1429 else 704 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2705 fi 706 cd $ac_popdir1430 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1431 fi || ac_status=$? 1432 cd "$ac_pwd" || { ac_status=$?; break; } 707 1433 done 708 1434 fi 709 1435 710 test -n "$ac_init_help" && exit 01436 test -n "$ac_init_help" && exit $ac_status 711 1437 if $ac_init_version; then 712 cat <<\ EOF1438 cat <<\_ACEOF 713 1439 cfa-cc configure 1.0 714 generated by GNU Autoconf 2.52 715 716 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 717 Free Software Foundation, Inc. 1440 generated by GNU Autoconf 2.68 1441 1442 Copyright (C) 2010 Free Software Foundation, Inc. 718 1443 This configure script is free software; the Free Software Foundation 719 1444 gives unlimited permission to copy, distribute and modify it. 720 EOF 721 exit 0 722 fi 723 exec 5>config.log 724 cat >&5 <<EOF 1445 _ACEOF 1446 exit 1447 fi 1448 1449 ## ------------------------ ## 1450 ## Autoconf initialization. ## 1451 ## ------------------------ ## 1452 1453 # ac_fn_cxx_try_compile LINENO 1454 # ---------------------------- 1455 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1456 ac_fn_cxx_try_compile () 1457 { 1458 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1459 rm -f conftest.$ac_objext 1460 if { { ac_try="$ac_compile" 1461 case "(($ac_try" in 1462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1463 *) ac_try_echo=$ac_try;; 1464 esac 1465 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1466 $as_echo "$ac_try_echo"; } >&5 1467 (eval "$ac_compile") 2>conftest.err 1468 ac_status=$? 1469 if test -s conftest.err; then 1470 grep -v '^ *+' conftest.err >conftest.er1 1471 cat conftest.er1 >&5 1472 mv -f conftest.er1 conftest.err 1473 fi 1474 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1475 test $ac_status = 0; } && { 1476 test -z "$ac_cxx_werror_flag" || 1477 test ! -s conftest.err 1478 } && test -s conftest.$ac_objext; then : 1479 ac_retval=0 1480 else 1481 $as_echo "$as_me: failed program was:" >&5 1482 sed 's/^/| /' conftest.$ac_ext >&5 1483 1484 ac_retval=1 1485 fi 1486 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1487 as_fn_set_status $ac_retval 1488 1489 } # ac_fn_cxx_try_compile 1490 1491 # ac_fn_c_try_compile LINENO 1492 # -------------------------- 1493 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1494 ac_fn_c_try_compile () 1495 { 1496 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1497 rm -f conftest.$ac_objext 1498 if { { ac_try="$ac_compile" 1499 case "(($ac_try" in 1500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1501 *) ac_try_echo=$ac_try;; 1502 esac 1503 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1504 $as_echo "$ac_try_echo"; } >&5 1505 (eval "$ac_compile") 2>conftest.err 1506 ac_status=$? 1507 if test -s conftest.err; then 1508 grep -v '^ *+' conftest.err >conftest.er1 1509 cat conftest.er1 >&5 1510 mv -f conftest.er1 conftest.err 1511 fi 1512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1513 test $ac_status = 0; } && { 1514 test -z "$ac_c_werror_flag" || 1515 test ! -s conftest.err 1516 } && test -s conftest.$ac_objext; then : 1517 ac_retval=0 1518 else 1519 $as_echo "$as_me: failed program was:" >&5 1520 sed 's/^/| /' conftest.$ac_ext >&5 1521 1522 ac_retval=1 1523 fi 1524 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1525 as_fn_set_status $ac_retval 1526 1527 } # ac_fn_c_try_compile 1528 1529 # ac_fn_c_try_link LINENO 1530 # ----------------------- 1531 # Try to link conftest.$ac_ext, and return whether this succeeded. 1532 ac_fn_c_try_link () 1533 { 1534 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1535 rm -f conftest.$ac_objext conftest$ac_exeext 1536 if { { ac_try="$ac_link" 1537 case "(($ac_try" in 1538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1539 *) ac_try_echo=$ac_try;; 1540 esac 1541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1542 $as_echo "$ac_try_echo"; } >&5 1543 (eval "$ac_link") 2>conftest.err 1544 ac_status=$? 1545 if test -s conftest.err; then 1546 grep -v '^ *+' conftest.err >conftest.er1 1547 cat conftest.er1 >&5 1548 mv -f conftest.er1 conftest.err 1549 fi 1550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1551 test $ac_status = 0; } && { 1552 test -z "$ac_c_werror_flag" || 1553 test ! -s conftest.err 1554 } && test -s conftest$ac_exeext && { 1555 test "$cross_compiling" = yes || 1556 $as_test_x conftest$ac_exeext 1557 }; then : 1558 ac_retval=0 1559 else 1560 $as_echo "$as_me: failed program was:" >&5 1561 sed 's/^/| /' conftest.$ac_ext >&5 1562 1563 ac_retval=1 1564 fi 1565 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1566 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1567 # interfere with the next link command; also delete a directory that is 1568 # left behind by Apple's compiler. We do this before executing the actions. 1569 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1570 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1571 as_fn_set_status $ac_retval 1572 1573 } # ac_fn_c_try_link 1574 1575 # ac_fn_c_try_cpp LINENO 1576 # ---------------------- 1577 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1578 ac_fn_c_try_cpp () 1579 { 1580 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1581 if { { ac_try="$ac_cpp conftest.$ac_ext" 1582 case "(($ac_try" in 1583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1584 *) ac_try_echo=$ac_try;; 1585 esac 1586 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1587 $as_echo "$ac_try_echo"; } >&5 1588 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1589 ac_status=$? 1590 if test -s conftest.err; then 1591 grep -v '^ *+' conftest.err >conftest.er1 1592 cat conftest.er1 >&5 1593 mv -f conftest.er1 conftest.err 1594 fi 1595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1596 test $ac_status = 0; } > conftest.i && { 1597 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1598 test ! -s conftest.err 1599 }; then : 1600 ac_retval=0 1601 else 1602 $as_echo "$as_me: failed program was:" >&5 1603 sed 's/^/| /' conftest.$ac_ext >&5 1604 1605 ac_retval=1 1606 fi 1607 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1608 as_fn_set_status $ac_retval 1609 1610 } # ac_fn_c_try_cpp 1611 1612 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1613 # ------------------------------------------------------- 1614 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1615 # the include files in INCLUDES and setting the cache variable VAR 1616 # accordingly. 1617 ac_fn_c_check_header_mongrel () 1618 { 1619 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1620 if eval \${$3+:} false; then : 1621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1622 $as_echo_n "checking for $2... " >&6; } 1623 if eval \${$3+:} false; then : 1624 $as_echo_n "(cached) " >&6 1625 fi 1626 eval ac_res=\$$3 1627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1628 $as_echo "$ac_res" >&6; } 1629 else 1630 # Is the header compilable? 1631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1632 $as_echo_n "checking $2 usability... " >&6; } 1633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1634 /* end confdefs.h. */ 1635 $4 1636 #include <$2> 1637 _ACEOF 1638 if ac_fn_c_try_compile "$LINENO"; then : 1639 ac_header_compiler=yes 1640 else 1641 ac_header_compiler=no 1642 fi 1643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1645 $as_echo "$ac_header_compiler" >&6; } 1646 1647 # Is the header present? 1648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1649 $as_echo_n "checking $2 presence... " >&6; } 1650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1651 /* end confdefs.h. */ 1652 #include <$2> 1653 _ACEOF 1654 if ac_fn_c_try_cpp "$LINENO"; then : 1655 ac_header_preproc=yes 1656 else 1657 ac_header_preproc=no 1658 fi 1659 rm -f conftest.err conftest.i conftest.$ac_ext 1660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1661 $as_echo "$ac_header_preproc" >&6; } 1662 1663 # So? What about this header? 1664 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1665 yes:no: ) 1666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1667 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1669 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1670 ;; 1671 no:yes:* ) 1672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1673 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1675 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1677 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1679 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1681 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1682 ( $as_echo "## --------------------------------------- ## 1683 ## Report this to cforall@plg.uwaterloo.ca ## 1684 ## --------------------------------------- ##" 1685 ) | sed "s/^/$as_me: WARNING: /" >&2 1686 ;; 1687 esac 1688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1689 $as_echo_n "checking for $2... " >&6; } 1690 if eval \${$3+:} false; then : 1691 $as_echo_n "(cached) " >&6 1692 else 1693 eval "$3=\$ac_header_compiler" 1694 fi 1695 eval ac_res=\$$3 1696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1697 $as_echo "$ac_res" >&6; } 1698 fi 1699 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1700 1701 } # ac_fn_c_check_header_mongrel 1702 1703 # ac_fn_c_try_run LINENO 1704 # ---------------------- 1705 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1706 # that executables *can* be run. 1707 ac_fn_c_try_run () 1708 { 1709 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1710 if { { ac_try="$ac_link" 1711 case "(($ac_try" in 1712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1713 *) ac_try_echo=$ac_try;; 1714 esac 1715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1716 $as_echo "$ac_try_echo"; } >&5 1717 (eval "$ac_link") 2>&5 1718 ac_status=$? 1719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1720 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1721 { { case "(($ac_try" in 1722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1723 *) ac_try_echo=$ac_try;; 1724 esac 1725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1726 $as_echo "$ac_try_echo"; } >&5 1727 (eval "$ac_try") 2>&5 1728 ac_status=$? 1729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1730 test $ac_status = 0; }; }; then : 1731 ac_retval=0 1732 else 1733 $as_echo "$as_me: program exited with status $ac_status" >&5 1734 $as_echo "$as_me: failed program was:" >&5 1735 sed 's/^/| /' conftest.$ac_ext >&5 1736 1737 ac_retval=$ac_status 1738 fi 1739 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1740 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1741 as_fn_set_status $ac_retval 1742 1743 } # ac_fn_c_try_run 1744 1745 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1746 # ------------------------------------------------------- 1747 # Tests whether HEADER exists and can be compiled using the include files in 1748 # INCLUDES, setting the cache variable VAR accordingly. 1749 ac_fn_c_check_header_compile () 1750 { 1751 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1753 $as_echo_n "checking for $2... " >&6; } 1754 if eval \${$3+:} false; then : 1755 $as_echo_n "(cached) " >&6 1756 else 1757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1758 /* end confdefs.h. */ 1759 $4 1760 #include <$2> 1761 _ACEOF 1762 if ac_fn_c_try_compile "$LINENO"; then : 1763 eval "$3=yes" 1764 else 1765 eval "$3=no" 1766 fi 1767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1768 fi 1769 eval ac_res=\$$3 1770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1771 $as_echo "$ac_res" >&6; } 1772 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1773 1774 } # ac_fn_c_check_header_compile 1775 cat >config.log <<_ACEOF 725 1776 This file contains any messages produced by compilers while 726 1777 running configure, to aid debugging if configure makes a mistake. 727 1778 728 1779 It was created by cfa-cc $as_me 1.0, which was 729 generated by GNU Autoconf 2. 52. Invocation command line was1780 generated by GNU Autoconf 2.68. Invocation command line was 730 1781 731 1782 $ $0 $@ 732 1783 733 EOF 1784 _ACEOF 1785 exec 5>>config.log 734 1786 { 735 1787 cat <<_ASUNAME 736 ## --------- -##737 ## Platform. 738 ## --------- -##1788 ## --------- ## 1789 ## Platform. ## 1790 ## --------- ## 739 1791 740 1792 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` … … 750 1802 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 751 1803 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 752 hostinfo = `(hostinfo) 2>/dev/null|| echo unknown`1804 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 753 1805 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 754 1806 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 755 1807 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 756 1808 757 PATH = $PATH758 759 1809 _ASUNAME 1810 1811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1812 for as_dir in $PATH 1813 do 1814 IFS=$as_save_IFS 1815 test -z "$as_dir" && as_dir=. 1816 $as_echo "PATH: $as_dir" 1817 done 1818 IFS=$as_save_IFS 1819 760 1820 } >&5 761 1821 762 cat >&5 <<EOF 763 ## ------------ ## 764 ## Core tests. ## 765 ## ------------ ## 766 767 EOF 1822 cat >&5 <<_ACEOF 1823 1824 1825 ## ----------- ## 1826 ## Core tests. ## 1827 ## ----------- ## 1828 1829 _ACEOF 1830 768 1831 769 1832 # Keep a trace of the command line. 770 1833 # Strip out --no-create and --no-recursion so they do not pile up. 1834 # Strip out --silent because we don't want to record it for future runs. 771 1835 # Also quote any args containing shell meta-characters. 1836 # Make two passes to allow for proper duplicate-argument suppression. 772 1837 ac_configure_args= 773 ac_sep= 774 for ac_arg 1838 ac_configure_args0= 1839 ac_configure_args1= 1840 ac_must_keep_next=false 1841 for ac_pass in 1 2 775 1842 do 776 case $ac_arg in 777 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 778 | --no-cr | --no-c) ;; 779 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 780 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; 781 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 782 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` 783 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 784 ac_sep=" " ;; 785 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg" 786 ac_sep=" " ;; 787 esac 788 # Get rid of the leading space. 1843 for ac_arg 1844 do 1845 case $ac_arg in 1846 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1847 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1848 | -silent | --silent | --silen | --sile | --sil) 1849 continue ;; 1850 *\'*) 1851 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1852 esac 1853 case $ac_pass in 1854 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1855 2) 1856 as_fn_append ac_configure_args1 " '$ac_arg'" 1857 if test $ac_must_keep_next = true; then 1858 ac_must_keep_next=false # Got value, back to normal. 1859 else 1860 case $ac_arg in 1861 *=* | --config-cache | -C | -disable-* | --disable-* \ 1862 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1863 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1864 | -with-* | --with-* | -without-* | --without-* | --x) 1865 case "$ac_configure_args0 " in 1866 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1867 esac 1868 ;; 1869 -* ) ac_must_keep_next=true ;; 1870 esac 1871 fi 1872 as_fn_append ac_configure_args " '$ac_arg'" 1873 ;; 1874 esac 1875 done 789 1876 done 1877 { ac_configure_args0=; unset ac_configure_args0;} 1878 { ac_configure_args1=; unset ac_configure_args1;} 790 1879 791 1880 # When interrupted or exit'd, cleanup temporary files, and complete 792 1881 # config.log. We remove comments because anyway the quotes in there 793 1882 # would cause problems or look ugly. 1883 # WARNING: Use '\'' to represent an apostrophe within the trap. 1884 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 794 1885 trap 'exit_status=$? 795 1886 # Save into config.log some information that might help in debugging. 796 echo >&5 797 echo "## ----------------- ##" >&5 798 echo "## Cache variables. ##" >&5 799 echo "## ----------------- ##" >&5 800 echo >&5 801 # The following way of writing the cache mishandles newlines in values, 802 { 1887 { 1888 echo 1889 1890 $as_echo "## ---------------- ## 1891 ## Cache variables. ## 1892 ## ---------------- ##" 1893 echo 1894 # The following way of writing the cache mishandles newlines in values, 1895 ( 1896 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1897 eval ac_val=\$$ac_var 1898 case $ac_val in #( 1899 *${as_nl}*) 1900 case $ac_var in #( 1901 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1902 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1903 esac 1904 case $ac_var in #( 1905 _ | IFS | as_nl) ;; #( 1906 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1907 *) { eval $ac_var=; unset $ac_var;} ;; 1908 esac ;; 1909 esac 1910 done 803 1911 (set) 2>&1 | 804 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in805 * ac_space=\ *)1912 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1913 *${as_nl}ac_space=\ *) 806 1914 sed -n \ 807 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 808 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1915 "s/'\''/'\''\\\\'\'''\''/g; 1916 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1917 ;; #( 1918 *) 1919 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 809 1920 ;; 810 *) 811 sed -n \ 812 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 813 ;; 814 esac; 815 } >&5 816 sed "/^$/d" confdefs.h >conftest.log 817 if test -s conftest.log; then 818 echo >&5 819 echo "## ------------ ##" >&5 820 echo "## confdefs.h. ##" >&5 821 echo "## ------------ ##" >&5 822 echo >&5 823 cat conftest.log >&5 824 fi 825 (echo; echo) >&5 826 test "$ac_signal" != 0 && 827 echo "$as_me: caught signal $ac_signal" >&5 828 echo "$as_me: exit $exit_status" >&5 829 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files && 1921 esac | 1922 sort 1923 ) 1924 echo 1925 1926 $as_echo "## ----------------- ## 1927 ## Output variables. ## 1928 ## ----------------- ##" 1929 echo 1930 for ac_var in $ac_subst_vars 1931 do 1932 eval ac_val=\$$ac_var 1933 case $ac_val in 1934 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1935 esac 1936 $as_echo "$ac_var='\''$ac_val'\''" 1937 done | sort 1938 echo 1939 1940 if test -n "$ac_subst_files"; then 1941 $as_echo "## ------------------- ## 1942 ## File substitutions. ## 1943 ## ------------------- ##" 1944 echo 1945 for ac_var in $ac_subst_files 1946 do 1947 eval ac_val=\$$ac_var 1948 case $ac_val in 1949 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1950 esac 1951 $as_echo "$ac_var='\''$ac_val'\''" 1952 done | sort 1953 echo 1954 fi 1955 1956 if test -s confdefs.h; then 1957 $as_echo "## ----------- ## 1958 ## confdefs.h. ## 1959 ## ----------- ##" 1960 echo 1961 cat confdefs.h 1962 echo 1963 fi 1964 test "$ac_signal" != 0 && 1965 $as_echo "$as_me: caught signal $ac_signal" 1966 $as_echo "$as_me: exit $exit_status" 1967 } >&5 1968 rm -f core *.core core.conftest.* && 1969 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 830 1970 exit $exit_status 831 1971 ' 0 832 1972 for ac_signal in 1 2 13 15; do 833 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal1973 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 834 1974 done 835 1975 ac_signal=0 836 1976 837 1977 # confdefs.h avoids OS command line length limits that DEFS can exceed. 838 rm -rf conftest* confdefs.h 839 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 840 echo >confdefs.h 1978 rm -f -r conftest* confdefs.h 1979 1980 $as_echo "/* confdefs.h */" > confdefs.h 1981 1982 # Predefined preprocessor variables. 1983 1984 cat >>confdefs.h <<_ACEOF 1985 #define PACKAGE_NAME "$PACKAGE_NAME" 1986 _ACEOF 1987 1988 cat >>confdefs.h <<_ACEOF 1989 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1990 _ACEOF 1991 1992 cat >>confdefs.h <<_ACEOF 1993 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1994 _ACEOF 1995 1996 cat >>confdefs.h <<_ACEOF 1997 #define PACKAGE_STRING "$PACKAGE_STRING" 1998 _ACEOF 1999 2000 cat >>confdefs.h <<_ACEOF 2001 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2002 _ACEOF 2003 2004 cat >>confdefs.h <<_ACEOF 2005 #define PACKAGE_URL "$PACKAGE_URL" 2006 _ACEOF 2007 841 2008 842 2009 # Let the site file select an alternate cache file if it wants to. 843 # Prefer explicitly selected file to automatically selected ones. 844 if test -z "$CONFIG_SITE"; then 845 if test "x$prefix" != xNONE; then 846 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 847 else 848 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 849 fi 850 fi 851 for ac_site_file in $CONFIG_SITE; do 852 if test -r "$ac_site_file"; then 853 { echo "$as_me:853: loading site script $ac_site_file" >&5 854 echo "$as_me: loading site script $ac_site_file" >&6;} 855 cat "$ac_site_file" >&5 856 . "$ac_site_file" 2010 # Prefer an explicitly selected file to automatically selected ones. 2011 ac_site_file1=NONE 2012 ac_site_file2=NONE 2013 if test -n "$CONFIG_SITE"; then 2014 # We do not want a PATH search for config.site. 2015 case $CONFIG_SITE in #(( 2016 -*) ac_site_file1=./$CONFIG_SITE;; 2017 */*) ac_site_file1=$CONFIG_SITE;; 2018 *) ac_site_file1=./$CONFIG_SITE;; 2019 esac 2020 elif test "x$prefix" != xNONE; then 2021 ac_site_file1=$prefix/share/config.site 2022 ac_site_file2=$prefix/etc/config.site 2023 else 2024 ac_site_file1=$ac_default_prefix/share/config.site 2025 ac_site_file2=$ac_default_prefix/etc/config.site 2026 fi 2027 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2028 do 2029 test "x$ac_site_file" = xNONE && continue 2030 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2031 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2032 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2033 sed 's/^/| /' "$ac_site_file" >&5 2034 . "$ac_site_file" \ 2035 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2036 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2037 as_fn_error $? "failed to load site script $ac_site_file 2038 See \`config.log' for more details" "$LINENO" 5; } 857 2039 fi 858 2040 done 859 2041 860 2042 if test -r "$cache_file"; then 861 # Some versions of bash will fail to source /dev/null (special 862 # files actually), so we avoid doing that.863 if test -f "$cache_file"; then864 { echo "$as_me:864: loading cache $cache_file" >&5865 echo "$as_me: loading cache $cache_file" >&6;}2043 # Some versions of bash will fail to source /dev/null (special files 2044 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2045 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2046 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2047 $as_echo "$as_me: loading cache $cache_file" >&6;} 866 2048 case $cache_file in 867 [\\/]* | ?:[\\/]* ) . $cache_file;;868 *) . ./$cache_file;;2049 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2050 *) . "./$cache_file";; 869 2051 esac 870 2052 fi 871 2053 else 872 { echo "$as_me:872: creating cache $cache_file" >&5873 echo "$as_me: creating cache $cache_file" >&6;}2054 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2055 $as_echo "$as_me: creating cache $cache_file" >&6;} 874 2056 >$cache_file 875 2057 fi … … 878 2060 # value. 879 2061 ac_cache_corrupted=false 880 for ac_var in `(set) 2>&1 | 881 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 2062 for ac_var in $ac_precious_vars; do 882 2063 eval ac_old_set=\$ac_cv_env_${ac_var}_set 883 2064 eval ac_new_set=\$ac_env_${ac_var}_set 884 eval ac_old_val= "\$ac_cv_env_${ac_var}_value"885 eval ac_new_val= "\$ac_env_${ac_var}_value"2065 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2066 eval ac_new_val=\$ac_env_${ac_var}_value 886 2067 case $ac_old_set,$ac_new_set in 887 2068 set,) 888 { echo "$as_me:888: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5889 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}2069 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2070 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 890 2071 ac_cache_corrupted=: ;; 891 2072 ,set) 892 { echo "$as_me:892: error: \`$ac_var' was not set in the previous run" >&5893 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}2073 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2074 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 894 2075 ac_cache_corrupted=: ;; 895 2076 ,);; 896 2077 *) 897 2078 if test "x$ac_old_val" != "x$ac_new_val"; then 898 { echo "$as_me:898: error: \`$ac_var' has changed since the previous run:" >&5 899 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 900 { echo "$as_me:900: former value: $ac_old_val" >&5 901 echo "$as_me: former value: $ac_old_val" >&2;} 902 { echo "$as_me:902: current value: $ac_new_val" >&5 903 echo "$as_me: current value: $ac_new_val" >&2;} 904 ac_cache_corrupted=: 2079 # differences in whitespace do not lead to failure. 2080 ac_old_val_w=`echo x $ac_old_val` 2081 ac_new_val_w=`echo x $ac_new_val` 2082 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2083 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2084 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2085 ac_cache_corrupted=: 2086 else 2087 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2088 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2089 eval $ac_var=\$ac_old_val 2090 fi 2091 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2092 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2093 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2094 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 905 2095 fi;; 906 2096 esac 907 # Pass precious variables to config.status. It doesn't matter if 908 # we pass some twice (in addition to the command line arguments). 2097 # Pass precious variables to config.status. 909 2098 if test "$ac_new_set" = set; then 910 2099 case $ac_new_val in 911 * " "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)912 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`913 ac_configure_args="$ac_configure_args '$ac_arg'"914 ;;915 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"916 ;;2100 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2101 *) ac_arg=$ac_var=$ac_new_val ;; 2102 esac 2103 case " $ac_configure_args " in 2104 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2105 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 917 2106 esac 918 2107 fi 919 2108 done 920 2109 if $ac_cache_corrupted; then 921 { echo "$as_me:921: error: changes in the environment can compromise the build" >&5 922 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 923 { { echo "$as_me:923: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 924 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 925 { (exit 1); exit 1; }; } 926 fi 2110 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2111 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2112 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2113 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2114 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2115 fi 2116 ## -------------------- ## 2117 ## Main body of script. ## 2118 ## -------------------- ## 927 2119 928 2120 ac_ext=c … … 932 2124 ac_compiler_gnu=$ac_cv_c_compiler_gnu 933 2125 934 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 935 *c*,-n*) ECHO_N= ECHO_C=' 936 ' ECHO_T=' ' ;; 937 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 938 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 939 esac 940 echo "#! $SHELL" >conftest.sh 941 echo "exit 0" >>conftest.sh 942 chmod +x conftest.sh 943 if { (echo "$as_me:943: PATH=\".;.\"; conftest.sh") >&5 944 (PATH=".;."; conftest.sh) 2>&5 945 ac_status=$? 946 echo "$as_me:946: \$? = $ac_status" >&5 947 (exit $ac_status); }; then 948 ac_path_separator=';' 949 else 950 ac_path_separator=: 951 fi 952 PATH_SEPARATOR="$ac_path_separator" 953 rm -f conftest.sh 954 955 am__api_version="1.6" 2126 2127 2128 2129 am__api_version='1.11' 2130 956 2131 ac_aux_dir= 957 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do958 if test -f $ac_dir/install-sh; then2132 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2133 if test -f "$ac_dir/install-sh"; then 959 2134 ac_aux_dir=$ac_dir 960 2135 ac_install_sh="$ac_aux_dir/install-sh -c" 961 2136 break 962 elif test -f $ac_dir/install.sh; then2137 elif test -f "$ac_dir/install.sh"; then 963 2138 ac_aux_dir=$ac_dir 964 2139 ac_install_sh="$ac_aux_dir/install.sh -c" 965 2140 break 966 elif test -f $ac_dir/shtool; then2141 elif test -f "$ac_dir/shtool"; then 967 2142 ac_aux_dir=$ac_dir 968 2143 ac_install_sh="$ac_aux_dir/shtool install -c" … … 971 2146 done 972 2147 if test -z "$ac_aux_dir"; then 973 { { echo "$as_me:973: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 974 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 975 { (exit 1); exit 1; }; } 976 fi 977 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 978 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 979 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 2148 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2149 fi 2150 2151 # These three variables are undocumented and unsupported, 2152 # and are intended to be withdrawn in a future Autoconf release. 2153 # They can cause serious problems if a builder's source tree is in a directory 2154 # whose full name contains unusual characters. 2155 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2156 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2157 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2158 980 2159 981 2160 # Find a good install program. We prefer a C program (faster), … … 990 2169 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 991 2170 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2171 # OS/2's system install, which has a completely different semantic 992 2172 # ./install, which can be erroneously created by make from ./install.sh. 993 echo "$as_me:993: checking for a BSD compatible install" >&5 994 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 2173 # Reject install programs that cannot install multiple files. 2174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2175 $as_echo_n "checking for a BSD-compatible install... " >&6; } 995 2176 if test -z "$INSTALL"; then 996 if test "${ac_cv_path_install+set}" = set; then 997 echo $ECHO_N "(cached) $ECHO_C" >&6 998 else 999 ac_save_IFS=$IFS; IFS=$ac_path_separator 1000 for ac_dir in $PATH; do 1001 IFS=$ac_save_IFS 2177 if ${ac_cv_path_install+:} false; then : 2178 $as_echo_n "(cached) " >&6 2179 else 2180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2181 for as_dir in $PATH 2182 do 2183 IFS=$as_save_IFS 2184 test -z "$as_dir" && as_dir=. 1002 2185 # Account for people who put trailing slashes in PATH elements. 1003 case $ac_dir/ in 1004 / | ./ | .// | /cC/* \ 1005 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \ 1006 | /usr/ucb/* ) ;; 1007 *) 1008 # OSF1 and SCO ODT 3.0 have their own names for install. 1009 # Don't use installbsd from OSF since it installs stuff as root 1010 # by default. 1011 for ac_prog in ginstall scoinst install; do 1012 if $as_executable_p "$ac_dir/$ac_prog"; then 2186 case $as_dir/ in #(( 2187 ./ | .// | /[cC]/* | \ 2188 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2189 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2190 /usr/ucb/* ) ;; 2191 *) 2192 # OSF1 and SCO ODT 3.0 have their own names for install. 2193 # Don't use installbsd from OSF since it installs stuff as root 2194 # by default. 2195 for ac_prog in ginstall scoinst install; do 2196 for ac_exec_ext in '' $ac_executable_extensions; do 2197 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 1013 2198 if test $ac_prog = install && 1014 grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then2199 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1015 2200 # AIX install. It has an incompatible calling convention. 1016 2201 : 1017 2202 elif test $ac_prog = install && 1018 grep pwplus "$a c_dir/$ac_prog" >/dev/null 2>&1; then2203 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1019 2204 # program-specific install script used by HP pwplus--don't use. 1020 2205 : 1021 2206 else 1022 ac_cv_path_install="$ac_dir/$ac_prog -c" 1023 break 2 2207 rm -rf conftest.one conftest.two conftest.dir 2208 echo one > conftest.one 2209 echo two > conftest.two 2210 mkdir conftest.dir 2211 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2212 test -s conftest.one && test -s conftest.two && 2213 test -s conftest.dir/conftest.one && 2214 test -s conftest.dir/conftest.two 2215 then 2216 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2217 break 3 2218 fi 1024 2219 fi 1025 2220 fi 1026 2221 done 1027 ;; 1028 esac 2222 done 2223 ;; 2224 esac 2225 1029 2226 done 2227 IFS=$as_save_IFS 2228 2229 rm -rf conftest.one conftest.two conftest.dir 1030 2230 1031 2231 fi … … 1033 2233 INSTALL=$ac_cv_path_install 1034 2234 else 1035 # As a last resort, use the slow shell script. We don't cache a1036 # pathfor INSTALL within a source directory, because that will2235 # As a last resort, use the slow shell script. Don't cache a 2236 # value for INSTALL within a source directory, because that will 1037 2237 # break other packages using the cache if that directory is 1038 # removed, or if the path is relative.2238 # removed, or if the value is a relative name. 1039 2239 INSTALL=$ac_install_sh 1040 2240 fi 1041 2241 fi 1042 echo "$as_me:1042: result: $INSTALL" >&51043 echo "${ECHO_T}$INSTALL" >&6 2242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2243 $as_echo "$INSTALL" >&6; } 1044 2244 1045 2245 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 1051 2251 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1052 2252 1053 echo "$as_me:1053: checking whether build environment is sane" >&51054 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 2253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2254 $as_echo_n "checking whether build environment is sane... " >&6; } 1055 2255 # Just in case 1056 2256 sleep 1 1057 2257 echo timestamp > conftest.file 2258 # Reject unsafe characters in $srcdir or the absolute working directory 2259 # name. Accept space and tab only in the latter. 2260 am_lf=' 2261 ' 2262 case `pwd` in 2263 *[\\\"\#\$\&\'\`$am_lf]*) 2264 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2265 esac 2266 case $srcdir in 2267 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2268 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2269 esac 2270 1058 2271 # Do `set' in a subshell so we don't clobber the current shell's 1059 2272 # arguments. Must try -L first in case configure is actually a … … 1062 2275 # directory). 1063 2276 if ( 1064 set X `ls -Lt $srcdir/configureconftest.file 2> /dev/null`2277 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 1065 2278 if test "$*" = "X"; then 1066 2279 # -L didn't work. 1067 set X `ls -t $srcdir/configureconftest.file`2280 set X `ls -t "$srcdir/configure" conftest.file` 1068 2281 fi 1069 2282 rm -f conftest.file … … 1075 2288 # broken ls alias from the environment. This has actually 1076 2289 # happened. Such a system could not be considered "sane". 1077 { { echo "$as_me:1077: error: ls -t appears to fail. Make sure there is not a broken 1078 alias in your environment" >&5 1079 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 1080 alias in your environment" >&2;} 1081 { (exit 1); exit 1; }; } 2290 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2291 alias in your environment" "$LINENO" 5 1082 2292 fi 1083 2293 … … 1088 2298 : 1089 2299 else 1090 { { echo "$as_me:1090: error: newly created file is older than distributed files! 1091 Check your system clock" >&5 1092 echo "$as_me: error: newly created file is older than distributed files! 1093 Check your system clock" >&2;} 1094 { (exit 1); exit 1; }; } 1095 fi 1096 echo "$as_me:1096: result: yes" >&5 1097 echo "${ECHO_T}yes" >&6 2300 as_fn_error $? "newly created file is older than distributed files! 2301 Check your system clock" "$LINENO" 5 2302 fi 2303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2304 $as_echo "yes" >&6; } 1098 2305 test "$program_prefix" != NONE && 1099 program_transform_name="s ,^,$program_prefix,;$program_transform_name"2306 program_transform_name="s&^&$program_prefix&;$program_transform_name" 1100 2307 # Use a double $ so make ignores it. 1101 2308 test "$program_suffix" != NONE && 1102 program_transform_name="s ,\$,$program_suffix,;$program_transform_name"1103 # Double any \ or $. echo might interpret backslashes.2309 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2310 # Double any \ or $. 1104 2311 # By default was `s,x,x', remove it if useless. 1105 cat <<\_ACEOF >conftest.sed 1106 s/[\\$]/&&/g;s/;s,x,x,$// 1107 _ACEOF 1108 program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1109 rm conftest.sed 2312 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2313 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 1110 2314 1111 2315 # expand $ac_aux_dir to an absolute path 1112 2316 am_aux_dir=`cd $ac_aux_dir && pwd` 1113 2317 1114 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 2318 if test x"${MISSING+set}" != xset; then 2319 case $am_aux_dir in 2320 *\ * | *\ *) 2321 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2322 *) 2323 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2324 esac 2325 fi 1115 2326 # Use eval to expand $SHELL 1116 2327 if eval "$MISSING --run true"; then … … 1118 2329 else 1119 2330 am_missing_run= 1120 { echo "$as_me:1120: WARNING: \`missing' script is too old or missing" >&5 1121 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1122 fi 1123 1124 for ac_prog in mawk gawk nawk awk 1125 do 1126 # Extract the first word of "$ac_prog", so it can be a program name with args. 1127 set dummy $ac_prog; ac_word=$2 1128 echo "$as_me:1128: checking for $ac_word" >&5 1129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1130 if test "${ac_cv_prog_AWK+set}" = set; then 1131 echo $ECHO_N "(cached) $ECHO_C" >&6 1132 else 1133 if test -n "$AWK"; then 1134 ac_cv_prog_AWK="$AWK" # Let the user override the test. 1135 else 1136 ac_save_IFS=$IFS; IFS=$ac_path_separator 1137 ac_dummy="$PATH" 1138 for ac_dir in $ac_dummy; do 1139 IFS=$ac_save_IFS 1140 test -z "$ac_dir" && ac_dir=. 1141 $as_executable_p "$ac_dir/$ac_word" || continue 1142 ac_cv_prog_AWK="$ac_prog" 1143 echo "$as_me:1143: found $ac_dir/$ac_word" >&5 1144 break 1145 done 1146 1147 fi 1148 fi 1149 AWK=$ac_cv_prog_AWK 1150 if test -n "$AWK"; then 1151 echo "$as_me:1151: result: $AWK" >&5 1152 echo "${ECHO_T}$AWK" >&6 1153 else 1154 echo "$as_me:1154: result: no" >&5 1155 echo "${ECHO_T}no" >&6 1156 fi 1157 1158 test -n "$AWK" && break 1159 done 1160 1161 echo "$as_me:1161: checking whether ${MAKE-make} sets \${MAKE}" >&5 1162 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 1163 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 1164 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 1165 echo $ECHO_N "(cached) $ECHO_C" >&6 1166 else 1167 cat >conftest.make <<\EOF 1168 all: 1169 @echo 'ac_maketemp="${MAKE}"' 1170 EOF 1171 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 1172 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 1173 if test -n "$ac_maketemp"; then 1174 eval ac_cv_prog_make_${ac_make}_set=yes 1175 else 1176 eval ac_cv_prog_make_${ac_make}_set=no 1177 fi 1178 rm -f conftest.make 1179 fi 1180 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 1181 echo "$as_me:1181: result: yes" >&5 1182 echo "${ECHO_T}yes" >&6 1183 SET_MAKE= 1184 else 1185 echo "$as_me:1185: result: no" >&5 1186 echo "${ECHO_T}no" >&6 1187 SET_MAKE="MAKE=${MAKE-make}" 1188 fi 1189 1190 # test to see if srcdir already configured 1191 if test "`cd $srcdir && pwd`" != "`pwd`" && 1192 test -f $srcdir/config.status; then 1193 { { echo "$as_me:1193: error: source directory already configured; run \"make distclean\" there first" >&5 1194 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 1195 { (exit 1); exit 1; }; } 1196 fi 1197 1198 # Define the identity of the package. 1199 PACKAGE=cfa 1200 VERSION=1.0 1201 1202 cat >>confdefs.h <<EOF 1203 #define PACKAGE "$PACKAGE" 1204 EOF 1205 1206 cat >>confdefs.h <<EOF 1207 #define VERSION "$VERSION" 1208 EOF 1209 1210 # Some tools Automake needs. 1211 1212 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 1213 1214 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 1215 1216 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 1217 1218 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 1219 1220 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 1221 1222 AMTAR=${AMTAR-"${am_missing_run}tar"} 1223 1224 install_sh=${install_sh-"$am_aux_dir/install-sh"} 2331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2332 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2333 fi 2334 2335 if test x"${install_sh}" != xset; then 2336 case $am_aux_dir in 2337 *\ * | *\ *) 2338 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2339 *) 2340 install_sh="\${SHELL} $am_aux_dir/install-sh" 2341 esac 2342 fi 1225 2343 1226 2344 # Installed binaries are usually stripped using `strip' when the user … … 1232 2350 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 1233 2351 set dummy ${ac_tool_prefix}strip; ac_word=$2 1234 echo "$as_me:1234: checking for $ac_word" >&51235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1236 if test "${ac_cv_prog_STRIP+set}" = set; then1237 echo $ECHO_N "(cached) $ECHO_C" >&62352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2353 $as_echo_n "checking for $ac_word... " >&6; } 2354 if ${ac_cv_prog_STRIP+:} false; then : 2355 $as_echo_n "(cached) " >&6 1238 2356 else 1239 2357 if test -n "$STRIP"; then 1240 2358 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 1241 2359 else 1242 ac_save_IFS=$IFS; IFS=$ac_path_separator 1243 ac_dummy="$PATH" 1244 for ac_dir in $ac_dummy; do 1245 IFS=$ac_save_IFS 1246 test -z "$ac_dir" && ac_dir=. 1247 $as_executable_p "$ac_dir/$ac_word" || continue 1248 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 1249 echo "$as_me:1249: found $ac_dir/$ac_word" >&5 1250 break 2360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2361 for as_dir in $PATH 2362 do 2363 IFS=$as_save_IFS 2364 test -z "$as_dir" && as_dir=. 2365 for ac_exec_ext in '' $ac_executable_extensions; do 2366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2367 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2369 break 2 2370 fi 1251 2371 done 2372 done 2373 IFS=$as_save_IFS 1252 2374 1253 2375 fi … … 1255 2377 STRIP=$ac_cv_prog_STRIP 1256 2378 if test -n "$STRIP"; then 1257 echo "$as_me:1257: result: $STRIP" >&5 1258 echo "${ECHO_T}$STRIP" >&6 1259 else 1260 echo "$as_me:1260: result: no" >&5 1261 echo "${ECHO_T}no" >&6 1262 fi 2379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2380 $as_echo "$STRIP" >&6; } 2381 else 2382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2383 $as_echo "no" >&6; } 2384 fi 2385 1263 2386 1264 2387 fi … … 1267 2390 # Extract the first word of "strip", so it can be a program name with args. 1268 2391 set dummy strip; ac_word=$2 1269 echo "$as_me:1269: checking for $ac_word" >&51270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1271 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then1272 echo $ECHO_N "(cached) $ECHO_C" >&62392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2393 $as_echo_n "checking for $ac_word... " >&6; } 2394 if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2395 $as_echo_n "(cached) " >&6 1273 2396 else 1274 2397 if test -n "$ac_ct_STRIP"; then 1275 2398 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 1276 2399 else 1277 ac_save_IFS=$IFS; IFS=$ac_path_separator 1278 ac_dummy="$PATH" 1279 for ac_dir in $ac_dummy; do 1280 IFS=$ac_save_IFS 1281 test -z "$ac_dir" && ac_dir=. 1282 $as_executable_p "$ac_dir/$ac_word" || continue 1283 ac_cv_prog_ac_ct_STRIP="strip" 1284 echo "$as_me:1284: found $ac_dir/$ac_word" >&5 1285 break 2400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2401 for as_dir in $PATH 2402 do 2403 IFS=$as_save_IFS 2404 test -z "$as_dir" && as_dir=. 2405 for ac_exec_ext in '' $ac_executable_extensions; do 2406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2407 ac_cv_prog_ac_ct_STRIP="strip" 2408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2409 break 2 2410 fi 1286 2411 done 1287 1288 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" 2412 done 2413 IFS=$as_save_IFS 2414 1289 2415 fi 1290 2416 fi 1291 2417 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 1292 2418 if test -n "$ac_ct_STRIP"; then 1293 echo "$as_me:1293: result: $ac_ct_STRIP" >&5 1294 echo "${ECHO_T}$ac_ct_STRIP" >&6 1295 else 1296 echo "$as_me:1296: result: no" >&5 1297 echo "${ECHO_T}no" >&6 1298 fi 1299 1300 STRIP=$ac_ct_STRIP 2419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2420 $as_echo "$ac_ct_STRIP" >&6; } 2421 else 2422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2423 $as_echo "no" >&6; } 2424 fi 2425 2426 if test "x$ac_ct_STRIP" = x; then 2427 STRIP=":" 2428 else 2429 case $cross_compiling:$ac_tool_warned in 2430 yes:) 2431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2433 ac_tool_warned=yes ;; 2434 esac 2435 STRIP=$ac_ct_STRIP 2436 fi 1301 2437 else 1302 2438 STRIP="$ac_cv_prog_STRIP" … … 1304 2440 1305 2441 fi 1306 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 2442 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2443 2444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2445 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2446 if test -z "$MKDIR_P"; then 2447 if ${ac_cv_path_mkdir+:} false; then : 2448 $as_echo_n "(cached) " >&6 2449 else 2450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2451 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2452 do 2453 IFS=$as_save_IFS 2454 test -z "$as_dir" && as_dir=. 2455 for ac_prog in mkdir gmkdir; do 2456 for ac_exec_ext in '' $ac_executable_extensions; do 2457 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2458 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2459 'mkdir (GNU coreutils) '* | \ 2460 'mkdir (coreutils) '* | \ 2461 'mkdir (fileutils) '4.1*) 2462 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2463 break 3;; 2464 esac 2465 done 2466 done 2467 done 2468 IFS=$as_save_IFS 2469 2470 fi 2471 2472 test -d ./--version && rmdir ./--version 2473 if test "${ac_cv_path_mkdir+set}" = set; then 2474 MKDIR_P="$ac_cv_path_mkdir -p" 2475 else 2476 # As a last resort, use the slow shell script. Don't cache a 2477 # value for MKDIR_P within a source directory, because that will 2478 # break other packages using the cache if that directory is 2479 # removed, or if the value is a relative name. 2480 MKDIR_P="$ac_install_sh -d" 2481 fi 2482 fi 2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2484 $as_echo "$MKDIR_P" >&6; } 2485 2486 mkdir_p="$MKDIR_P" 2487 case $mkdir_p in 2488 [\\/$]* | ?:[\\/]*) ;; 2489 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2490 esac 2491 2492 for ac_prog in gawk mawk nawk awk 2493 do 2494 # Extract the first word of "$ac_prog", so it can be a program name with args. 2495 set dummy $ac_prog; ac_word=$2 2496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2497 $as_echo_n "checking for $ac_word... " >&6; } 2498 if ${ac_cv_prog_AWK+:} false; then : 2499 $as_echo_n "(cached) " >&6 2500 else 2501 if test -n "$AWK"; then 2502 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2503 else 2504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2505 for as_dir in $PATH 2506 do 2507 IFS=$as_save_IFS 2508 test -z "$as_dir" && as_dir=. 2509 for ac_exec_ext in '' $ac_executable_extensions; do 2510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2511 ac_cv_prog_AWK="$ac_prog" 2512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2513 break 2 2514 fi 2515 done 2516 done 2517 IFS=$as_save_IFS 2518 2519 fi 2520 fi 2521 AWK=$ac_cv_prog_AWK 2522 if test -n "$AWK"; then 2523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2524 $as_echo "$AWK" >&6; } 2525 else 2526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2527 $as_echo "no" >&6; } 2528 fi 2529 2530 2531 test -n "$AWK" && break 2532 done 2533 2534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2535 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2536 set x ${MAKE-make} 2537 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2538 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2539 $as_echo_n "(cached) " >&6 2540 else 2541 cat >conftest.make <<\_ACEOF 2542 SHELL = /bin/sh 2543 all: 2544 @echo '@@@%%%=$(MAKE)=@@@%%%' 2545 _ACEOF 2546 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2547 case `${MAKE-make} -f conftest.make 2>/dev/null` in 2548 *@@@%%%=?*=@@@%%%*) 2549 eval ac_cv_prog_make_${ac_make}_set=yes;; 2550 *) 2551 eval ac_cv_prog_make_${ac_make}_set=no;; 2552 esac 2553 rm -f conftest.make 2554 fi 2555 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2557 $as_echo "yes" >&6; } 2558 SET_MAKE= 2559 else 2560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2561 $as_echo "no" >&6; } 2562 SET_MAKE="MAKE=${MAKE-make}" 2563 fi 2564 2565 rm -rf .tst 2>/dev/null 2566 mkdir .tst 2>/dev/null 2567 if test -d .tst; then 2568 am__leading_dot=. 2569 else 2570 am__leading_dot=_ 2571 fi 2572 rmdir .tst 2>/dev/null 2573 2574 if test "`cd $srcdir && pwd`" != "`pwd`"; then 2575 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2576 # is not polluted with repeated "-I." 2577 am__isrc=' -I$(srcdir)' 2578 # test to see if srcdir already configured 2579 if test -f $srcdir/config.status; then 2580 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2581 fi 2582 fi 2583 2584 # test whether we have cygpath 2585 if test -z "$CYGPATH_W"; then 2586 if (cygpath --version) >/dev/null 2>/dev/null; then 2587 CYGPATH_W='cygpath -w' 2588 else 2589 CYGPATH_W=echo 2590 fi 2591 fi 2592 2593 2594 # Define the identity of the package. 2595 PACKAGE=cfa 2596 VERSION=1.0 2597 2598 2599 cat >>confdefs.h <<_ACEOF 2600 #define PACKAGE "$PACKAGE" 2601 _ACEOF 2602 2603 2604 cat >>confdefs.h <<_ACEOF 2605 #define VERSION "$VERSION" 2606 _ACEOF 2607 2608 # Some tools Automake needs. 2609 2610 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2611 2612 2613 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2614 2615 2616 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2617 2618 2619 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2620 2621 2622 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 1307 2623 1308 2624 # We need awk for the "check" target. The system "awk" is bad on 1309 2625 # some platforms. 1310 1311 # Add the stamp file to the list of files AC keeps track of, 1312 # along with our hook. 2626 # Always define AMTAR for backward compatibility. Yes, it's still used 2627 # in the wild :-( We should find a proper way to deprecate it ... 2628 AMTAR='$${TAR-tar}' 2629 2630 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2631 2632 2633 2634 2635 1313 2636 ac_config_headers="$ac_config_headers config.h" 2637 1314 2638 1315 2639 for ac_prog in 'bison -y' byacc … … 1317 2641 # Extract the first word of "$ac_prog", so it can be a program name with args. 1318 2642 set dummy $ac_prog; ac_word=$2 1319 echo "$as_me:1319: checking for $ac_word" >&51320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1321 if test "${ac_cv_prog_YACC+set}" = set; then1322 echo $ECHO_N "(cached) $ECHO_C" >&62643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2644 $as_echo_n "checking for $ac_word... " >&6; } 2645 if ${ac_cv_prog_YACC+:} false; then : 2646 $as_echo_n "(cached) " >&6 1323 2647 else 1324 2648 if test -n "$YACC"; then 1325 2649 ac_cv_prog_YACC="$YACC" # Let the user override the test. 1326 2650 else 1327 ac_save_IFS=$IFS; IFS=$ac_path_separator 1328 ac_dummy="$PATH" 1329 for ac_dir in $ac_dummy; do 1330 IFS=$ac_save_IFS 1331 test -z "$ac_dir" && ac_dir=. 1332 $as_executable_p "$ac_dir/$ac_word" || continue 1333 ac_cv_prog_YACC="$ac_prog" 1334 echo "$as_me:1334: found $ac_dir/$ac_word" >&5 1335 break 2651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2652 for as_dir in $PATH 2653 do 2654 IFS=$as_save_IFS 2655 test -z "$as_dir" && as_dir=. 2656 for ac_exec_ext in '' $ac_executable_extensions; do 2657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2658 ac_cv_prog_YACC="$ac_prog" 2659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2660 break 2 2661 fi 1336 2662 done 2663 done 2664 IFS=$as_save_IFS 1337 2665 1338 2666 fi … … 1340 2668 YACC=$ac_cv_prog_YACC 1341 2669 if test -n "$YACC"; then 1342 echo "$as_me:1342: result: $YACC" >&5 1343 echo "${ECHO_T}$YACC" >&6 1344 else 1345 echo "$as_me:1345: result: no" >&5 1346 echo "${ECHO_T}no" >&6 1347 fi 2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 2671 $as_echo "$YACC" >&6; } 2672 else 2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2674 $as_echo "no" >&6; } 2675 fi 2676 1348 2677 1349 2678 test -n "$YACC" && break … … 1351 2680 test -n "$YACC" || YACC="yacc" 1352 2681 1353 ac_ext=c c2682 ac_ext=cpp 1354 2683 ac_cpp='$CXXCPP $CPPFLAGS' 1355 2684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1356 2685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1357 2686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 1358 if test -n "$ac_tool_prefix"; then 1359 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 2687 if test -z "$CXX"; then 2688 if test -n "$CCC"; then 2689 CXX=$CCC 2690 else 2691 if test -n "$ac_tool_prefix"; then 2692 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 1360 2693 do 1361 2694 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1362 2695 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1363 echo "$as_me:1363: checking for $ac_word" >&51364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1365 if test "${ac_cv_prog_CXX+set}" = set; then1366 echo $ECHO_N "(cached) $ECHO_C" >&62696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2697 $as_echo_n "checking for $ac_word... " >&6; } 2698 if ${ac_cv_prog_CXX+:} false; then : 2699 $as_echo_n "(cached) " >&6 1367 2700 else 1368 2701 if test -n "$CXX"; then 1369 2702 ac_cv_prog_CXX="$CXX" # Let the user override the test. 1370 2703 else 1371 ac_save_IFS=$IFS; IFS=$ac_path_separator 1372 ac_dummy="$PATH" 1373 for ac_dir in $ac_dummy; do 1374 IFS=$ac_save_IFS 1375 test -z "$ac_dir" && ac_dir=. 1376 $as_executable_p "$ac_dir/$ac_word" || continue 1377 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 1378 echo "$as_me:1378: found $ac_dir/$ac_word" >&5 1379 break 2704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2705 for as_dir in $PATH 2706 do 2707 IFS=$as_save_IFS 2708 test -z "$as_dir" && as_dir=. 2709 for ac_exec_ext in '' $ac_executable_extensions; do 2710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2711 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2713 break 2 2714 fi 1380 2715 done 2716 done 2717 IFS=$as_save_IFS 1381 2718 1382 2719 fi … … 1384 2721 CXX=$ac_cv_prog_CXX 1385 2722 if test -n "$CXX"; then 1386 echo "$as_me:1386: result: $CXX" >&5 1387 echo "${ECHO_T}$CXX" >&6 1388 else 1389 echo "$as_me:1389: result: no" >&5 1390 echo "${ECHO_T}no" >&6 1391 fi 2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 2724 $as_echo "$CXX" >&6; } 2725 else 2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2727 $as_echo "no" >&6; } 2728 fi 2729 1392 2730 1393 2731 test -n "$CXX" && break … … 1396 2734 if test -z "$CXX"; then 1397 2735 ac_ct_CXX=$CXX 1398 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ clFCC KCC RCC xlC_r xlC2736 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 1399 2737 do 1400 2738 # Extract the first word of "$ac_prog", so it can be a program name with args. 1401 2739 set dummy $ac_prog; ac_word=$2 1402 echo "$as_me:1402: checking for $ac_word" >&51403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1404 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then1405 echo $ECHO_N "(cached) $ECHO_C" >&62740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2741 $as_echo_n "checking for $ac_word... " >&6; } 2742 if ${ac_cv_prog_ac_ct_CXX+:} false; then : 2743 $as_echo_n "(cached) " >&6 1406 2744 else 1407 2745 if test -n "$ac_ct_CXX"; then 1408 2746 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 1409 2747 else 1410 ac_save_IFS=$IFS; IFS=$ac_path_separator 1411 ac_dummy="$PATH" 1412 for ac_dir in $ac_dummy; do 1413 IFS=$ac_save_IFS 1414 test -z "$ac_dir" && ac_dir=. 1415 $as_executable_p "$ac_dir/$ac_word" || continue 1416 ac_cv_prog_ac_ct_CXX="$ac_prog" 1417 echo "$as_me:1417: found $ac_dir/$ac_word" >&5 1418 break 2748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2749 for as_dir in $PATH 2750 do 2751 IFS=$as_save_IFS 2752 test -z "$as_dir" && as_dir=. 2753 for ac_exec_ext in '' $ac_executable_extensions; do 2754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2755 ac_cv_prog_ac_ct_CXX="$ac_prog" 2756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2757 break 2 2758 fi 1419 2759 done 2760 done 2761 IFS=$as_save_IFS 1420 2762 1421 2763 fi … … 1423 2765 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 1424 2766 if test -n "$ac_ct_CXX"; then 1425 echo "$as_me:1425: result: $ac_ct_CXX" >&5 1426 echo "${ECHO_T}$ac_ct_CXX" >&6 1427 else 1428 echo "$as_me:1428: result: no" >&5 1429 echo "${ECHO_T}no" >&6 1430 fi 2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 2768 $as_echo "$ac_ct_CXX" >&6; } 2769 else 2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2771 $as_echo "no" >&6; } 2772 fi 2773 1431 2774 1432 2775 test -n "$ac_ct_CXX" && break 1433 2776 done 1434 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 1435 1436 CXX=$ac_ct_CXX 1437 fi 1438 2777 2778 if test "x$ac_ct_CXX" = x; then 2779 CXX="g++" 2780 else 2781 case $cross_compiling:$ac_tool_warned in 2782 yes:) 2783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2784 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2785 ac_tool_warned=yes ;; 2786 esac 2787 CXX=$ac_ct_CXX 2788 fi 2789 fi 2790 2791 fi 2792 fi 1439 2793 # Provide some information about the compiler. 1440 echo "$as_me:1440:" \ 1441 "checking for C++ compiler version" >&5 1442 ac_compiler=`set X $ac_compile; echo $2` 1443 { (eval echo "$as_me:1443: \"$ac_compiler --version </dev/null >&5\"") >&5 1444 (eval $ac_compiler --version </dev/null >&5) 2>&5 2794 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 2795 set X $ac_compile 2796 ac_compiler=$2 2797 for ac_option in --version -v -V -qversion; do 2798 { { ac_try="$ac_compiler $ac_option >&5" 2799 case "(($ac_try" in 2800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2801 *) ac_try_echo=$ac_try;; 2802 esac 2803 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2804 $as_echo "$ac_try_echo"; } >&5 2805 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 1445 2806 ac_status=$? 1446 echo "$as_me:1446: \$? = $ac_status" >&5 1447 (exit $ac_status); } 1448 { (eval echo "$as_me:1448: \"$ac_compiler -v </dev/null >&5\"") >&5 1449 (eval $ac_compiler -v </dev/null >&5) 2>&5 1450 ac_status=$? 1451 echo "$as_me:1451: \$? = $ac_status" >&5 1452 (exit $ac_status); } 1453 { (eval echo "$as_me:1453: \"$ac_compiler -V </dev/null >&5\"") >&5 1454 (eval $ac_compiler -V </dev/null >&5) 2>&5 1455 ac_status=$? 1456 echo "$as_me:1456: \$? = $ac_status" >&5 1457 (exit $ac_status); } 1458 1459 cat >conftest.$ac_ext <<_ACEOF 1460 #line 1460 "configure" 1461 #include "confdefs.h" 2807 if test -s conftest.err; then 2808 sed '10a\ 2809 ... rest of stderr output deleted ... 2810 10q' conftest.err >conftest.er1 2811 cat conftest.er1 >&5 2812 fi 2813 rm -f conftest.er1 conftest.err 2814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2815 test $ac_status = 0; } 2816 done 2817 2818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2819 /* end confdefs.h. */ 1462 2820 1463 2821 int … … 1470 2828 _ACEOF 1471 2829 ac_clean_files_save=$ac_clean_files 1472 ac_clean_files="$ac_clean_files a.out a. exe"2830 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 1473 2831 # Try to create an executable without -o first, disregard a.out. 1474 2832 # It will help us diagnose broken compilers, and finding out an intuition 1475 2833 # of exeext. 1476 echo "$as_me:1476: checking for C++ compiler default output" >&5 1477 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6 1478 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1479 if { (eval echo "$as_me:1479: \"$ac_link_default\"") >&5 1480 (eval $ac_link_default) 2>&5 2834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5 2835 $as_echo_n "checking whether the C++ compiler works... " >&6; } 2836 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2837 2838 # The possible output files: 2839 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2840 2841 ac_rmfiles= 2842 for ac_file in $ac_files 2843 do 2844 case $ac_file in 2845 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2846 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2847 esac 2848 done 2849 rm -f $ac_rmfiles 2850 2851 if { { ac_try="$ac_link_default" 2852 case "(($ac_try" in 2853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2854 *) ac_try_echo=$ac_try;; 2855 esac 2856 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2857 $as_echo "$ac_try_echo"; } >&5 2858 (eval "$ac_link_default") 2>&5 1481 2859 ac_status=$? 1482 echo "$as_me:1482: \$? = $ac_status" >&5 1483 (exit $ac_status); }; then 1484 # Find the output, starting from the most likely. This scheme is 1485 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1486 # resort. 1487 for ac_file in `ls a.exe conftest.exe 2>/dev/null; 1488 ls a.out conftest 2>/dev/null; 1489 ls a.* conftest.* 2>/dev/null`; do 2860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2861 test $ac_status = 0; }; then : 2862 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2863 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2864 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2865 # so that the user can short-circuit this test for compilers unknown to 2866 # Autoconf. 2867 for ac_file in $ac_files '' 2868 do 2869 test -f "$ac_file" || continue 1490 2870 case $ac_file in 1491 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; 1492 a.out ) # We found the default executable, but exeext='' is most 1493 # certainly right. 1494 break;; 2871 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2872 ;; 2873 [ab].out ) 2874 # We found the default executable, but exeext='' is most 2875 # certainly right. 2876 break;; 2877 *.* ) 2878 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2879 then :; else 2880 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2881 fi 2882 # We set ac_cv_exeext here because the later test for it is not 2883 # safe: cross compilers may not add the suffix if given an `-o' 2884 # argument, so we may need to know it at that point already. 2885 # Even if this section looks crufty: it has the advantage of 2886 # actually working. 2887 break;; 2888 * ) 2889 break;; 2890 esac 2891 done 2892 test "$ac_cv_exeext" = no && ac_cv_exeext= 2893 2894 else 2895 ac_file='' 2896 fi 2897 if test -z "$ac_file"; then : 2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2899 $as_echo "no" >&6; } 2900 $as_echo "$as_me: failed program was:" >&5 2901 sed 's/^/| /' conftest.$ac_ext >&5 2902 2903 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2904 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2905 as_fn_error 77 "C++ compiler cannot create executables 2906 See \`config.log' for more details" "$LINENO" 5; } 2907 else 2908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2909 $as_echo "yes" >&6; } 2910 fi 2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5 2912 $as_echo_n "checking for C++ compiler default output file name... " >&6; } 2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2914 $as_echo "$ac_file" >&6; } 2915 ac_exeext=$ac_cv_exeext 2916 2917 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2918 ac_clean_files=$ac_clean_files_save 2919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2920 $as_echo_n "checking for suffix of executables... " >&6; } 2921 if { { ac_try="$ac_link" 2922 case "(($ac_try" in 2923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2924 *) ac_try_echo=$ac_try;; 2925 esac 2926 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2927 $as_echo "$ac_try_echo"; } >&5 2928 (eval "$ac_link") 2>&5 2929 ac_status=$? 2930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2931 test $ac_status = 0; }; then : 2932 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2933 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2934 # work properly (i.e., refer to `conftest.exe'), while it won't with 2935 # `rm'. 2936 for ac_file in conftest.exe conftest conftest.*; do 2937 test -f "$ac_file" || continue 2938 case $ac_file in 2939 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 1495 2940 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1496 # FIXME: I believe we export ac_cv_exeext for Libtool --akim. 1497 export ac_cv_exeext 1498 break;; 2941 break;; 1499 2942 * ) break;; 1500 2943 esac 1501 2944 done 1502 2945 else 1503 echo "$as_me: failed program was:" >&5 1504 cat conftest.$ac_ext >&5 1505 { { echo "$as_me:1505: error: C++ compiler cannot create executables" >&5 1506 echo "$as_me: error: C++ compiler cannot create executables" >&2;} 1507 { (exit 77); exit 77; }; } 1508 fi 1509 1510 ac_exeext=$ac_cv_exeext 1511 echo "$as_me:1511: result: $ac_file" >&5 1512 echo "${ECHO_T}$ac_file" >&6 1513 1514 # Check the compiler produces executables we can run. If not, either 2946 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2947 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2948 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2949 See \`config.log' for more details" "$LINENO" 5; } 2950 fi 2951 rm -f conftest conftest$ac_cv_exeext 2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2953 $as_echo "$ac_cv_exeext" >&6; } 2954 2955 rm -f conftest.$ac_ext 2956 EXEEXT=$ac_cv_exeext 2957 ac_exeext=$EXEEXT 2958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2959 /* end confdefs.h. */ 2960 #include <stdio.h> 2961 int 2962 main () 2963 { 2964 FILE *f = fopen ("conftest.out", "w"); 2965 return ferror (f) || fclose (f) != 0; 2966 2967 ; 2968 return 0; 2969 } 2970 _ACEOF 2971 ac_clean_files="$ac_clean_files conftest.out" 2972 # Check that the compiler produces executables we can run. If not, either 1515 2973 # the compiler is broken, or we cross compile. 1516 echo "$as_me:1516: checking whether the C++ compiler works" >&5 1517 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6 1518 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1519 # If not cross compiling, check that we can run a simple program. 2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2975 $as_echo_n "checking whether we are cross compiling... " >&6; } 1520 2976 if test "$cross_compiling" != yes; then 1521 if { ac_try='./$ac_file' 1522 { (eval echo "$as_me:1522: \"$ac_try\"") >&5 1523 (eval $ac_try) 2>&5 2977 { { ac_try="$ac_link" 2978 case "(($ac_try" in 2979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2980 *) ac_try_echo=$ac_try;; 2981 esac 2982 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2983 $as_echo "$ac_try_echo"; } >&5 2984 (eval "$ac_link") 2>&5 1524 2985 ac_status=$? 1525 echo "$as_me:1525: \$? = $ac_status" >&5 1526 (exit $ac_status); }; }; then 2986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2987 test $ac_status = 0; } 2988 if { ac_try='./conftest$ac_cv_exeext' 2989 { { case "(($ac_try" in 2990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2991 *) ac_try_echo=$ac_try;; 2992 esac 2993 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2994 $as_echo "$ac_try_echo"; } >&5 2995 (eval "$ac_try") 2>&5 2996 ac_status=$? 2997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2998 test $ac_status = 0; }; }; then 1527 2999 cross_compiling=no 1528 3000 else … … 1530 3002 cross_compiling=yes 1531 3003 else 1532 { { echo "$as_me:1532: error: cannot run C++ compiled programs.1533 If you meant to cross compile, use \`--host'." >&5 1534 echo "$as_me: error:cannot run C++ compiled programs.1535 If you meant to cross compile, use \`--host'. " >&2;}1536 { (exit 1); exit 1; }; }3004 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3005 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3006 as_fn_error $? "cannot run C++ compiled programs. 3007 If you meant to cross compile, use \`--host'. 3008 See \`config.log' for more details" "$LINENO" 5; } 1537 3009 fi 1538 3010 fi 1539 3011 fi 1540 echo "$as_me:1540: result: yes" >&51541 echo "${ECHO_T}yes" >&6 1542 1543 rm -f a.out a.exe conftest$ac_cv_exeext3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3013 $as_echo "$cross_compiling" >&6; } 3014 3015 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 1544 3016 ac_clean_files=$ac_clean_files_save 1545 # Check the compiler produces executables we can run. If not, either 1546 # the compiler is broken, or we cross compile. 1547 echo "$as_me:1547: checking whether we are cross compiling" >&5 1548 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1549 echo "$as_me:1549: result: $cross_compiling" >&5 1550 echo "${ECHO_T}$cross_compiling" >&6 1551 1552 echo "$as_me:1552: checking for executable suffix" >&5 1553 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 1554 if { (eval echo "$as_me:1554: \"$ac_link\"") >&5 1555 (eval $ac_link) 2>&5 1556 ac_status=$? 1557 echo "$as_me:1557: \$? = $ac_status" >&5 1558 (exit $ac_status); }; then 1559 # If both `conftest.exe' and `conftest' are `present' (well, observable) 1560 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 1561 # work properly (i.e., refer to `conftest.exe'), while it won't with 1562 # `rm'. 1563 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do 1564 case $ac_file in 1565 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; 1566 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1567 export ac_cv_exeext 1568 break;; 1569 * ) break;; 1570 esac 1571 done 1572 else 1573 { { echo "$as_me:1573: error: cannot compute EXEEXT: cannot compile and link" >&5 1574 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} 1575 { (exit 1); exit 1; }; } 1576 fi 1577 1578 rm -f conftest$ac_cv_exeext 1579 echo "$as_me:1579: result: $ac_cv_exeext" >&5 1580 echo "${ECHO_T}$ac_cv_exeext" >&6 1581 1582 rm -f conftest.$ac_ext 1583 EXEEXT=$ac_cv_exeext 1584 ac_exeext=$EXEEXT 1585 echo "$as_me:1585: checking for object suffix" >&5 1586 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 1587 if test "${ac_cv_objext+set}" = set; then 1588 echo $ECHO_N "(cached) $ECHO_C" >&6 1589 else 1590 cat >conftest.$ac_ext <<_ACEOF 1591 #line 1591 "configure" 1592 #include "confdefs.h" 3017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3018 $as_echo_n "checking for suffix of object files... " >&6; } 3019 if ${ac_cv_objext+:} false; then : 3020 $as_echo_n "(cached) " >&6 3021 else 3022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3023 /* end confdefs.h. */ 1593 3024 1594 3025 int … … 1601 3032 _ACEOF 1602 3033 rm -f conftest.o conftest.obj 1603 if { (eval echo "$as_me:1603: \"$ac_compile\"") >&5 1604 (eval $ac_compile) 2>&5 3034 if { { ac_try="$ac_compile" 3035 case "(($ac_try" in 3036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3037 *) ac_try_echo=$ac_try;; 3038 esac 3039 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3040 $as_echo "$ac_try_echo"; } >&5 3041 (eval "$ac_compile") 2>&5 1605 3042 ac_status=$? 1606 echo "$as_me:1606: \$? = $ac_status" >&5 1607 (exit $ac_status); }; then 1608 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 3043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3044 test $ac_status = 0; }; then : 3045 for ac_file in conftest.o conftest.obj conftest.*; do 3046 test -f "$ac_file" || continue; 1609 3047 case $ac_file in 1610 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;3048 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 1611 3049 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1612 3050 break;; … … 1614 3052 done 1615 3053 else 1616 echo "$as_me: failed program was:" >&5 1617 cat conftest.$ac_ext >&5 1618 { { echo "$as_me:1618: error: cannot compute OBJEXT: cannot compile" >&5 1619 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} 1620 { (exit 1); exit 1; }; } 1621 fi 1622 3054 $as_echo "$as_me: failed program was:" >&5 3055 sed 's/^/| /' conftest.$ac_ext >&5 3056 3057 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3058 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3059 as_fn_error $? "cannot compute suffix of object files: cannot compile 3060 See \`config.log' for more details" "$LINENO" 5; } 3061 fi 1623 3062 rm -f conftest.$ac_cv_objext conftest.$ac_ext 1624 3063 fi 1625 echo "$as_me:1625: result: $ac_cv_objext" >&51626 echo "${ECHO_T}$ac_cv_objext" >&6 3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3065 $as_echo "$ac_cv_objext" >&6; } 1627 3066 OBJEXT=$ac_cv_objext 1628 3067 ac_objext=$OBJEXT 1629 echo "$as_me:1629: checking whether we are using the GNU C++ compiler" >&5 1630 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 1631 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 1632 echo $ECHO_N "(cached) $ECHO_C" >&6 1633 else 1634 cat >conftest.$ac_ext <<_ACEOF 1635 #line 1635 "configure" 1636 #include "confdefs.h" 3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3069 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3070 if ${ac_cv_cxx_compiler_gnu+:} false; then : 3071 $as_echo_n "(cached) " >&6 3072 else 3073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3074 /* end confdefs.h. */ 1637 3075 1638 3076 int … … 1647 3085 } 1648 3086 _ACEOF 1649 rm -f conftest.$ac_objext 1650 if { (eval echo "$as_me:1650: \"$ac_compile\"") >&5 1651 (eval $ac_compile) 2>&5 1652 ac_status=$? 1653 echo "$as_me:1653: \$? = $ac_status" >&5 1654 (exit $ac_status); } && 1655 { ac_try='test -s conftest.$ac_objext' 1656 { (eval echo "$as_me:1656: \"$ac_try\"") >&5 1657 (eval $ac_try) 2>&5 1658 ac_status=$? 1659 echo "$as_me:1659: \$? = $ac_status" >&5 1660 (exit $ac_status); }; }; then 3087 if ac_fn_cxx_try_compile "$LINENO"; then : 1661 3088 ac_compiler_gnu=yes 1662 3089 else 1663 echo "$as_me: failed program was:" >&5 1664 cat conftest.$ac_ext >&5 1665 ac_compiler_gnu=no 1666 fi 1667 rm -f conftest.$ac_objext conftest.$ac_ext 3090 ac_compiler_gnu=no 3091 fi 3092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1668 3093 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 1669 3094 1670 3095 fi 1671 echo "$as_me:1671: result: $ac_cv_cxx_compiler_gnu" >&5 1672 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 1673 GXX=`test $ac_compiler_gnu = yes && echo yes` 3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3097 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3098 if test $ac_compiler_gnu = yes; then 3099 GXX=yes 3100 else 3101 GXX= 3102 fi 1674 3103 ac_test_CXXFLAGS=${CXXFLAGS+set} 1675 3104 ac_save_CXXFLAGS=$CXXFLAGS 1676 CXXFLAGS="-g" 1677 echo "$as_me:1677: checking whether $CXX accepts -g" >&5 1678 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 1679 if test "${ac_cv_prog_cxx_g+set}" = set; then 1680 echo $ECHO_N "(cached) $ECHO_C" >&6 1681 else 1682 cat >conftest.$ac_ext <<_ACEOF 1683 #line 1683 "configure" 1684 #include "confdefs.h" 3105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3106 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3107 if ${ac_cv_prog_cxx_g+:} false; then : 3108 $as_echo_n "(cached) " >&6 3109 else 3110 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3111 ac_cxx_werror_flag=yes 3112 ac_cv_prog_cxx_g=no 3113 CXXFLAGS="-g" 3114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3115 /* end confdefs.h. */ 1685 3116 1686 3117 int … … 1692 3123 } 1693 3124 _ACEOF 1694 rm -f conftest.$ac_objext 1695 if { (eval echo "$as_me:1695: \"$ac_compile\"") >&5 1696 (eval $ac_compile) 2>&5 1697 ac_status=$? 1698 echo "$as_me:1698: \$? = $ac_status" >&5 1699 (exit $ac_status); } && 1700 { ac_try='test -s conftest.$ac_objext' 1701 { (eval echo "$as_me:1701: \"$ac_try\"") >&5 1702 (eval $ac_try) 2>&5 1703 ac_status=$? 1704 echo "$as_me:1704: \$? = $ac_status" >&5 1705 (exit $ac_status); }; }; then 3125 if ac_fn_cxx_try_compile "$LINENO"; then : 1706 3126 ac_cv_prog_cxx_g=yes 1707 3127 else 1708 echo "$as_me: failed program was:" >&5 1709 cat conftest.$ac_ext >&5 1710 ac_cv_prog_cxx_g=no 1711 fi 1712 rm -f conftest.$ac_objext conftest.$ac_ext 1713 fi 1714 echo "$as_me:1714: result: $ac_cv_prog_cxx_g" >&5 1715 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 3128 CXXFLAGS="" 3129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3130 /* end confdefs.h. */ 3131 3132 int 3133 main () 3134 { 3135 3136 ; 3137 return 0; 3138 } 3139 _ACEOF 3140 if ac_fn_cxx_try_compile "$LINENO"; then : 3141 3142 else 3143 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3144 CXXFLAGS="-g" 3145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3146 /* end confdefs.h. */ 3147 3148 int 3149 main () 3150 { 3151 3152 ; 3153 return 0; 3154 } 3155 _ACEOF 3156 if ac_fn_cxx_try_compile "$LINENO"; then : 3157 ac_cv_prog_cxx_g=yes 3158 fi 3159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3160 fi 3161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3162 fi 3163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3164 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3165 fi 3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3167 $as_echo "$ac_cv_prog_cxx_g" >&6; } 1716 3168 if test "$ac_test_CXXFLAGS" = set; then 1717 3169 CXXFLAGS=$ac_save_CXXFLAGS … … 1729 3181 fi 1730 3182 fi 1731 for ac_declaration in \1732 ''\1733 '#include <stdlib.h>' \1734 'extern "C" void std::exit (int) throw (); using std::exit;' \1735 'extern "C" void std::exit (int); using std::exit;' \1736 'extern "C" void exit (int) throw ();' \1737 'extern "C" void exit (int);' \1738 'void exit (int);'1739 do1740 cat >conftest.$ac_ext <<_ACEOF1741 #line 1741 "configure"1742 #include "confdefs.h"1743 #include <stdlib.h>1744 $ac_declaration1745 int1746 main ()1747 {1748 exit (42);1749 ;1750 return 0;1751 }1752 _ACEOF1753 rm -f conftest.$ac_objext1754 if { (eval echo "$as_me:1754: \"$ac_compile\"") >&51755 (eval $ac_compile) 2>&51756 ac_status=$?1757 echo "$as_me:1757: \$? = $ac_status" >&51758 (exit $ac_status); } &&1759 { ac_try='test -s conftest.$ac_objext'1760 { (eval echo "$as_me:1760: \"$ac_try\"") >&51761 (eval $ac_try) 2>&51762 ac_status=$?1763 echo "$as_me:1763: \$? = $ac_status" >&51764 (exit $ac_status); }; }; then1765 :1766 else1767 echo "$as_me: failed program was:" >&51768 cat conftest.$ac_ext >&51769 continue1770 fi1771 rm -f conftest.$ac_objext conftest.$ac_ext1772 cat >conftest.$ac_ext <<_ACEOF1773 #line 1773 "configure"1774 #include "confdefs.h"1775 $ac_declaration1776 int1777 main ()1778 {1779 exit (42);1780 ;1781 return 0;1782 }1783 _ACEOF1784 rm -f conftest.$ac_objext1785 if { (eval echo "$as_me:1785: \"$ac_compile\"") >&51786 (eval $ac_compile) 2>&51787 ac_status=$?1788 echo "$as_me:1788: \$? = $ac_status" >&51789 (exit $ac_status); } &&1790 { ac_try='test -s conftest.$ac_objext'1791 { (eval echo "$as_me:1791: \"$ac_try\"") >&51792 (eval $ac_try) 2>&51793 ac_status=$?1794 echo "$as_me:1794: \$? = $ac_status" >&51795 (exit $ac_status); }; }; then1796 break1797 else1798 echo "$as_me: failed program was:" >&51799 cat conftest.$ac_ext >&51800 fi1801 rm -f conftest.$ac_objext conftest.$ac_ext1802 done1803 rm -f conftest*1804 if test -n "$ac_declaration"; then1805 echo '#ifdef __cplusplus' >>confdefs.h1806 echo $ac_declaration >>confdefs.h1807 echo '#endif' >>confdefs.h1808 fi1809 1810 3183 ac_ext=c 1811 3184 ac_cpp='$CPP $CPPFLAGS' … … 1813 3186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1814 3187 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1815 rm -f .deps 2>/dev/null 1816 mkdir .deps 2>/dev/null 1817 if test -d .deps; then 1818 DEPDIR=.deps 1819 else 1820 # MS-DOS does not allow filenames that begin with a dot. 1821 DEPDIR=_deps 1822 fi 1823 rmdir .deps 2>/dev/null 3188 DEPDIR="${am__leading_dot}deps" 1824 3189 1825 3190 ac_config_commands="$ac_config_commands depfiles" 3191 1826 3192 1827 3193 am_make=${MAKE-make} 1828 3194 cat > confinc << 'END' 1829 doit: 1830 @echo done 3195 am__doit: 3196 @echo this is the am__doit target 3197 .PHONY: am__doit 1831 3198 END 1832 3199 # If we don't find an include directive, just comment out the code. 1833 echo "$as_me:1833: checking for style of include used by $am_make" >&51834 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 3200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3201 $as_echo_n "checking for style of include used by $am_make... " >&6; } 1835 3202 am__include="#" 1836 3203 am__quote= … … 1838 3205 # First try GNU make style include. 1839 3206 echo "include confinc" > confmf 1840 # We grep out `Entering directory' and `Leaving directory' 1841 # messages which can occur if `w' ends up in MAKEFLAGS. 1842 # In particular we don't look at `^make:' because GNU make might 1843 # be invoked under some other name (usually "gmake"), in which 1844 # case it prints its new name instead of `make'. 1845 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then 1846 am__include=include 1847 am__quote= 1848 _am_result=GNU 1849 fi 3207 # Ignore all kinds of additional output from `make'. 3208 case `$am_make -s -f confmf 2> /dev/null` in #( 3209 *the\ am__doit\ target*) 3210 am__include=include 3211 am__quote= 3212 _am_result=GNU 3213 ;; 3214 esac 1850 3215 # Now try BSD make style include. 1851 3216 if test "$am__include" = "#"; then 1852 3217 echo '.include "confinc"' > confmf 1853 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 1854 am__include=.include 1855 am__quote="\"" 1856 _am_result=BSD 1857 fi 1858 fi 1859 1860 echo "$as_me:1860: result: $_am_result" >&5 1861 echo "${ECHO_T}$_am_result" >&6 3218 case `$am_make -s -f confmf 2> /dev/null` in #( 3219 *the\ am__doit\ target*) 3220 am__include=.include 3221 am__quote="\"" 3222 _am_result=BSD 3223 ;; 3224 esac 3225 fi 3226 3227 3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3229 $as_echo "$_am_result" >&6; } 1862 3230 rm -f confinc confmf 1863 3231 1864 # Check whether --enable-dependency-tracking or --disable-dependency-trackingwas given.1865 if test "${enable_dependency_tracking+set}" = set; then 1866 enableval= "$enable_dependency_tracking"1867 1868 fi; 3232 # Check whether --enable-dependency-tracking was given. 3233 if test "${enable_dependency_tracking+set}" = set; then : 3234 enableval=$enable_dependency_tracking; 3235 fi 3236 1869 3237 if test "x$enable_dependency_tracking" != xno; then 1870 3238 am_depcomp="$ac_aux_dir/depcomp" 1871 3239 AMDEPBACKSLASH='\' 1872 fi 1873 1874 if test "x$enable_dependency_tracking" != xno; then3240 am__nodep='_no' 3241 fi 3242 if test "x$enable_dependency_tracking" != xno; then 1875 3243 AMDEP_TRUE= 1876 3244 AMDEP_FALSE='#' … … 1880 3248 fi 1881 3249 3250 3251 1882 3252 depcc="$CXX" am_compiler_list= 1883 3253 1884 echo "$as_me:1884: checking dependency style of $depcc" >&51885 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 1886 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then1887 echo $ECHO_N "(cached) $ECHO_C" >&63254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3255 $as_echo_n "checking dependency style of $depcc... " >&6; } 3256 if ${am_cv_CXX_dependencies_compiler_type+:} false; then : 3257 $as_echo_n "(cached) " >&6 1888 3258 else 1889 3259 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then … … 1893 3263 # making a dummy file named `D' -- because `-MD' means `put the output 1894 3264 # in D'. 3265 rm -rf conftest.dir 1895 3266 mkdir conftest.dir 1896 3267 # Copy depcomp to subdir because otherwise we won't find it if we're … … 1898 3269 cp "$am_depcomp" conftest.dir 1899 3270 cd conftest.dir 3271 # We will build objects and dependencies in a subdirectory because 3272 # it helps to detect inapplicable dependency modes. For instance 3273 # both Tru64's cc and ICC support -MD to output dependencies as a 3274 # side effect of compilation, but ICC will put the dependencies in 3275 # the current directory while Tru64 will put them in the object 3276 # directory. 3277 mkdir sub 1900 3278 1901 3279 am_cv_CXX_dependencies_compiler_type=none … … 1903 3281 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 1904 3282 fi 3283 am__universal=false 3284 case " $depcc " in #( 3285 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3286 esac 3287 1905 3288 for depmode in $am_compiler_list; do 3289 # Setup a source with many dependencies, because some compilers 3290 # like to wrap large dependency lists on column 80 (with \), and 3291 # we should not choose a depcomp mode which is confused by this. 3292 # 1906 3293 # We need to recreate these files for each test, as the compiler may 1907 3294 # overwrite some of them when testing with obscure command lines. 1908 3295 # This happens at least with the AIX C compiler. 1909 echo '#include "conftest.h"' > conftest.c 1910 echo 'int i;' > conftest.h 1911 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf 1912 3296 : > sub/conftest.c 3297 for i in 1 2 3 4 5 6; do 3298 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3299 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3300 # Solaris 8's {/usr,}/bin/sh. 3301 touch sub/conftst$i.h 3302 done 3303 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3304 3305 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3306 # mode. It turns out that the SunPro C++ compiler does not properly 3307 # handle `-M -o', and we need to detect this. Also, some Intel 3308 # versions had trouble with output in subdirs 3309 am__obj=sub/conftest.${OBJEXT-o} 3310 am__minus_obj="-o $am__obj" 1913 3311 case $depmode in 3312 gcc) 3313 # This depmode causes a compiler race in universal mode. 3314 test "$am__universal" = false || continue 3315 ;; 1914 3316 nosideeffect) 1915 3317 # after this tag, mechanisms are not by side-effect, so they'll … … 1921 3323 fi 1922 3324 ;; 3325 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3326 # This compiler won't grok `-c -o', but also, the minuso test has 3327 # not run yet. These depmodes are late enough in the game, and 3328 # so weak that their functioning should not be impacted. 3329 am__obj=conftest.${OBJEXT-o} 3330 am__minus_obj= 3331 ;; 1923 3332 none) break ;; 1924 3333 esac 1925 # We check with `-c' and `-o' for the sake of the "dashmstdout"1926 # mode. It turns out that the SunPro C++ compiler does not properly1927 # handle `-M -o', and we need to detect this.1928 3334 if depmode=$depmode \ 1929 source=conftest.c object=conftest.o \ 1930 depfile=conftest.Po tmpdepfile=conftest.TPo \ 1931 $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && 1932 grep conftest.h conftest.Po > /dev/null 2>&1 && 3335 source=sub/conftest.c object=$am__obj \ 3336 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3337 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3338 >/dev/null 2>conftest.err && 3339 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3340 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3341 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 1933 3342 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 1934 am_cv_CXX_dependencies_compiler_type=$depmode 1935 break 3343 # icc doesn't choke on unknown options, it will just issue warnings 3344 # or remarks (even with -Werror). So we grep stderr for any message 3345 # that says an option was ignored or not supported. 3346 # When given -MP, icc 7.0 and 7.1 complain thusly: 3347 # icc: Command line warning: ignoring option '-M'; no argument required 3348 # The diagnosis changed in icc 8.0: 3349 # icc: Command line remark: option '-MP' not supported 3350 if (grep 'ignoring option' conftest.err || 3351 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3352 am_cv_CXX_dependencies_compiler_type=$depmode 3353 break 3354 fi 1936 3355 fi 1937 3356 done … … 1944 3363 1945 3364 fi 1946 echo "$as_me:1946: result: $am_cv_CXX_dependencies_compiler_type" >&51947 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 3365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 3366 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 1948 3367 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 3368 3369 if 3370 test "x$enable_dependency_tracking" != xno \ 3371 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 3372 am__fastdepCXX_TRUE= 3373 am__fastdepCXX_FALSE='#' 3374 else 3375 am__fastdepCXX_TRUE='#' 3376 am__fastdepCXX_FALSE= 3377 fi 3378 1949 3379 1950 3380 ac_ext=c … … 1956 3386 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1957 3387 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1958 echo "$as_me:1958: checking for $ac_word" >&51959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1960 if test "${ac_cv_prog_CC+set}" = set; then1961 echo $ECHO_N "(cached) $ECHO_C" >&63388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3389 $as_echo_n "checking for $ac_word... " >&6; } 3390 if ${ac_cv_prog_CC+:} false; then : 3391 $as_echo_n "(cached) " >&6 1962 3392 else 1963 3393 if test -n "$CC"; then 1964 3394 ac_cv_prog_CC="$CC" # Let the user override the test. 1965 3395 else 1966 ac_save_IFS=$IFS; IFS=$ac_path_separator 1967 ac_dummy="$PATH" 1968 for ac_dir in $ac_dummy; do 1969 IFS=$ac_save_IFS 1970 test -z "$ac_dir" && ac_dir=. 1971 $as_executable_p "$ac_dir/$ac_word" || continue 1972 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1973 echo "$as_me:1973: found $ac_dir/$ac_word" >&5 1974 break 3396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3397 for as_dir in $PATH 3398 do 3399 IFS=$as_save_IFS 3400 test -z "$as_dir" && as_dir=. 3401 for ac_exec_ext in '' $ac_executable_extensions; do 3402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3403 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3405 break 2 3406 fi 1975 3407 done 3408 done 3409 IFS=$as_save_IFS 1976 3410 1977 3411 fi … … 1979 3413 CC=$ac_cv_prog_CC 1980 3414 if test -n "$CC"; then 1981 echo "$as_me:1981: result: $CC" >&5 1982 echo "${ECHO_T}$CC" >&6 1983 else 1984 echo "$as_me:1984: result: no" >&5 1985 echo "${ECHO_T}no" >&6 1986 fi 3415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3416 $as_echo "$CC" >&6; } 3417 else 3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3419 $as_echo "no" >&6; } 3420 fi 3421 1987 3422 1988 3423 fi … … 1991 3426 # Extract the first word of "gcc", so it can be a program name with args. 1992 3427 set dummy gcc; ac_word=$2 1993 echo "$as_me:1993: checking for $ac_word" >&51994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1995 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then1996 echo $ECHO_N "(cached) $ECHO_C" >&63428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3429 $as_echo_n "checking for $ac_word... " >&6; } 3430 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3431 $as_echo_n "(cached) " >&6 1997 3432 else 1998 3433 if test -n "$ac_ct_CC"; then 1999 3434 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2000 3435 else 2001 ac_save_IFS=$IFS; IFS=$ac_path_separator 2002 ac_dummy="$PATH" 2003 for ac_dir in $ac_dummy; do 2004 IFS=$ac_save_IFS 2005 test -z "$ac_dir" && ac_dir=. 2006 $as_executable_p "$ac_dir/$ac_word" || continue 2007 ac_cv_prog_ac_ct_CC="gcc" 2008 echo "$as_me:2008: found $ac_dir/$ac_word" >&5 2009 break 3436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3437 for as_dir in $PATH 3438 do 3439 IFS=$as_save_IFS 3440 test -z "$as_dir" && as_dir=. 3441 for ac_exec_ext in '' $ac_executable_extensions; do 3442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3443 ac_cv_prog_ac_ct_CC="gcc" 3444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3445 break 2 3446 fi 2010 3447 done 3448 done 3449 IFS=$as_save_IFS 2011 3450 2012 3451 fi … … 2014 3453 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2015 3454 if test -n "$ac_ct_CC"; then 2016 echo "$as_me:2016: result: $ac_ct_CC" >&5 2017 echo "${ECHO_T}$ac_ct_CC" >&6 2018 else 2019 echo "$as_me:2019: result: no" >&5 2020 echo "${ECHO_T}no" >&6 2021 fi 2022 2023 CC=$ac_ct_CC 3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3456 $as_echo "$ac_ct_CC" >&6; } 3457 else 3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3459 $as_echo "no" >&6; } 3460 fi 3461 3462 if test "x$ac_ct_CC" = x; then 3463 CC="" 3464 else 3465 case $cross_compiling:$ac_tool_warned in 3466 yes:) 3467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3468 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3469 ac_tool_warned=yes ;; 3470 esac 3471 CC=$ac_ct_CC 3472 fi 2024 3473 else 2025 3474 CC="$ac_cv_prog_CC" … … 2027 3476 2028 3477 if test -z "$CC"; then 2029 if test -n "$ac_tool_prefix"; then2030 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.3478 if test -n "$ac_tool_prefix"; then 3479 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2031 3480 set dummy ${ac_tool_prefix}cc; ac_word=$2 2032 echo "$as_me:2032: checking for $ac_word" >&52033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2034 if test "${ac_cv_prog_CC+set}" = set; then2035 echo $ECHO_N "(cached) $ECHO_C" >&63481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3482 $as_echo_n "checking for $ac_word... " >&6; } 3483 if ${ac_cv_prog_CC+:} false; then : 3484 $as_echo_n "(cached) " >&6 2036 3485 else 2037 3486 if test -n "$CC"; then 2038 3487 ac_cv_prog_CC="$CC" # Let the user override the test. 2039 3488 else 2040 ac_save_IFS=$IFS; IFS=$ac_path_separator 2041 ac_dummy="$PATH" 2042 for ac_dir in $ac_dummy; do 2043 IFS=$ac_save_IFS 2044 test -z "$ac_dir" && ac_dir=. 2045 $as_executable_p "$ac_dir/$ac_word" || continue 2046 ac_cv_prog_CC="${ac_tool_prefix}cc" 2047 echo "$as_me:2047: found $ac_dir/$ac_word" >&5 2048 break 3489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3490 for as_dir in $PATH 3491 do 3492 IFS=$as_save_IFS 3493 test -z "$as_dir" && as_dir=. 3494 for ac_exec_ext in '' $ac_executable_extensions; do 3495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3496 ac_cv_prog_CC="${ac_tool_prefix}cc" 3497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3498 break 2 3499 fi 2049 3500 done 3501 done 3502 IFS=$as_save_IFS 2050 3503 2051 3504 fi … … 2053 3506 CC=$ac_cv_prog_CC 2054 3507 if test -n "$CC"; then 2055 echo "$as_me:2055: result: $CC" >&5 2056 echo "${ECHO_T}$CC" >&6 2057 else 2058 echo "$as_me:2058: result: no" >&5 2059 echo "${ECHO_T}no" >&6 2060 fi 2061 2062 fi 2063 if test -z "$ac_cv_prog_CC"; then 2064 ac_ct_CC=$CC 2065 # Extract the first word of "cc", so it can be a program name with args. 2066 set dummy cc; ac_word=$2 2067 echo "$as_me:2067: checking for $ac_word" >&5 2068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2069 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2070 echo $ECHO_N "(cached) $ECHO_C" >&6 2071 else 2072 if test -n "$ac_ct_CC"; then 2073 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2074 else 2075 ac_save_IFS=$IFS; IFS=$ac_path_separator 2076 ac_dummy="$PATH" 2077 for ac_dir in $ac_dummy; do 2078 IFS=$ac_save_IFS 2079 test -z "$ac_dir" && ac_dir=. 2080 $as_executable_p "$ac_dir/$ac_word" || continue 2081 ac_cv_prog_ac_ct_CC="cc" 2082 echo "$as_me:2082: found $ac_dir/$ac_word" >&5 2083 break 2084 done 2085 2086 fi 2087 fi 2088 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2089 if test -n "$ac_ct_CC"; then 2090 echo "$as_me:2090: result: $ac_ct_CC" >&5 2091 echo "${ECHO_T}$ac_ct_CC" >&6 2092 else 2093 echo "$as_me:2093: result: no" >&5 2094 echo "${ECHO_T}no" >&6 2095 fi 2096 2097 CC=$ac_ct_CC 2098 else 2099 CC="$ac_cv_prog_CC" 2100 fi 2101 3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3509 $as_echo "$CC" >&6; } 3510 else 3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3512 $as_echo "no" >&6; } 3513 fi 3514 3515 3516 fi 2102 3517 fi 2103 3518 if test -z "$CC"; then 2104 3519 # Extract the first word of "cc", so it can be a program name with args. 2105 3520 set dummy cc; ac_word=$2 2106 echo "$as_me:2106: checking for $ac_word" >&52107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2108 if test "${ac_cv_prog_CC+set}" = set; then2109 echo $ECHO_N "(cached) $ECHO_C" >&63521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3522 $as_echo_n "checking for $ac_word... " >&6; } 3523 if ${ac_cv_prog_CC+:} false; then : 3524 $as_echo_n "(cached) " >&6 2110 3525 else 2111 3526 if test -n "$CC"; then … … 2113 3528 else 2114 3529 ac_prog_rejected=no 2115 ac_save_IFS=$IFS; IFS=$ac_path_separator 2116 ac_dummy="$PATH" 2117 for ac_dir in $ac_dummy; do 2118 IFS=$ac_save_IFS 2119 test -z "$ac_dir" && ac_dir=. 2120 $as_executable_p "$ac_dir/$ac_word" || continue 2121 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 2122 ac_prog_rejected=yes 2123 continue 2124 fi 2125 ac_cv_prog_CC="cc" 2126 echo "$as_me:2126: found $ac_dir/$ac_word" >&5 2127 break 3530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3531 for as_dir in $PATH 3532 do 3533 IFS=$as_save_IFS 3534 test -z "$as_dir" && as_dir=. 3535 for ac_exec_ext in '' $ac_executable_extensions; do 3536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3537 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3538 ac_prog_rejected=yes 3539 continue 3540 fi 3541 ac_cv_prog_CC="cc" 3542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3543 break 2 3544 fi 2128 3545 done 3546 done 3547 IFS=$as_save_IFS 2129 3548 2130 3549 if test $ac_prog_rejected = yes; then … … 2137 3556 # first if we set CC to just the basename; use the full file name. 2138 3557 shift 2139 set dummy "$ac_dir/$ac_word" ${1+"$@"} 2140 shift 2141 ac_cv_prog_CC="$@" 3558 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2142 3559 fi 2143 3560 fi … … 2146 3563 CC=$ac_cv_prog_CC 2147 3564 if test -n "$CC"; then 2148 echo "$as_me:2148: result: $CC" >&5 2149 echo "${ECHO_T}$CC" >&6 2150 else 2151 echo "$as_me:2151: result: no" >&5 2152 echo "${ECHO_T}no" >&6 2153 fi 3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3566 $as_echo "$CC" >&6; } 3567 else 3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3569 $as_echo "no" >&6; } 3570 fi 3571 2154 3572 2155 3573 fi 2156 3574 if test -z "$CC"; then 2157 3575 if test -n "$ac_tool_prefix"; then 2158 for ac_prog in cl 3576 for ac_prog in cl.exe 2159 3577 do 2160 3578 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2161 3579 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2162 echo "$as_me:2162: checking for $ac_word" >&52163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2164 if test "${ac_cv_prog_CC+set}" = set; then2165 echo $ECHO_N "(cached) $ECHO_C" >&63580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3581 $as_echo_n "checking for $ac_word... " >&6; } 3582 if ${ac_cv_prog_CC+:} false; then : 3583 $as_echo_n "(cached) " >&6 2166 3584 else 2167 3585 if test -n "$CC"; then 2168 3586 ac_cv_prog_CC="$CC" # Let the user override the test. 2169 3587 else 2170 ac_save_IFS=$IFS; IFS=$ac_path_separator 2171 ac_dummy="$PATH" 2172 for ac_dir in $ac_dummy; do 2173 IFS=$ac_save_IFS 2174 test -z "$ac_dir" && ac_dir=. 2175 $as_executable_p "$ac_dir/$ac_word" || continue 2176 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2177 echo "$as_me:2177: found $ac_dir/$ac_word" >&5 2178 break 3588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3589 for as_dir in $PATH 3590 do 3591 IFS=$as_save_IFS 3592 test -z "$as_dir" && as_dir=. 3593 for ac_exec_ext in '' $ac_executable_extensions; do 3594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3595 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3597 break 2 3598 fi 2179 3599 done 3600 done 3601 IFS=$as_save_IFS 2180 3602 2181 3603 fi … … 2183 3605 CC=$ac_cv_prog_CC 2184 3606 if test -n "$CC"; then 2185 echo "$as_me:2185: result: $CC" >&5 2186 echo "${ECHO_T}$CC" >&6 2187 else 2188 echo "$as_me:2188: result: no" >&5 2189 echo "${ECHO_T}no" >&6 2190 fi 3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3608 $as_echo "$CC" >&6; } 3609 else 3610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3611 $as_echo "no" >&6; } 3612 fi 3613 2191 3614 2192 3615 test -n "$CC" && break … … 2195 3618 if test -z "$CC"; then 2196 3619 ac_ct_CC=$CC 2197 for ac_prog in cl 3620 for ac_prog in cl.exe 2198 3621 do 2199 3622 # Extract the first word of "$ac_prog", so it can be a program name with args. 2200 3623 set dummy $ac_prog; ac_word=$2 2201 echo "$as_me:2201: checking for $ac_word" >&52202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2203 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2204 echo $ECHO_N "(cached) $ECHO_C" >&63624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3625 $as_echo_n "checking for $ac_word... " >&6; } 3626 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3627 $as_echo_n "(cached) " >&6 2205 3628 else 2206 3629 if test -n "$ac_ct_CC"; then 2207 3630 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2208 3631 else 2209 ac_save_IFS=$IFS; IFS=$ac_path_separator 2210 ac_dummy="$PATH" 2211 for ac_dir in $ac_dummy; do 2212 IFS=$ac_save_IFS 2213 test -z "$ac_dir" && ac_dir=. 2214 $as_executable_p "$ac_dir/$ac_word" || continue 2215 ac_cv_prog_ac_ct_CC="$ac_prog" 2216 echo "$as_me:2216: found $ac_dir/$ac_word" >&5 2217 break 3632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3633 for as_dir in $PATH 3634 do 3635 IFS=$as_save_IFS 3636 test -z "$as_dir" && as_dir=. 3637 for ac_exec_ext in '' $ac_executable_extensions; do 3638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3639 ac_cv_prog_ac_ct_CC="$ac_prog" 3640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3641 break 2 3642 fi 2218 3643 done 3644 done 3645 IFS=$as_save_IFS 2219 3646 2220 3647 fi … … 2222 3649 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2223 3650 if test -n "$ac_ct_CC"; then 2224 echo "$as_me:2224: result: $ac_ct_CC" >&5 2225 echo "${ECHO_T}$ac_ct_CC" >&6 2226 else 2227 echo "$as_me:2227: result: no" >&5 2228 echo "${ECHO_T}no" >&6 2229 fi 3651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3652 $as_echo "$ac_ct_CC" >&6; } 3653 else 3654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3655 $as_echo "no" >&6; } 3656 fi 3657 2230 3658 2231 3659 test -n "$ac_ct_CC" && break 2232 3660 done 2233 3661 2234 CC=$ac_ct_CC 2235 fi 2236 2237 fi 2238 2239 test -z "$CC" && { { echo "$as_me:2239: error: no acceptable cc found in \$PATH" >&5 2240 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} 2241 { (exit 1); exit 1; }; } 3662 if test "x$ac_ct_CC" = x; then 3663 CC="" 3664 else 3665 case $cross_compiling:$ac_tool_warned in 3666 yes:) 3667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3668 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3669 ac_tool_warned=yes ;; 3670 esac 3671 CC=$ac_ct_CC 3672 fi 3673 fi 3674 3675 fi 3676 3677 3678 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3679 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3680 as_fn_error $? "no acceptable C compiler found in \$PATH 3681 See \`config.log' for more details" "$LINENO" 5; } 2242 3682 2243 3683 # Provide some information about the compiler. 2244 echo "$as_me:2244:" \ 2245 "checking for C compiler version" >&5 2246 ac_compiler=`set X $ac_compile; echo $2` 2247 { (eval echo "$as_me:2247: \"$ac_compiler --version </dev/null >&5\"") >&5 2248 (eval $ac_compiler --version </dev/null >&5) 2>&5 3684 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3685 set X $ac_compile 3686 ac_compiler=$2 3687 for ac_option in --version -v -V -qversion; do 3688 { { ac_try="$ac_compiler $ac_option >&5" 3689 case "(($ac_try" in 3690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3691 *) ac_try_echo=$ac_try;; 3692 esac 3693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3694 $as_echo "$ac_try_echo"; } >&5 3695 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2249 3696 ac_status=$? 2250 echo "$as_me:2250: \$? = $ac_status" >&5 2251 (exit $ac_status); } 2252 { (eval echo "$as_me:2252: \"$ac_compiler -v </dev/null >&5\"") >&5 2253 (eval $ac_compiler -v </dev/null >&5) 2>&5 2254 ac_status=$? 2255 echo "$as_me:2255: \$? = $ac_status" >&5 2256 (exit $ac_status); } 2257 { (eval echo "$as_me:2257: \"$ac_compiler -V </dev/null >&5\"") >&5 2258 (eval $ac_compiler -V </dev/null >&5) 2>&5 2259 ac_status=$? 2260 echo "$as_me:2260: \$? = $ac_status" >&5 2261 (exit $ac_status); } 2262 2263 echo "$as_me:2263: checking whether we are using the GNU C compiler" >&5 2264 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2265 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2266 echo $ECHO_N "(cached) $ECHO_C" >&6 2267 else 2268 cat >conftest.$ac_ext <<_ACEOF 2269 #line 2269 "configure" 2270 #include "confdefs.h" 3697 if test -s conftest.err; then 3698 sed '10a\ 3699 ... rest of stderr output deleted ... 3700 10q' conftest.err >conftest.er1 3701 cat conftest.er1 >&5 3702 fi 3703 rm -f conftest.er1 conftest.err 3704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3705 test $ac_status = 0; } 3706 done 3707 3708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3709 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3710 if ${ac_cv_c_compiler_gnu+:} false; then : 3711 $as_echo_n "(cached) " >&6 3712 else 3713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3714 /* end confdefs.h. */ 2271 3715 2272 3716 int … … 2281 3725 } 2282 3726 _ACEOF 2283 rm -f conftest.$ac_objext 2284 if { (eval echo "$as_me:2284: \"$ac_compile\"") >&5 2285 (eval $ac_compile) 2>&5 2286 ac_status=$? 2287 echo "$as_me:2287: \$? = $ac_status" >&5 2288 (exit $ac_status); } && 2289 { ac_try='test -s conftest.$ac_objext' 2290 { (eval echo "$as_me:2290: \"$ac_try\"") >&5 2291 (eval $ac_try) 2>&5 2292 ac_status=$? 2293 echo "$as_me:2293: \$? = $ac_status" >&5 2294 (exit $ac_status); }; }; then 3727 if ac_fn_c_try_compile "$LINENO"; then : 2295 3728 ac_compiler_gnu=yes 2296 3729 else 2297 echo "$as_me: failed program was:" >&5 2298 cat conftest.$ac_ext >&5 2299 ac_compiler_gnu=no 2300 fi 2301 rm -f conftest.$ac_objext conftest.$ac_ext 3730 ac_compiler_gnu=no 3731 fi 3732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2302 3733 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2303 3734 2304 3735 fi 2305 echo "$as_me:2305: result: $ac_cv_c_compiler_gnu" >&5 2306 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2307 GCC=`test $ac_compiler_gnu = yes && echo yes` 3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3737 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3738 if test $ac_compiler_gnu = yes; then 3739 GCC=yes 3740 else 3741 GCC= 3742 fi 2308 3743 ac_test_CFLAGS=${CFLAGS+set} 2309 3744 ac_save_CFLAGS=$CFLAGS 2310 CFLAGS="-g" 2311 echo "$as_me:2311: checking whether $CC accepts -g" >&5 2312 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2313 if test "${ac_cv_prog_cc_g+set}" = set; then 2314 echo $ECHO_N "(cached) $ECHO_C" >&6 2315 else 2316 cat >conftest.$ac_ext <<_ACEOF 2317 #line 2317 "configure" 2318 #include "confdefs.h" 3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3746 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3747 if ${ac_cv_prog_cc_g+:} false; then : 3748 $as_echo_n "(cached) " >&6 3749 else 3750 ac_save_c_werror_flag=$ac_c_werror_flag 3751 ac_c_werror_flag=yes 3752 ac_cv_prog_cc_g=no 3753 CFLAGS="-g" 3754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3755 /* end confdefs.h. */ 2319 3756 2320 3757 int … … 2326 3763 } 2327 3764 _ACEOF 2328 rm -f conftest.$ac_objext 2329 if { (eval echo "$as_me:2329: \"$ac_compile\"") >&5 2330 (eval $ac_compile) 2>&5 2331 ac_status=$? 2332 echo "$as_me:2332: \$? = $ac_status" >&5 2333 (exit $ac_status); } && 2334 { ac_try='test -s conftest.$ac_objext' 2335 { (eval echo "$as_me:2335: \"$ac_try\"") >&5 2336 (eval $ac_try) 2>&5 2337 ac_status=$? 2338 echo "$as_me:2338: \$? = $ac_status" >&5 2339 (exit $ac_status); }; }; then 3765 if ac_fn_c_try_compile "$LINENO"; then : 2340 3766 ac_cv_prog_cc_g=yes 2341 3767 else 2342 echo "$as_me: failed program was:" >&5 2343 cat conftest.$ac_ext >&5 2344 ac_cv_prog_cc_g=no 2345 fi 2346 rm -f conftest.$ac_objext conftest.$ac_ext 2347 fi 2348 echo "$as_me:2348: result: $ac_cv_prog_cc_g" >&5 2349 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 3768 CFLAGS="" 3769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3770 /* end confdefs.h. */ 3771 3772 int 3773 main () 3774 { 3775 3776 ; 3777 return 0; 3778 } 3779 _ACEOF 3780 if ac_fn_c_try_compile "$LINENO"; then : 3781 3782 else 3783 ac_c_werror_flag=$ac_save_c_werror_flag 3784 CFLAGS="-g" 3785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3786 /* end confdefs.h. */ 3787 3788 int 3789 main () 3790 { 3791 3792 ; 3793 return 0; 3794 } 3795 _ACEOF 3796 if ac_fn_c_try_compile "$LINENO"; then : 3797 ac_cv_prog_cc_g=yes 3798 fi 3799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3800 fi 3801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3802 fi 3803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3804 ac_c_werror_flag=$ac_save_c_werror_flag 3805 fi 3806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3807 $as_echo "$ac_cv_prog_cc_g" >&6; } 2350 3808 if test "$ac_test_CFLAGS" = set; then 2351 3809 CFLAGS=$ac_save_CFLAGS … … 2363 3821 fi 2364 3822 fi 2365 # Some people use a C++ compiler to compile C. Since we use `exit', 2366 # in C++ we need to declare it. In case someone uses the same compiler 2367 # for both compiling C and C++ we need to have the C++ compiler decide 2368 # the declaration of exit, since it's the most demanding environment. 2369 cat >conftest.$ac_ext <<_ACEOF 2370 #ifndef __cplusplus 2371 choke me 2372 #endif 2373 _ACEOF 2374 rm -f conftest.$ac_objext 2375 if { (eval echo "$as_me:2375: \"$ac_compile\"") >&5 2376 (eval $ac_compile) 2>&5 2377 ac_status=$? 2378 echo "$as_me:2378: \$? = $ac_status" >&5 2379 (exit $ac_status); } && 2380 { ac_try='test -s conftest.$ac_objext' 2381 { (eval echo "$as_me:2381: \"$ac_try\"") >&5 2382 (eval $ac_try) 2>&5 2383 ac_status=$? 2384 echo "$as_me:2384: \$? = $ac_status" >&5 2385 (exit $ac_status); }; }; then 2386 for ac_declaration in \ 2387 ''\ 2388 '#include <stdlib.h>' \ 2389 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2390 'extern "C" void std::exit (int); using std::exit;' \ 2391 'extern "C" void exit (int) throw ();' \ 2392 'extern "C" void exit (int);' \ 2393 'void exit (int);' 2394 do 2395 cat >conftest.$ac_ext <<_ACEOF 2396 #line 2396 "configure" 2397 #include "confdefs.h" 2398 #include <stdlib.h> 2399 $ac_declaration 2400 int 2401 main () 2402 { 2403 exit (42); 2404 ; 2405 return 0; 2406 } 2407 _ACEOF 2408 rm -f conftest.$ac_objext 2409 if { (eval echo "$as_me:2409: \"$ac_compile\"") >&5 2410 (eval $ac_compile) 2>&5 2411 ac_status=$? 2412 echo "$as_me:2412: \$? = $ac_status" >&5 2413 (exit $ac_status); } && 2414 { ac_try='test -s conftest.$ac_objext' 2415 { (eval echo "$as_me:2415: \"$ac_try\"") >&5 2416 (eval $ac_try) 2>&5 2417 ac_status=$? 2418 echo "$as_me:2418: \$? = $ac_status" >&5 2419 (exit $ac_status); }; }; then 2420 : 2421 else 2422 echo "$as_me: failed program was:" >&5 2423 cat conftest.$ac_ext >&5 2424 continue 2425 fi 2426 rm -f conftest.$ac_objext conftest.$ac_ext 2427 cat >conftest.$ac_ext <<_ACEOF 2428 #line 2428 "configure" 2429 #include "confdefs.h" 2430 $ac_declaration 2431 int 2432 main () 2433 { 2434 exit (42); 2435 ; 2436 return 0; 2437 } 2438 _ACEOF 2439 rm -f conftest.$ac_objext 2440 if { (eval echo "$as_me:2440: \"$ac_compile\"") >&5 2441 (eval $ac_compile) 2>&5 2442 ac_status=$? 2443 echo "$as_me:2443: \$? = $ac_status" >&5 2444 (exit $ac_status); } && 2445 { ac_try='test -s conftest.$ac_objext' 2446 { (eval echo "$as_me:2446: \"$ac_try\"") >&5 2447 (eval $ac_try) 2>&5 2448 ac_status=$? 2449 echo "$as_me:2449: \$? = $ac_status" >&5 2450 (exit $ac_status); }; }; then 2451 break 2452 else 2453 echo "$as_me: failed program was:" >&5 2454 cat conftest.$ac_ext >&5 2455 fi 2456 rm -f conftest.$ac_objext conftest.$ac_ext 2457 done 2458 rm -f conftest* 2459 if test -n "$ac_declaration"; then 2460 echo '#ifdef __cplusplus' >>confdefs.h 2461 echo $ac_declaration >>confdefs.h 2462 echo '#endif' >>confdefs.h 2463 fi 2464 2465 else 2466 echo "$as_me: failed program was:" >&5 2467 cat conftest.$ac_ext >&5 2468 fi 2469 rm -f conftest.$ac_objext conftest.$ac_ext 2470 ac_ext=c 2471 ac_cpp='$CPP $CPPFLAGS' 2472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2474 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2475 2476 depcc="$CC" am_compiler_list= 2477 2478 echo "$as_me:2478: checking dependency style of $depcc" >&5 2479 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 2480 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 2481 echo $ECHO_N "(cached) $ECHO_C" >&6 2482 else 2483 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 2484 # We make a subdir and do the tests there. Otherwise we can end up 2485 # making bogus files that we don't know about and never remove. For 2486 # instance it was reported that on HP-UX the gcc test will end up 2487 # making a dummy file named `D' -- because `-MD' means `put the output 2488 # in D'. 2489 mkdir conftest.dir 2490 # Copy depcomp to subdir because otherwise we won't find it if we're 2491 # using a relative directory. 2492 cp "$am_depcomp" conftest.dir 2493 cd conftest.dir 2494 2495 am_cv_CC_dependencies_compiler_type=none 2496 if test "$am_compiler_list" = ""; then 2497 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 2498 fi 2499 for depmode in $am_compiler_list; do 2500 # We need to recreate these files for each test, as the compiler may 2501 # overwrite some of them when testing with obscure command lines. 2502 # This happens at least with the AIX C compiler. 2503 echo '#include "conftest.h"' > conftest.c 2504 echo 'int i;' > conftest.h 2505 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf 2506 2507 case $depmode in 2508 nosideeffect) 2509 # after this tag, mechanisms are not by side-effect, so they'll 2510 # only be used when explicitly requested 2511 if test "x$enable_dependency_tracking" = xyes; then 2512 continue 2513 else 2514 break 2515 fi 2516 ;; 2517 none) break ;; 2518 esac 2519 # We check with `-c' and `-o' for the sake of the "dashmstdout" 2520 # mode. It turns out that the SunPro C++ compiler does not properly 2521 # handle `-M -o', and we need to detect this. 2522 if depmode=$depmode \ 2523 source=conftest.c object=conftest.o \ 2524 depfile=conftest.Po tmpdepfile=conftest.TPo \ 2525 $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && 2526 grep conftest.h conftest.Po > /dev/null 2>&1 && 2527 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 2528 am_cv_CC_dependencies_compiler_type=$depmode 2529 break 2530 fi 2531 done 2532 2533 cd .. 2534 rm -rf conftest.dir 2535 else 2536 am_cv_CC_dependencies_compiler_type=none 2537 fi 2538 2539 fi 2540 echo "$as_me:2540: result: $am_cv_CC_dependencies_compiler_type" >&5 2541 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 2542 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 2543 2544 # ??? 2545 2546 for ac_prog in flex lex 2547 do 2548 # Extract the first word of "$ac_prog", so it can be a program name with args. 2549 set dummy $ac_prog; ac_word=$2 2550 echo "$as_me:2550: checking for $ac_word" >&5 2551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2552 if test "${ac_cv_prog_LEX+set}" = set; then 2553 echo $ECHO_N "(cached) $ECHO_C" >&6 2554 else 2555 if test -n "$LEX"; then 2556 ac_cv_prog_LEX="$LEX" # Let the user override the test. 2557 else 2558 ac_save_IFS=$IFS; IFS=$ac_path_separator 2559 ac_dummy="$PATH" 2560 for ac_dir in $ac_dummy; do 2561 IFS=$ac_save_IFS 2562 test -z "$ac_dir" && ac_dir=. 2563 $as_executable_p "$ac_dir/$ac_word" || continue 2564 ac_cv_prog_LEX="$ac_prog" 2565 echo "$as_me:2565: found $ac_dir/$ac_word" >&5 2566 break 2567 done 2568 2569 fi 2570 fi 2571 LEX=$ac_cv_prog_LEX 2572 if test -n "$LEX"; then 2573 echo "$as_me:2573: result: $LEX" >&5 2574 echo "${ECHO_T}$LEX" >&6 2575 else 2576 echo "$as_me:2576: result: no" >&5 2577 echo "${ECHO_T}no" >&6 2578 fi 2579 2580 test -n "$LEX" && break 2581 done 2582 test -n "$LEX" || LEX=":" 2583 2584 if test -z "$LEXLIB" 2585 then 2586 echo "$as_me:2586: checking for yywrap in -lfl" >&5 2587 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6 2588 if test "${ac_cv_lib_fl_yywrap+set}" = set; then 2589 echo $ECHO_N "(cached) $ECHO_C" >&6 2590 else 2591 ac_check_lib_save_LIBS=$LIBS 2592 LIBS="-lfl $LIBS" 2593 cat >conftest.$ac_ext <<_ACEOF 2594 #line 2594 "configure" 2595 #include "confdefs.h" 2596 2597 /* Override any gcc2 internal prototype to avoid an error. */ 2598 #ifdef __cplusplus 2599 extern "C" 2600 #endif 2601 /* We use char because int might match the return type of a gcc2 2602 builtin and then its argument prototype would still apply. */ 2603 char yywrap (); 2604 int 2605 main () 2606 { 2607 yywrap (); 2608 ; 2609 return 0; 2610 } 2611 _ACEOF 2612 rm -f conftest.$ac_objext conftest$ac_exeext 2613 if { (eval echo "$as_me:2613: \"$ac_link\"") >&5 2614 (eval $ac_link) 2>&5 2615 ac_status=$? 2616 echo "$as_me:2616: \$? = $ac_status" >&5 2617 (exit $ac_status); } && 2618 { ac_try='test -s conftest$ac_exeext' 2619 { (eval echo "$as_me:2619: \"$ac_try\"") >&5 2620 (eval $ac_try) 2>&5 2621 ac_status=$? 2622 echo "$as_me:2622: \$? = $ac_status" >&5 2623 (exit $ac_status); }; }; then 2624 ac_cv_lib_fl_yywrap=yes 2625 else 2626 echo "$as_me: failed program was:" >&5 2627 cat conftest.$ac_ext >&5 2628 ac_cv_lib_fl_yywrap=no 2629 fi 2630 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2631 LIBS=$ac_check_lib_save_LIBS 2632 fi 2633 echo "$as_me:2633: result: $ac_cv_lib_fl_yywrap" >&5 2634 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6 2635 if test $ac_cv_lib_fl_yywrap = yes; then 2636 LEXLIB="-lfl" 2637 else 2638 echo "$as_me:2638: checking for yywrap in -ll" >&5 2639 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6 2640 if test "${ac_cv_lib_l_yywrap+set}" = set; then 2641 echo $ECHO_N "(cached) $ECHO_C" >&6 2642 else 2643 ac_check_lib_save_LIBS=$LIBS 2644 LIBS="-ll $LIBS" 2645 cat >conftest.$ac_ext <<_ACEOF 2646 #line 2646 "configure" 2647 #include "confdefs.h" 2648 2649 /* Override any gcc2 internal prototype to avoid an error. */ 2650 #ifdef __cplusplus 2651 extern "C" 2652 #endif 2653 /* We use char because int might match the return type of a gcc2 2654 builtin and then its argument prototype would still apply. */ 2655 char yywrap (); 2656 int 2657 main () 2658 { 2659 yywrap (); 2660 ; 2661 return 0; 2662 } 2663 _ACEOF 2664 rm -f conftest.$ac_objext conftest$ac_exeext 2665 if { (eval echo "$as_me:2665: \"$ac_link\"") >&5 2666 (eval $ac_link) 2>&5 2667 ac_status=$? 2668 echo "$as_me:2668: \$? = $ac_status" >&5 2669 (exit $ac_status); } && 2670 { ac_try='test -s conftest$ac_exeext' 2671 { (eval echo "$as_me:2671: \"$ac_try\"") >&5 2672 (eval $ac_try) 2>&5 2673 ac_status=$? 2674 echo "$as_me:2674: \$? = $ac_status" >&5 2675 (exit $ac_status); }; }; then 2676 ac_cv_lib_l_yywrap=yes 2677 else 2678 echo "$as_me: failed program was:" >&5 2679 cat conftest.$ac_ext >&5 2680 ac_cv_lib_l_yywrap=no 2681 fi 2682 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2683 LIBS=$ac_check_lib_save_LIBS 2684 fi 2685 echo "$as_me:2685: result: $ac_cv_lib_l_yywrap" >&5 2686 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6 2687 if test $ac_cv_lib_l_yywrap = yes; then 2688 LEXLIB="-ll" 2689 fi 2690 2691 fi 2692 2693 fi 2694 2695 if test "x$LEX" != "x:"; then 2696 echo "$as_me:2696: checking lex output file root" >&5 2697 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6 2698 if test "${ac_cv_prog_lex_root+set}" = set; then 2699 echo $ECHO_N "(cached) $ECHO_C" >&6 2700 else 2701 # The minimal lex program is just a single line: %%. But some broken lexes 2702 # (Solaris, I think it was) want two %% lines, so accommodate them. 2703 echo '%% 2704 %%' | $LEX 2705 if test -f lex.yy.c; then 2706 ac_cv_prog_lex_root=lex.yy 2707 elif test -f lexyy.c; then 2708 ac_cv_prog_lex_root=lexyy 2709 else 2710 { { echo "$as_me:2710: error: cannot find output from $LEX; giving up" >&5 2711 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;} 2712 { (exit 1); exit 1; }; } 2713 fi 2714 fi 2715 echo "$as_me:2715: result: $ac_cv_prog_lex_root" >&5 2716 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6 2717 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root 2718 2719 echo "$as_me:2719: checking whether yytext is a pointer" >&5 2720 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6 2721 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then 2722 echo $ECHO_N "(cached) $ECHO_C" >&6 2723 else 2724 # POSIX says lex can declare yytext either as a pointer or an array; the 2725 # default is implementation-dependent. Figure out which it is, since 2726 # not all implementations provide the %pointer and %array declarations. 2727 ac_cv_prog_lex_yytext_pointer=no 2728 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c 2729 ac_save_LIBS=$LIBS 2730 LIBS="$LIBS $LEXLIB" 2731 cat >conftest.$ac_ext <<_ACEOF 2732 `cat $LEX_OUTPUT_ROOT.c` 2733 _ACEOF 2734 rm -f conftest.$ac_objext conftest$ac_exeext 2735 if { (eval echo "$as_me:2735: \"$ac_link\"") >&5 2736 (eval $ac_link) 2>&5 2737 ac_status=$? 2738 echo "$as_me:2738: \$? = $ac_status" >&5 2739 (exit $ac_status); } && 2740 { ac_try='test -s conftest$ac_exeext' 2741 { (eval echo "$as_me:2741: \"$ac_try\"") >&5 2742 (eval $ac_try) 2>&5 2743 ac_status=$? 2744 echo "$as_me:2744: \$? = $ac_status" >&5 2745 (exit $ac_status); }; }; then 2746 ac_cv_prog_lex_yytext_pointer=yes 2747 else 2748 echo "$as_me: failed program was:" >&5 2749 cat conftest.$ac_ext >&5 2750 fi 2751 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2752 LIBS=$ac_save_LIBS 2753 rm -f "${LEX_OUTPUT_ROOT}.c" 2754 2755 fi 2756 echo "$as_me:2756: result: $ac_cv_prog_lex_yytext_pointer" >&5 2757 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6 2758 if test $ac_cv_prog_lex_yytext_pointer = yes; then 2759 2760 cat >>confdefs.h <<\EOF 2761 #define YYTEXT_POINTER 1 2762 EOF 2763 2764 fi 2765 2766 fi 2767 if test "$LEX" = :; then 2768 LEX=${am_missing_run}flex 2769 fi 2770 echo "$as_me:2770: checking whether ${MAKE-make} sets \${MAKE}" >&5 2771 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 2772 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 2773 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 2774 echo $ECHO_N "(cached) $ECHO_C" >&6 2775 else 2776 cat >conftest.make <<\EOF 2777 all: 2778 @echo 'ac_maketemp="${MAKE}"' 2779 EOF 2780 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2781 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 2782 if test -n "$ac_maketemp"; then 2783 eval ac_cv_prog_make_${ac_make}_set=yes 2784 else 2785 eval ac_cv_prog_make_${ac_make}_set=no 2786 fi 2787 rm -f conftest.make 2788 fi 2789 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 2790 echo "$as_me:2790: result: yes" >&5 2791 echo "${ECHO_T}yes" >&6 2792 SET_MAKE= 2793 else 2794 echo "$as_me:2794: result: no" >&5 2795 echo "${ECHO_T}no" >&6 2796 SET_MAKE="MAKE=${MAKE-make}" 2797 fi 2798 2799 # Find a good install program. We prefer a C program (faster), 2800 # so one script is as good as another. But avoid the broken or 2801 # incompatible versions: 2802 # SysV /etc/install, /usr/sbin/install 2803 # SunOS /usr/etc/install 2804 # IRIX /sbin/install 2805 # AIX /bin/install 2806 # AmigaOS /C/install, which installs bootblocks on floppy discs 2807 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2808 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 2809 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2810 # ./install, which can be erroneously created by make from ./install.sh. 2811 echo "$as_me:2811: checking for a BSD compatible install" >&5 2812 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 2813 if test -z "$INSTALL"; then 2814 if test "${ac_cv_path_install+set}" = set; then 2815 echo $ECHO_N "(cached) $ECHO_C" >&6 2816 else 2817 ac_save_IFS=$IFS; IFS=$ac_path_separator 2818 for ac_dir in $PATH; do 2819 IFS=$ac_save_IFS 2820 # Account for people who put trailing slashes in PATH elements. 2821 case $ac_dir/ in 2822 / | ./ | .// | /cC/* \ 2823 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \ 2824 | /usr/ucb/* ) ;; 2825 *) 2826 # OSF1 and SCO ODT 3.0 have their own names for install. 2827 # Don't use installbsd from OSF since it installs stuff as root 2828 # by default. 2829 for ac_prog in ginstall scoinst install; do 2830 if $as_executable_p "$ac_dir/$ac_prog"; then 2831 if test $ac_prog = install && 2832 grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then 2833 # AIX install. It has an incompatible calling convention. 2834 : 2835 elif test $ac_prog = install && 2836 grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then 2837 # program-specific install script used by HP pwplus--don't use. 2838 : 2839 else 2840 ac_cv_path_install="$ac_dir/$ac_prog -c" 2841 break 2 2842 fi 2843 fi 2844 done 2845 ;; 2846 esac 2847 done 2848 2849 fi 2850 if test "${ac_cv_path_install+set}" = set; then 2851 INSTALL=$ac_cv_path_install 2852 else 2853 # As a last resort, use the slow shell script. We don't cache a 2854 # path for INSTALL within a source directory, because that will 2855 # break other packages using the cache if that directory is 2856 # removed, or if the path is relative. 2857 INSTALL=$ac_install_sh 2858 fi 2859 fi 2860 echo "$as_me:2860: result: $INSTALL" >&5 2861 echo "${ECHO_T}$INSTALL" >&6 2862 2863 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2864 # It thinks the first close brace ends the variable substitution. 2865 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2866 2867 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2868 2869 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2870 2871 ac_ext=c 2872 ac_cpp='$CPP $CPPFLAGS' 2873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2875 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2876 echo "$as_me:2876: checking how to run the C preprocessor" >&5 2877 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 2878 # On Suns, sometimes $CPP names a directory. 2879 if test -n "$CPP" && test -d "$CPP"; then 2880 CPP= 2881 fi 2882 if test -z "$CPP"; then 2883 if test "${ac_cv_prog_CPP+set}" = set; then 2884 echo $ECHO_N "(cached) $ECHO_C" >&6 2885 else 2886 # Double quotes because CPP needs to be expanded 2887 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 2888 do 2889 ac_preproc_ok=false 2890 for ac_c_preproc_warn_flag in '' yes 2891 do 2892 # Use a header file that comes with gcc, so configuring glibc 2893 # with a fresh cross-compiler works. 2894 # On the NeXT, cc -E runs the code through the compiler's parser, 2895 # not just through cpp. "Syntax error" is here to catch this case. 2896 cat >conftest.$ac_ext <<_ACEOF 2897 #line 2897 "configure" 2898 #include "confdefs.h" 2899 #include <assert.h> 2900 Syntax error 2901 _ACEOF 2902 if { (eval echo "$as_me:2902: \"$ac_cpp conftest.$ac_ext\"") >&5 2903 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2904 ac_status=$? 2905 egrep -v '^ *\+' conftest.er1 >conftest.err 2906 rm -f conftest.er1 2907 cat conftest.err >&5 2908 echo "$as_me:2908: \$? = $ac_status" >&5 2909 (exit $ac_status); } >/dev/null; then 2910 if test -s conftest.err; then 2911 ac_cpp_err=$ac_c_preproc_warn_flag 2912 else 2913 ac_cpp_err= 2914 fi 2915 else 2916 ac_cpp_err=yes 2917 fi 2918 if test -z "$ac_cpp_err"; then 2919 : 2920 else 2921 echo "$as_me: failed program was:" >&5 2922 cat conftest.$ac_ext >&5 2923 # Broken: fails on valid input. 2924 continue 2925 fi 2926 rm -f conftest.err conftest.$ac_ext 2927 2928 # OK, works on sane cases. Now check whether non-existent headers 2929 # can be detected and how. 2930 cat >conftest.$ac_ext <<_ACEOF 2931 #line 2931 "configure" 2932 #include "confdefs.h" 2933 #include <ac_nonexistent.h> 2934 _ACEOF 2935 if { (eval echo "$as_me:2935: \"$ac_cpp conftest.$ac_ext\"") >&5 2936 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2937 ac_status=$? 2938 egrep -v '^ *\+' conftest.er1 >conftest.err 2939 rm -f conftest.er1 2940 cat conftest.err >&5 2941 echo "$as_me:2941: \$? = $ac_status" >&5 2942 (exit $ac_status); } >/dev/null; then 2943 if test -s conftest.err; then 2944 ac_cpp_err=$ac_c_preproc_warn_flag 2945 else 2946 ac_cpp_err= 2947 fi 2948 else 2949 ac_cpp_err=yes 2950 fi 2951 if test -z "$ac_cpp_err"; then 2952 # Broken: success on invalid input. 2953 continue 2954 else 2955 echo "$as_me: failed program was:" >&5 2956 cat conftest.$ac_ext >&5 2957 # Passes both tests. 2958 ac_preproc_ok=: 2959 break 2960 fi 2961 rm -f conftest.err conftest.$ac_ext 2962 2963 done 2964 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2965 rm -f conftest.err conftest.$ac_ext 2966 if $ac_preproc_ok; then 2967 break 2968 fi 2969 2970 done 2971 ac_cv_prog_CPP=$CPP 2972 2973 fi 2974 CPP=$ac_cv_prog_CPP 2975 else 2976 ac_cv_prog_CPP=$CPP 2977 fi 2978 echo "$as_me:2978: result: $CPP" >&5 2979 echo "${ECHO_T}$CPP" >&6 2980 ac_preproc_ok=false 2981 for ac_c_preproc_warn_flag in '' yes 2982 do 2983 # Use a header file that comes with gcc, so configuring glibc 2984 # with a fresh cross-compiler works. 2985 # On the NeXT, cc -E runs the code through the compiler's parser, 2986 # not just through cpp. "Syntax error" is here to catch this case. 2987 cat >conftest.$ac_ext <<_ACEOF 2988 #line 2988 "configure" 2989 #include "confdefs.h" 2990 #include <assert.h> 2991 Syntax error 2992 _ACEOF 2993 if { (eval echo "$as_me:2993: \"$ac_cpp conftest.$ac_ext\"") >&5 2994 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2995 ac_status=$? 2996 egrep -v '^ *\+' conftest.er1 >conftest.err 2997 rm -f conftest.er1 2998 cat conftest.err >&5 2999 echo "$as_me:2999: \$? = $ac_status" >&5 3000 (exit $ac_status); } >/dev/null; then 3001 if test -s conftest.err; then 3002 ac_cpp_err=$ac_c_preproc_warn_flag 3003 else 3004 ac_cpp_err= 3005 fi 3006 else 3007 ac_cpp_err=yes 3008 fi 3009 if test -z "$ac_cpp_err"; then 3010 : 3011 else 3012 echo "$as_me: failed program was:" >&5 3013 cat conftest.$ac_ext >&5 3014 # Broken: fails on valid input. 3015 continue 3016 fi 3017 rm -f conftest.err conftest.$ac_ext 3018 3019 # OK, works on sane cases. Now check whether non-existent headers 3020 # can be detected and how. 3021 cat >conftest.$ac_ext <<_ACEOF 3022 #line 3022 "configure" 3023 #include "confdefs.h" 3024 #include <ac_nonexistent.h> 3025 _ACEOF 3026 if { (eval echo "$as_me:3026: \"$ac_cpp conftest.$ac_ext\"") >&5 3027 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3028 ac_status=$? 3029 egrep -v '^ *\+' conftest.er1 >conftest.err 3030 rm -f conftest.er1 3031 cat conftest.err >&5 3032 echo "$as_me:3032: \$? = $ac_status" >&5 3033 (exit $ac_status); } >/dev/null; then 3034 if test -s conftest.err; then 3035 ac_cpp_err=$ac_c_preproc_warn_flag 3036 else 3037 ac_cpp_err= 3038 fi 3039 else 3040 ac_cpp_err=yes 3041 fi 3042 if test -z "$ac_cpp_err"; then 3043 # Broken: success on invalid input. 3044 continue 3045 else 3046 echo "$as_me: failed program was:" >&5 3047 cat conftest.$ac_ext >&5 3048 # Passes both tests. 3049 ac_preproc_ok=: 3050 break 3051 fi 3052 rm -f conftest.err conftest.$ac_ext 3053 3054 done 3055 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3056 rm -f conftest.err conftest.$ac_ext 3057 if $ac_preproc_ok; then 3058 : 3059 else 3060 { { echo "$as_me:3060: error: C preprocessor \"$CPP\" fails sanity check" >&5 3061 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} 3062 { (exit 1); exit 1; }; } 3063 fi 3064 3065 ac_ext=c 3066 ac_cpp='$CPP $CPPFLAGS' 3067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3069 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3070 3071 for ac_header in malloc.h unistd.h 3072 do 3073 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3074 echo "$as_me:3074: checking for $ac_header" >&5 3075 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3076 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3077 echo $ECHO_N "(cached) $ECHO_C" >&6 3078 else 3079 cat >conftest.$ac_ext <<_ACEOF 3080 #line 3080 "configure" 3081 #include "confdefs.h" 3082 #include <$ac_header> 3083 _ACEOF 3084 if { (eval echo "$as_me:3084: \"$ac_cpp conftest.$ac_ext\"") >&5 3085 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3086 ac_status=$? 3087 egrep -v '^ *\+' conftest.er1 >conftest.err 3088 rm -f conftest.er1 3089 cat conftest.err >&5 3090 echo "$as_me:3090: \$? = $ac_status" >&5 3091 (exit $ac_status); } >/dev/null; then 3092 if test -s conftest.err; then 3093 ac_cpp_err=$ac_c_preproc_warn_flag 3094 else 3095 ac_cpp_err= 3096 fi 3097 else 3098 ac_cpp_err=yes 3099 fi 3100 if test -z "$ac_cpp_err"; then 3101 eval "$as_ac_Header=yes" 3102 else 3103 echo "$as_me: failed program was:" >&5 3104 cat conftest.$ac_ext >&5 3105 eval "$as_ac_Header=no" 3106 fi 3107 rm -f conftest.err conftest.$ac_ext 3108 fi 3109 echo "$as_me:3109: result: `eval echo '${'$as_ac_Header'}'`" >&5 3110 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3111 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3112 cat >>confdefs.h <<EOF 3113 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3114 EOF 3115 3116 fi 3117 done 3118 3119 echo "$as_me:3119: checking for $CC option to accept ANSI C" >&5 3120 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 3121 if test "${ac_cv_prog_cc_stdc+set}" = set; then 3122 echo $ECHO_N "(cached) $ECHO_C" >&6 3123 else 3124 ac_cv_prog_cc_stdc=no 3823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3824 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3825 if ${ac_cv_prog_cc_c89+:} false; then : 3826 $as_echo_n "(cached) " >&6 3827 else 3828 ac_cv_prog_cc_c89=no 3125 3829 ac_save_CC=$CC 3126 cat >conftest.$ac_ext <<_ACEOF 3127 #line 3127 "configure" 3128 #include "confdefs.h" 3830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3831 /* end confdefs.h. */ 3129 3832 #include <stdarg.h> 3130 3833 #include <stdio.h> … … 3149 3852 return s; 3150 3853 } 3854 3855 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3856 function prototypes and stuff, but not '\xHH' hex character constants. 3857 These don't provoke an error unfortunately, instead are silently treated 3858 as 'x'. The following induces an error, until -std is added to get 3859 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3860 array size at least. It's necessary to write '\x00'==0 to get something 3861 that's true only with -std. */ 3862 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3863 3864 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3865 inside strings and character constants. */ 3866 #define FOO(x) 'x' 3867 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3868 3151 3869 int test (int i, double x); 3152 3870 struct s1 {int (*f) (int a);}; … … 3163 3881 } 3164 3882 _ACEOF 3165 # Don't try gcc -ansi; that turns off useful extensions and 3166 # breaks some systems' header files. 3167 # AIX -qlanglvl=ansi 3168 # Ultrix and OSF/1 -std1 3169 # HP-UX 10.20 and later -Ae 3170 # HP-UX older versions -Aa -D_HPUX_SOURCE 3171 # SVR4 -Xc -D__EXTENSIONS__ 3172 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3883 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3884 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3173 3885 do 3174 3886 CC="$ac_save_CC $ac_arg" 3175 rm -f conftest.$ac_objext 3176 if { (eval echo "$as_me:3176: \"$ac_compile\"") >&5 3177 (eval $ac_compile) 2>&5 3887 if ac_fn_c_try_compile "$LINENO"; then : 3888 ac_cv_prog_cc_c89=$ac_arg 3889 fi 3890 rm -f core conftest.err conftest.$ac_objext 3891 test "x$ac_cv_prog_cc_c89" != "xno" && break 3892 done 3893 rm -f conftest.$ac_ext 3894 CC=$ac_save_CC 3895 3896 fi 3897 # AC_CACHE_VAL 3898 case "x$ac_cv_prog_cc_c89" in 3899 x) 3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3901 $as_echo "none needed" >&6; } ;; 3902 xno) 3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3904 $as_echo "unsupported" >&6; } ;; 3905 *) 3906 CC="$CC $ac_cv_prog_cc_c89" 3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3908 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3909 esac 3910 if test "x$ac_cv_prog_cc_c89" != xno; then : 3911 3912 fi 3913 3914 ac_ext=c 3915 ac_cpp='$CPP $CPPFLAGS' 3916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3918 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3919 3920 depcc="$CC" am_compiler_list= 3921 3922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3923 $as_echo_n "checking dependency style of $depcc... " >&6; } 3924 if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3925 $as_echo_n "(cached) " >&6 3926 else 3927 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3928 # We make a subdir and do the tests there. Otherwise we can end up 3929 # making bogus files that we don't know about and never remove. For 3930 # instance it was reported that on HP-UX the gcc test will end up 3931 # making a dummy file named `D' -- because `-MD' means `put the output 3932 # in D'. 3933 rm -rf conftest.dir 3934 mkdir conftest.dir 3935 # Copy depcomp to subdir because otherwise we won't find it if we're 3936 # using a relative directory. 3937 cp "$am_depcomp" conftest.dir 3938 cd conftest.dir 3939 # We will build objects and dependencies in a subdirectory because 3940 # it helps to detect inapplicable dependency modes. For instance 3941 # both Tru64's cc and ICC support -MD to output dependencies as a 3942 # side effect of compilation, but ICC will put the dependencies in 3943 # the current directory while Tru64 will put them in the object 3944 # directory. 3945 mkdir sub 3946 3947 am_cv_CC_dependencies_compiler_type=none 3948 if test "$am_compiler_list" = ""; then 3949 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3950 fi 3951 am__universal=false 3952 case " $depcc " in #( 3953 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3954 esac 3955 3956 for depmode in $am_compiler_list; do 3957 # Setup a source with many dependencies, because some compilers 3958 # like to wrap large dependency lists on column 80 (with \), and 3959 # we should not choose a depcomp mode which is confused by this. 3960 # 3961 # We need to recreate these files for each test, as the compiler may 3962 # overwrite some of them when testing with obscure command lines. 3963 # This happens at least with the AIX C compiler. 3964 : > sub/conftest.c 3965 for i in 1 2 3 4 5 6; do 3966 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3967 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3968 # Solaris 8's {/usr,}/bin/sh. 3969 touch sub/conftst$i.h 3970 done 3971 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3972 3973 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3974 # mode. It turns out that the SunPro C++ compiler does not properly 3975 # handle `-M -o', and we need to detect this. Also, some Intel 3976 # versions had trouble with output in subdirs 3977 am__obj=sub/conftest.${OBJEXT-o} 3978 am__minus_obj="-o $am__obj" 3979 case $depmode in 3980 gcc) 3981 # This depmode causes a compiler race in universal mode. 3982 test "$am__universal" = false || continue 3983 ;; 3984 nosideeffect) 3985 # after this tag, mechanisms are not by side-effect, so they'll 3986 # only be used when explicitly requested 3987 if test "x$enable_dependency_tracking" = xyes; then 3988 continue 3989 else 3990 break 3991 fi 3992 ;; 3993 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3994 # This compiler won't grok `-c -o', but also, the minuso test has 3995 # not run yet. These depmodes are late enough in the game, and 3996 # so weak that their functioning should not be impacted. 3997 am__obj=conftest.${OBJEXT-o} 3998 am__minus_obj= 3999 ;; 4000 none) break ;; 4001 esac 4002 if depmode=$depmode \ 4003 source=sub/conftest.c object=$am__obj \ 4004 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4005 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4006 >/dev/null 2>conftest.err && 4007 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4008 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4009 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4010 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4011 # icc doesn't choke on unknown options, it will just issue warnings 4012 # or remarks (even with -Werror). So we grep stderr for any message 4013 # that says an option was ignored or not supported. 4014 # When given -MP, icc 7.0 and 7.1 complain thusly: 4015 # icc: Command line warning: ignoring option '-M'; no argument required 4016 # The diagnosis changed in icc 8.0: 4017 # icc: Command line remark: option '-MP' not supported 4018 if (grep 'ignoring option' conftest.err || 4019 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4020 am_cv_CC_dependencies_compiler_type=$depmode 4021 break 4022 fi 4023 fi 4024 done 4025 4026 cd .. 4027 rm -rf conftest.dir 4028 else 4029 am_cv_CC_dependencies_compiler_type=none 4030 fi 4031 4032 fi 4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4034 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4035 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4036 4037 if 4038 test "x$enable_dependency_tracking" != xno \ 4039 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4040 am__fastdepCC_TRUE= 4041 am__fastdepCC_FALSE='#' 4042 else 4043 am__fastdepCC_TRUE='#' 4044 am__fastdepCC_FALSE= 4045 fi 4046 4047 # ??? 4048 4049 for ac_prog in flex lex 4050 do 4051 # Extract the first word of "$ac_prog", so it can be a program name with args. 4052 set dummy $ac_prog; ac_word=$2 4053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4054 $as_echo_n "checking for $ac_word... " >&6; } 4055 if ${ac_cv_prog_LEX+:} false; then : 4056 $as_echo_n "(cached) " >&6 4057 else 4058 if test -n "$LEX"; then 4059 ac_cv_prog_LEX="$LEX" # Let the user override the test. 4060 else 4061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4062 for as_dir in $PATH 4063 do 4064 IFS=$as_save_IFS 4065 test -z "$as_dir" && as_dir=. 4066 for ac_exec_ext in '' $ac_executable_extensions; do 4067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4068 ac_cv_prog_LEX="$ac_prog" 4069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4070 break 2 4071 fi 4072 done 4073 done 4074 IFS=$as_save_IFS 4075 4076 fi 4077 fi 4078 LEX=$ac_cv_prog_LEX 4079 if test -n "$LEX"; then 4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 4081 $as_echo "$LEX" >&6; } 4082 else 4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4084 $as_echo "no" >&6; } 4085 fi 4086 4087 4088 test -n "$LEX" && break 4089 done 4090 test -n "$LEX" || LEX=":" 4091 4092 if test "x$LEX" != "x:"; then 4093 cat >conftest.l <<_ACEOF 4094 %% 4095 a { ECHO; } 4096 b { REJECT; } 4097 c { yymore (); } 4098 d { yyless (1); } 4099 e { yyless (input () != 0); } 4100 f { unput (yytext[0]); } 4101 . { BEGIN INITIAL; } 4102 %% 4103 #ifdef YYTEXT_POINTER 4104 extern char *yytext; 4105 #endif 4106 int 4107 main (void) 4108 { 4109 return ! yylex () + ! yywrap (); 4110 } 4111 _ACEOF 4112 { { ac_try="$LEX conftest.l" 4113 case "(($ac_try" in 4114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4115 *) ac_try_echo=$ac_try;; 4116 esac 4117 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4118 $as_echo "$ac_try_echo"; } >&5 4119 (eval "$LEX conftest.l") 2>&5 3178 4120 ac_status=$? 3179 echo "$as_me:3179: \$? = $ac_status" >&5 3180 (exit $ac_status); } && 3181 { ac_try='test -s conftest.$ac_objext' 3182 { (eval echo "$as_me:3182: \"$ac_try\"") >&5 3183 (eval $ac_try) 2>&5 3184 ac_status=$? 3185 echo "$as_me:3185: \$? = $ac_status" >&5 3186 (exit $ac_status); }; }; then 3187 ac_cv_prog_cc_stdc=$ac_arg 4121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4122 test $ac_status = 0; } 4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 4124 $as_echo_n "checking lex output file root... " >&6; } 4125 if ${ac_cv_prog_lex_root+:} false; then : 4126 $as_echo_n "(cached) " >&6 4127 else 4128 4129 if test -f lex.yy.c; then 4130 ac_cv_prog_lex_root=lex.yy 4131 elif test -f lexyy.c; then 4132 ac_cv_prog_lex_root=lexyy 4133 else 4134 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5 4135 fi 4136 fi 4137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 4138 $as_echo "$ac_cv_prog_lex_root" >&6; } 4139 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root 4140 4141 if test -z "${LEXLIB+set}"; then 4142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 4143 $as_echo_n "checking lex library... " >&6; } 4144 if ${ac_cv_lib_lex+:} false; then : 4145 $as_echo_n "(cached) " >&6 4146 else 4147 4148 ac_save_LIBS=$LIBS 4149 ac_cv_lib_lex='none needed' 4150 for ac_lib in '' -lfl -ll; do 4151 LIBS="$ac_lib $ac_save_LIBS" 4152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4153 /* end confdefs.h. */ 4154 `cat $LEX_OUTPUT_ROOT.c` 4155 _ACEOF 4156 if ac_fn_c_try_link "$LINENO"; then : 4157 ac_cv_lib_lex=$ac_lib 4158 fi 4159 rm -f core conftest.err conftest.$ac_objext \ 4160 conftest$ac_exeext conftest.$ac_ext 4161 test "$ac_cv_lib_lex" != 'none needed' && break 4162 done 4163 LIBS=$ac_save_LIBS 4164 4165 fi 4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5 4167 $as_echo "$ac_cv_lib_lex" >&6; } 4168 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex 4169 fi 4170 4171 4172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 4173 $as_echo_n "checking whether yytext is a pointer... " >&6; } 4174 if ${ac_cv_prog_lex_yytext_pointer+:} false; then : 4175 $as_echo_n "(cached) " >&6 4176 else 4177 # POSIX says lex can declare yytext either as a pointer or an array; the 4178 # default is implementation-dependent. Figure out which it is, since 4179 # not all implementations provide the %pointer and %array declarations. 4180 ac_cv_prog_lex_yytext_pointer=no 4181 ac_save_LIBS=$LIBS 4182 LIBS="$LEXLIB $ac_save_LIBS" 4183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4184 /* end confdefs.h. */ 4185 4186 #define YYTEXT_POINTER 1 4187 `cat $LEX_OUTPUT_ROOT.c` 4188 _ACEOF 4189 if ac_fn_c_try_link "$LINENO"; then : 4190 ac_cv_prog_lex_yytext_pointer=yes 4191 fi 4192 rm -f core conftest.err conftest.$ac_objext \ 4193 conftest$ac_exeext conftest.$ac_ext 4194 LIBS=$ac_save_LIBS 4195 4196 fi 4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5 4198 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; } 4199 if test $ac_cv_prog_lex_yytext_pointer = yes; then 4200 4201 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h 4202 4203 fi 4204 rm -f conftest.l $LEX_OUTPUT_ROOT.c 4205 4206 fi 4207 if test "$LEX" = :; then 4208 LEX=${am_missing_run}flex 4209 fi 4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 4211 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 4212 set x ${MAKE-make} 4213 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 4214 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 4215 $as_echo_n "(cached) " >&6 4216 else 4217 cat >conftest.make <<\_ACEOF 4218 SHELL = /bin/sh 4219 all: 4220 @echo '@@@%%%=$(MAKE)=@@@%%%' 4221 _ACEOF 4222 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 4223 case `${MAKE-make} -f conftest.make 2>/dev/null` in 4224 *@@@%%%=?*=@@@%%%*) 4225 eval ac_cv_prog_make_${ac_make}_set=yes;; 4226 *) 4227 eval ac_cv_prog_make_${ac_make}_set=no;; 4228 esac 4229 rm -f conftest.make 4230 fi 4231 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4233 $as_echo "yes" >&6; } 4234 SET_MAKE= 4235 else 4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4237 $as_echo "no" >&6; } 4238 SET_MAKE="MAKE=${MAKE-make}" 4239 fi 4240 4241 4242 4243 4244 ac_ext=c 4245 ac_cpp='$CPP $CPPFLAGS' 4246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4248 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4250 $as_echo_n "checking how to run the C preprocessor... " >&6; } 4251 # On Suns, sometimes $CPP names a directory. 4252 if test -n "$CPP" && test -d "$CPP"; then 4253 CPP= 4254 fi 4255 if test -z "$CPP"; then 4256 if ${ac_cv_prog_CPP+:} false; then : 4257 $as_echo_n "(cached) " >&6 4258 else 4259 # Double quotes because CPP needs to be expanded 4260 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4261 do 4262 ac_preproc_ok=false 4263 for ac_c_preproc_warn_flag in '' yes 4264 do 4265 # Use a header file that comes with gcc, so configuring glibc 4266 # with a fresh cross-compiler works. 4267 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4268 # <limits.h> exists even on freestanding compilers. 4269 # On the NeXT, cc -E runs the code through the compiler's parser, 4270 # not just through cpp. "Syntax error" is here to catch this case. 4271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4272 /* end confdefs.h. */ 4273 #ifdef __STDC__ 4274 # include <limits.h> 4275 #else 4276 # include <assert.h> 4277 #endif 4278 Syntax error 4279 _ACEOF 4280 if ac_fn_c_try_cpp "$LINENO"; then : 4281 4282 else 4283 # Broken: fails on valid input. 4284 continue 4285 fi 4286 rm -f conftest.err conftest.i conftest.$ac_ext 4287 4288 # OK, works on sane cases. Now check whether nonexistent headers 4289 # can be detected and how. 4290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4291 /* end confdefs.h. */ 4292 #include <ac_nonexistent.h> 4293 _ACEOF 4294 if ac_fn_c_try_cpp "$LINENO"; then : 4295 # Broken: success on invalid input. 4296 continue 4297 else 4298 # Passes both tests. 4299 ac_preproc_ok=: 3188 4300 break 3189 else 3190 echo "$as_me: failed program was:" >&5 3191 cat conftest.$ac_ext >&5 3192 fi 3193 rm -f conftest.$ac_objext 4301 fi 4302 rm -f conftest.err conftest.i conftest.$ac_ext 4303 3194 4304 done 3195 rm -f conftest.$ac_ext conftest.$ac_objext 3196 CC=$ac_save_CC 3197 3198 fi 3199 3200 case "x$ac_cv_prog_cc_stdc" in 3201 x|xno) 3202 echo "$as_me:3202: result: none needed" >&5 3203 echo "${ECHO_T}none needed" >&6 ;; 3204 *) 3205 echo "$as_me:3205: result: $ac_cv_prog_cc_stdc" >&5 3206 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 3207 CC="$CC $ac_cv_prog_cc_stdc" ;; 4305 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4306 rm -f conftest.i conftest.err conftest.$ac_ext 4307 if $ac_preproc_ok; then : 4308 break 4309 fi 4310 4311 done 4312 ac_cv_prog_CPP=$CPP 4313 4314 fi 4315 CPP=$ac_cv_prog_CPP 4316 else 4317 ac_cv_prog_CPP=$CPP 4318 fi 4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4320 $as_echo "$CPP" >&6; } 4321 ac_preproc_ok=false 4322 for ac_c_preproc_warn_flag in '' yes 4323 do 4324 # Use a header file that comes with gcc, so configuring glibc 4325 # with a fresh cross-compiler works. 4326 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4327 # <limits.h> exists even on freestanding compilers. 4328 # On the NeXT, cc -E runs the code through the compiler's parser, 4329 # not just through cpp. "Syntax error" is here to catch this case. 4330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4331 /* end confdefs.h. */ 4332 #ifdef __STDC__ 4333 # include <limits.h> 4334 #else 4335 # include <assert.h> 4336 #endif 4337 Syntax error 4338 _ACEOF 4339 if ac_fn_c_try_cpp "$LINENO"; then : 4340 4341 else 4342 # Broken: fails on valid input. 4343 continue 4344 fi 4345 rm -f conftest.err conftest.i conftest.$ac_ext 4346 4347 # OK, works on sane cases. Now check whether nonexistent headers 4348 # can be detected and how. 4349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4350 /* end confdefs.h. */ 4351 #include <ac_nonexistent.h> 4352 _ACEOF 4353 if ac_fn_c_try_cpp "$LINENO"; then : 4354 # Broken: success on invalid input. 4355 continue 4356 else 4357 # Passes both tests. 4358 ac_preproc_ok=: 4359 break 4360 fi 4361 rm -f conftest.err conftest.i conftest.$ac_ext 4362 4363 done 4364 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4365 rm -f conftest.i conftest.err conftest.$ac_ext 4366 if $ac_preproc_ok; then : 4367 4368 else 4369 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4370 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4371 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4372 See \`config.log' for more details" "$LINENO" 5; } 4373 fi 4374 4375 ac_ext=c 4376 ac_cpp='$CPP $CPPFLAGS' 4377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4379 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4380 4381 4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4383 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4384 if ${ac_cv_path_GREP+:} false; then : 4385 $as_echo_n "(cached) " >&6 4386 else 4387 if test -z "$GREP"; then 4388 ac_path_GREP_found=false 4389 # Loop through the user's path and test for each of PROGNAME-LIST 4390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4391 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4392 do 4393 IFS=$as_save_IFS 4394 test -z "$as_dir" && as_dir=. 4395 for ac_prog in grep ggrep; do 4396 for ac_exec_ext in '' $ac_executable_extensions; do 4397 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4398 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4399 # Check for GNU ac_path_GREP and select it if it is found. 4400 # Check for GNU $ac_path_GREP 4401 case `"$ac_path_GREP" --version 2>&1` in 4402 *GNU*) 4403 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4404 *) 4405 ac_count=0 4406 $as_echo_n 0123456789 >"conftest.in" 4407 while : 4408 do 4409 cat "conftest.in" "conftest.in" >"conftest.tmp" 4410 mv "conftest.tmp" "conftest.in" 4411 cp "conftest.in" "conftest.nl" 4412 $as_echo 'GREP' >> "conftest.nl" 4413 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4414 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4415 as_fn_arith $ac_count + 1 && ac_count=$as_val 4416 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4417 # Best one so far, save it but keep looking for a better one 4418 ac_cv_path_GREP="$ac_path_GREP" 4419 ac_path_GREP_max=$ac_count 4420 fi 4421 # 10*(2^10) chars as input seems more than enough 4422 test $ac_count -gt 10 && break 4423 done 4424 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3208 4425 esac 3209 4426 3210 echo "$as_me:3210: checking for an ANSI C-conforming const" >&5 3211 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 3212 if test "${ac_cv_c_const+set}" = set; then 3213 echo $ECHO_N "(cached) $ECHO_C" >&6 3214 else 3215 cat >conftest.$ac_ext <<_ACEOF 3216 #line 3216 "configure" 3217 #include "confdefs.h" 4427 $ac_path_GREP_found && break 3 4428 done 4429 done 4430 done 4431 IFS=$as_save_IFS 4432 if test -z "$ac_cv_path_GREP"; then 4433 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4434 fi 4435 else 4436 ac_cv_path_GREP=$GREP 4437 fi 4438 4439 fi 4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4441 $as_echo "$ac_cv_path_GREP" >&6; } 4442 GREP="$ac_cv_path_GREP" 4443 4444 4445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4446 $as_echo_n "checking for egrep... " >&6; } 4447 if ${ac_cv_path_EGREP+:} false; then : 4448 $as_echo_n "(cached) " >&6 4449 else 4450 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4451 then ac_cv_path_EGREP="$GREP -E" 4452 else 4453 if test -z "$EGREP"; then 4454 ac_path_EGREP_found=false 4455 # Loop through the user's path and test for each of PROGNAME-LIST 4456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4457 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4458 do 4459 IFS=$as_save_IFS 4460 test -z "$as_dir" && as_dir=. 4461 for ac_prog in egrep; do 4462 for ac_exec_ext in '' $ac_executable_extensions; do 4463 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4464 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4465 # Check for GNU ac_path_EGREP and select it if it is found. 4466 # Check for GNU $ac_path_EGREP 4467 case `"$ac_path_EGREP" --version 2>&1` in 4468 *GNU*) 4469 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4470 *) 4471 ac_count=0 4472 $as_echo_n 0123456789 >"conftest.in" 4473 while : 4474 do 4475 cat "conftest.in" "conftest.in" >"conftest.tmp" 4476 mv "conftest.tmp" "conftest.in" 4477 cp "conftest.in" "conftest.nl" 4478 $as_echo 'EGREP' >> "conftest.nl" 4479 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4480 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4481 as_fn_arith $ac_count + 1 && ac_count=$as_val 4482 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4483 # Best one so far, save it but keep looking for a better one 4484 ac_cv_path_EGREP="$ac_path_EGREP" 4485 ac_path_EGREP_max=$ac_count 4486 fi 4487 # 10*(2^10) chars as input seems more than enough 4488 test $ac_count -gt 10 && break 4489 done 4490 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4491 esac 4492 4493 $ac_path_EGREP_found && break 3 4494 done 4495 done 4496 done 4497 IFS=$as_save_IFS 4498 if test -z "$ac_cv_path_EGREP"; then 4499 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4500 fi 4501 else 4502 ac_cv_path_EGREP=$EGREP 4503 fi 4504 4505 fi 4506 fi 4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4508 $as_echo "$ac_cv_path_EGREP" >&6; } 4509 EGREP="$ac_cv_path_EGREP" 4510 4511 4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4513 $as_echo_n "checking for ANSI C header files... " >&6; } 4514 if ${ac_cv_header_stdc+:} false; then : 4515 $as_echo_n "(cached) " >&6 4516 else 4517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4518 /* end confdefs.h. */ 4519 #include <stdlib.h> 4520 #include <stdarg.h> 4521 #include <string.h> 4522 #include <float.h> 4523 4524 int 4525 main () 4526 { 4527 4528 ; 4529 return 0; 4530 } 4531 _ACEOF 4532 if ac_fn_c_try_compile "$LINENO"; then : 4533 ac_cv_header_stdc=yes 4534 else 4535 ac_cv_header_stdc=no 4536 fi 4537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4538 4539 if test $ac_cv_header_stdc = yes; then 4540 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4542 /* end confdefs.h. */ 4543 #include <string.h> 4544 4545 _ACEOF 4546 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4547 $EGREP "memchr" >/dev/null 2>&1; then : 4548 4549 else 4550 ac_cv_header_stdc=no 4551 fi 4552 rm -f conftest* 4553 4554 fi 4555 4556 if test $ac_cv_header_stdc = yes; then 4557 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4559 /* end confdefs.h. */ 4560 #include <stdlib.h> 4561 4562 _ACEOF 4563 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4564 $EGREP "free" >/dev/null 2>&1; then : 4565 4566 else 4567 ac_cv_header_stdc=no 4568 fi 4569 rm -f conftest* 4570 4571 fi 4572 4573 if test $ac_cv_header_stdc = yes; then 4574 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4575 if test "$cross_compiling" = yes; then : 4576 : 4577 else 4578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4579 /* end confdefs.h. */ 4580 #include <ctype.h> 4581 #include <stdlib.h> 4582 #if ((' ' & 0x0FF) == 0x020) 4583 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4584 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4585 #else 4586 # define ISLOWER(c) \ 4587 (('a' <= (c) && (c) <= 'i') \ 4588 || ('j' <= (c) && (c) <= 'r') \ 4589 || ('s' <= (c) && (c) <= 'z')) 4590 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4591 #endif 4592 4593 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4594 int 4595 main () 4596 { 4597 int i; 4598 for (i = 0; i < 256; i++) 4599 if (XOR (islower (i), ISLOWER (i)) 4600 || toupper (i) != TOUPPER (i)) 4601 return 2; 4602 return 0; 4603 } 4604 _ACEOF 4605 if ac_fn_c_try_run "$LINENO"; then : 4606 4607 else 4608 ac_cv_header_stdc=no 4609 fi 4610 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4611 conftest.$ac_objext conftest.beam conftest.$ac_ext 4612 fi 4613 4614 fi 4615 fi 4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4617 $as_echo "$ac_cv_header_stdc" >&6; } 4618 if test $ac_cv_header_stdc = yes; then 4619 4620 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4621 4622 fi 4623 4624 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4625 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4626 inttypes.h stdint.h unistd.h 4627 do : 4628 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4629 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4630 " 4631 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4632 cat >>confdefs.h <<_ACEOF 4633 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4634 _ACEOF 4635 4636 fi 4637 4638 done 4639 4640 4641 for ac_header in malloc.h unistd.h 4642 do : 4643 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4644 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 4645 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4646 cat >>confdefs.h <<_ACEOF 4647 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4648 _ACEOF 4649 4650 fi 4651 4652 done 4653 4654 4655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 4656 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } 4657 if ${ac_cv_c_const+:} false; then : 4658 $as_echo_n "(cached) " >&6 4659 else 4660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4661 /* end confdefs.h. */ 3218 4662 3219 4663 int … … 3224 4668 /* Ultrix mips cc rejects this. */ 3225 4669 typedef int charset[2]; 3226 const charset x;4670 const charset cs; 3227 4671 /* SunOS 4.1.1 cc rejects this. */ 3228 char const *const * ccp;3229 char **p ;4672 char const *const *pcpcc; 4673 char **ppc; 3230 4674 /* NEC SVR4.0.2 mips cc rejects this. */ 3231 4675 struct point {int x, y;}; … … 3236 4680 expression */ 3237 4681 const char *g = "string"; 3238 ccp= &g + (g ? g-g : 0);4682 pcpcc = &g + (g ? g-g : 0); 3239 4683 /* HPUX 7.0 cc rejects these. */ 3240 ++ ccp;3241 p = (char**) ccp;3242 ccp = (char const *const *) p;4684 ++pcpcc; 4685 ppc = (char**) pcpcc; 4686 pcpcc = (char const *const *) ppc; 3243 4687 { /* SCO 3.2v4 cc rejects this. */ 3244 4688 char *t; … … 3246 4690 3247 4691 *t++ = 0; 4692 if (s) return 0; 3248 4693 } 3249 4694 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ … … 3264 4709 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 3265 4710 const int foo = 10; 4711 if (!foo) return 0; 3266 4712 } 4713 return !cs[0] && !zero.x; 3267 4714 #endif 3268 4715 … … 3271 4718 } 3272 4719 _ACEOF 3273 rm -f conftest.$ac_objext 3274 if { (eval echo "$as_me:3274: \"$ac_compile\"") >&5 3275 (eval $ac_compile) 2>&5 3276 ac_status=$? 3277 echo "$as_me:3277: \$? = $ac_status" >&5 3278 (exit $ac_status); } && 3279 { ac_try='test -s conftest.$ac_objext' 3280 { (eval echo "$as_me:3280: \"$ac_try\"") >&5 3281 (eval $ac_try) 2>&5 3282 ac_status=$? 3283 echo "$as_me:3283: \$? = $ac_status" >&5 3284 (exit $ac_status); }; }; then 4720 if ac_fn_c_try_compile "$LINENO"; then : 3285 4721 ac_cv_c_const=yes 3286 4722 else 3287 echo "$as_me: failed program was:" >&5 3288 cat conftest.$ac_ext >&5 3289 ac_cv_c_const=no 3290 fi 3291 rm -f conftest.$ac_objext conftest.$ac_ext 3292 fi 3293 echo "$as_me:3293: result: $ac_cv_c_const" >&5 3294 echo "${ECHO_T}$ac_cv_c_const" >&6 4723 ac_cv_c_const=no 4724 fi 4725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4726 fi 4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 4728 $as_echo "$ac_cv_c_const" >&6; } 3295 4729 if test $ac_cv_c_const = no; then 3296 4730 3297 cat >>confdefs.h <<\EOF 3298 #define const 3299 EOF 3300 3301 fi 3302 3303 echo "$as_me:3303: checking for inline" >&5 3304 echo $ECHO_N "checking for inline... $ECHO_C" >&6 3305 if test "${ac_cv_c_inline+set}" = set; then 3306 echo $ECHO_N "(cached) $ECHO_C" >&6 4731 $as_echo "#define const /**/" >>confdefs.h 4732 4733 fi 4734 4735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 4736 $as_echo_n "checking for inline... " >&6; } 4737 if ${ac_cv_c_inline+:} false; then : 4738 $as_echo_n "(cached) " >&6 3307 4739 else 3308 4740 ac_cv_c_inline=no 3309 4741 for ac_kw in inline __inline__ __inline; do 3310 cat >conftest.$ac_ext <<_ACEOF 3311 #line 3311 "configure" 3312 #include "confdefs.h" 4742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4743 /* end confdefs.h. */ 3313 4744 #ifndef __cplusplus 3314 static $ac_kw int static_foo () {return 0; } 3315 $ac_kw int foo () {return 0; } 4745 typedef int foo_t; 4746 static $ac_kw foo_t static_foo () {return 0; } 4747 $ac_kw foo_t foo () {return 0; } 3316 4748 #endif 3317 4749 3318 4750 _ACEOF 3319 rm -f conftest.$ac_objext 3320 if { (eval echo "$as_me:3320: \"$ac_compile\"") >&5 3321 (eval $ac_compile) 2>&5 3322 ac_status=$? 3323 echo "$as_me:3323: \$? = $ac_status" >&5 3324 (exit $ac_status); } && 3325 { ac_try='test -s conftest.$ac_objext' 3326 { (eval echo "$as_me:3326: \"$ac_try\"") >&5 3327 (eval $ac_try) 2>&5 3328 ac_status=$? 3329 echo "$as_me:3329: \$? = $ac_status" >&5 3330 (exit $ac_status); }; }; then 3331 ac_cv_c_inline=$ac_kw; break 3332 else 3333 echo "$as_me: failed program was:" >&5 3334 cat conftest.$ac_ext >&5 3335 fi 3336 rm -f conftest.$ac_objext conftest.$ac_ext 4751 if ac_fn_c_try_compile "$LINENO"; then : 4752 ac_cv_c_inline=$ac_kw 4753 fi 4754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4755 test "$ac_cv_c_inline" != no && break 3337 4756 done 3338 4757 3339 4758 fi 3340 echo "$as_me:3340: result: $ac_cv_c_inline" >&5 3341 echo "${ECHO_T}$ac_cv_c_inline" >&6 4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 4760 $as_echo "$ac_cv_c_inline" >&6; } 4761 3342 4762 case $ac_cv_c_inline in 3343 4763 inline | yes) ;; 3344 no) 3345 cat >>confdefs.h <<\EOF 3346 #define inline 3347 EOF 3348 ;; 3349 *) cat >>confdefs.h <<EOF 3350 #define inline $ac_cv_c_inline 3351 EOF 3352 ;; 4764 *) 4765 case $ac_cv_c_inline in 4766 no) ac_val=;; 4767 *) ac_val=$ac_cv_c_inline;; 4768 esac 4769 cat >>confdefs.h <<_ACEOF 4770 #ifndef __cplusplus 4771 #define inline $ac_val 4772 #endif 4773 _ACEOF 4774 ;; 3353 4775 esac 3354 4776 3355 echo "$as_me:3355: checking whether struct tm is in sys/time.h or time.h" >&5 3356 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 3357 if test "${ac_cv_struct_tm+set}" = set; then 3358 echo $ECHO_N "(cached) $ECHO_C" >&6 3359 else 3360 cat >conftest.$ac_ext <<_ACEOF 3361 #line 3361 "configure" 3362 #include "confdefs.h" 4777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 4778 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 4779 if ${ac_cv_struct_tm+:} false; then : 4780 $as_echo_n "(cached) " >&6 4781 else 4782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4783 /* end confdefs.h. */ 3363 4784 #include <sys/types.h> 3364 4785 #include <time.h> … … 3367 4788 main () 3368 4789 { 3369 struct tm *tp; tp->tm_sec; 4790 struct tm tm; 4791 int *p = &tm.tm_sec; 4792 return !p; 3370 4793 ; 3371 4794 return 0; 3372 4795 } 3373 4796 _ACEOF 3374 rm -f conftest.$ac_objext 3375 if { (eval echo "$as_me:3375: \"$ac_compile\"") >&5 3376 (eval $ac_compile) 2>&5 3377 ac_status=$? 3378 echo "$as_me:3378: \$? = $ac_status" >&5 3379 (exit $ac_status); } && 3380 { ac_try='test -s conftest.$ac_objext' 3381 { (eval echo "$as_me:3381: \"$ac_try\"") >&5 3382 (eval $ac_try) 2>&5 3383 ac_status=$? 3384 echo "$as_me:3384: \$? = $ac_status" >&5 3385 (exit $ac_status); }; }; then 4797 if ac_fn_c_try_compile "$LINENO"; then : 3386 4798 ac_cv_struct_tm=time.h 3387 4799 else 3388 echo "$as_me: failed program was:" >&5 3389 cat conftest.$ac_ext >&5 3390 ac_cv_struct_tm=sys/time.h 3391 fi 3392 rm -f conftest.$ac_objext conftest.$ac_ext 3393 fi 3394 echo "$as_me:3394: result: $ac_cv_struct_tm" >&5 3395 echo "${ECHO_T}$ac_cv_struct_tm" >&6 4800 ac_cv_struct_tm=sys/time.h 4801 fi 4802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4803 fi 4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 4805 $as_echo "$ac_cv_struct_tm" >&6; } 3396 4806 if test $ac_cv_struct_tm = sys/time.h; then 3397 4807 3398 cat >>confdefs.h <<\EOF 3399 #define TM_IN_SYS_TIME 1 3400 EOF 3401 3402 fi 4808 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h 4809 4810 fi 4811 3403 4812 3404 4813 test "${prefix}" != "NONE" || prefix=$ac_default_prefix … … 3406 4815 preludedir=${prefix}/share/cfa 3407 4816 3408 # Check whether --with-preludedir or --without-preludedir was given. 3409 if test "${with_preludedir+set}" = set; then 3410 withval="$with_preludedir" 3411 preludedir=$withval 3412 fi; 3413 3414 # Check whether --with-backend-compiler or --without-backend-compiler was given. 3415 if test "${with_backend_compiler+set}" = set; then 3416 withval="$with_backend_compiler" 3417 backcompiler=$withval 4817 # Check whether --with-preludedir was given. 4818 if test "${with_preludedir+set}" = set; then : 4819 withval=$with_preludedir; preludedir=$withval 4820 fi 4821 4822 4823 4824 4825 # Check whether --with-backend-compiler was given. 4826 if test "${with_backend_compiler+set}" = set; then : 4827 withval=$with_backend_compiler; backcompiler=$withval 3418 4828 else 3419 4829 backcompiler="" 3420 fi; 4830 fi 4831 3421 4832 if test x$backcompiler != x; then 3422 cat >>confdefs.h << EOF4833 cat >>confdefs.h <<_ACEOF 3423 4834 #define GCC_PATH "${backcompiler}" 3424 EOF4835 _ACEOF 3425 4836 3426 4837 BACKEND_CC=${backcompiler} … … 3428 4839 # Extract the first word of "gcc", so it can be a program name with args. 3429 4840 set dummy gcc; ac_word=$2 3430 echo "$as_me:3430: checking for $ac_word" >&53431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3432 if test "${ac_cv_path_GCC_PATH+set}" = set; then3433 echo $ECHO_N "(cached) $ECHO_C" >&64841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4842 $as_echo_n "checking for $ac_word... " >&6; } 4843 if ${ac_cv_path_GCC_PATH+:} false; then : 4844 $as_echo_n "(cached) " >&6 3434 4845 else 3435 4846 case $GCC_PATH in … … 3438 4849 ;; 3439 4850 *) 3440 ac_save_IFS=$IFS; IFS=$ac_path_separator 3441 ac_dummy="$PATH" 3442 for ac_dir in $ac_dummy; do 3443 IFS=$ac_save_IFS 3444 test -z "$ac_dir" && ac_dir=. 3445 if $as_executable_p "$ac_dir/$ac_word"; then 3446 ac_cv_path_GCC_PATH="$ac_dir/$ac_word" 3447 echo "$as_me:3447: found $ac_dir/$ac_word" >&5 3448 break 3449 fi 4851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4852 for as_dir in $PATH 4853 do 4854 IFS=$as_save_IFS 4855 test -z "$as_dir" && as_dir=. 4856 for ac_exec_ext in '' $ac_executable_extensions; do 4857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4858 ac_cv_path_GCC_PATH="$as_dir/$ac_word$ac_exec_ext" 4859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4860 break 2 4861 fi 3450 4862 done 4863 done 4864 IFS=$as_save_IFS 3451 4865 3452 4866 test -z "$ac_cv_path_GCC_PATH" && ac_cv_path_GCC_PATH="N/A" … … 3455 4869 fi 3456 4870 GCC_PATH=$ac_cv_path_GCC_PATH 3457 3458 4871 if test -n "$GCC_PATH"; then 3459 echo "$as_me:3459: result: $GCC_PATH" >&5 3460 echo "${ECHO_T}$GCC_PATH" >&6 3461 else 3462 echo "$as_me:3462: result: no" >&5 3463 echo "${ECHO_T}no" >&6 3464 fi 4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_PATH" >&5 4873 $as_echo "$GCC_PATH" >&6; } 4874 else 4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4876 $as_echo "no" >&6; } 4877 fi 4878 3465 4879 3466 4880 if test "$GCC_PATH" = "N/A"; then 3467 { { echo "$as_me:3467: error: some version of gcc is needed. Get it at ftp://ftp.gnu.org" >&5 3468 echo "$as_me: error: some version of gcc is needed. Get it at ftp://ftp.gnu.org" >&2;} 3469 { (exit 1); exit 1; }; } 4881 as_fn_error $? "some version of gcc is needed. Get it at ftp://ftp.gnu.org" "$LINENO" 5 3470 4882 exit 1 3471 4883 fi 3472 cat >>confdefs.h <<EOF 4884 4885 cat >>confdefs.h <<_ACEOF 3473 4886 #define GCC_PATH "${GCC_PATH}" 3474 EOF4887 _ACEOF 3475 4888 3476 4889 BACKEND_CC=${GCC_PATH} 3477 4890 fi 3478 4891 4892 3479 4893 # Extract the first word of "cpp", so it can be a program name with args. 3480 4894 set dummy cpp; ac_word=$2 3481 echo "$as_me:3481: checking for $ac_word" >&53482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3483 if test "${ac_cv_path_CPP_PATH+set}" = set; then3484 echo $ECHO_N "(cached) $ECHO_C" >&64895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4896 $as_echo_n "checking for $ac_word... " >&6; } 4897 if ${ac_cv_path_CPP_PATH+:} false; then : 4898 $as_echo_n "(cached) " >&6 3485 4899 else 3486 4900 case $CPP_PATH in … … 3489 4903 ;; 3490 4904 *) 3491 ac_save_IFS=$IFS; IFS=$ac_path_separator 3492 ac_dummy="$PATH" 3493 for ac_dir in $ac_dummy; do 3494 IFS=$ac_save_IFS 3495 test -z "$ac_dir" && ac_dir=. 3496 if $as_executable_p "$ac_dir/$ac_word"; then 3497 ac_cv_path_CPP_PATH="$ac_dir/$ac_word" 3498 echo "$as_me:3498: found $ac_dir/$ac_word" >&5 3499 break 3500 fi 4905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4906 for as_dir in $PATH 4907 do 4908 IFS=$as_save_IFS 4909 test -z "$as_dir" && as_dir=. 4910 for ac_exec_ext in '' $ac_executable_extensions; do 4911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4912 ac_cv_path_CPP_PATH="$as_dir/$ac_word$ac_exec_ext" 4913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4914 break 2 4915 fi 3501 4916 done 4917 done 4918 IFS=$as_save_IFS 3502 4919 3503 4920 test -z "$ac_cv_path_CPP_PATH" && ac_cv_path_CPP_PATH="N/A" … … 3506 4923 fi 3507 4924 CPP_PATH=$ac_cv_path_CPP_PATH 3508 3509 4925 if test -n "$CPP_PATH"; then 3510 echo "$as_me:3510: result: $CPP_PATH" >&5 3511 echo "${ECHO_T}$CPP_PATH" >&6 3512 else 3513 echo "$as_me:3513: result: no" >&5 3514 echo "${ECHO_T}no" >&6 3515 fi 4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP_PATH" >&5 4927 $as_echo "$CPP_PATH" >&6; } 4928 else 4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4930 $as_echo "no" >&6; } 4931 fi 4932 3516 4933 3517 4934 if test "$CPP_PATH" = "N/A"; then 3518 { { echo "$as_me:3518: error: cpp not found" >&5 3519 echo "$as_me: error: cpp not found" >&2;} 3520 { (exit 1); exit 1; }; } 4935 as_fn_error $? "cpp not found" "$LINENO" 5 3521 4936 exit 1 3522 4937 fi 3523 cat >>confdefs.h <<EOF 4938 4939 cat >>confdefs.h <<_ACEOF 3524 4940 #define CPP_PATH "${CPP_PATH}" 3525 EOF 4941 _ACEOF 4942 3526 4943 3527 4944 # Purify instrumenting … … 3533 4950 cfa_prefix=${prefix} 3534 4951 fi 3535 cat >>confdefs.h <<EOF 4952 4953 cat >>confdefs.h <<_ACEOF 3536 4954 #define CFA_PREFIX "${cfa_prefix}" 3537 EOF4955 _ACEOF 3538 4956 3539 4957 CFA_PREFIX=${cfa_prefix} 4958 4959 4960 CFA_INCDIR= 4961 if test "$includedir" = '${prefix}/include'; then 4962 cfa_incdir="${cfa_prefix}/include" 4963 else 4964 cfa_incdir=${$includedir} 4965 fi 4966 4967 cat >>confdefs.h <<_ACEOF 4968 #define CFA_INCDIR "${cfa_incdir}" 4969 _ACEOF 4970 4971 CFA_INCDIR=${cfa_incdir} 4972 3540 4973 3541 4974 CFA_BINDIR= … … 3545 4978 cfa_bindir=${bindir} 3546 4979 fi 3547 cat >>confdefs.h <<EOF 4980 4981 cat >>confdefs.h <<_ACEOF 3548 4982 #define CFA_BINDIR "${cfa_bindir}" 3549 EOF4983 _ACEOF 3550 4984 3551 4985 CFA_BINDIR=${cfa_bindir} 4986 3552 4987 3553 4988 CFA_LIBDIR= … … 3557 4992 cfa_libdir=${libdir} 3558 4993 fi 3559 cat >>confdefs.h <<EOF 4994 4995 cat >>confdefs.h <<_ACEOF 3560 4996 #define CFA_LIBDIR "${cfa_libdir}" 3561 EOF4997 _ACEOF 3562 4998 3563 4999 CFA_LIBDIR=${cfa_libdir} 3564 5000 5001 3565 5002 ac_config_files="$ac_config_files Makefile translator/Makefile driver/Makefile libcfa/Makefile" 5003 3566 5004 cat >confcache <<\_ACEOF 3567 5005 # This file is a shell script that caches the results of configure … … 3574 5012 # the --recheck option to rerun configure. 3575 5013 # 3576 # `ac_cv_env_foo' variables (set or unset) will be overrid en when5014 # `ac_cv_env_foo' variables (set or unset) will be overridden when 3577 5015 # loading this file, other *unset* `ac_cv_foo' will be assigned the 3578 5016 # following values. … … 3582 5020 # The following way of writing the cache mishandles newlines in values, 3583 5021 # but we know of no workaround that is simple, portable, and efficient. 3584 # So, don't put newlines in cache variables' values.5022 # So, we kill variables containing newlines. 3585 5023 # Ultrix sh set writes to stderr and can't be redirected directly, 3586 5024 # and sets the high bit in the cache file unless we assign to the vars. 3587 { 5025 ( 5026 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 5027 eval ac_val=\$$ac_var 5028 case $ac_val in #( 5029 *${as_nl}*) 5030 case $ac_var in #( 5031 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 5032 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 5033 esac 5034 case $ac_var in #( 5035 _ | IFS | as_nl) ;; #( 5036 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 5037 *) { eval $ac_var=; unset $ac_var;} ;; 5038 esac ;; 5039 esac 5040 done 5041 3588 5042 (set) 2>&1 | 3589 case `(ac_space=' '; set | grep ac_space) 2>&1` in3590 * ac_space=\ *)3591 # `set' does not quote correctly, so add quotes (double-quote3592 # substitution turns \\\\ into \\, and sed turns \\ into \ ).5043 case $as_nl`(ac_space=' '; set) 2>&1` in #( 5044 *${as_nl}ac_space=\ *) 5045 # `set' does not quote correctly, so add quotes: double-quote 5046 # substitution turns \\\\ into \\, and sed turns \\ into \. 3593 5047 sed -n \ 3594 3595 3596 ;; 5048 "s/'/'\\\\''/g; 5049 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 5050 ;; #( 3597 5051 *) 3598 5052 # `set' quotes correctly as required by POSIX, so do not add quotes. 3599 sed -n \ 3600 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 5053 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 3601 5054 ;; 3602 esac; 3603 } | 5055 esac | 5056 sort 5057 ) | 3604 5058 sed ' 5059 /^ac_cv_env_/b end 3605 5060 t clear 3606 : 5061 :clear 3607 5062 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 3608 5063 t end 3609 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 3610 : end' >>confcache 3611 if cmp -s $cache_file confcache; then :; else 3612 if test -w $cache_file; then 3613 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 3614 cat confcache >$cache_file 5064 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 5065 :end' >>confcache 5066 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 5067 if test -w "$cache_file"; then 5068 if test "x$cache_file" != "x/dev/null"; then 5069 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 5070 $as_echo "$as_me: updating cache $cache_file" >&6;} 5071 if test ! -f "$cache_file" || test -h "$cache_file"; then 5072 cat confcache >"$cache_file" 5073 else 5074 case $cache_file in #( 5075 */* | ?:*) 5076 mv -f confcache "$cache_file"$$ && 5077 mv -f "$cache_file"$$ "$cache_file" ;; #( 5078 *) 5079 mv -f confcache "$cache_file" ;; 5080 esac 5081 fi 5082 fi 3615 5083 else 3616 echo "not updating unwritable cache $cache_file" 5084 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 5085 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 3617 5086 fi 3618 5087 fi … … 3623 5092 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 3624 5093 3625 # VPATH may cause trouble with some makes, so we remove $(srcdir),3626 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and3627 # trailing colons and then remove the whole line if VPATH becomes empty3628 # (actually we leave an empty line to preserve line numbers).3629 if test "x$srcdir" = x.; then3630 ac_vpsub='/^[ ]*VPATH[ ]*=/{3631 s/:*\$(srcdir):*/:/;3632 s/:*\${srcdir}:*/:/;3633 s/:*@srcdir@:*/:/;3634 s/^\([^=]*=[ ]*\):*/\1/;3635 s/:*$//;3636 s/^[^=]*=[ ]*$//;3637 }'3638 fi3639 3640 5094 DEFS=-DHAVE_CONFIG_H 3641 5095 5096 ac_libobjs= 5097 ac_ltlibobjs= 5098 U= 5099 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 5100 # 1. Remove the extension, and $U if already installed. 5101 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 5102 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 5103 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 5104 # will be set to the directory where LIBOBJS objects are built. 5105 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 5106 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 5107 done 5108 LIBOBJS=$ac_libobjs 5109 5110 LTLIBOBJS=$ac_ltlibobjs 5111 5112 5113 if test -n "$EXEEXT"; then 5114 am__EXEEXT_TRUE= 5115 am__EXEEXT_FALSE='#' 5116 else 5117 am__EXEEXT_TRUE='#' 5118 am__EXEEXT_FALSE= 5119 fi 5120 3642 5121 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 3643 { { echo "$as_me:3643: error: conditional \"AMDEP\" was never defined. 3644 Usually this means the macro was only invoked conditionally." >&5 3645 echo "$as_me: error: conditional \"AMDEP\" was never defined. 3646 Usually this means the macro was only invoked conditionally." >&2;} 3647 { (exit 1); exit 1; }; } 3648 fi 3649 3650 : ${CONFIG_STATUS=./config.status} 5122 as_fn_error $? "conditional \"AMDEP\" was never defined. 5123 Usually this means the macro was only invoked conditionally." "$LINENO" 5 5124 fi 5125 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 5126 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. 5127 Usually this means the macro was only invoked conditionally." "$LINENO" 5 5128 fi 5129 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 5130 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 5131 Usually this means the macro was only invoked conditionally." "$LINENO" 5 5132 fi 5133 5134 : "${CONFIG_STATUS=./config.status}" 5135 ac_write_fail=0 3651 5136 ac_clean_files_save=$ac_clean_files 3652 5137 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 3653 { echo "$as_me:3653: creating $CONFIG_STATUS" >&5 3654 echo "$as_me: creating $CONFIG_STATUS" >&6;} 3655 cat >$CONFIG_STATUS <<_ACEOF 5138 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 5139 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 5140 as_write_fail=0 5141 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 3656 5142 #! $SHELL 3657 # Generated automatically by configure.5143 # Generated by $as_me. 3658 5144 # Run this file to recreate the current configuration. 3659 5145 # Compiler output produced by configure, useful for debugging … … 3661 5147 3662 5148 debug=false 5149 ac_cs_recheck=false 5150 ac_cs_silent=false 5151 3663 5152 SHELL=\${CONFIG_SHELL-$SHELL} 3664 ac_cs_invocation="\$0 \$@" 3665 3666 _ACEOF 3667 3668 cat >>$CONFIG_STATUS <<\_ACEOF 3669 # Be Bourne compatible 3670 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 5153 export SHELL 5154 _ASEOF 5155 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 5156 ## -------------------- ## 5157 ## M4sh Initialization. ## 5158 ## -------------------- ## 5159 5160 # Be more Bourne compatible 5161 DUALCASE=1; export DUALCASE # for MKS sh 5162 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 3671 5163 emulate sh 3672 5164 NULLCMD=: 3673 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 3674 set -o posix 3675 fi 3676 3677 # Name of the executable. 3678 as_me=`echo "$0" |sed 's,.*[\\/],,'` 3679 3680 if expr a : '\(a\)' >/dev/null 2>&1; then 3681 as_expr=expr 3682 else 3683 as_expr=false 3684 fi 3685 3686 rm -f conf$$ conf$$.exe conf$$.file 3687 echo >conf$$.file 3688 if ln -s conf$$.file conf$$ 2>/dev/null; then 3689 # We could just check for DJGPP; but this test a) works b) is more generic 3690 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 3691 if test -f conf$$.exe; then 3692 # Don't use ln at all; we don't have any links 3693 as_ln_s='cp -p' 3694 else 3695 as_ln_s='ln -s' 3696 fi 3697 elif ln conf$$.file conf$$ 2>/dev/null; then 3698 as_ln_s=ln 3699 else 3700 as_ln_s='cp -p' 3701 fi 3702 rm -f conf$$ conf$$.exe conf$$.file 3703 3704 as_executable_p="test -f" 3705 3706 # Support unset when possible. 3707 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 3708 as_unset=unset 3709 else 3710 as_unset=false 3711 fi 3712 3713 # NLS nuisances. 3714 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } 3715 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } 3716 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } 3717 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } 3718 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } 3719 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } 3720 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } 3721 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } 3722 3723 # IFS 3724 # We need space, tab and new line, in precisely that order. 5165 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 5166 # is contrary to our usage. Disable this feature. 5167 alias -g '${1+"$@"}'='"$@"' 5168 setopt NO_GLOB_SUBST 5169 else 5170 case `(set -o) 2>/dev/null` in #( 5171 *posix*) : 5172 set -o posix ;; #( 5173 *) : 5174 ;; 5175 esac 5176 fi 5177 5178 3725 5179 as_nl=' 3726 5180 ' 3727 IFS=" $as_nl" 5181 export as_nl 5182 # Printing a long string crashes Solaris 7 /usr/bin/printf. 5183 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 5184 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 5185 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 5186 # Prefer a ksh shell builtin over an external printf program on Solaris, 5187 # but without wasting forks for bash or zsh. 5188 if test -z "$BASH_VERSION$ZSH_VERSION" \ 5189 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 5190 as_echo='print -r --' 5191 as_echo_n='print -rn --' 5192 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 5193 as_echo='printf %s\n' 5194 as_echo_n='printf %s' 5195 else 5196 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 5197 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 5198 as_echo_n='/usr/ucb/echo -n' 5199 else 5200 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 5201 as_echo_n_body='eval 5202 arg=$1; 5203 case $arg in #( 5204 *"$as_nl"*) 5205 expr "X$arg" : "X\\(.*\\)$as_nl"; 5206 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 5207 esac; 5208 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 5209 ' 5210 export as_echo_n_body 5211 as_echo_n='sh -c $as_echo_n_body as_echo' 5212 fi 5213 export as_echo_body 5214 as_echo='sh -c $as_echo_body as_echo' 5215 fi 5216 5217 # The user is always right. 5218 if test "${PATH_SEPARATOR+set}" != set; then 5219 PATH_SEPARATOR=: 5220 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 5221 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 5222 PATH_SEPARATOR=';' 5223 } 5224 fi 5225 5226 5227 # IFS 5228 # We need space, tab and new line, in precisely that order. Quoting is 5229 # there to prevent editors from complaining about space-tab. 5230 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 5231 # splitting by setting IFS to empty value.) 5232 IFS=" "" $as_nl" 5233 5234 # Find who we are. Look in the path if we contain no directory separator. 5235 as_myself= 5236 case $0 in #(( 5237 *[\\/]* ) as_myself=$0 ;; 5238 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5239 for as_dir in $PATH 5240 do 5241 IFS=$as_save_IFS 5242 test -z "$as_dir" && as_dir=. 5243 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 5244 done 5245 IFS=$as_save_IFS 5246 5247 ;; 5248 esac 5249 # We did not find ourselves, most probably we were run as `sh COMMAND' 5250 # in which case we are not to be found in the path. 5251 if test "x$as_myself" = x; then 5252 as_myself=$0 5253 fi 5254 if test ! -f "$as_myself"; then 5255 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 5256 exit 1 5257 fi 5258 5259 # Unset variables that we do not need and which cause bugs (e.g. in 5260 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 5261 # suppresses any "Segmentation fault" message there. '((' could 5262 # trigger a bug in pdksh 5.2.14. 5263 for as_var in BASH_ENV ENV MAIL MAILPATH 5264 do eval test x\${$as_var+set} = xset \ 5265 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 5266 done 5267 PS1='$ ' 5268 PS2='> ' 5269 PS4='+ ' 5270 5271 # NLS nuisances. 5272 LC_ALL=C 5273 export LC_ALL 5274 LANGUAGE=C 5275 export LANGUAGE 3728 5276 3729 5277 # CDPATH. 3730 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } 5278 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 5279 5280 5281 # as_fn_error STATUS ERROR [LINENO LOG_FD] 5282 # ---------------------------------------- 5283 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 5284 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 5285 # script with STATUS, using 1 if that was 0. 5286 as_fn_error () 5287 { 5288 as_status=$1; test $as_status -eq 0 && as_status=1 5289 if test "$4"; then 5290 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 5291 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 5292 fi 5293 $as_echo "$as_me: error: $2" >&2 5294 as_fn_exit $as_status 5295 } # as_fn_error 5296 5297 5298 # as_fn_set_status STATUS 5299 # ----------------------- 5300 # Set $? to STATUS, without forking. 5301 as_fn_set_status () 5302 { 5303 return $1 5304 } # as_fn_set_status 5305 5306 # as_fn_exit STATUS 5307 # ----------------- 5308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 5309 as_fn_exit () 5310 { 5311 set +e 5312 as_fn_set_status $1 5313 exit $1 5314 } # as_fn_exit 5315 5316 # as_fn_unset VAR 5317 # --------------- 5318 # Portably unset VAR. 5319 as_fn_unset () 5320 { 5321 { eval $1=; unset $1;} 5322 } 5323 as_unset=as_fn_unset 5324 # as_fn_append VAR VALUE 5325 # ---------------------- 5326 # Append the text in VALUE to the end of the definition contained in VAR. Take 5327 # advantage of any shell optimizations that allow amortized linear growth over 5328 # repeated appends, instead of the typical quadratic growth present in naive 5329 # implementations. 5330 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 5331 eval 'as_fn_append () 5332 { 5333 eval $1+=\$2 5334 }' 5335 else 5336 as_fn_append () 5337 { 5338 eval $1=\$$1\$2 5339 } 5340 fi # as_fn_append 5341 5342 # as_fn_arith ARG... 5343 # ------------------ 5344 # Perform arithmetic evaluation on the ARGs, and store the result in the 5345 # global $as_val. Take advantage of shells that can avoid forks. The arguments 5346 # must be portable across $(()) and expr. 5347 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 5348 eval 'as_fn_arith () 5349 { 5350 as_val=$(( $* )) 5351 }' 5352 else 5353 as_fn_arith () 5354 { 5355 as_val=`expr "$@" || test $? -eq 1` 5356 } 5357 fi # as_fn_arith 5358 5359 5360 if expr a : '\(a\)' >/dev/null 2>&1 && 5361 test "X`expr 00001 : '.*\(...\)'`" = X001; then 5362 as_expr=expr 5363 else 5364 as_expr=false 5365 fi 5366 5367 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 5368 as_basename=basename 5369 else 5370 as_basename=false 5371 fi 5372 5373 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 5374 as_dirname=dirname 5375 else 5376 as_dirname=false 5377 fi 5378 5379 as_me=`$as_basename -- "$0" || 5380 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5381 X"$0" : 'X\(//\)$' \| \ 5382 X"$0" : 'X\(/\)' \| . 2>/dev/null || 5383 $as_echo X/"$0" | 5384 sed '/^.*\/\([^/][^/]*\)\/*$/{ 5385 s//\1/ 5386 q 5387 } 5388 /^X\/\(\/\/\)$/{ 5389 s//\1/ 5390 q 5391 } 5392 /^X\/\(\/\).*/{ 5393 s//\1/ 5394 q 5395 } 5396 s/.*/./; q'` 5397 5398 # Avoid depending upon Character Ranges. 5399 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 5400 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 5401 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 5402 as_cr_digits='0123456789' 5403 as_cr_alnum=$as_cr_Letters$as_cr_digits 5404 5405 ECHO_C= ECHO_N= ECHO_T= 5406 case `echo -n x` in #((((( 5407 -n*) 5408 case `echo 'xy\c'` in 5409 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 5410 xy) ECHO_C='\c';; 5411 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 5412 ECHO_T=' ';; 5413 esac;; 5414 *) 5415 ECHO_N='-n';; 5416 esac 5417 5418 rm -f conf$$ conf$$.exe conf$$.file 5419 if test -d conf$$.dir; then 5420 rm -f conf$$.dir/conf$$.file 5421 else 5422 rm -f conf$$.dir 5423 mkdir conf$$.dir 2>/dev/null 5424 fi 5425 if (echo >conf$$.file) 2>/dev/null; then 5426 if ln -s conf$$.file conf$$ 2>/dev/null; then 5427 as_ln_s='ln -s' 5428 # ... but there are two gotchas: 5429 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5430 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 5431 # In both cases, we have to default to `cp -p'. 5432 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5433 as_ln_s='cp -p' 5434 elif ln conf$$.file conf$$ 2>/dev/null; then 5435 as_ln_s=ln 5436 else 5437 as_ln_s='cp -p' 5438 fi 5439 else 5440 as_ln_s='cp -p' 5441 fi 5442 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5443 rmdir conf$$.dir 2>/dev/null 5444 5445 5446 # as_fn_mkdir_p 5447 # ------------- 5448 # Create "$as_dir" as a directory, including parents if necessary. 5449 as_fn_mkdir_p () 5450 { 5451 5452 case $as_dir in #( 5453 -*) as_dir=./$as_dir;; 5454 esac 5455 test -d "$as_dir" || eval $as_mkdir_p || { 5456 as_dirs= 5457 while :; do 5458 case $as_dir in #( 5459 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 5460 *) as_qdir=$as_dir;; 5461 esac 5462 as_dirs="'$as_qdir' $as_dirs" 5463 as_dir=`$as_dirname -- "$as_dir" || 5464 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5465 X"$as_dir" : 'X\(//\)[^/]' \| \ 5466 X"$as_dir" : 'X\(//\)$' \| \ 5467 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 5468 $as_echo X"$as_dir" | 5469 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5470 s//\1/ 5471 q 5472 } 5473 /^X\(\/\/\)[^/].*/{ 5474 s//\1/ 5475 q 5476 } 5477 /^X\(\/\/\)$/{ 5478 s//\1/ 5479 q 5480 } 5481 /^X\(\/\).*/{ 5482 s//\1/ 5483 q 5484 } 5485 s/.*/./; q'` 5486 test -d "$as_dir" && break 5487 done 5488 test -z "$as_dirs" || eval "mkdir $as_dirs" 5489 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 5490 5491 5492 } # as_fn_mkdir_p 5493 if mkdir -p . 2>/dev/null; then 5494 as_mkdir_p='mkdir -p "$as_dir"' 5495 else 5496 test -d ./-p && rmdir ./-p 5497 as_mkdir_p=false 5498 fi 5499 5500 if test -x / >/dev/null 2>&1; then 5501 as_test_x='test -x' 5502 else 5503 if ls -dL / >/dev/null 2>&1; then 5504 as_ls_L_option=L 5505 else 5506 as_ls_L_option= 5507 fi 5508 as_test_x=' 5509 eval sh -c '\'' 5510 if test -d "$1"; then 5511 test -d "$1/."; 5512 else 5513 case $1 in #( 5514 -*)set "./$1";; 5515 esac; 5516 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 5517 ???[sx]*):;;*)false;;esac;fi 5518 '\'' sh 5519 ' 5520 fi 5521 as_executable_p=$as_test_x 5522 5523 # Sed expression to map a string onto a valid CPP name. 5524 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5525 5526 # Sed expression to map a string onto a valid variable name. 5527 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5528 3731 5529 3732 5530 exec 6>&1 3733 3734 _ACEOF 3735 5531 ## ----------------------------------- ## 5532 ## Main body of $CONFIG_STATUS script. ## 5533 ## ----------------------------------- ## 5534 _ASEOF 5535 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 5536 5537 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5538 # Save the log message, to keep $0 and so on meaningful, and to 5539 # report actual input values of CONFIG_FILES etc. instead of their 5540 # values after options handling. 5541 ac_log=" 5542 This file was extended by cfa-cc $as_me 1.0, which was 5543 generated by GNU Autoconf 2.68. Invocation command line was 5544 5545 CONFIG_FILES = $CONFIG_FILES 5546 CONFIG_HEADERS = $CONFIG_HEADERS 5547 CONFIG_LINKS = $CONFIG_LINKS 5548 CONFIG_COMMANDS = $CONFIG_COMMANDS 5549 $ $0 $@ 5550 5551 on `(hostname || uname -n) 2>/dev/null | sed 1q` 5552 " 5553 5554 _ACEOF 5555 5556 case $ac_config_files in *" 5557 "*) set x $ac_config_files; shift; ac_config_files=$*;; 5558 esac 5559 5560 case $ac_config_headers in *" 5561 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 5562 esac 5563 5564 5565 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3736 5566 # Files that config.status was made for. 3737 if test -n "$ac_config_files"; then 3738 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 3739 fi 3740 3741 if test -n "$ac_config_headers"; then 3742 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 3743 fi 3744 3745 if test -n "$ac_config_links"; then 3746 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 3747 fi 3748 3749 if test -n "$ac_config_commands"; then 3750 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 3751 fi 3752 3753 cat >>$CONFIG_STATUS <<\EOF 3754 5567 config_files="$ac_config_files" 5568 config_headers="$ac_config_headers" 5569 config_commands="$ac_config_commands" 5570 5571 _ACEOF 5572 5573 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3755 5574 ac_cs_usage="\ 3756 \`$as_me' instantiates files from templates according to the 3757 current configuration. 3758 3759 Usage: $0 [OPTIONS] [FILE]... 5575 \`$as_me' instantiates files and other configuration actions 5576 from templates according to the current configuration. Unless the files 5577 and actions are specified as TAGs, all are instantiated by default. 5578 5579 Usage: $0 [OPTION]... [TAG]... 3760 5580 3761 5581 -h, --help print this help, then exit 3762 -V, --version print version number, then exit 5582 -V, --version print version number and configuration settings, then exit 5583 --config print configuration, then exit 5584 -q, --quiet, --silent 5585 do not print progress messages 3763 5586 -d, --debug don't remove temporary files 3764 5587 --recheck update $as_me by reconfiguring in the same conditions 3765 --file=FILE[:TEMPLATE]5588 --file=FILE[:TEMPLATE] 3766 5589 instantiate the configuration file FILE 3767 --header=FILE[:TEMPLATE]5590 --header=FILE[:TEMPLATE] 3768 5591 instantiate the configuration header FILE 3769 5592 … … 3777 5600 $config_commands 3778 5601 3779 Report bugs to <bug-autoconf@gnu.org>." 3780 EOF 3781 3782 cat >>$CONFIG_STATUS <<EOF 5602 Report bugs to <cforall@plg.uwaterloo.ca>." 5603 5604 _ACEOF 5605 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5606 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 3783 5607 ac_cs_version="\\ 3784 5608 cfa-cc config.status 1.0 3785 configured by $0, generated by GNU Autoconf 2.52, 3786 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 3787 3788 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 3789 Free Software Foundation, Inc. 5609 configured by $0, generated by GNU Autoconf 2.68, 5610 with options \\"\$ac_cs_config\\" 5611 5612 Copyright (C) 2010 Free Software Foundation, Inc. 3790 5613 This config.status script is free software; the Free Software Foundation 3791 5614 gives unlimited permission to copy, distribute and modify it." 3792 srcdir=$srcdir 3793 INSTALL="$INSTALL" 3794 EOF 3795 3796 cat >>$CONFIG_STATUS <<\EOF 3797 # If no file are specified by the user, then we need to provide default 3798 # value. By we need to know if files were specified by the user. 5615 5616 ac_pwd='$ac_pwd' 5617 srcdir='$srcdir' 5618 INSTALL='$INSTALL' 5619 MKDIR_P='$MKDIR_P' 5620 AWK='$AWK' 5621 test -n "\$AWK" || AWK=awk 5622 _ACEOF 5623 5624 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5625 # The default lists apply if the user does not specify any file. 3799 5626 ac_need_defaults=: 3800 5627 while test $# != 0 3801 5628 do 3802 5629 case $1 in 3803 --*=*) 3804 ac_option=`expr "x$1" : 'x\([^=]*\)='` 3805 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 3806 shift 3807 set dummy "$ac_option" "$ac_optarg" ${1+"$@"} 3808 shift 5630 --*=?*) 5631 ac_option=`expr "X$1" : 'X\([^=]*\)='` 5632 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 5633 ac_shift=: 3809 5634 ;; 3810 -*);; 3811 *) # This is not an option, so the user has probably given explicit 3812 # arguments. 3813 ac_need_defaults=false;; 5635 --*=) 5636 ac_option=`expr "X$1" : 'X\([^=]*\)='` 5637 ac_optarg= 5638 ac_shift=: 5639 ;; 5640 *) 5641 ac_option=$1 5642 ac_optarg=$2 5643 ac_shift=shift 5644 ;; 3814 5645 esac 3815 5646 3816 case $ 1in5647 case $ac_option in 3817 5648 # Handling of the options. 3818 EOF3819 cat >>$CONFIG_STATUS <<EOF3820 5649 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 3821 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" 3822 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; 3823 EOF 3824 cat >>$CONFIG_STATUS <<\EOF 3825 --version | --vers* | -V ) 3826 echo "$ac_cs_version"; exit 0 ;; 5650 ac_cs_recheck=: ;; 5651 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 5652 $as_echo "$ac_cs_version"; exit ;; 5653 --config | --confi | --conf | --con | --co | --c ) 5654 $as_echo "$ac_cs_config"; exit ;; 5655 --debug | --debu | --deb | --de | --d | -d ) 5656 debug=: ;; 5657 --file | --fil | --fi | --f ) 5658 $ac_shift 5659 case $ac_optarg in 5660 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 5661 '') as_fn_error $? "missing file argument" ;; 5662 esac 5663 as_fn_append CONFIG_FILES " '$ac_optarg'" 5664 ac_need_defaults=false;; 5665 --header | --heade | --head | --hea ) 5666 $ac_shift 5667 case $ac_optarg in 5668 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 5669 esac 5670 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 5671 ac_need_defaults=false;; 3827 5672 --he | --h) 3828 5673 # Conflict between --help and --header 3829 { { echo "$as_me:3829: error: ambiguous option: $1 3830 Try \`$0 --help' for more information." >&5 3831 echo "$as_me: error: ambiguous option: $1 3832 Try \`$0 --help' for more information." >&2;} 3833 { (exit 1); exit 1; }; };; 5674 as_fn_error $? "ambiguous option: \`$1' 5675 Try \`$0 --help' for more information.";; 3834 5676 --help | --hel | -h ) 3835 echo "$ac_cs_usage"; exit 0 ;; 3836 --debug | --d* | -d ) 3837 debug=: ;; 3838 --file | --fil | --fi | --f ) 3839 shift 3840 CONFIG_FILES="$CONFIG_FILES $1" 3841 ac_need_defaults=false;; 3842 --header | --heade | --head | --hea ) 3843 shift 3844 CONFIG_HEADERS="$CONFIG_HEADERS $1" 3845 ac_need_defaults=false;; 5677 $as_echo "$ac_cs_usage"; exit ;; 5678 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5679 | -silent | --silent | --silen | --sile | --sil | --si | --s) 5680 ac_cs_silent=: ;; 3846 5681 3847 5682 # This is an error. 3848 -*) { { echo "$as_me:3848: error: unrecognized option: $1 3849 Try \`$0 --help' for more information." >&5 3850 echo "$as_me: error: unrecognized option: $1 3851 Try \`$0 --help' for more information." >&2;} 3852 { (exit 1); exit 1; }; } ;; 3853 3854 *) ac_config_targets="$ac_config_targets $1" ;; 5683 -*) as_fn_error $? "unrecognized option: \`$1' 5684 Try \`$0 --help' for more information." ;; 5685 5686 *) as_fn_append ac_config_targets " $1" 5687 ac_need_defaults=false ;; 3855 5688 3856 5689 esac … … 3858 5691 done 3859 5692 5693 ac_configure_extra_args= 5694 5695 if $ac_cs_silent; then 5696 exec 6>/dev/null 5697 ac_configure_extra_args="$ac_configure_extra_args --silent" 5698 fi 5699 5700 _ACEOF 5701 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5702 if \$ac_cs_recheck; then 5703 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 5704 shift 5705 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 5706 CONFIG_SHELL='$SHELL' 5707 export CONFIG_SHELL 5708 exec "\$@" 5709 fi 5710 5711 _ACEOF 5712 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3860 5713 exec 5>>config.log 3861 cat >&5 << _ACEOF 3862 3863 ## ----------------------- ## 3864 ## Running config.status. ## 3865 ## ----------------------- ## 3866 3867 This file was extended by $as_me (cfa-cc 1.0) 2.52, executed with 3868 CONFIG_FILES = $CONFIG_FILES 3869 CONFIG_HEADERS = $CONFIG_HEADERS 3870 CONFIG_LINKS = $CONFIG_LINKS 3871 CONFIG_COMMANDS = $CONFIG_COMMANDS 3872 > $ac_cs_invocation 3873 on `(hostname || uname -n) 2>/dev/null | sed 1q` 3874 3875 _ACEOF 3876 EOF 3877 3878 cat >>$CONFIG_STATUS <<EOF 5714 { 5715 echo 5716 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 5717 ## Running $as_me. ## 5718 _ASBOX 5719 $as_echo "$ac_log" 5720 } >&5 5721 5722 _ACEOF 5723 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3879 5724 # 3880 # INIT-COMMANDS section.5725 # INIT-COMMANDS 3881 5726 # 3882 3883 5727 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 3884 5728 3885 EOF 3886 3887 cat >>$CONFIG_STATUS <<\EOF 5729 _ACEOF 5730 5731 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5732 5733 # Handling of arguments. 3888 5734 for ac_config_target in $ac_config_targets 3889 5735 do 3890 case "$ac_config_target" in 3891 # Handling of arguments. 3892 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 3893 "translator/Makefile" ) CONFIG_FILES="$CONFIG_FILES translator/Makefile" ;; 3894 "driver/Makefile" ) CONFIG_FILES="$CONFIG_FILES driver/Makefile" ;; 3895 "libcfa/Makefile" ) CONFIG_FILES="$CONFIG_FILES libcfa/Makefile" ;; 3896 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 3897 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 3898 *) { { echo "$as_me:3898: error: invalid argument: $ac_config_target" >&5 3899 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 3900 { (exit 1); exit 1; }; };; 5736 case $ac_config_target in 5737 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 5738 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 5739 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 5740 "translator/Makefile") CONFIG_FILES="$CONFIG_FILES translator/Makefile" ;; 5741 "driver/Makefile") CONFIG_FILES="$CONFIG_FILES driver/Makefile" ;; 5742 "libcfa/Makefile") CONFIG_FILES="$CONFIG_FILES libcfa/Makefile" ;; 5743 5744 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 3901 5745 esac 3902 5746 done 5747 3903 5748 3904 5749 # If the user did not use the arguments to specify the items to instantiate, … … 3912 5757 fi 3913 5758 3914 # Create a temporary directory, and hook for its removal unless debugging. 5759 # Have a temporary directory for convenience. Make it in the build tree 5760 # simply because there is no reason against having it here, and in addition, 5761 # creating and moving files from /tmp can sometimes cause problems. 5762 # Hook for its removal unless debugging. 5763 # Note that there is a small window in which the directory will not be cleaned: 5764 # after its creation but before its name has been assigned to `$tmp'. 3915 5765 $debug || 3916 5766 { 3917 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 3918 trap '{ (exit 1); exit 1; }' 1 2 13 15 5767 tmp= ac_tmp= 5768 trap 'exit_status=$? 5769 : "${ac_tmp:=$tmp}" 5770 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 5771 ' 0 5772 trap 'as_fn_exit 1' 1 2 13 15 3919 5773 } 3920 3921 5774 # Create a (secure) tmp directory for tmp files. 3922 : ${TMPDIR=/tmp} 5775 3923 5776 { 3924 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&3925 test - n "$tmp" && test -d "$tmp"5777 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 5778 test -d "$tmp" 3926 5779 } || 3927 5780 { 3928 tmp=$TMPDIR/cs$$-$RANDOM 3929 (umask 077 && mkdir $tmp) 3930 } || 5781 tmp=./conf$$-$RANDOM 5782 (umask 077 && mkdir "$tmp") 5783 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 5784 ac_tmp=$tmp 5785 5786 # Set up the scripts for CONFIG_FILES section. 5787 # No need to generate them if there are no CONFIG_FILES. 5788 # This happens for instance with `./config.status config.h'. 5789 if test -n "$CONFIG_FILES"; then 5790 5791 5792 ac_cr=`echo X | tr X '\015'` 5793 # On cygwin, bash can eat \r inside `` if the user requested igncr. 5794 # But we know of no other shell where ac_cr would be empty at this 5795 # point, so we can use a bashism as a fallback. 5796 if test "x$ac_cr" = x; then 5797 eval ac_cr=\$\'\\r\' 5798 fi 5799 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 5800 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 5801 ac_cs_awk_cr='\\r' 5802 else 5803 ac_cs_awk_cr=$ac_cr 5804 fi 5805 5806 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 5807 _ACEOF 5808 5809 3931 5810 { 3932 echo "$me: cannot create a temporary directory in $TMPDIR" >&2 3933 { (exit 1); exit 1; } 5811 echo "cat >conf$$subs.awk <<_ACEOF" && 5812 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 5813 echo "_ACEOF" 5814 } >conf$$subs.sh || 5815 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5816 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 5817 ac_delim='%!_!# ' 5818 for ac_last_try in false false false false false :; do 5819 . ./conf$$subs.sh || 5820 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5821 5822 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 5823 if test $ac_delim_n = $ac_delim_num; then 5824 break 5825 elif $ac_last_try; then 5826 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5827 else 5828 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 5829 fi 5830 done 5831 rm -f conf$$subs.sh 5832 5833 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5834 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 5835 _ACEOF 5836 sed -n ' 5837 h 5838 s/^/S["/; s/!.*/"]=/ 5839 p 5840 g 5841 s/^[^!]*!// 5842 :repl 5843 t repl 5844 s/'"$ac_delim"'$// 5845 t delim 5846 :nl 5847 h 5848 s/\(.\{148\}\)..*/\1/ 5849 t more1 5850 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 5851 p 5852 n 5853 b repl 5854 :more1 5855 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 5856 p 5857 g 5858 s/.\{148\}// 5859 t nl 5860 :delim 5861 h 5862 s/\(.\{148\}\)..*/\1/ 5863 t more2 5864 s/["\\]/\\&/g; s/^/"/; s/$/"/ 5865 p 5866 b 5867 :more2 5868 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 5869 p 5870 g 5871 s/.\{148\}// 5872 t delim 5873 ' <conf$$subs.awk | sed ' 5874 /^[^""]/{ 5875 N 5876 s/\n// 3934 5877 } 3935 3936 EOF 3937 3938 cat >>$CONFIG_STATUS <<EOF 3939 3940 # 3941 # CONFIG_FILES section. 3942 # 3943 3944 # No need to generate the scripts if there are no CONFIG_FILES. 3945 # This happens for instance when ./config.status config.h 3946 if test -n "\$CONFIG_FILES"; then 3947 # Protect against being on the right side of a sed subst in config.status. 3948 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 3949 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 3950 s,@SHELL@,$SHELL,;t t 3951 s,@exec_prefix@,$exec_prefix,;t t 3952 s,@prefix@,$prefix,;t t 3953 s,@program_transform_name@,$program_transform_name,;t t 3954 s,@bindir@,$bindir,;t t 3955 s,@sbindir@,$sbindir,;t t 3956 s,@libexecdir@,$libexecdir,;t t 3957 s,@datadir@,$datadir,;t t 3958 s,@sysconfdir@,$sysconfdir,;t t 3959 s,@sharedstatedir@,$sharedstatedir,;t t 3960 s,@localstatedir@,$localstatedir,;t t 3961 s,@libdir@,$libdir,;t t 3962 s,@includedir@,$includedir,;t t 3963 s,@oldincludedir@,$oldincludedir,;t t 3964 s,@infodir@,$infodir,;t t 3965 s,@mandir@,$mandir,;t t 3966 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 3967 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 3968 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 3969 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 3970 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 3971 s,@build_alias@,$build_alias,;t t 3972 s,@host_alias@,$host_alias,;t t 3973 s,@target_alias@,$target_alias,;t t 3974 s,@ECHO_C@,$ECHO_C,;t t 3975 s,@ECHO_N@,$ECHO_N,;t t 3976 s,@ECHO_T@,$ECHO_T,;t t 3977 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 3978 s,@DEFS@,$DEFS,;t t 3979 s,@LIBS@,$LIBS,;t t 3980 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 3981 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 3982 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 3983 s,@PACKAGE@,$PACKAGE,;t t 3984 s,@VERSION@,$VERSION,;t t 3985 s,@ACLOCAL@,$ACLOCAL,;t t 3986 s,@AUTOCONF@,$AUTOCONF,;t t 3987 s,@AUTOMAKE@,$AUTOMAKE,;t t 3988 s,@AUTOHEADER@,$AUTOHEADER,;t t 3989 s,@MAKEINFO@,$MAKEINFO,;t t 3990 s,@AMTAR@,$AMTAR,;t t 3991 s,@install_sh@,$install_sh,;t t 3992 s,@STRIP@,$STRIP,;t t 3993 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 3994 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t 3995 s,@AWK@,$AWK,;t t 3996 s,@SET_MAKE@,$SET_MAKE,;t t 3997 s,@YACC@,$YACC,;t t 3998 s,@CXX@,$CXX,;t t 3999 s,@CXXFLAGS@,$CXXFLAGS,;t t 4000 s,@LDFLAGS@,$LDFLAGS,;t t 4001 s,@CPPFLAGS@,$CPPFLAGS,;t t 4002 s,@ac_ct_CXX@,$ac_ct_CXX,;t t 4003 s,@EXEEXT@,$EXEEXT,;t t 4004 s,@OBJEXT@,$OBJEXT,;t t 4005 s,@DEPDIR@,$DEPDIR,;t t 4006 s,@am__include@,$am__include,;t t 4007 s,@am__quote@,$am__quote,;t t 4008 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t 4009 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t 4010 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t 4011 s,@CXXDEPMODE@,$CXXDEPMODE,;t t 4012 s,@CC@,$CC,;t t 4013 s,@CFLAGS@,$CFLAGS,;t t 4014 s,@ac_ct_CC@,$ac_ct_CC,;t t 4015 s,@CCDEPMODE@,$CCDEPMODE,;t t 4016 s,@LEX@,$LEX,;t t 4017 s,@LEXLIB@,$LEXLIB,;t t 4018 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t 4019 s,@CPP@,$CPP,;t t 4020 s,@preludedir@,$preludedir,;t t 4021 s,@GCC_PATH@,$GCC_PATH,;t t 4022 s,@BACKEND_CC@,$BACKEND_CC,;t t 4023 s,@CPP_PATH@,$CPP_PATH,;t t 4024 s,@CFA_PREFIX@,$CFA_PREFIX,;t t 4025 s,@CFA_BINDIR@,$CFA_BINDIR,;t t 4026 s,@CFA_LIBDIR@,$CFA_LIBDIR,;t t 4027 CEOF 4028 4029 EOF 4030 4031 cat >>$CONFIG_STATUS <<\EOF 4032 # Split the substitutions into bite-sized pieces for seds with 4033 # small command number limits, like on Digital OSF/1 and HP-UX. 4034 ac_max_sed_lines=48 4035 ac_sed_frag=1 # Number of current file. 4036 ac_beg=1 # First line for current file. 4037 ac_end=$ac_max_sed_lines # Line after last line for current file. 4038 ac_more_lines=: 4039 ac_sed_cmds= 4040 while $ac_more_lines; do 4041 if test $ac_beg -gt 1; then 4042 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 4043 else 4044 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 5878 ' >>$CONFIG_STATUS || ac_write_fail=1 5879 rm -f conf$$subs.awk 5880 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5881 _ACAWK 5882 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 5883 for (key in S) S_is_set[key] = 1 5884 FS = "" 5885 5886 } 5887 { 5888 line = $ 0 5889 nfields = split(line, field, "@") 5890 substed = 0 5891 len = length(field[1]) 5892 for (i = 2; i < nfields; i++) { 5893 key = field[i] 5894 keylen = length(key) 5895 if (S_is_set[key]) { 5896 value = S[key] 5897 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 5898 len += length(value) + length(field[++i]) 5899 substed = 1 5900 } else 5901 len += 1 + keylen 5902 } 5903 5904 print line 5905 } 5906 5907 _ACAWK 5908 _ACEOF 5909 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5910 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 5911 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 5912 else 5913 cat 5914 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 5915 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 5916 _ACEOF 5917 5918 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 5919 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 5920 # trailing colons and then remove the whole line if VPATH becomes empty 5921 # (actually we leave an empty line to preserve line numbers). 5922 if test "x$srcdir" = x.; then 5923 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 5924 h 5925 s/// 5926 s/^/:/ 5927 s/[ ]*$/:/ 5928 s/:\$(srcdir):/:/g 5929 s/:\${srcdir}:/:/g 5930 s/:@srcdir@:/:/g 5931 s/^:*// 5932 s/:*$// 5933 x 5934 s/\(=[ ]*\).*/\1/ 5935 G 5936 s/\n// 5937 s/^[^=]*=[ ]*$// 5938 }' 5939 fi 5940 5941 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5942 fi # test -n "$CONFIG_FILES" 5943 5944 # Set up the scripts for CONFIG_HEADERS section. 5945 # No need to generate them if there are no CONFIG_HEADERS. 5946 # This happens for instance with `./config.status Makefile'. 5947 if test -n "$CONFIG_HEADERS"; then 5948 cat >"$ac_tmp/defines.awk" <<\_ACAWK || 5949 BEGIN { 5950 _ACEOF 5951 5952 # Transform confdefs.h into an awk script `defines.awk', embedded as 5953 # here-document in config.status, that substitutes the proper values into 5954 # config.h.in to produce config.h. 5955 5956 # Create a delimiter string that does not exist in confdefs.h, to ease 5957 # handling of long lines. 5958 ac_delim='%!_!# ' 5959 for ac_last_try in false false :; do 5960 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 5961 if test -z "$ac_tt"; then 5962 break 5963 elif $ac_last_try; then 5964 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 5965 else 5966 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 5967 fi 5968 done 5969 5970 # For the awk script, D is an array of macro values keyed by name, 5971 # likewise P contains macro parameters if any. Preserve backslash 5972 # newline sequences. 5973 5974 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 5975 sed -n ' 5976 s/.\{148\}/&'"$ac_delim"'/g 5977 t rset 5978 :rset 5979 s/^[ ]*#[ ]*define[ ][ ]*/ / 5980 t def 5981 d 5982 :def 5983 s/\\$// 5984 t bsnl 5985 s/["\\]/\\&/g 5986 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 5987 D["\1"]=" \3"/p 5988 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 5989 d 5990 :bsnl 5991 s/["\\]/\\&/g 5992 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 5993 D["\1"]=" \3\\\\\\n"\\/p 5994 t cont 5995 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 5996 t cont 5997 d 5998 :cont 5999 n 6000 s/.\{148\}/&'"$ac_delim"'/g 6001 t clear 6002 :clear 6003 s/\\$// 6004 t bsnlc 6005 s/["\\]/\\&/g; s/^/"/; s/$/"/p 6006 d 6007 :bsnlc 6008 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 6009 b cont 6010 ' <confdefs.h | sed ' 6011 s/'"$ac_delim"'/"\\\ 6012 "/g' >>$CONFIG_STATUS || ac_write_fail=1 6013 6014 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6015 for (key in D) D_is_set[key] = 1 6016 FS = "" 6017 } 6018 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 6019 line = \$ 0 6020 split(line, arg, " ") 6021 if (arg[1] == "#") { 6022 defundef = arg[2] 6023 mac1 = arg[3] 6024 } else { 6025 defundef = substr(arg[1], 2) 6026 mac1 = arg[2] 6027 } 6028 split(mac1, mac2, "(") #) 6029 macro = mac2[1] 6030 prefix = substr(line, 1, index(line, defundef) - 1) 6031 if (D_is_set[macro]) { 6032 # Preserve the white space surrounding the "#". 6033 print prefix "define", macro P[macro] D[macro] 6034 next 6035 } else { 6036 # Replace #undef with comments. This is necessary, for example, 6037 # in the case of _POSIX_SOURCE, which is predefined and required 6038 # on some systems where configure will not decide to define it. 6039 if (defundef == "undef") { 6040 print "/*", prefix defundef, macro, "*/" 6041 next 6042 } 6043 } 6044 } 6045 { print } 6046 _ACAWK 6047 _ACEOF 6048 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6049 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 6050 fi # test -n "$CONFIG_HEADERS" 6051 6052 6053 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 6054 shift 6055 for ac_tag 6056 do 6057 case $ac_tag in 6058 :[FHLC]) ac_mode=$ac_tag; continue;; 6059 esac 6060 case $ac_mode$ac_tag in 6061 :[FHL]*:*);; 6062 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 6063 :[FH]-) ac_tag=-:-;; 6064 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 6065 esac 6066 ac_save_IFS=$IFS 6067 IFS=: 6068 set x $ac_tag 6069 IFS=$ac_save_IFS 6070 shift 6071 ac_file=$1 6072 shift 6073 6074 case $ac_mode in 6075 :L) ac_source=$1;; 6076 :[FH]) 6077 ac_file_inputs= 6078 for ac_f 6079 do 6080 case $ac_f in 6081 -) ac_f="$ac_tmp/stdin";; 6082 *) # Look for the file first in the build tree, then in the source tree 6083 # (if the path is not absolute). The absolute path cannot be DOS-style, 6084 # because $ac_f cannot contain `:'. 6085 test -f "$ac_f" || 6086 case $ac_f in 6087 [\\/$]*) false;; 6088 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 6089 esac || 6090 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 6091 esac 6092 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 6093 as_fn_append ac_file_inputs " '$ac_f'" 6094 done 6095 6096 # Let's still pretend it is `configure' which instantiates (i.e., don't 6097 # use $as_me), people would be surprised to read: 6098 # /* config.h. Generated by config.status. */ 6099 configure_input='Generated from '` 6100 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 6101 `' by configure.' 6102 if test x"$ac_file" != x-; then 6103 configure_input="$ac_file. $configure_input" 6104 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 6105 $as_echo "$as_me: creating $ac_file" >&6;} 4045 6106 fi 4046 if test ! -s $tmp/subs.frag; then 4047 ac_more_lines=false 4048 else 4049 # The purpose of the label and of the branching condition is to 4050 # speed up the sed processing (if there are no `@' at all, there 4051 # is no need to browse any of the substitutions). 4052 # These are the two extra sed commands mentioned above. 4053 (echo ':t 4054 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 4055 if test -z "$ac_sed_cmds"; then 4056 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 4057 else 4058 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 4059 fi 4060 ac_sed_frag=`expr $ac_sed_frag + 1` 4061 ac_beg=$ac_end 4062 ac_end=`expr $ac_end + $ac_max_sed_lines` 4063 fi 4064 done 4065 if test -z "$ac_sed_cmds"; then 4066 ac_sed_cmds=cat 4067 fi 4068 fi # test -n "$CONFIG_FILES" 4069 4070 EOF 4071 cat >>$CONFIG_STATUS <<\EOF 4072 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 4073 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 4074 case $ac_file in 4075 - | *:- | *:-:* ) # input from stdin 4076 cat >$tmp/stdin 4077 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 4078 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 4079 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 4080 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 4081 * ) ac_file_in=$ac_file.in ;; 4082 esac 4083 4084 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 4085 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4086 X"$ac_file" : 'X\(//\)[^/]' \| \ 4087 X"$ac_file" : 'X\(//\)$' \| \ 4088 X"$ac_file" : 'X\(/\)' \| \ 4089 . : '\(.\)' 2>/dev/null || 4090 echo X"$ac_file" | 4091 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4092 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4093 /^X\(\/\/\)$/{ s//\1/; q; } 4094 /^X\(\/\).*/{ s//\1/; q; } 4095 s/.*/./; q'` 4096 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 4097 { case "$ac_dir" in 4098 [\\/]* | ?:[\\/]* ) as_incr_dir=;; 4099 *) as_incr_dir=.;; 4100 esac 4101 as_dummy="$ac_dir" 4102 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do 4103 case $as_mkdir_dir in 4104 # Skip DOS drivespec 4105 ?:) as_incr_dir=$as_mkdir_dir ;; 4106 *) 4107 as_incr_dir=$as_incr_dir/$as_mkdir_dir 4108 test -d "$as_incr_dir" || mkdir "$as_incr_dir" 6107 # Neutralize special characters interpreted by sed in replacement strings. 6108 case $configure_input in #( 6109 *\&* | *\|* | *\\* ) 6110 ac_sed_conf_input=`$as_echo "$configure_input" | 6111 sed 's/[\\\\&|]/\\\\&/g'`;; #( 6112 *) ac_sed_conf_input=$configure_input;; 6113 esac 6114 6115 case $ac_tag in 6116 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 6117 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 6118 esac 4109 6119 ;; 4110 6120 esac 4111 done; } 4112 4113 ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`" 4114 # A "../" for each directory in $ac_dir_suffix. 4115 ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'` 4116 else 4117 ac_dir_suffix= ac_dots= 4118 fi 4119 4120 case $srcdir in 4121 .) ac_srcdir=. 4122 if test -z "$ac_dots"; then 4123 ac_top_srcdir=. 4124 else 4125 ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'` 4126 fi ;; 4127 [\\/]* | ?:[\\/]* ) 4128 ac_srcdir=$srcdir$ac_dir_suffix; 4129 ac_top_srcdir=$srcdir ;; 4130 *) # Relative path. 4131 ac_srcdir=$ac_dots$srcdir$ac_dir_suffix 4132 ac_top_srcdir=$ac_dots$srcdir ;; 4133 esac 6121 6122 ac_dir=`$as_dirname -- "$ac_file" || 6123 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6124 X"$ac_file" : 'X\(//\)[^/]' \| \ 6125 X"$ac_file" : 'X\(//\)$' \| \ 6126 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 6127 $as_echo X"$ac_file" | 6128 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6129 s//\1/ 6130 q 6131 } 6132 /^X\(\/\/\)[^/].*/{ 6133 s//\1/ 6134 q 6135 } 6136 /^X\(\/\/\)$/{ 6137 s//\1/ 6138 q 6139 } 6140 /^X\(\/\).*/{ 6141 s//\1/ 6142 q 6143 } 6144 s/.*/./; q'` 6145 as_dir="$ac_dir"; as_fn_mkdir_p 6146 ac_builddir=. 6147 6148 case "$ac_dir" in 6149 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 6150 *) 6151 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 6152 # A ".." for each directory in $ac_dir_suffix. 6153 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 6154 case $ac_top_builddir_sub in 6155 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 6156 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 6157 esac ;; 6158 esac 6159 ac_abs_top_builddir=$ac_pwd 6160 ac_abs_builddir=$ac_pwd$ac_dir_suffix 6161 # for backward compatibility: 6162 ac_top_builddir=$ac_top_build_prefix 6163 6164 case $srcdir in 6165 .) # We are building in place. 6166 ac_srcdir=. 6167 ac_top_srcdir=$ac_top_builddir_sub 6168 ac_abs_top_srcdir=$ac_pwd ;; 6169 [\\/]* | ?:[\\/]* ) # Absolute name. 6170 ac_srcdir=$srcdir$ac_dir_suffix; 6171 ac_top_srcdir=$srcdir 6172 ac_abs_top_srcdir=$srcdir ;; 6173 *) # Relative name. 6174 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 6175 ac_top_srcdir=$ac_top_build_prefix$srcdir 6176 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 6177 esac 6178 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 6179 6180 6181 case $ac_mode in 6182 :F) 6183 # 6184 # CONFIG_FILE 6185 # 4134 6186 4135 6187 case $INSTALL in 4136 6188 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 4137 *) ac_INSTALL=$ac_ dots$INSTALL ;;6189 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 4138 6190 esac 4139 4140 if test x"$ac_file" != x-; then 4141 { echo "$as_me:4141: creating $ac_file" >&5 4142 echo "$as_me: creating $ac_file" >&6;} 4143 rm -f "$ac_file" 4144 fi 4145 # Let's still pretend it is `configure' which instantiates (i.e., don't 4146 # use $as_me), people would be surprised to read: 4147 # /* config.h. Generated automatically by config.status. */ 4148 configure_input="Generated automatically from `echo $ac_file_in | 4149 sed 's,.*/,,'` by configure." 4150 4151 # First look for the input files in the build tree, otherwise in the 4152 # src tree. 4153 ac_file_inputs=`IFS=: 4154 for f in $ac_file_in; do 4155 case $f in 4156 -) echo $tmp/stdin ;; 4157 [\\/$]*) 4158 # Absolute (can't be DOS-style, as IFS=:) 4159 test -f "$f" || { { echo "$as_me:4159: error: cannot find input file: $f" >&5 4160 echo "$as_me: error: cannot find input file: $f" >&2;} 4161 { (exit 1); exit 1; }; } 4162 echo $f;; 4163 *) # Relative 4164 if test -f "$f"; then 4165 # Build tree 4166 echo $f 4167 elif test -f "$srcdir/$f"; then 4168 # Source tree 4169 echo $srcdir/$f 4170 else 4171 # /dev/null tree 4172 { { echo "$as_me:4172: error: cannot find input file: $f" >&5 4173 echo "$as_me: error: cannot find input file: $f" >&2;} 4174 { (exit 1); exit 1; }; } 4175 fi;; 4176 esac 4177 done` || { (exit 1); exit 1; } 4178 EOF 4179 cat >>$CONFIG_STATUS <<EOF 4180 sed "$ac_vpsub 6191 ac_MKDIR_P=$MKDIR_P 6192 case $MKDIR_P in 6193 [\\/$]* | ?:[\\/]* ) ;; 6194 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 6195 esac 6196 _ACEOF 6197 6198 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6199 # If the template does not know about datarootdir, expand it. 6200 # FIXME: This hack should be removed a few years after 2.60. 6201 ac_datarootdir_hack=; ac_datarootdir_seen= 6202 ac_sed_dataroot=' 6203 /datarootdir/ { 6204 p 6205 q 6206 } 6207 /@datadir@/p 6208 /@docdir@/p 6209 /@infodir@/p 6210 /@localedir@/p 6211 /@mandir@/p' 6212 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 6213 *datarootdir*) ac_datarootdir_seen=yes;; 6214 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 6215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 6216 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 6217 _ACEOF 6218 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6219 ac_datarootdir_hack=' 6220 s&@datadir@&$datadir&g 6221 s&@docdir@&$docdir&g 6222 s&@infodir@&$infodir&g 6223 s&@localedir@&$localedir&g 6224 s&@mandir@&$mandir&g 6225 s&\\\${datarootdir}&$datarootdir&g' ;; 6226 esac 6227 _ACEOF 6228 6229 # Neutralize VPATH when `$srcdir' = `.'. 6230 # Shell code in configure.ac might set extrasub. 6231 # FIXME: do we really want to maintain this feature? 6232 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6233 ac_sed_extra="$ac_vpsub 4181 6234 $extrasub 4182 EOF4183 cat >>$CONFIG_STATUS <<\ EOF6235 _ACEOF 6236 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4184 6237 :t 4185 6238 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 4186 s,@configure_input@,$configure_input,;t t 4187 s,@srcdir@,$ac_srcdir,;t t 4188 s,@top_srcdir@,$ac_top_srcdir,;t t 4189 s,@INSTALL@,$ac_INSTALL,;t t 4190 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 4191 rm -f $tmp/stdin 6239 s|@configure_input@|$ac_sed_conf_input|;t t 6240 s&@top_builddir@&$ac_top_builddir_sub&;t t 6241 s&@top_build_prefix@&$ac_top_build_prefix&;t t 6242 s&@srcdir@&$ac_srcdir&;t t 6243 s&@abs_srcdir@&$ac_abs_srcdir&;t t 6244 s&@top_srcdir@&$ac_top_srcdir&;t t 6245 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 6246 s&@builddir@&$ac_builddir&;t t 6247 s&@abs_builddir@&$ac_abs_builddir&;t t 6248 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 6249 s&@INSTALL@&$ac_INSTALL&;t t 6250 s&@MKDIR_P@&$ac_MKDIR_P&;t t 6251 $ac_datarootdir_hack 6252 " 6253 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 6254 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 6255 6256 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 6257 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 6258 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 6259 "$ac_tmp/out"`; test -z "$ac_out"; } && 6260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6261 which seems to be undefined. Please make sure it is defined" >&5 6262 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6263 which seems to be undefined. Please make sure it is defined" >&2;} 6264 6265 rm -f "$ac_tmp/stdin" 6266 case $ac_file in 6267 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 6268 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 6269 esac \ 6270 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 6271 ;; 6272 :H) 6273 # 6274 # CONFIG_HEADER 6275 # 4192 6276 if test x"$ac_file" != x-; then 4193 mv $tmp/out $ac_file 4194 else 4195 cat $tmp/out 4196 rm -f $tmp/out 4197 fi 4198 4199 done 4200 EOF 4201 cat >>$CONFIG_STATUS <<\EOF 4202 4203 # 4204 # CONFIG_HEADER section. 4205 # 4206 4207 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 4208 # NAME is the cpp macro being defined and VALUE is the value it is being given. 4209 # 4210 # ac_d sets the value in "#define NAME VALUE" lines. 4211 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 4212 ac_dB='[ ].*$,\1#\2' 4213 ac_dC=' ' 4214 ac_dD=',;t' 4215 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 4216 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 4217 ac_uB='$,\1#\2define\3' 4218 ac_uC=' ' 4219 ac_uD=',;t' 4220 4221 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 4222 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 4223 case $ac_file in 4224 - | *:- | *:-:* ) # input from stdin 4225 cat >$tmp/stdin 4226 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 4227 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 4228 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 4229 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 4230 * ) ac_file_in=$ac_file.in ;; 4231 esac 4232 4233 test x"$ac_file" != x- && { echo "$as_me:4233: creating $ac_file" >&5 4234 echo "$as_me: creating $ac_file" >&6;} 4235 4236 # First look for the input files in the build tree, otherwise in the 4237 # src tree. 4238 ac_file_inputs=`IFS=: 4239 for f in $ac_file_in; do 4240 case $f in 4241 -) echo $tmp/stdin ;; 4242 [\\/$]*) 4243 # Absolute (can't be DOS-style, as IFS=:) 4244 test -f "$f" || { { echo "$as_me:4244: error: cannot find input file: $f" >&5 4245 echo "$as_me: error: cannot find input file: $f" >&2;} 4246 { (exit 1); exit 1; }; } 4247 echo $f;; 4248 *) # Relative 4249 if test -f "$f"; then 4250 # Build tree 4251 echo $f 4252 elif test -f "$srcdir/$f"; then 4253 # Source tree 4254 echo $srcdir/$f 4255 else 4256 # /dev/null tree 4257 { { echo "$as_me:4257: error: cannot find input file: $f" >&5 4258 echo "$as_me: error: cannot find input file: $f" >&2;} 4259 { (exit 1); exit 1; }; } 4260 fi;; 4261 esac 4262 done` || { (exit 1); exit 1; } 4263 # Remove the trailing spaces. 4264 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 4265 4266 EOF 4267 4268 # Transform confdefs.h into two sed scripts, `conftest.defines' and 4269 # `conftest.undefs', that substitutes the proper values into 4270 # config.h.in to produce config.h. The first handles `#define' 4271 # templates, and the second `#undef' templates. 4272 # And first: Protect against being on the right side of a sed subst in 4273 # config.status. Protect against being in an unquoted here document 4274 # in config.status. 4275 rm -f conftest.defines conftest.undefs 4276 # Using a here document instead of a string reduces the quoting nightmare. 4277 # Putting comments in sed scripts is not portable. 4278 # 4279 # `end' is used to avoid that the second main sed command (meant for 4280 # 0-ary CPP macros) applies to n-ary macro definitions. 4281 # See the Autoconf documentation for `clear'. 4282 cat >confdef2sed.sed <<\EOF 4283 s/[\\&,]/\\&/g 4284 s,[\\$`],\\&,g 4285 t clear 4286 : clear 4287 s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp 4288 t end 4289 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 4290 : end 4291 EOF 4292 # If some macros were called several times there might be several times 4293 # the same #defines, which is useless. Nevertheless, we may not want to 4294 # sort them, since we want the *last* AC-DEFINE to be honored. 4295 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 4296 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 4297 rm -f confdef2sed.sed 4298 4299 # This sed command replaces #undef with comments. This is necessary, for 4300 # example, in the case of _POSIX_SOURCE, which is predefined and required 4301 # on some systems where configure will not decide to define it. 4302 cat >>conftest.undefs <<\EOF 4303 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 4304 EOF 4305 4306 # Break up conftest.defines because some shells have a limit on the size 4307 # of here documents, and old seds have small limits too (100 cmds). 4308 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 4309 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 4310 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 4311 echo ' :' >>$CONFIG_STATUS 4312 rm -f conftest.tail 4313 while grep . conftest.defines >/dev/null 4314 do 4315 # Write a limited-size here document to $tmp/defines.sed. 4316 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 4317 # Speed up: don't consider the non `#define' lines. 4318 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 4319 # Work around the forget-to-reset-the-flag bug. 4320 echo 't clr' >>$CONFIG_STATUS 4321 echo ': clr' >>$CONFIG_STATUS 4322 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 4323 echo 'CEOF 4324 sed -f $tmp/defines.sed $tmp/in >$tmp/out 4325 rm -f $tmp/in 4326 mv $tmp/out $tmp/in 4327 ' >>$CONFIG_STATUS 4328 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 4329 rm -f conftest.defines 4330 mv conftest.tail conftest.defines 4331 done 4332 rm -f conftest.defines 4333 echo ' fi # egrep' >>$CONFIG_STATUS 4334 echo >>$CONFIG_STATUS 4335 4336 # Break up conftest.undefs because some shells have a limit on the size 4337 # of here documents, and old seds have small limits too (100 cmds). 4338 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS 4339 rm -f conftest.tail 4340 while grep . conftest.undefs >/dev/null 4341 do 4342 # Write a limited-size here document to $tmp/undefs.sed. 4343 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 4344 # Speed up: don't consider the non `#undef' 4345 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 4346 # Work around the forget-to-reset-the-flag bug. 4347 echo 't clr' >>$CONFIG_STATUS 4348 echo ': clr' >>$CONFIG_STATUS 4349 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 4350 echo 'CEOF 4351 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 4352 rm -f $tmp/in 4353 mv $tmp/out $tmp/in 4354 ' >>$CONFIG_STATUS 4355 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 4356 rm -f conftest.undefs 4357 mv conftest.tail conftest.undefs 4358 done 4359 rm -f conftest.undefs 4360 4361 cat >>$CONFIG_STATUS <<\EOF 4362 # Let's still pretend it is `configure' which instantiates (i.e., don't 4363 # use $as_me), people would be surprised to read: 4364 # /* config.h. Generated automatically by config.status. */ 4365 if test x"$ac_file" = x-; then 4366 echo "/* Generated automatically by configure. */" >$tmp/config.h 4367 else 4368 echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h 4369 fi 4370 cat $tmp/in >>$tmp/config.h 4371 rm -f $tmp/in 4372 if test x"$ac_file" != x-; then 4373 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then 4374 { echo "$as_me:4374: $ac_file is unchanged" >&5 4375 echo "$as_me: $ac_file is unchanged" >&6;} 6277 { 6278 $as_echo "/* $configure_input */" \ 6279 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 6280 } >"$ac_tmp/config.h" \ 6281 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 6282 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 6283 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 6284 $as_echo "$as_me: $ac_file is unchanged" >&6;} 4376 6285 else 4377 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4378 X"$ac_file" : 'X\(//\)[^/]' \| \ 4379 X"$ac_file" : 'X\(//\)$' \| \ 4380 X"$ac_file" : 'X\(/\)' \| \ 4381 . : '\(.\)' 2>/dev/null || 4382 echo X"$ac_file" | 4383 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4384 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4385 /^X\(\/\/\)$/{ s//\1/; q; } 4386 /^X\(\/\).*/{ s//\1/; q; } 4387 s/.*/./; q'` 4388 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 4389 { case "$ac_dir" in 4390 [\\/]* | ?:[\\/]* ) as_incr_dir=;; 4391 *) as_incr_dir=.;; 4392 esac 4393 as_dummy="$ac_dir" 4394 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do 4395 case $as_mkdir_dir in 4396 # Skip DOS drivespec 4397 ?:) as_incr_dir=$as_mkdir_dir ;; 4398 *) 4399 as_incr_dir=$as_incr_dir/$as_mkdir_dir 4400 test -d "$as_incr_dir" || mkdir "$as_incr_dir" 4401 ;; 4402 esac 4403 done; } 4404 4405 fi 4406 rm -f $ac_file 4407 mv $tmp/config.h $ac_file 6286 rm -f "$ac_file" 6287 mv "$ac_tmp/config.h" "$ac_file" \ 6288 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4408 6289 fi 4409 6290 else 4410 cat $tmp/config.h 4411 rm -f $tmp/config.h 6291 $as_echo "/* $configure_input */" \ 6292 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 6293 || as_fn_error $? "could not create -" "$LINENO" 5 4412 6294 fi 4413 # Run the commands associated with the file. 4414 case $ac_file in 4415 config.h ) # update the timestamp 4416 echo 'timestamp for config.h' >"./stamp-h1" 6295 # Compute "$ac_file"'s index in $config_headers. 6296 _am_arg="$ac_file" 6297 _am_stamp_count=1 6298 for _am_header in $config_headers :; do 6299 case $_am_header in 6300 $_am_arg | $_am_arg:* ) 6301 break ;; 6302 * ) 6303 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 6304 esac 6305 done 6306 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 6307 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6308 X"$_am_arg" : 'X\(//\)[^/]' \| \ 6309 X"$_am_arg" : 'X\(//\)$' \| \ 6310 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 6311 $as_echo X"$_am_arg" | 6312 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6313 s//\1/ 6314 q 6315 } 6316 /^X\(\/\/\)[^/].*/{ 6317 s//\1/ 6318 q 6319 } 6320 /^X\(\/\/\)$/{ 6321 s//\1/ 6322 q 6323 } 6324 /^X\(\/\).*/{ 6325 s//\1/ 6326 q 6327 } 6328 s/.*/./; q'`/stamp-h$_am_stamp_count 6329 ;; 6330 6331 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 6332 $as_echo "$as_me: executing $ac_file commands" >&6;} 4417 6333 ;; 4418 6334 esac 4419 done 4420 EOF 4421 cat >>$CONFIG_STATUS <<\EOF 4422 4423 # 4424 # CONFIG_COMMANDS section. 4425 # 4426 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue 4427 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 4428 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 4429 4430 case $ac_dest in 4431 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 4432 # Strip MF so we end up with the name of the file. 4433 mf=`echo "$mf" | sed -e 's/:.*$//'` 4434 # Check whether this is an Automake generated Makefile or not. 4435 # We used to match only the files named `Makefile.in', but 4436 # some people rename them; so instead we look at the file content. 4437 # Grep'ing the first line is not enough: some people post-process 4438 # each Makefile.in and add a new line on top of each file to say so. 4439 # So let's grep whole file. 4440 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 4441 dirpart=`$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4442 X"$mf" : 'X\(//\)[^/]' \| \ 4443 X"$mf" : 'X\(//\)$' \| \ 4444 X"$mf" : 'X\(/\)' \| \ 4445 . : '\(.\)' 2>/dev/null || 4446 echo X"$mf" | 4447 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4448 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4449 /^X\(\/\/\)$/{ s//\1/; q; } 4450 /^X\(\/\).*/{ s//\1/; q; } 4451 s/.*/./; q'` 4452 else 4453 continue 4454 fi 4455 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue 4456 # Extract the definition of DEP_FILES from the Makefile without 4457 # running `make'. 4458 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` 4459 test -z "$DEPDIR" && continue 4460 # When using ansi2knr, U may be empty or an underscore; expand it 4461 U=`sed -n -e '/^U = / s///p' < "$mf"` 4462 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 4463 # We invoke sed twice because it is the simplest approach to 4464 # changing $(DEPDIR) to its actual value in the expansion. 4465 for file in `sed -n -e ' 4466 /^DEP_FILES = .*\\\\$/ { 4467 s/^DEP_FILES = // 4468 :loop 4469 s/\\\\$// 4470 p 4471 n 4472 /\\\\$/ b loop 4473 p 4474 } 4475 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ 4476 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 4477 # Make sure the directory exists. 4478 test -f "$dirpart/$file" && continue 4479 fdir=`$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4480 X"$file" : 'X\(//\)[^/]' \| \ 4481 X"$file" : 'X\(//\)$' \| \ 4482 X"$file" : 'X\(/\)' \| \ 4483 . : '\(.\)' 2>/dev/null || 4484 echo X"$file" | 4485 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4486 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4487 /^X\(\/\/\)$/{ s//\1/; q; } 4488 /^X\(\/\).*/{ s//\1/; q; } 4489 s/.*/./; q'` 4490 { case $dirpart/$fdir in 4491 [\\/]* | ?:[\\/]* ) as_incr_dir=;; 4492 *) as_incr_dir=.;; 4493 esac 4494 as_dummy=$dirpart/$fdir 4495 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do 4496 case $as_mkdir_dir in 4497 # Skip DOS drivespec 4498 ?:) as_incr_dir=$as_mkdir_dir ;; 4499 *) 4500 as_incr_dir=$as_incr_dir/$as_mkdir_dir 4501 test -d "$as_incr_dir" || mkdir "$as_incr_dir" 4502 ;; 6335 6336 6337 case $ac_file$ac_mode in 6338 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 6339 # Autoconf 2.62 quotes --file arguments for eval, but not when files 6340 # are listed without --file. Let's play safe and only enable the eval 6341 # if we detect the quoting. 6342 case $CONFIG_FILES in 6343 *\'*) eval set x "$CONFIG_FILES" ;; 6344 *) set x $CONFIG_FILES ;; 4503 6345 esac 4504 done; } 4505 4506 # echo "creating $dirpart/$file" 4507 echo '# dummy' > "$dirpart/$file" 6346 shift 6347 for mf 6348 do 6349 # Strip MF so we end up with the name of the file. 6350 mf=`echo "$mf" | sed -e 's/:.*$//'` 6351 # Check whether this is an Automake generated Makefile or not. 6352 # We used to match only the files named `Makefile.in', but 6353 # some people rename them; so instead we look at the file content. 6354 # Grep'ing the first line is not enough: some people post-process 6355 # each Makefile.in and add a new line on top of each file to say so. 6356 # Grep'ing the whole file is not good either: AIX grep has a line 6357 # limit of 2048, but all sed's we know have understand at least 4000. 6358 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 6359 dirpart=`$as_dirname -- "$mf" || 6360 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6361 X"$mf" : 'X\(//\)[^/]' \| \ 6362 X"$mf" : 'X\(//\)$' \| \ 6363 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 6364 $as_echo X"$mf" | 6365 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6366 s//\1/ 6367 q 6368 } 6369 /^X\(\/\/\)[^/].*/{ 6370 s//\1/ 6371 q 6372 } 6373 /^X\(\/\/\)$/{ 6374 s//\1/ 6375 q 6376 } 6377 /^X\(\/\).*/{ 6378 s//\1/ 6379 q 6380 } 6381 s/.*/./; q'` 6382 else 6383 continue 6384 fi 6385 # Extract the definition of DEPDIR, am__include, and am__quote 6386 # from the Makefile without running `make'. 6387 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 6388 test -z "$DEPDIR" && continue 6389 am__include=`sed -n 's/^am__include = //p' < "$mf"` 6390 test -z "am__include" && continue 6391 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 6392 # When using ansi2knr, U may be empty or an underscore; expand it 6393 U=`sed -n 's/^U = //p' < "$mf"` 6394 # Find all dependency output files, they are included files with 6395 # $(DEPDIR) in their names. We invoke sed twice because it is the 6396 # simplest approach to changing $(DEPDIR) to its actual value in the 6397 # expansion. 6398 for file in `sed -n " 6399 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 6400 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 6401 # Make sure the directory exists. 6402 test -f "$dirpart/$file" && continue 6403 fdir=`$as_dirname -- "$file" || 6404 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6405 X"$file" : 'X\(//\)[^/]' \| \ 6406 X"$file" : 'X\(//\)$' \| \ 6407 X"$file" : 'X\(/\)' \| . 2>/dev/null || 6408 $as_echo X"$file" | 6409 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6410 s//\1/ 6411 q 6412 } 6413 /^X\(\/\/\)[^/].*/{ 6414 s//\1/ 6415 q 6416 } 6417 /^X\(\/\/\)$/{ 6418 s//\1/ 6419 q 6420 } 6421 /^X\(\/\).*/{ 6422 s//\1/ 6423 q 6424 } 6425 s/.*/./; q'` 6426 as_dir=$dirpart/$fdir; as_fn_mkdir_p 6427 # echo "creating $dirpart/$file" 6428 echo '# dummy' > "$dirpart/$file" 6429 done 4508 6430 done 4509 done 6431 } 4510 6432 ;; 6433 4511 6434 esac 4512 done 4513 EOF 4514 4515 cat >>$CONFIG_STATUS <<\EOF 4516 4517 { (exit 0); exit 0; } 4518 EOF 4519 chmod +x $CONFIG_STATUS 6435 done # for ac_tag 6436 6437 6438 as_fn_exit 0 6439 _ACEOF 4520 6440 ac_clean_files=$ac_clean_files_save 6441 6442 test $ac_write_fail = 0 || 6443 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 6444 4521 6445 4522 6446 # configure is writing to config.log, and then calls config.status. … … 4530 6454 if test "$no_create" != yes; then 4531 6455 ac_cs_success=: 6456 ac_config_status_args= 6457 test "$silent" = yes && 6458 ac_config_status_args="$ac_config_status_args --quiet" 4532 6459 exec 5>/dev/null 4533 $SHELL $CONFIG_STATUS || ac_cs_success=false6460 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 4534 6461 exec 5>>config.log 4535 6462 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 4536 6463 # would make configure fail if this is the last instruction. 4537 $ac_cs_success || { (exit 1); exit 1; } 4538 fi 4539 4540 echo "$as_me:4540: result: The CForAll translator is now configured for your system" >&5 4541 echo "${ECHO_T}The CForAll translator is now configured for your system" >&6 4542 echo "$as_me:4542: result: " >&5 4543 echo "${ECHO_T}" >&6 4544 echo "$as_me:4544: result: Perhaps you'd like to inspect the created Makefiles" >&5 4545 echo "${ECHO_T}Perhaps you'd like to inspect the created Makefiles" >&6 6464 $ac_cs_success || as_fn_exit 1 6465 fi 6466 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 6467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 6468 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 6469 fi 6470 6471 6472 6473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: The CForAll translator is now configured for your system" >&5 6474 $as_echo "The CForAll translator is now configured for your system" >&6; } 6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 6476 $as_echo "" >&6; } 6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Perhaps you'd like to inspect the created Makefiles" >&5 6478 $as_echo "Perhaps you'd like to inspect the created Makefiles" >&6; } -
configure.in
r134b86a r8c17ab0 44 44 exit 1 45 45 fi 46 AC_DEFINE_UNQUOTED(GCC_PATH, "${GCC_PATH}" )46 AC_DEFINE_UNQUOTED(GCC_PATH, "${GCC_PATH}", [Path/name of C compiler.]) 47 47 BACKEND_CC=${GCC_PATH} 48 48 fi … … 54 54 exit 1 55 55 fi 56 AC_DEFINE_UNQUOTED(CPP_PATH, "${CPP_PATH}" )56 AC_DEFINE_UNQUOTED(CPP_PATH, "${CPP_PATH}", [Path/name of cpp preprocessor.]) 57 57 58 58 # Purify instrumenting … … 67 67 cfa_prefix=${prefix} 68 68 fi 69 AC_DEFINE_UNQUOTED(CFA_PREFIX, "${cfa_prefix}" )69 AC_DEFINE_UNQUOTED(CFA_PREFIX, "${cfa_prefix}", [Location of cfa files.]) 70 70 CFA_PREFIX=${cfa_prefix} 71 71 AC_SUBST(CFA_PREFIX) 72 73 CFA_INCDIR= 74 if test "$includedir" = '${prefix}/include'; then 75 cfa_incdir="${cfa_prefix}/include" 76 else 77 cfa_incdir=${$includedir} 78 fi 79 AC_DEFINE_UNQUOTED(CFA_INCDIR, "${cfa_incdir}", [Location of include files.]) 80 CFA_INCDIR=${cfa_incdir} 81 AC_SUBST(CFA_INCDIR) 72 82 73 83 CFA_BINDIR= … … 77 87 cfa_bindir=${bindir} 78 88 fi 79 AC_DEFINE_UNQUOTED(CFA_BINDIR, "${cfa_bindir}" )89 AC_DEFINE_UNQUOTED(CFA_BINDIR, "${cfa_bindir}", [Location of cfa command.]) 80 90 CFA_BINDIR=${cfa_bindir} 81 91 AC_SUBST(CFA_BINDIR) … … 87 97 cfa_libdir=${libdir} 88 98 fi 89 AC_DEFINE_UNQUOTED(CFA_LIBDIR, "${cfa_libdir}" )99 AC_DEFINE_UNQUOTED(CFA_LIBDIR, "${cfa_libdir}", [Location of cc1 and cfa-cpp commands.]) 90 100 CFA_LIBDIR=${cfa_libdir} 91 101 AC_SUBST(CFA_LIBDIR) -
driver/cc1.cc
r134b86a r8c17ab0 8 8 // Created On : Fri Aug 26 14:23:51 2005 9 9 // Last Modified By : Peter A. Buhr 10 // Last Modified On : Fri Oct 17 18:02:37201411 // Update Count : 410 // Last Modified On : Wed Nov 12 22:58:59 2014 11 // Update Count : 5 12 12 // 13 13 // This library is free software; you can redistribute it and/or modify it -
driver/cfa.cc
r134b86a r8c17ab0 8 8 // Created On : Tue Aug 20 13:44:49 2002 9 9 // Last Modified By : Peter A. Buhr 10 // Last Modified On : Sat Oct 18 13:52:43201411 // Update Count : 9710 // Last Modified On : Tue Nov 11 09:19:15 2014 11 // Update Count : 106 12 12 // 13 13 … … 64 64 } // if 65 65 66 string installlibdir( CFA_LIBDIR ); // fixed location of the cpp and cfa-cpp commands 66 string installincdir( CFA_INCDIR ); // fixed location of cc1 and cfa-cpp commands 67 string installlibdir( CFA_LIBDIR ); // fixed location of include files 67 68 68 69 string heading; // banner printed at start of cfa compilation … … 235 236 } // if 236 237 238 args[nargs] = "-I" CFA_INCDIR; 239 nargs += 1; 240 237 241 if ( link ) { 238 242 // include the cfa library in case it's needed -
install-sh
-
Property
mode
changed from
100755
to120000
r134b86a r8c17ab0 1 #!/bin/sh 2 # 3 # install - install a program, script, or datafile 4 # This comes from X11R5 (mit/util/scripts/install.sh). 5 # 6 # Copyright 1991 by the Massachusetts Institute of Technology 7 # 8 # Permission to use, copy, modify, distribute, and sell this software and its 9 # documentation for any purpose is hereby granted without fee, provided that 10 # the above copyright notice appear in all copies and that both that 11 # copyright notice and this permission notice appear in supporting 12 # documentation, and that the name of M.I.T. not be used in advertising or 13 # publicity pertaining to distribution of the software without specific, 14 # written prior permission. M.I.T. makes no representations about the 15 # suitability of this software for any purpose. It is provided "as is" 16 # without express or implied warranty. 17 # 18 # Calling this script install-sh is preferred over install.sh, to prevent 19 # `make' implicit rules from creating a file called install from it 20 # when there is no Makefile. 21 # 22 # This script is compatible with the BSD install script, but was written 23 # from scratch. It can only install one file at a time, a restriction 24 # shared with many OS's install programs. 25 26 27 # set DOITPROG to echo to test this script 28 29 # Don't use :- since 4.3BSD and earlier shells don't like it. 30 doit="${DOITPROG-}" 31 32 33 # put in absolute paths if you don't have them in your path; or use env. vars. 34 35 mvprog="${MVPROG-mv}" 36 cpprog="${CPPROG-cp}" 37 chmodprog="${CHMODPROG-chmod}" 38 chownprog="${CHOWNPROG-chown}" 39 chgrpprog="${CHGRPPROG-chgrp}" 40 stripprog="${STRIPPROG-strip}" 41 rmprog="${RMPROG-rm}" 42 mkdirprog="${MKDIRPROG-mkdir}" 43 44 transformbasename="" 45 transform_arg="" 46 instcmd="$mvprog" 47 chmodcmd="$chmodprog 0755" 48 chowncmd="" 49 chgrpcmd="" 50 stripcmd="" 51 rmcmd="$rmprog -f" 52 mvcmd="$mvprog" 53 src="" 54 dst="" 55 dir_arg="" 56 57 while [ x"$1" != x ]; do 58 case $1 in 59 -c) instcmd="$cpprog" 60 shift 61 continue;; 62 63 -d) dir_arg=true 64 shift 65 continue;; 66 67 -m) chmodcmd="$chmodprog $2" 68 shift 69 shift 70 continue;; 71 72 -o) chowncmd="$chownprog $2" 73 shift 74 shift 75 continue;; 76 77 -g) chgrpcmd="$chgrpprog $2" 78 shift 79 shift 80 continue;; 81 82 -s) stripcmd="$stripprog" 83 shift 84 continue;; 85 86 -t=*) transformarg=`echo $1 | sed 's/-t=//'` 87 shift 88 continue;; 89 90 -b=*) transformbasename=`echo $1 | sed 's/-b=//'` 91 shift 92 continue;; 93 94 *) if [ x"$src" = x ] 95 then 96 src=$1 97 else 98 # this colon is to work around a 386BSD /bin/sh bug 99 : 100 dst=$1 101 fi 102 shift 103 continue;; 104 esac 105 done 106 107 if [ x"$src" = x ] 108 then 109 echo "install: no input file specified" 110 exit 1 111 else 112 : 113 fi 114 115 if [ x"$dir_arg" != x ]; then 116 dst=$src 117 src="" 118 119 if [ -d $dst ]; then 120 instcmd=: 121 chmodcmd="" 122 else 123 instcmd=$mkdirprog 124 fi 125 else 126 127 # Waiting for this to be detected by the "$instcmd $src $dsttmp" command 128 # might cause directories to be created, which would be especially bad 129 # if $src (and thus $dsttmp) contains '*'. 130 131 if [ -f "$src" ] || [ -d "$src" ] 132 then 133 : 134 else 135 echo "install: $src does not exist" 136 exit 1 137 fi 138 139 if [ x"$dst" = x ] 140 then 141 echo "install: no destination specified" 142 exit 1 143 else 144 : 145 fi 146 147 # If destination is a directory, append the input filename; if your system 148 # does not like double slashes in filenames, you may need to add some logic 149 150 if [ -d $dst ] 151 then 152 dst="$dst"/`basename $src` 153 else 154 : 155 fi 156 fi 157 158 ## this sed command emulates the dirname command 159 dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` 160 161 # Make sure that the destination directory exists. 162 # this part is taken from Noah Friedman's mkinstalldirs script 163 164 # Skip lots of stat calls in the usual case. 165 if [ ! -d "$dstdir" ]; then 166 defaultIFS=' 167 ' 168 IFS="${IFS-${defaultIFS}}" 169 170 oIFS="${IFS}" 171 # Some sh's can't handle IFS=/ for some reason. 172 IFS='%' 173 set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'` 174 IFS="${oIFS}" 175 176 pathcomp='' 177 178 while [ $# -ne 0 ] ; do 179 pathcomp="${pathcomp}${1}" 180 shift 181 182 if [ ! -d "${pathcomp}" ] ; 183 then 184 $mkdirprog "${pathcomp}" 185 else 186 : 187 fi 188 189 pathcomp="${pathcomp}/" 190 done 191 fi 192 193 if [ x"$dir_arg" != x ] 194 then 195 $doit $instcmd $dst && 196 197 if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else : ; fi && 198 if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else : ; fi && 199 if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else : ; fi && 200 if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else : ; fi 201 else 202 203 # If we're going to rename the final executable, determine the name now. 204 205 if [ x"$transformarg" = x ] 206 then 207 dstfile=`basename $dst` 208 else 209 dstfile=`basename $dst $transformbasename | 210 sed $transformarg`$transformbasename 211 fi 212 213 # don't allow the sed command to completely eliminate the filename 214 215 if [ x"$dstfile" = x ] 216 then 217 dstfile=`basename $dst` 218 else 219 : 220 fi 221 222 # Make a temp file name in the proper directory. 223 224 dsttmp=$dstdir/#inst.$$# 225 226 # Move or copy the file name to the temp name 227 228 $doit $instcmd $src $dsttmp && 229 230 trap "rm -f ${dsttmp}" 0 && 231 232 # and set any options; do chmod last to preserve setuid bits 233 234 # If any of these fail, we abort the whole thing. If we want to 235 # ignore errors from any of these, just make sure not to ignore 236 # errors from the above "$doit $instcmd $src $dsttmp" command. 237 238 if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else :;fi && 239 if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else :;fi && 240 if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else :;fi && 241 if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else :;fi && 242 243 # Now rename the file to the real destination. 244 245 $doit $rmcmd -f $dstdir/$dstfile && 246 $doit $mvcmd $dsttmp $dstdir/$dstfile 247 248 fi && 249 250 251 exit 0 1 /usr/share/automake-1.11/install-sh -
Property
mode
changed from
-
translator/ControlStruct/MLEMutator.cc
r134b86a r8c17ab0 80 80 return branchStmt; 81 81 82 // test if continue target is a loop 82 83 if ( branchStmt->get_type() == BranchStmt::Continue && enclosingLoops.empty() ) 83 84 throw SemanticError( "'continue' outside a loop" ); -
translator/Parser/DeclarationNode.cc
r134b86a r8c17ab0 112 112 } 113 113 114 /* static class method */115 114 DeclarationNode * 116 115 DeclarationNode::newFunction( std::string* name, DeclarationNode *ret, DeclarationNode *param, StatementNode *body, bool newStyle ) … … 136 135 } 137 136 138 /* static class method */139 137 DeclarationNode * 140 138 DeclarationNode::newQualifier( Qualifier q ) … … 146 144 } 147 145 148 /* static class method */149 146 DeclarationNode * 150 147 DeclarationNode::newStorageClass( StorageClass sc ) … … 155 152 } 156 153 157 /* static class method */158 154 DeclarationNode * 159 155 DeclarationNode::newBasicType( BasicType bt ) … … 165 161 } 166 162 167 /* static class method */168 163 DeclarationNode * 169 164 DeclarationNode::newModifier( Modifier mod ) … … 175 170 } 176 171 177 /* static class method */178 172 DeclarationNode * 179 173 DeclarationNode::newForall( DeclarationNode* forall ) … … 185 179 } 186 180 187 /* static class method */188 181 DeclarationNode * 189 182 DeclarationNode::newFromTypedef( std::string* name ) … … 197 190 } 198 191 199 /* static class method */200 192 DeclarationNode * 201 193 DeclarationNode::newAggregate( TyCon kind, std::string* name, DeclarationNode *formals, ExpressionNode *actuals, DeclarationNode *fields ) … … 214 206 } 215 207 216 /* static class method */217 208 DeclarationNode * 218 209 DeclarationNode::newEnum( std::string *name, DeclarationNode *constants ) … … 229 220 } 230 221 231 /* static class method */232 222 DeclarationNode * 233 223 DeclarationNode::newEnumConstant( std::string* name, ExpressionNode *constant ) … … 239 229 } 240 230 241 /* static class method */242 231 DeclarationNode * 243 232 DeclarationNode::newName( std::string* name ) … … 248 237 } 249 238 250 /* static class method */251 239 DeclarationNode * 252 240 DeclarationNode::newFromTypeGen( std::string* name, ExpressionNode *params ) … … 260 248 } 261 249 262 /* static class method */263 250 DeclarationNode * 264 251 DeclarationNode::newTypeParam( TypeClass tc, std::string* name ) … … 272 259 } 273 260 274 /* static class method */275 261 DeclarationNode * 276 262 DeclarationNode::newContext( std::string *name, DeclarationNode *params, DeclarationNode *asserts ) … … 285 271 } 286 272 287 /* static class method */288 273 DeclarationNode * 289 274 DeclarationNode::newContextUse( std::string *name, ExpressionNode *params ) … … 298 283 } 299 284 300 /* static class method */301 285 DeclarationNode * 302 286 DeclarationNode::newTypeDecl( std::string *name, DeclarationNode *typeParams ) … … 311 295 } 312 296 313 /* static class method */314 297 DeclarationNode * 315 298 DeclarationNode::newPointer( DeclarationNode *qualifiers ) … … 320 303 } 321 304 322 /* static class method */323 305 DeclarationNode * 324 306 DeclarationNode::newArray( ExpressionNode *size, DeclarationNode *qualifiers, bool isStatic ) … … 332 314 } 333 315 334 /* static class method */335 316 DeclarationNode * 336 317 DeclarationNode::newVarArray( DeclarationNode *qualifiers ) … … 344 325 } 345 326 346 /* static class method */347 327 DeclarationNode * 348 328 DeclarationNode::newBitfield( ExpressionNode *size ) … … 353 333 } 354 334 355 /* static class method */356 335 DeclarationNode * 357 336 DeclarationNode::newTuple( DeclarationNode *members ) … … 363 342 } 364 343 365 /* static class method */366 344 DeclarationNode * 367 345 DeclarationNode::newTypeof( ExpressionNode *expr ) … … 373 351 } 374 352 375 /* static class method */376 353 DeclarationNode * 377 354 DeclarationNode::newAttr( std::string *name, ExpressionNode *expr ) … … 384 361 } 385 362 386 /* static class method */387 363 DeclarationNode * 388 364 DeclarationNode::newAttr( std::string *name, DeclarationNode *type ) -
translator/Parser/TypedefTable.cc
r134b86a r8c17ab0 1 /*2 * This file is part of the Cforall project3 *4 * $Id: TypedefTable.cc,v 1.7 2004/09/14 17:21:12 rcbilson Exp $5 *6 */7 8 1 #include <map> 9 2 #include <list> … … 19 12 #endif 20 13 21 TypedefTable::TypedefTable() 22 : currentScope(0) 23 { 24 } 14 TypedefTable::TypedefTable() : currentScope(0) {} 25 15 26 bool 27 TypedefTable::isKind(string identifier, kind_t kind) const 28 { 16 bool TypedefTable::isKind(string identifier, kind_t kind) const { 29 17 tableType::const_iterator id_pos = table.find(identifier); 30 18 if (id_pos == table.end()) { … … 35 23 } 36 24 37 bool 38 TypedefTable::isIdentifier(string identifier) const 39 { 25 bool TypedefTable::isIdentifier(string identifier) const { 40 26 return isKind(identifier, ID); 41 27 } 42 28 43 bool 44 TypedefTable::isTypedef(string identifier) const 45 { 29 bool TypedefTable::isTypedef(string identifier) const { 46 30 return isKind(identifier, TD); 47 31 } 48 32 49 bool 50 TypedefTable::isTypegen(string identifier) const 51 { 33 bool TypedefTable::isTypegen(string identifier) const { 52 34 return isKind(identifier, TG); 53 35 } 54 36 55 void 56 TypedefTable::addToScope(const std::string &identifier, kind_t kind, int scope) 57 { 58 if( currentContext != "" && scope == contextScope ) { 59 DeferredEntry entry = { identifier, kind }; 60 contexts[currentContext].push_back( entry ); 61 } else { 62 debugPrint( "Adding " << identifier << " as type " << kind << " scope " << scope << " from scope " << currentScope << endl ); 63 Entry newEntry = { scope, kind }; 64 tableType::iterator curPos = table.find(identifier); 65 if (curPos == table.end()) { 66 list<Entry> newList; 67 newList.push_front(newEntry); 68 table[identifier] = newList; 37 void TypedefTable::addToScope(const std::string &identifier, kind_t kind, int scope) { 38 if ( currentContext != "" && scope == contextScope ) { 39 DeferredEntry entry = { identifier, kind }; 40 contexts[currentContext].push_back( entry ); 69 41 } else { 70 list<Entry>::iterator listPos = (*curPos).second.begin(); 71 while( listPos != (*curPos).second.end() && listPos->scope > scope ) { 72 listPos++; 73 } 74 (*curPos).second.insert(listPos, newEntry); 42 debugPrint( "Adding " << identifier << " as type " << kind << " scope " << scope << " from scope " << currentScope << endl ); 43 Entry newEntry = { scope, kind }; 44 tableType::iterator curPos = table.find(identifier); 45 if (curPos == table.end()) { 46 list<Entry> newList; 47 newList.push_front(newEntry); 48 table[identifier] = newList; 49 } else { 50 list<Entry>::iterator listPos = (*curPos).second.begin(); 51 while( listPos != (*curPos).second.end() && listPos->scope > scope ) { 52 listPos++; 53 } 54 (*curPos).second.insert(listPos, newEntry); 55 } 75 56 } 76 }77 57 } 78 58 79 void 80 TypedefTable::addToCurrentScope(const std::string &identifier, kind_t kind) 81 { 82 addToScope( identifier, kind, currentScope ); 59 void TypedefTable::addToCurrentScope(const std::string &identifier, kind_t kind) { 60 addToScope( identifier, kind, currentScope ); 83 61 } 84 62 85 void 86 TypedefTable::addToCurrentScope(kind_t kind) 87 { 88 addToCurrentScope( nextIdentifiers.top(), kind ); 63 void TypedefTable::addToCurrentScope(kind_t kind) { 64 addToCurrentScope( nextIdentifiers.top(), kind ); 89 65 } 90 66 91 void 92 TypedefTable::addToEnclosingScope(const std::string &identifier, kind_t kind) 93 { 94 assert( currentScope >= 1 ); 95 addToScope( identifier, kind, currentScope - 1 ); 67 void TypedefTable::addToEnclosingScope(const std::string &identifier, kind_t kind) { 68 assert( currentScope >= 1 ); 69 addToScope( identifier, kind, currentScope - 1 ); 96 70 } 97 71 98 void 99 TypedefTable::addToEnclosingScope(kind_t kind) 100 { 101 addToEnclosingScope( nextIdentifiers.top(), kind ); 72 void TypedefTable::addToEnclosingScope(kind_t kind) { 73 addToEnclosingScope( nextIdentifiers.top(), kind ); 102 74 } 103 75 104 void 105 TypedefTable::addToEnclosingScope2(const std::string &identifier, kind_t kind) 106 { 107 assert( currentScope >= 2 ); 108 addToScope( identifier, kind, currentScope - 2 ); 76 void TypedefTable::addToEnclosingScope2(const std::string &identifier, kind_t kind) { 77 assert( currentScope >= 2 ); 78 addToScope( identifier, kind, currentScope - 2 ); 109 79 } 110 80 111 void 112 TypedefTable::addToEnclosingScope2(kind_t kind) 113 { 114 addToEnclosingScope2( nextIdentifiers.top(), kind ); 81 void TypedefTable::addToEnclosingScope2(kind_t kind) { 82 addToEnclosingScope2( nextIdentifiers.top(), kind ); 115 83 } 116 84 117 void 118 TypedefTable::setNextIdentifier( const std::string &identifier ) 119 { 120 nextIdentifiers.top() = identifier; 85 void TypedefTable::setNextIdentifier( const std::string &identifier ) { 86 nextIdentifiers.top() = identifier; 121 87 } 122 88 123 void 124 TypedefTable::openContext( std::string contextName ) 125 { 126 map< string, deferListType >::iterator i = contexts.find( contextName ); 127 if( i != contexts.end() ) { 128 deferListType &entries = i->second; 129 for (deferListType::iterator i = entries.begin(); i != entries.end(); i++) { 130 addToEnclosingScope( i->identifier, i->kind ); 89 void TypedefTable::openContext( std::string contextName ) { 90 map< string, deferListType >::iterator i = contexts.find( contextName ); 91 if ( i != contexts.end() ) { 92 deferListType &entries = i->second; 93 for (deferListType::iterator i = entries.begin(); i != entries.end(); i++) { 94 addToEnclosingScope( i->identifier, i->kind ); 95 } 131 96 } 132 }133 97 } 134 98 135 void 136 TypedefTable::enterScope(void) 137 { 99 void TypedefTable::enterScope(void) { 138 100 currentScope += 1; 139 101 deferListStack.push( deferListType() ); … … 142 104 } 143 105 144 void 145 TypedefTable::leaveScope(void) 146 { 106 void TypedefTable::leaveScope(void) { 147 107 debugPrint( "Leaving scope " << currentScope << endl ); 148 108 for (tableType::iterator i = table.begin(); i != table.end(); i++) { … … 151 111 declList.pop_front(); 152 112 } 153 if ( declList.empty() ) {154 table.erase( i );113 if ( declList.empty() ) { 114 table.erase( i ); 155 115 } 156 116 } 157 117 currentScope -= 1; 158 118 for (deferListType::iterator i = deferListStack.top().begin(); i != deferListStack.top().end(); i++) { 159 119 addToCurrentScope( i->identifier, i->kind ); 160 120 } 161 121 deferListStack.pop(); … … 164 124 } 165 125 166 void 167 TypedefTable::enterContext( std::string contextName ) 168 { 169 currentContext = contextName; 170 contextScope = currentScope; 126 void TypedefTable::enterContext( std::string contextName ) { 127 currentContext = contextName; 128 contextScope = currentScope; 171 129 } 172 130 173 void 174 TypedefTable::leaveContext(void) 175 { 176 currentContext = ""; 131 void TypedefTable::leaveContext(void) { 132 currentContext = ""; 177 133 } 178 134 179 void 180 TypedefTable::print(void) const 181 { 135 void TypedefTable::print(void) const { 182 136 for (tableType::const_iterator i = table.begin(); i != table.end(); i++) { 183 137 debugPrint( (*i).first << ": " ); -
translator/Parser/cfa.y
r134b86a r8c17ab0 10 10 * Created On : Sat Sep 1 20:22:55 2001 11 11 * Last Modified By : Peter A. Buhr 12 * Last Modified On : Mon Nov 3 16:24:24201413 * Update Count : 88 012 * Last Modified On : Sun Nov 9 22:45:42 2014 13 * Update Count : 881 14 14 */ 15 15 … … 84 84 85 85 /* names and constants: lexer differentiates between identifier and typedef names */ 86 %token<tok> IDENTIFIER TYPEDEFname TYPEGENname86 %token<tok> IDENTIFIER QUOTED_IDENTIFIER TYPEDEFname TYPEGENname 87 87 %token<tok> ATTR_IDENTIFIER ATTR_TYPEDEFname ATTR_TYPEGENname 88 88 %token<tok> INTEGERconstant FLOATINGconstant CHARACTERconstant STRINGliteral -
translator/Parser/lex.l
r134b86a r8c17ab0 10 10 * Created On : Sat Sep 22 08:58:10 2001 11 11 * Last Modified By : Peter A. Buhr 12 * Last Modified On : Sat Nov 1 18:09:47 200313 * Update Count : 19712 * Last Modified On : Tue Nov 11 08:10:05 2014 13 * Update Count : 215 14 14 */ 15 15 … … 17 17 18 18 %{ 19 / *This lexer assumes the program has been preprocessed by cpp. Hence, all user level preprocessor20 21 22 are ignored. */ 23 24 / *************** Includes and Defines *****************************/19 // This lexer assumes the program has been preprocessed by cpp. Hence, all user level preprocessor 20 // directive have been performed and removed from the source. The only exceptions are preprocessor 21 // directives passed to the compiler (e.g., line-number directives) and C/C++ style comments, which 22 // are ignored. 23 24 //**************************** Includes and Defines **************************** 25 25 26 26 #include <string> … … 28 28 #include "lex.h" 29 29 #include "ParseNode.h" 30 #include "cfa.tab.h" / * YACC generated definitions based on C++ grammar */30 #include "cfa.tab.h" // YACC generated definitions based on C++ grammar 31 31 32 32 char *yyfilename; 33 33 34 #define WHITE_RETURN(x) /* do nothing */34 #define WHITE_RETURN(x) // do nothing 35 35 #define NEWLINE_RETURN() WHITE_RETURN('\n') 36 36 #define RETURN_VAL(x) yylval.tok.str = new std::string(yytext); \ … … 39 39 return(x) 40 40 41 #define KEYWORD_RETURN(x) RETURN_VAL(x) / * keyword */41 #define KEYWORD_RETURN(x) RETURN_VAL(x) // keyword 42 42 #define IDENTIFIER_RETURN() RETURN_VAL((typedefTable.isIdentifier(yytext) ? IDENTIFIER : typedefTable.isTypedef(yytext) ? TYPEDEFname : TYPEGENname)) 43 #define ATTRIBUTE_RETURN() RETURN_VAL((typedefTable.isIdentifier(yytext) ? ATTR_IDENTIFIER : typedefTable.isTypedef(yytext) ? ATTR_TYPEDEFname : ATTR_TYPEGENname)) 44 45 #define ASCIIOP_RETURN() RETURN_VAL((int)yytext[0]) /* single character operator */ 46 #define NAMEDOP_RETURN(x) RETURN_VAL(x) /* multichar operator, with a name */ 47 48 #define NUMERIC_RETURN(x) rm_underscore(); RETURN_VAL(x) /* numeric constant */ 49 50 void rm_underscore() { /* remove underscores in constant or escape sequence */ 43 //#define ATTRIBUTE_RETURN() RETURN_VAL((typedefTable.isIdentifier(yytext) ? ATTR_IDENTIFIER : typedefTable.isTypedef(yytext) ? ATTR_TYPEDEFname : ATTR_TYPEGENname)) 44 #define ATTRIBUTE_RETURN() RETURN_VAL(ATTR_IDENTIFIER) 45 46 #define ASCIIOP_RETURN() RETURN_VAL((int)yytext[0]) // single character operator 47 #define NAMEDOP_RETURN(x) RETURN_VAL(x) // multichar operator, with a name 48 49 #define NUMERIC_RETURN(x) rm_underscore(); RETURN_VAL(x) // numeric constant 50 51 void rm_underscore() { // remove underscores in constant or escape sequence 51 52 int j = 0; 52 53 for ( int i = 0; i < yyleng; i += 1 ) { … … 68 69 universal_char "\\"((u{hex_quad})|(U{hex_quad}{2})) 69 70 70 / * identifier, GCC: $ in identifier */71 // identifier, GCC: $ in identifier 71 72 identifier ([a-zA-Z_$]|{universal_char})([0-9a-zA-Z_$]|{universal_char})* 72 73 73 /* attribute identifier, GCC: $ in identifier */ 74 // quoted identifier 75 quoted_identifier "`"{identifier}"`" 76 77 // attribute identifier, GCC: $ in identifier 74 78 attr_identifier "@"{identifier} 75 79 76 / * numeric constants, CFA: '_' in constant */80 // numeric constants, CFA: '_' in constant 77 81 hex_quad {hex}{4} 78 82 integer_suffix "_"?(([uU][lL]?)|([uU]("ll"|"LL")?)|([lL][uU]?)|("ll"|"LL")[uU]?) … … 99 103 hex_floating_constant {hex_prefix}(({hex_fractional_constant}{binary_exponent})|({hex_digits}{binary_exponent})){floating_suffix}? 100 104 101 / * character escape sequence, GCC: \e => esc character */105 // character escape sequence, GCC: \e => esc character 102 106 simple_escape "\\"[abefnrtv'"?\\] 107 // ' stop highlighting 103 108 octal_escape "\\"{octal}{1,3} 104 109 hex_escape "\\""x"{hex}+ 105 110 escape_seq {simple_escape}|{octal_escape}|{hex_escape}|{universal_char} 106 111 107 / * display/white-space characters */112 // display/white-space characters 108 113 h_tab [\011] 109 114 form_feed [\014] … … 112 117 h_white [ ]|{h_tab} 113 118 114 / * operators */119 // operators 115 120 op_unary_only "~"|"!" 116 121 op_unary_binary "+"|"-"|"*" … … 124 129 125 130 %x COMMENT 131 %x QUOTED 126 132 127 133 %% 128 134 /* line directives */ 129 135 ^{h_white}*"#"{h_white}*[0-9]+{h_white}*["][^"\n]+["][^\n]*"\n" { 136 /* " stop highlighting */ 130 137 char *end_num; 131 138 char *begin_string, *end_string; … … 178 185 catch {KEYWORD_RETURN(CATCH);} /* CFA */ 179 186 char {KEYWORD_RETURN(CHAR);} 180 choose {KEYWORD_RETURN(CHOOSE);} 187 choose {KEYWORD_RETURN(CHOOSE);} /* CFA */ 181 188 _Complex {KEYWORD_RETURN(COMPLEX);} /* ANSI99 */ 182 189 __complex {KEYWORD_RETURN(COMPLEX);} /* GCC */ … … 185 192 __const {KEYWORD_RETURN(CONST);} /* GCC */ 186 193 __const__ {KEYWORD_RETURN(CONST);} /* GCC */ 187 context {KEYWORD_RETURN(CONTEXT);} 194 context {KEYWORD_RETURN(CONTEXT);} /* CFA */ 188 195 continue {KEYWORD_RETURN(CONTINUE);} 189 196 default {KEYWORD_RETURN(DEFAULT);} 190 197 do {KEYWORD_RETURN(DO);} 191 198 double {KEYWORD_RETURN(DOUBLE);} 192 dtype {KEYWORD_RETURN(DTYPE);} 199 dtype {KEYWORD_RETURN(DTYPE);} /* CFA */ 193 200 else {KEYWORD_RETURN(ELSE);} 194 201 enum {KEYWORD_RETURN(ENUM);} 195 202 __extension__ {KEYWORD_RETURN(EXTENSION);} /* GCC */ 196 203 extern {KEYWORD_RETURN(EXTERN);} 197 fallthru {KEYWORD_RETURN(FALLTHRU);} 204 fallthru {KEYWORD_RETURN(FALLTHRU);} /* CFA */ 198 205 finally {KEYWORD_RETURN(FINALLY);} /* CFA */ 199 206 float {KEYWORD_RETURN(FLOAT);} 200 207 for {KEYWORD_RETURN(FOR);} 201 forall {KEYWORD_RETURN(FORALL);} 208 forall {KEYWORD_RETURN(FORALL);} /* CFA */ 202 209 fortran {KEYWORD_RETURN(FORTRAN);} 203 ftype {KEYWORD_RETURN(FTYPE);} 210 ftype {KEYWORD_RETURN(FTYPE);} /* CFA */ 204 211 goto {KEYWORD_RETURN(GOTO);} 205 212 if {KEYWORD_RETURN(IF);} … … 213 220 __label__ {KEYWORD_RETURN(LABEL);} /* GCC */ 214 221 long {KEYWORD_RETURN(LONG);} 215 lvalue {KEYWORD_RETURN(LVALUE);} 222 lvalue {KEYWORD_RETURN(LVALUE);} /* CFA */ 216 223 register {KEYWORD_RETURN(REGISTER);} 217 224 restrict {KEYWORD_RETURN(RESTRICT);} /* ANSI99 */ … … 229 236 throw {KEYWORD_RETURN(THROW);} /* CFA */ 230 237 try {KEYWORD_RETURN(TRY);} /* CFA */ 231 type {KEYWORD_RETURN(TYPE);} 238 type {KEYWORD_RETURN(TYPE);} /* CFA */ 232 239 typedef {KEYWORD_RETURN(TYPEDEF);} 233 240 typeof {KEYWORD_RETURN(TYPEOF);} /* GCC */ … … 245 252 {identifier} {IDENTIFIER_RETURN();} 246 253 {attr_identifier} {ATTRIBUTE_RETURN();} 254 "`" {BEGIN QUOTED;} 255 <QUOTED>{identifier} {IDENTIFIER_RETURN();} 256 <QUOTED>"`" {BEGIN 0;} 247 257 248 258 /* numeric constants */ … … 257 267 /* character constant, allows empty value */ 258 268 "L"?[']([^'\\\n]|{escape_seq})*['] {RETURN_VAL(CHARACTERconstant);} 269 /* ' stop highlighting */ 259 270 260 271 /* string constant */ 261 272 "L"?["]([^"\\\n]|{escape_seq})*["] {RETURN_VAL(STRINGliteral);} 273 /* " stop highlighting */ 262 274 263 275 /* punctuation */ … … 367 379 368 380 369 / * Local Variables: */370 / * fill-column: 100 */371 / * compile-command: "gmake" */372 / * End: */381 // Local Variables: 382 // fill-column: 100 383 // compile-command: "make" 384 // End: -
translator/main.cc
r134b86a r8c17ab0 38 38 extern "C"{ 39 39 #include <unistd.h> 40 extern int getopt(int, char *const *, const char *);41 42 40 extern int getopt( int, char *const *, const char * ); 41 extern char *optarg; 42 extern int opterr, optind, optopt; 43 43 } 44 44 … … 47 47 bool beVerbose = false; 48 48 49 int main(int argc, char *argv[]){ 50 bool debugp = false, treep = false, astp = false, manglep = false, symtabp = false, validp = false; 51 bool preludep = true, protop = false, libp = false; 52 bool exprp = false; 53 int c; 54 FILE *input, *prelude, *builtins; 55 std::ostream *output = &std::cout; 56 57 opterr = 0; 58 59 while((c = getopt(argc, argv, "dtsgmvxcenplD:")) != -1) { 60 switch(c){ 61 case 'd': 62 /* bison debugging info */ 63 debugp = true; 64 break; 65 case 't': 66 /* dump parse tree */ 67 treep = true; 68 break; 69 case 's': 70 /* dump AST */ 71 astp = true; 72 break; 73 case 'g': 74 /* print alternatives for expressions */ 75 manglep = true; 76 break; 77 case 'm': 78 /* print symbol table events */ 79 symtabp = true; 80 break; 81 case 'x': 82 /* dump AST after decl validation pass */ 83 validp = true; 84 break; 85 case 'e': 86 /* dump AST after expression analysis */ 87 exprp = true; 88 break; 89 case 'n': 90 /* don't read preamble */ 91 preludep = false; 92 break; 93 case 'p': 94 /* generate prototypes for preamble functions */ 95 protop = true; 96 break; 97 case 'l': 98 /* generate libcfa.c */ 99 libp = true; 100 break; 101 case 'v': 102 /* verbose */ 103 beVerbose = true; 104 break; 105 case 'D': 106 /* ignore -Dxxx */ 107 break; 108 case '?': 109 cout << "Unknown option: '" << (char)optopt << "'" << endl; 110 exit(1); 111 default: 112 abort(); 49 int main( int argc, char *argv[] ) { 50 bool debugp = false, treep = false, astp = false, manglep = false, symtabp = false, validp = false; 51 bool preludep = true, protop = false, libp = false; 52 bool exprp = false; 53 int c; 54 FILE *input, *prelude, *builtins; 55 std::ostream *output = &std::cout; 56 57 opterr = 0; 58 59 while ( (c = getopt( argc, argv, "dtsgmvxcenplD:" )) != -1 ) { 60 switch (c) { 61 case 'd': 62 /* bison debugging info */ 63 debugp = true; 64 break; 65 case 't': 66 /* dump parse tree */ 67 treep = true; 68 break; 69 case 's': 70 /* dump AST */ 71 astp = true; 72 break; 73 case 'g': 74 /* print alternatives for expressions */ 75 manglep = true; 76 break; 77 case 'm': 78 /* print symbol table events */ 79 symtabp = true; 80 break; 81 case 'x': 82 /* dump AST after decl validation pass */ 83 validp = true; 84 break; 85 case 'e': 86 /* dump AST after expression analysis */ 87 exprp = true; 88 break; 89 case 'n': 90 /* don't read preamble */ 91 preludep = false; 92 break; 93 case 'p': 94 /* generate prototypes for preamble functions */ 95 protop = true; 96 break; 97 case 'l': 98 /* generate libcfa.c */ 99 libp = true; 100 break; 101 case 'v': 102 /* verbose */ 103 beVerbose = true; 104 break; 105 case 'D': 106 /* ignore -Dxxx */ 107 break; 108 case '?': 109 cout << "Unknown option: '" << (char)optopt << "'" << endl; 110 exit(1); 111 default: 112 abort(); 113 } 113 114 } 114 } 115 116 try { 117 if( optind < argc ) { 118 input = fopen( argv[ optind ], "r" ); 119 if( !input ) { 120 std::cout << "Error: can't open " << argv[optind] << std::endl; 121 exit( 1 ); 122 } 123 optind++; 124 } else { 125 input = stdin; 115 116 try { 117 if ( optind < argc ) { 118 input = fopen( argv[ optind ], "r" ); 119 if ( !input ) { 120 std::cout << "Error: can't open " << argv[optind] << std::endl; 121 exit( 1 ); 122 } 123 optind++; 124 } else { 125 input = stdin; 126 } 127 128 if ( optind < argc ) { 129 output = new ofstream( argv[ optind ] ); 130 } 131 132 Parser::get_parser().set_debug( debugp ); 133 134 if ( preludep ) { 135 // include gcc builtins 136 builtins = open_builtins(); 137 if ( !builtins ) { 138 std::cout << "Error: can't open builtins" << std::endl; 139 exit( 1 ); 140 } 141 142 Parser::get_parser().set_linkage( LinkageSpec::Compiler ); 143 Parser::get_parser().parse( builtins ); 144 145 if ( Parser::get_parser().get_parseStatus() != 0 ) { 146 return Parser::get_parser().get_parseStatus(); 147 } 148 fclose( builtins ); 149 150 // include cfa prelude 151 if ( libp ) { 152 prelude = input; 153 } else { 154 prelude = open_prelude(); 155 } 156 if ( !prelude ) { 157 std::cout << "Error: can't open prelude" << std::endl; 158 exit( 1 ); 159 } 160 161 Parser::get_parser().set_linkage( LinkageSpec::Intrinsic ); 162 Parser::get_parser().parse( prelude ); 163 164 if ( Parser::get_parser().get_parseStatus() != 0 ) { 165 return Parser::get_parser().get_parseStatus(); 166 } 167 fclose( prelude ); 168 } 169 170 if ( libp ) { 171 std::list< Declaration* > translationUnit; 172 buildList( Parser::get_parser().get_parseTree(), translationUnit ); 173 Parser::get_parser().freeTree(); 174 SymTab::validate( translationUnit, false ); 175 CodeGen::fixNames( translationUnit ); 176 LibCfa::makeLibCfa( translationUnit ); 177 ResolvExpr::resolve( translationUnit ); 178 GenPoly::convertLvalue( translationUnit ); 179 GenPoly::box( translationUnit ); 180 CodeGen::generate( translationUnit, *output, true ); 181 if ( output != &std::cout ) { 182 delete output; 183 } 184 return 0; 185 } 186 187 Parser::get_parser().set_linkage( LinkageSpec::Cforall ); 188 189 Parser::get_parser().parse( input ); 190 if ( debugp || Parser::get_parser().get_parseStatus() != 0 ) { 191 return Parser::get_parser().get_parseStatus(); 192 } 193 fclose( input ); 194 195 if ( treep ) { 196 Parser::get_parser().get_parseTree()->printList( std::cout ); 197 Parser::get_parser().freeTree(); 198 return 0; 199 } 200 201 std::list< Declaration* > translationUnit; 202 buildList( Parser::get_parser().get_parseTree(), translationUnit ); 203 204 Parser::get_parser().freeTree(); 205 if ( astp ) { 206 printAll( translationUnit, std::cout ); 207 return 0; 208 } 209 210 if ( manglep ) { 211 SymTab::validate( translationUnit, false ); 212 ResolvExpr::AlternativePrinter printer( std::cout ); 213 acceptAll( translationUnit, printer ); 214 return 0; 215 } 216 217 if ( symtabp ) { 218 SymTab::validate( translationUnit, true ); 219 return 0; 220 } 221 222 if ( validp ) { 223 SymTab::validate( translationUnit, false ); 224 printAll( translationUnit, std::cout ); 225 return 0; 226 } 227 if ( exprp ) { 228 SymTab::validate( translationUnit, false ); 229 ResolvExpr::resolve( translationUnit ); 230 printAll( translationUnit, std::cout ); 231 return 0; 232 } 233 234 SymTab::validate( translationUnit, false ); 235 //Try::visit( translationUnit ); 236 //Tuples::mutate( translationUnit ); 237 //InitTweak::mutate( translationUnit ); 238 ControlStruct::mutate( translationUnit ); 239 CodeGen::fixNames( translationUnit ); 240 ResolvExpr::resolve( translationUnit ); 241 //Tuples::checkFunctions( translationUnit ); 242 // std::cerr << "Finished tuple checkfunctions" << std::endl; 243 //printAll( translationUnit, std::cerr ); 244 GenPoly::copyParams( translationUnit ); 245 GenPoly::convertSpecializations( translationUnit ); 246 GenPoly::convertLvalue( translationUnit ); 247 GenPoly::box( translationUnit ); 248 //Tuples::mutate( translationUnit ); 249 250 CodeGen::generate( translationUnit, *output, protop ); 251 252 if ( output != &std::cout ) { 253 delete output; 254 } 255 256 } catch ( SemanticError &e ) { 257 e.print( cout ); 258 if ( output != &std::cout ) { 259 delete output; 260 } 261 return 1; 262 } catch ( UnimplementedError &e ) { 263 std::cout << "Sorry, " << e.get_what() << " is not currently implemented" << std::endl; 264 if ( output != &std::cout ) { 265 delete output; 266 } 267 return 1; 268 } catch ( CompilerError &e ) { 269 std::cerr << "Compiler Error: " << e.get_what() << std::endl; 270 std::cerr << "(please report bugs to " << std::endl; 271 if ( output != &std::cout ) { 272 delete output; 273 } 274 return 1; 126 275 } 127 276 128 if( optind < argc ) { 129 output = new ofstream( argv[ optind ] ); 277 return 0; 278 } 279 280 FILE *open_prelude() { 281 FILE *ret; 282 283 const string name("prelude.cf"), 284 full_name = string(CFA_LIBDIR) + "/" + name; 285 286 if ( beVerbose ) { 287 cout << "Reading from " << full_name << endl; 130 288 } 131 132 Parser::get_parser().set_debug( debugp ); 133 134 if( preludep ) { 135 // include gcc builtins 136 builtins = open_builtins(); 137 if( !builtins ) { 138 std::cout << "Error: can't open builtins" << std::endl; 139 exit( 1 ); 140 } 141 142 Parser::get_parser().set_linkage( LinkageSpec::Compiler ); 143 Parser::get_parser().parse( builtins ); 144 145 if( Parser::get_parser().get_parseStatus() != 0 ) { 146 return Parser::get_parser().get_parseStatus(); 147 } 148 fclose( builtins ); 149 150 // include cfa prelude 151 if( libp ) { 152 prelude = input; 153 } else { 154 prelude = open_prelude(); 155 } 156 if( !prelude ) { 157 std::cout << "Error: can't open prelude" << std::endl; 158 exit( 1 ); 159 } 160 161 Parser::get_parser().set_linkage( LinkageSpec::Intrinsic ); 162 Parser::get_parser().parse( prelude ); 163 164 if( Parser::get_parser().get_parseStatus() != 0 ) { 165 return Parser::get_parser().get_parseStatus(); 166 } 167 fclose( prelude ); 289 290 if (! (ret = fopen(full_name.c_str(), "r" ) ) ) 291 return fopen(name.c_str(), "r" ); // trying current directory 292 else 293 return ret; 294 } 295 296 FILE *open_builtins() { 297 FILE *ret; 298 299 const char *name = "builtins.cf"; 300 const char *full_name = CFA_LIBDIR "/builtins.cf"; 301 302 if ( beVerbose ) { 303 cout << "Reading from " << full_name << endl; 168 304 } 169 170 if( libp ) { 171 std::list< Declaration* > translationUnit; 172 buildList( Parser::get_parser().get_parseTree(), translationUnit ); 173 Parser::get_parser().freeTree(); 174 SymTab::validate( translationUnit, false ); 175 CodeGen::fixNames( translationUnit ); 176 LibCfa::makeLibCfa( translationUnit ); 177 ResolvExpr::resolve( translationUnit ); 178 GenPoly::convertLvalue( translationUnit ); 179 GenPoly::box( translationUnit ); 180 CodeGen::generate( translationUnit, *output, true ); 181 if( output != &std::cout ) { 182 delete output; 183 } 184 return 0; 185 } 186 187 Parser::get_parser().set_linkage( LinkageSpec::Cforall ); 188 189 Parser::get_parser().parse( input ); 190 if( debugp || Parser::get_parser().get_parseStatus() != 0 ) { 191 return Parser::get_parser().get_parseStatus(); 192 } 193 fclose( input ); 194 195 if( treep ) { 196 Parser::get_parser().get_parseTree()->printList( std::cout ); 197 Parser::get_parser().freeTree(); 198 return 0; 199 } 200 201 std::list< Declaration* > translationUnit; 202 buildList( Parser::get_parser().get_parseTree(), translationUnit ); 203 204 Parser::get_parser().freeTree(); 205 if( astp ) { 206 printAll( translationUnit, std::cout ); 207 return 0; 208 } 209 210 if( manglep ) { 211 SymTab::validate( translationUnit, false ); 212 ResolvExpr::AlternativePrinter printer( std::cout ); 213 acceptAll( translationUnit, printer ); 214 return 0; 215 } 216 217 if( symtabp ) { 218 SymTab::validate( translationUnit, true ); 219 return 0; 220 } 221 222 if( validp ) { 223 SymTab::validate( translationUnit, false ); 224 printAll( translationUnit, std::cout ); 225 return 0; 226 } 227 if( exprp ) { 228 SymTab::validate( translationUnit, false ); 229 ResolvExpr::resolve( translationUnit ); 230 printAll( translationUnit, std::cout ); 231 return 0; 232 } 233 234 SymTab::validate( translationUnit, false ); 235 //Try::visit( translationUnit ); 236 //Tuples::mutate( translationUnit ); 237 //InitTweak::mutate( translationUnit ); 238 ControlStruct::mutate( translationUnit ); 239 CodeGen::fixNames( translationUnit ); 240 ResolvExpr::resolve( translationUnit ); 241 //Tuples::checkFunctions( translationUnit ); 242 // std::cerr << "Finished tuple checkfunctions" << std::endl; 243 //printAll( translationUnit, std::cerr ); 244 GenPoly::copyParams( translationUnit ); 245 GenPoly::convertSpecializations( translationUnit ); 246 GenPoly::convertLvalue( translationUnit ); 247 GenPoly::box( translationUnit ); 248 //Tuples::mutate( translationUnit ); 249 250 CodeGen::generate( translationUnit, *output, protop ); 251 252 if( output != &std::cout ) { 253 delete output; 254 } 255 256 } catch ( SemanticError &e ) { 257 e.print( cout ); 258 if( output != &std::cout ) { 259 delete output; 260 } 261 return 1; 262 } catch ( UnimplementedError &e ) { 263 std::cout << "Sorry, " << e.get_what() << " is not currently implemented" << std::endl; 264 if( output != &std::cout ) { 265 delete output; 266 } 267 return 1; 268 } catch ( CompilerError &e ) { 269 std::cerr << "Compiler Error: " << e.get_what() << std::endl; 270 std::cerr << "(please report bugs to " << std::endl; 271 if( output != &std::cout ) { 272 delete output; 273 } 274 return 1; 275 } 276 277 return 0; 278 } 279 280 FILE *open_prelude(){ 281 FILE *ret; 282 283 const string name("prelude.cf"), 284 full_name = string(CFA_LIBDIR) + "/" + name; 285 286 if( beVerbose ) { 287 cout << "Reading from " << full_name << endl; 288 } 289 290 if (! (ret = fopen(full_name.c_str(), "r" ) ) ) 291 return fopen(name.c_str(), "r" ); // trying current directory 292 else 293 return ret; 294 } 295 296 FILE *open_builtins(){ 297 FILE *ret; 298 299 const char *name = "builtins.cf"; 300 const char *full_name = CFA_LIBDIR "/builtins.cf"; 301 302 if( beVerbose ) { 303 cout << "Reading from " << full_name << endl; 304 } 305 306 if (! (ret = fopen(full_name, "r" ) ) ) 307 return fopen(name, "r" ); // trying current directory 308 else 309 return ret; 305 306 if (! (ret = fopen(full_name, "r" ) ) ) 307 return fopen(name, "r" ); // trying current directory 308 else 309 return ret; 310 310 } 311 311
Note: See TracChangeset
for help on using the changeset viewer.