Changeset 8c17ab0


Ignore:
Timestamp:
Nov 13, 2014, 3:09:54 PM (11 years ago)
Author:
Peter A. Buhr <pabuhr@…>
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
Message:

add quoted identifiers, add compilation include directory, reformatted some files

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.
    67# This Makefile.in is free software; the Free Software Foundation
    78# gives unlimited permission to copy and/or distribute it,
     
    1415
    1516
    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
    3618pkgdatadir = $(datadir)/cfa
     19pkgincludedir = $(includedir)/cfa
    3720pkglibdir = $(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 
     21pkglibexecdir = $(libexecdir)/cfa
    4622am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
    47 INSTALL = /usr/bin/install -c
    48 INSTALL_PROGRAM = ${INSTALL}
    49 INSTALL_DATA = ${INSTALL} -m 644
    5023install_sh_DATA = $(install_sh) -c -m 644
    5124install_sh_PROGRAM = $(install_sh) -c
    5225install_sh_SCRIPT = $(install_sh) -c
    53 INSTALL_SCRIPT = ${INSTALL}
    5426INSTALL_HEADER = $(INSTALL_DATA)
    55 transform = s,x,x,
     27transform = $(program_transform_name)
    5628NORMAL_INSTALL = :
    5729PRE_INSTALL = :
     
    6032PRE_UNINSTALL = :
    6133POST_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 
     34subdir = .
     35DIST_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
     41ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     42am__aclocal_m4_deps = $(top_srcdir)/configure.in
     43am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
     44        $(ACLOCAL_M4)
     45am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
     46 configure.lineno config.status.lineno
     47mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
     48CONFIG_HEADER = config.h
     49CONFIG_CLEAN_FILES = translator/Makefile driver/Makefile \
     50        libcfa/Makefile
     51CONFIG_CLEAN_VPATH_FILES =
     52SOURCES =
     53DIST_SOURCES =
     54RECURSIVE_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
     61RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
     62  distclean-recursive maintainer-clean-recursive
     63AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
     64        $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
     65        distdir dist dist-all distcheck
     66ETAGS = etags
     67CTAGS = ctags
     68DIST_SUBDIRS = $(SUBDIRS)
     69DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
     70distdir = $(PACKAGE)-$(VERSION)
     71top_distdir = $(distdir)
     72am__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
     78am__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"
     103DIST_ARCHIVES = $(distdir).tar.gz
     104GZIP_ENV = --best
     105distuninstallcheck_listfiles = find . -type f -print
     106am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
     107  | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
     108distcleancheck_listfiles = find . -type f -print
     109ACLOCAL = ${SHELL} /u/pabuhr/software/cfa/cfa-cc/missing --run aclocal-1.11
     110AMTAR = $${TAR-tar}
     111AUTOCONF = ${SHELL} /u/pabuhr/software/cfa/cfa-cc/missing --run autoconf
     112AUTOHEADER = ${SHELL} /u/pabuhr/software/cfa/cfa-cc/missing --run autoheader
     113AUTOMAKE = ${SHELL} /u/pabuhr/software/cfa/cfa-cc/missing --run automake-1.11
     114AWK = gawk
    69115BACKEND_CC = /u/pabuhr/bin/gcc
    70116CC = gcc
     117CCDEPMODE = depmode=none
    71118CFA_BINDIR = /u/pabuhr/software/cfa/cfa-cc/bin
     119CFA_INCDIR = /u/pabuhr/software/cfa/cfa-cc/include
    72120CFA_LIBDIR = /u/pabuhr/software/cfa/cfa-cc/lib
    73121CFA_PREFIX = /u/pabuhr/software/cfa/cfa-cc
     122CFLAGS = -g -O2
     123CPP = gcc -E
     124CPPFLAGS =
    74125CPP_PATH = /usr/bin/cpp
    75126CXX = g++
     127CXXDEPMODE = depmode=none
     128CXXFLAGS = -g -O2
     129CYGPATH_W = echo
     130DEFS = -DHAVE_CONFIG_H
    76131DEPDIR = .deps
     132ECHO_C =
     133ECHO_N = -n
     134ECHO_T =
     135EGREP = /bin/grep -E
     136EXEEXT =
    77137GCC_PATH = /u/pabuhr/bin/gcc
    78 INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
     138GREP = /bin/grep
     139INSTALL = /usr/bin/install -c
     140INSTALL_DATA = ${INSTALL} -m 644
     141INSTALL_PROGRAM = ${INSTALL}
     142INSTALL_SCRIPT = ${INSTALL}
     143INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
     144LDFLAGS =
    79145LEX = flex
    80146LEXLIB = -lfl
    81147LEX_OUTPUT_ROOT = lex.yy
     148LIBOBJS =
     149LIBS =
     150LTLIBOBJS =
     151MAKEINFO = ${SHELL} /u/pabuhr/software/cfa/cfa-cc/missing --run makeinfo
     152MKDIR_P = /bin/mkdir -p
     153OBJEXT = o
    82154PACKAGE = cfa
     155PACKAGE_BUGREPORT = cforall@plg.uwaterloo.ca
     156PACKAGE_NAME = cfa-cc
     157PACKAGE_STRING = cfa-cc 1.0
     158PACKAGE_TARNAME = cfa-cc
     159PACKAGE_URL =
     160PACKAGE_VERSION = 1.0
     161PATH_SEPARATOR = :
     162SET_MAKE =
     163SHELL = /bin/bash
    83164STRIP =
    84165VERSION = 1.0
    85166YACC = bison -y
     167YFLAGS =
     168abs_builddir = /u/pabuhr/software/cfa/cfa-cc
     169abs_srcdir = /u/pabuhr/software/cfa/cfa-cc
     170abs_top_builddir = /u/pabuhr/software/cfa/cfa-cc
     171abs_top_srcdir = /u/pabuhr/software/cfa/cfa-cc
     172ac_ct_CC = gcc
     173ac_ct_CXX = g++
    86174am__include = include
     175am__leading_dot = .
    87176am__quote =
    88 install_sh = /u/pabuhr/software/cfa/cfa-cc/install-sh
     177am__tar = $${TAR-tar} chof - "$$tardir"
     178am__untar = $${TAR-tar} xf -
     179bindir = ${exec_prefix}/bin
     180build_alias =
     181builddir = .
     182datadir = ${datarootdir}
     183datarootdir = ${prefix}/share
     184docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
     185dvidir = ${docdir}
     186exec_prefix = ${prefix}
     187host_alias =
     188htmldir = ${docdir}
     189includedir = ${prefix}/include
     190infodir = ${datarootdir}/info
     191install_sh = ${SHELL} /u/pabuhr/software/cfa/cfa-cc/install-sh
     192libdir = ${exec_prefix}/lib
     193libexecdir = ${exec_prefix}/libexec
     194localedir = ${datarootdir}/locale
     195localstatedir = ${prefix}/var
     196mandir = ${datarootdir}/man
     197mkdir_p = /bin/mkdir -p
     198oldincludedir = /usr/include
     199pdfdir = ${docdir}
     200prefix = /u/pabuhr/software/cfa/cfa-cc
    89201preludedir = /u/pabuhr/software/cfa/cfa-cc/share/cfa
     202program_transform_name = s,x,x,
     203psdir = ${docdir}
     204sbindir = ${exec_prefix}/sbin
     205sharedstatedir = ${prefix}/com
     206srcdir = .
     207sysconfdir = ${prefix}/etc
     208target_alias =
     209top_build_prefix =
     210top_builddir = .
     211top_srcdir = .
    90212SUBDIRS = translator driver libcfa
    91213
    92214# non-source files
    93215EXTRA_DIST = Docs
    94 subdir = .
    95 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    96 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
    97 CONFIG_HEADER = config.h
    98 CONFIG_CLEAN_FILES = translator/Makefile driver/Makefile libcfa/Makefile
    99 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-recursive
    105 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 mkinstalldirs
    108 DIST_SUBDIRS = $(SUBDIRS)
    109216all: config.h
    110217        $(MAKE) $(AM_MAKEFLAGS) all-recursive
    111218
    112219.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)
     220am--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
     236Makefile: $(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)
    123247        $(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):
    129254
    130255config.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
    135258
    136259stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
    137260        @rm -f stamp-h1
    138261        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.in
     262$(srcdir)/config.h.in:  $(am__configure_deps)
     263        ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
     264        rm -f stamp-h1
     265        touch $@
    143266
    144267distclean-hdr:
     
    150273libcfa/Makefile: $(top_builddir)/config.status $(top_srcdir)/libcfa/Makefile.in
    151274        cd $(top_builddir) && $(SHELL) ./config.status $@
    152 uninstall-info-am:
    153275
    154276# This directory's subdirectories are mostly independent; you can cd
     
    159281# (2) otherwise, pass the desired values on the `make' command line.
    160282$(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; \
    162290        dot_seen=no; \
    163291        target=`echo $@ | sed s/-recursive//`; \
     
    170298            local_target="$$target"; \
    171299          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; \
    174302        done; \
    175303        if test "$$dot_seen" = "no"; then \
     
    177305        fi; test -z "$$fail"
    178306
    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; \
    182315        dot_seen=no; \
    183316        case "$@" in \
     
    199332            local_target="$$target"; \
    200333          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; \
    203336        done && test -z "$$fail"
    204337tags-recursive:
    205338        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); \
    207340        done
    208 
    209 ETAGS = etags
    210 ETAGSFLAGS =
    211 
    212 tags: TAGS
     341ctags-recursive:
     342        list='$(SUBDIRS)'; for subdir in $$list; do \
     343          test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
     344        done
    213345
    214346ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     
    217349            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
    218350          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; }; }'`; \
    221353        mkid -fID $$unique
     354tags: TAGS
    222355
    223356TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
    224357                $(TAGS_FILES) $(LISP)
    225         tags=; \
     358        set x; \
    226359        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; \
    227367        list='$(SUBDIRS)'; for subdir in $$list; do \
    228368          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"; \
    230371          fi; \
    231372        done; \
     
    234375            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
    235376          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
     390ctags: CTAGS
     391CTAGS: 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
    241402
    242403GTAGS:
    243404        here=`$(am__cd) $(top_builddir) && pwd` \
    244           && cd $(top_srcdir) \
    245           && gtags -i $(GTAGS_ARGS) $$here
     405          && $(am__cd) $(top_srcdir) \
     406          && gtags -i $(GTAGS_ARGS) "$$here"
    246407
    247408distclean-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
    261410
    262411distdir: $(DISTFILES)
    263412        $(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 \
    267426          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; \
    272437          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" \
    283440            || exit 1; \
    284441          fi; \
    285442        done
    286         list='$(SUBDIRS)'; for subdir in $$list; do \
     443        @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
    287444          if test "$$subdir" = .; then :; else \
    288             test -d $(distdir)/$$subdir \
    289             || mkdir $(distdir)/$$subdir \
     445            test -d "$(distdir)/$$subdir" \
     446            || $(MKDIR_P) "$(distdir)/$$subdir" \
    290447            || 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 && \
    292461              $(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=: \
    295467                distdir) \
    296468              || exit 1; \
    297469          fi; \
    298470        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 \
    300474          ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
    301475          ! -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)"
    304478dist-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
     482dist-bzip2: distdir
     483        tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
     484        $(am__remove_distdir)
     485
     486dist-lzip: distdir
     487        tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
     488        $(am__remove_distdir)
     489
     490dist-lzma: distdir
     491        tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
     492        $(am__remove_distdir)
     493
     494dist-xz: distdir
     495        tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
     496        $(am__remove_distdir)
     497
     498dist-tarZ: distdir
     499        tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
     500        $(am__remove_distdir)
     501
     502dist-shar: distdir
     503        shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
     504        $(am__remove_distdir)
     505
     506dist-zip: distdir
     507        -rm -f $(distdir).zip
     508        zip -rq $(distdir).zip $(distdir)
    306509        $(am__remove_distdir)
    307510
    308511dist dist-all: distdir
    309         $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
     512        tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
    310513        $(am__remove_distdir)
    311514
     
    314517# tarfile.
    315518distcheck: 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
    318537        chmod -R a-w $(distdir); chmod a+w $(distdir)
    319         mkdir $(distdir)/=build
    320         mkdir $(distdir)/=inst
     538        mkdir $(distdir)/_build
     539        mkdir $(distdir)/_inst
    321540        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) \
    325548            $(DISTCHECK_CONFIGURE_FLAGS) \
    326549          && $(MAKE) $(AM_MAKEFLAGS) \
     
    330553          && $(MAKE) $(AM_MAKEFLAGS) installcheck \
    331554          && $(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'
     575distuninstallcheck:
     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
    342592distcleancheck: distclean
    343         if test '$(srcdir)' = . ; then \
     593        @if test '$(srcdir)' = . ; then \
    344594          echo "ERROR: distcleancheck can only run from a VPATH build" ; \
    345595          exit 1 ; \
    346596        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:" ; \
    349599               $(distcleancheck_listfiles) ; \
    350600               exit 1; } >&2
     
    354604installdirs: installdirs-recursive
    355605installdirs-am:
    356 
    357606install: install-recursive
    358607install-exec: install-exec-recursive
     
    365614installcheck: installcheck-recursive
    366615install-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
    371625mostlyclean-generic:
    372626
     
    374628
    375629distclean-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)
    377632
    378633maintainer-clean-generic:
     
    385640distclean: distclean-recursive
    386641        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
     642        -rm -f Makefile
    387643distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
    388644
     
    391647dvi-am:
    392648
     649html: html-recursive
     650
     651html-am:
     652
    393653info: info-recursive
    394654
     
    397657install-data-am:
    398658
     659install-dvi: install-dvi-recursive
     660
     661install-dvi-am:
     662
    399663install-exec-am:
    400664
     665install-html: install-html-recursive
     666
     667install-html-am:
     668
    401669install-info: install-info-recursive
    402670
     671install-info-am:
     672
    403673install-man:
     674
     675install-pdf: install-pdf-recursive
     676
     677install-pdf-am:
     678
     679install-ps: install-ps-recursive
     680
     681install-ps-am:
    404682
    405683installcheck-am:
     
    407685maintainer-clean: maintainer-clean-recursive
    408686        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
    409         -rm -rf autom4te.cache
     687        -rm -rf $(top_srcdir)/autom4te.cache
     688        -rm -f Makefile
    410689maintainer-clean-am: distclean-am maintainer-clean-generic
    411690
     
    414693mostlyclean-am: mostlyclean-generic
    415694
    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
     695pdf: pdf-recursive
     696
     697pdf-am:
     698
     699ps: ps-recursive
     700
     701ps-am:
     702
     703uninstall-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
    435724
    436725# 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.
    22# @configure_input@
    33
    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.
    67# This Makefile.in is free software; the Free Software Foundation
    78# gives unlimited permission to copy and/or distribute it,
     
    1415
    1516@SET_MAKE@
    16 SHELL = @SHELL@
    17 
    18 srcdir = @srcdir@
    19 top_srcdir = @top_srcdir@
    2017VPATH = @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/include
    3618pkgdatadir = $(datadir)/@PACKAGE@
     19pkgincludedir = $(includedir)/@PACKAGE@
    3720pkglibdir = $(libdir)/@PACKAGE@
    38 pkgincludedir = $(includedir)/@PACKAGE@
    39 top_builddir = .
    40 
    41 ACLOCAL = @ACLOCAL@
    42 AUTOCONF = @AUTOCONF@
    43 AUTOMAKE = @AUTOMAKE@
    44 AUTOHEADER = @AUTOHEADER@
    45 
     21pkglibexecdir = $(libexecdir)/@PACKAGE@
    4622am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
    47 INSTALL = @INSTALL@
    48 INSTALL_PROGRAM = @INSTALL_PROGRAM@
    49 INSTALL_DATA = @INSTALL_DATA@
    5023install_sh_DATA = $(install_sh) -c -m 644
    5124install_sh_PROGRAM = $(install_sh) -c
    5225install_sh_SCRIPT = $(install_sh) -c
    53 INSTALL_SCRIPT = @INSTALL_SCRIPT@
    5426INSTALL_HEADER = $(INSTALL_DATA)
    55 transform = @program_transform_name@
     27transform = $(program_transform_name)
    5628NORMAL_INSTALL = :
    5729PRE_INSTALL = :
     
    6032PRE_UNINSTALL = :
    6133POST_UNINSTALL = :
    62 
    63 EXEEXT = @EXEEXT@
    64 OBJEXT = @OBJEXT@
    65 PATH_SEPARATOR = @PATH_SEPARATOR@
     34subdir = .
     35DIST_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
     41ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     42am__aclocal_m4_deps = $(top_srcdir)/configure.in
     43am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
     44        $(ACLOCAL_M4)
     45am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
     46 configure.lineno config.status.lineno
     47mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
     48CONFIG_HEADER = config.h
     49CONFIG_CLEAN_FILES = translator/Makefile driver/Makefile \
     50        libcfa/Makefile
     51CONFIG_CLEAN_VPATH_FILES =
     52SOURCES =
     53DIST_SOURCES =
     54RECURSIVE_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
     61RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
     62  distclean-recursive maintainer-clean-recursive
     63AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
     64        $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
     65        distdir dist dist-all distcheck
     66ETAGS = etags
     67CTAGS = ctags
     68DIST_SUBDIRS = $(SUBDIRS)
     69DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
     70distdir = $(PACKAGE)-$(VERSION)
     71top_distdir = $(distdir)
     72am__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
     78am__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"
     103DIST_ARCHIVES = $(distdir).tar.gz
     104GZIP_ENV = --best
     105distuninstallcheck_listfiles = find . -type f -print
     106am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
     107  | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
     108distcleancheck_listfiles = find . -type f -print
     109ACLOCAL = @ACLOCAL@
    66110AMTAR = @AMTAR@
     111AUTOCONF = @AUTOCONF@
     112AUTOHEADER = @AUTOHEADER@
     113AUTOMAKE = @AUTOMAKE@
    67114AWK = @AWK@
    68 
    69115BACKEND_CC = @BACKEND_CC@
    70116CC = @CC@
     117CCDEPMODE = @CCDEPMODE@
    71118CFA_BINDIR = @CFA_BINDIR@
     119CFA_INCDIR = @CFA_INCDIR@
    72120CFA_LIBDIR = @CFA_LIBDIR@
    73121CFA_PREFIX = @CFA_PREFIX@
     122CFLAGS = @CFLAGS@
     123CPP = @CPP@
     124CPPFLAGS = @CPPFLAGS@
    74125CPP_PATH = @CPP_PATH@
    75126CXX = @CXX@
     127CXXDEPMODE = @CXXDEPMODE@
     128CXXFLAGS = @CXXFLAGS@
     129CYGPATH_W = @CYGPATH_W@
     130DEFS = @DEFS@
    76131DEPDIR = @DEPDIR@
     132ECHO_C = @ECHO_C@
     133ECHO_N = @ECHO_N@
     134ECHO_T = @ECHO_T@
     135EGREP = @EGREP@
     136EXEEXT = @EXEEXT@
    77137GCC_PATH = @GCC_PATH@
     138GREP = @GREP@
     139INSTALL = @INSTALL@
     140INSTALL_DATA = @INSTALL_DATA@
     141INSTALL_PROGRAM = @INSTALL_PROGRAM@
     142INSTALL_SCRIPT = @INSTALL_SCRIPT@
    78143INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
     144LDFLAGS = @LDFLAGS@
    79145LEX = @LEX@
    80146LEXLIB = @LEXLIB@
    81147LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
     148LIBOBJS = @LIBOBJS@
     149LIBS = @LIBS@
     150LTLIBOBJS = @LTLIBOBJS@
     151MAKEINFO = @MAKEINFO@
     152MKDIR_P = @MKDIR_P@
     153OBJEXT = @OBJEXT@
    82154PACKAGE = @PACKAGE@
     155PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
     156PACKAGE_NAME = @PACKAGE_NAME@
     157PACKAGE_STRING = @PACKAGE_STRING@
     158PACKAGE_TARNAME = @PACKAGE_TARNAME@
     159PACKAGE_URL = @PACKAGE_URL@
     160PACKAGE_VERSION = @PACKAGE_VERSION@
     161PATH_SEPARATOR = @PATH_SEPARATOR@
     162SET_MAKE = @SET_MAKE@
     163SHELL = @SHELL@
    83164STRIP = @STRIP@
    84165VERSION = @VERSION@
    85166YACC = @YACC@
     167YFLAGS = @YFLAGS@
     168abs_builddir = @abs_builddir@
     169abs_srcdir = @abs_srcdir@
     170abs_top_builddir = @abs_top_builddir@
     171abs_top_srcdir = @abs_top_srcdir@
     172ac_ct_CC = @ac_ct_CC@
     173ac_ct_CXX = @ac_ct_CXX@
    86174am__include = @am__include@
     175am__leading_dot = @am__leading_dot@
    87176am__quote = @am__quote@
     177am__tar = @am__tar@
     178am__untar = @am__untar@
     179bindir = @bindir@
     180build_alias = @build_alias@
     181builddir = @builddir@
     182datadir = @datadir@
     183datarootdir = @datarootdir@
     184docdir = @docdir@
     185dvidir = @dvidir@
     186exec_prefix = @exec_prefix@
     187host_alias = @host_alias@
     188htmldir = @htmldir@
     189includedir = @includedir@
     190infodir = @infodir@
    88191install_sh = @install_sh@
     192libdir = @libdir@
     193libexecdir = @libexecdir@
     194localedir = @localedir@
     195localstatedir = @localstatedir@
     196mandir = @mandir@
     197mkdir_p = @mkdir_p@
     198oldincludedir = @oldincludedir@
     199pdfdir = @pdfdir@
     200prefix = @prefix@
    89201preludedir = @preludedir@
     202program_transform_name = @program_transform_name@
     203psdir = @psdir@
     204sbindir = @sbindir@
     205sharedstatedir = @sharedstatedir@
     206srcdir = @srcdir@
     207sysconfdir = @sysconfdir@
     208target_alias = @target_alias@
     209top_build_prefix = @top_build_prefix@
     210top_builddir = @top_builddir@
     211top_srcdir = @top_srcdir@
    90212SUBDIRS = translator driver libcfa
    91213
    92214# non-source files
    93215EXTRA_DIST = Docs
    94 subdir = .
    95 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    96 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
    97 CONFIG_HEADER = config.h
    98 CONFIG_CLEAN_FILES = translator/Makefile driver/Makefile libcfa/Makefile
    99 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-recursive
    105 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 mkinstalldirs
    108 DIST_SUBDIRS = $(SUBDIRS)
    109216all: config.h
    110217        $(MAKE) $(AM_MAKEFLAGS) all-recursive
    111218
    112219.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)
     220am--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
     236Makefile: $(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)
    123247        $(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):
    129254
    130255config.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
    135258
    136259stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
    137260        @rm -f stamp-h1
    138261        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.in
     262$(srcdir)/config.h.in:  $(am__configure_deps)
     263        ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
     264        rm -f stamp-h1
     265        touch $@
    143266
    144267distclean-hdr:
     
    150273libcfa/Makefile: $(top_builddir)/config.status $(top_srcdir)/libcfa/Makefile.in
    151274        cd $(top_builddir) && $(SHELL) ./config.status $@
    152 uninstall-info-am:
    153275
    154276# This directory's subdirectories are mostly independent; you can cd
     
    159281# (2) otherwise, pass the desired values on the `make' command line.
    160282$(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; \
    162290        dot_seen=no; \
    163291        target=`echo $@ | sed s/-recursive//`; \
     
    170298            local_target="$$target"; \
    171299          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; \
    174302        done; \
    175303        if test "$$dot_seen" = "no"; then \
     
    177305        fi; test -z "$$fail"
    178306
    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; \
    182315        dot_seen=no; \
    183316        case "$@" in \
     
    199332            local_target="$$target"; \
    200333          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; \
    203336        done && test -z "$$fail"
    204337tags-recursive:
    205338        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); \
    207340        done
    208 
    209 ETAGS = etags
    210 ETAGSFLAGS =
    211 
    212 tags: TAGS
     341ctags-recursive:
     342        list='$(SUBDIRS)'; for subdir in $$list; do \
     343          test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
     344        done
    213345
    214346ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     
    217349            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
    218350          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; }; }'`; \
    221353        mkid -fID $$unique
     354tags: TAGS
    222355
    223356TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
    224357                $(TAGS_FILES) $(LISP)
    225         tags=; \
     358        set x; \
    226359        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; \
    227367        list='$(SUBDIRS)'; for subdir in $$list; do \
    228368          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"; \
    230371          fi; \
    231372        done; \
     
    234375            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
    235376          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
     390ctags: CTAGS
     391CTAGS: 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
    241402
    242403GTAGS:
    243404        here=`$(am__cd) $(top_builddir) && pwd` \
    244           && cd $(top_srcdir) \
    245           && gtags -i $(GTAGS_ARGS) $$here
     405          && $(am__cd) $(top_srcdir) \
     406          && gtags -i $(GTAGS_ARGS) "$$here"
    246407
    247408distclean-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
    261410
    262411distdir: $(DISTFILES)
    263412        $(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 \
    267426          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; \
    272437          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" \
    283440            || exit 1; \
    284441          fi; \
    285442        done
    286         list='$(SUBDIRS)'; for subdir in $$list; do \
     443        @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
    287444          if test "$$subdir" = .; then :; else \
    288             test -d $(distdir)/$$subdir \
    289             || mkdir $(distdir)/$$subdir \
     445            test -d "$(distdir)/$$subdir" \
     446            || $(MKDIR_P) "$(distdir)/$$subdir" \
    290447            || 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 && \
    292461              $(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=: \
    295467                distdir) \
    296468              || exit 1; \
    297469          fi; \
    298470        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 \
    300474          ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
    301475          ! -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)"
    304478dist-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
     482dist-bzip2: distdir
     483        tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
     484        $(am__remove_distdir)
     485
     486dist-lzip: distdir
     487        tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
     488        $(am__remove_distdir)
     489
     490dist-lzma: distdir
     491        tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
     492        $(am__remove_distdir)
     493
     494dist-xz: distdir
     495        tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
     496        $(am__remove_distdir)
     497
     498dist-tarZ: distdir
     499        tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
     500        $(am__remove_distdir)
     501
     502dist-shar: distdir
     503        shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
     504        $(am__remove_distdir)
     505
     506dist-zip: distdir
     507        -rm -f $(distdir).zip
     508        zip -rq $(distdir).zip $(distdir)
    306509        $(am__remove_distdir)
    307510
    308511dist dist-all: distdir
    309         $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
     512        tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
    310513        $(am__remove_distdir)
    311514
     
    314517# tarfile.
    315518distcheck: 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
    318537        chmod -R a-w $(distdir); chmod a+w $(distdir)
    319         mkdir $(distdir)/=build
    320         mkdir $(distdir)/=inst
     538        mkdir $(distdir)/_build
     539        mkdir $(distdir)/_inst
    321540        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) \
    325548            $(DISTCHECK_CONFIGURE_FLAGS) \
    326549          && $(MAKE) $(AM_MAKEFLAGS) \
     
    330553          && $(MAKE) $(AM_MAKEFLAGS) installcheck \
    331554          && $(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'
     575distuninstallcheck:
     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
    342592distcleancheck: distclean
    343         if test '$(srcdir)' = . ; then \
     593        @if test '$(srcdir)' = . ; then \
    344594          echo "ERROR: distcleancheck can only run from a VPATH build" ; \
    345595          exit 1 ; \
    346596        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:" ; \
    349599               $(distcleancheck_listfiles) ; \
    350600               exit 1; } >&2
     
    354604installdirs: installdirs-recursive
    355605installdirs-am:
    356 
    357606install: install-recursive
    358607install-exec: install-exec-recursive
     
    365614installcheck: installcheck-recursive
    366615install-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
    371625mostlyclean-generic:
    372626
     
    374628
    375629distclean-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)
    377632
    378633maintainer-clean-generic:
     
    385640distclean: distclean-recursive
    386641        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
     642        -rm -f Makefile
    387643distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
    388644
     
    391647dvi-am:
    392648
     649html: html-recursive
     650
     651html-am:
     652
    393653info: info-recursive
    394654
     
    397657install-data-am:
    398658
     659install-dvi: install-dvi-recursive
     660
     661install-dvi-am:
     662
    399663install-exec-am:
    400664
     665install-html: install-html-recursive
     666
     667install-html-am:
     668
    401669install-info: install-info-recursive
    402670
     671install-info-am:
     672
    403673install-man:
     674
     675install-pdf: install-pdf-recursive
     676
     677install-pdf-am:
     678
     679install-ps: install-ps-recursive
     680
     681install-ps-am:
    404682
    405683installcheck-am:
     
    407685maintainer-clean: maintainer-clean-recursive
    408686        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
    409         -rm -rf autom4te.cache
     687        -rm -rf $(top_srcdir)/autom4te.cache
     688        -rm -f Makefile
    410689maintainer-clean-am: distclean-am maintainer-clean-generic
    411690
     
    414693mostlyclean-am: mostlyclean-generic
    415694
    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
     695pdf: pdf-recursive
     696
     697pdf-am:
     698
     699ps: ps-recursive
     700
     701ps-am:
     702
     703uninstall-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
    435724
    436725# 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.
    56# This file is free software; the Free Software Foundation
    67# gives unlimited permission to copy and/or distribute it,
     
    1213# PARTICULAR PURPOSE.
    1314
    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
     15m4_ifndef([AC_AUTOCONF_VERSION],
     16  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
     17m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
     18[m4_warning([this file was generated for autoconf 2.68.
     19You have another version of autoconf.  It may work, but is not guaranteed to.
     20If you have problems, you may need to regenerate the build system entirely.
     21To 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.)
     37AC_DEFUN([AM_AUTOMAKE_VERSION],
     38[am__api_version='1.11'
     39dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
     40dnl require some minimum version.  Point them to the right macro.
     41m4_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.
     50m4_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.
     56AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
     57[AM_AUTOMAKE_VERSION([1.11.3])dnl
     58m4_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
     110AC_DEFUN([AM_AUX_DIR_EXPAND],
     111[dnl Rely on autoconf to set up CDPATH properly.
     112AC_PREREQ([2.50])dnl
     113# expand $ac_aux_dir to an absolute path
     114am_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
    20120# 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.
     131AC_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
     135AC_SUBST([$1_TRUE])dnl
     136AC_SUBST([$1_FALSE])dnl
     137_AM_SUBST_NOTMAKE([$1_TRUE])dnl
     138_AM_SUBST_NOTMAKE([$1_FALSE])dnl
     139m4_define([_AM_COND_VALUE_$1], [$2])dnl
     140if $2; then
     141  $1_TRUE=
     142  $1_FALSE='#'
     143else
     144  $1_TRUE='#'
     145  $1_FALSE=
     146fi
     147AC_CONFIG_COMMANDS_PRE(
     148[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
     149  AC_MSG_ERROR([[conditional "$1" was never defined.
     150Usually this means the macro was only invoked conditionally.]])
     151fi])])
     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
    38161
    39162# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
     
    44167
    45168
    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.
     179AC_DEFUN([_AM_DEPENDENCIES],
     180[AC_REQUIRE([AM_SET_DEPDIR])dnl
     181AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
     182AC_REQUIRE([AM_MAKE_INCLUDE])dnl
     183AC_REQUIRE([AM_DEP_TRACK])dnl
     184
     185ifelse([$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
     192AC_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
     300else
     301  am_cv_$1_dependencies_compiler_type=none
     302fi
     303])
     304AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
     305AM_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
     315AC_DEFUN([AM_SET_DEPDIR],
     316[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
     317AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
     318])
     319
     320
     321# AM_DEP_TRACK
     322# ------------
     323AC_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])
     327if test "x$enable_dependency_tracking" != xno; then
     328  am_depcomp="$ac_aux_dir/depcomp"
     329  AMDEPBACKSLASH='\'
     330  am__nodep='_no'
     331fi
     332AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
     333AC_SUBST([AMDEPBACKSLASH])dnl
     334_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
     335AC_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# ------------------------------
     352AC_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.
     413AC_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.
     429AU_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.
    51444
    52445# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
     
    62455# release and drop the old call support.
    63456AC_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
     458dnl Autoconf wants to disallow AM_ names.  We explicitly allow
     459dnl the ones we care about.
     460m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
     461AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
     462AC_REQUIRE([AC_PROG_INSTALL])dnl
     463if 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
     471fi
     472
     473# test whether we have cygpath
     474if 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
     480fi
     481AC_SUBST([CYGPATH_W])
    71482
    72483# Define the identity of the package.
     
    77488 AC_SUBST([VERSION], [$2])],
    78489[_AM_SET_OPTIONS([$1])dnl
    79  AC_SUBST([PACKAGE], [AC_PACKAGE_TARNAME])dnl
    80  AC_SUBST([VERSION], [AC_PACKAGE_VERSION])])dnl
     490dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
     491m4_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
    81495
    82496_AM_IF_OPTION([no-define],,
     
    92506AM_MISSING_PROG(AUTOHEADER, autoheader)
    93507AM_MISSING_PROG(MAKEINFO, makeinfo)
    94 AM_MISSING_PROG(AMTAR, tar)
    95 AM_PROG_INSTALL_SH
    96 AM_PROG_INSTALL_STRIP
     508AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
     509AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
     510AC_REQUIRE([AM_PROG_MKDIR_P])dnl
    97511# We need awk for the "check" target.  The system "awk" is bad on
    98512# some platforms.
    99513AC_REQUIRE([AC_PROG_AWK])dnl
    100514AC_REQUIRE([AC_PROG_MAKE_SET])dnl
    101 
     515AC_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])])])
    102519_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
     524AC_PROVIDE_IFELSE([AC_PROG_CXX],
     525                  [_AM_DEPENDENCIES(CXX)],
     526                  [define([AC_PROG_CXX],
     527                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
     528AC_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
     534dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
     535dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
     536dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
     537AC_CONFIG_COMMANDS_PRE(dnl
     538[m4_provide_if([_AM_COMPILER_EXEEXT],
     539  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
     540])
     541
     542dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
     543dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
     544dnl mangled by Autoconf and run in a shell conditional statement.
     545m4_define([_AC_COMPILER_EXEEXT],
     546m4_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.
     556AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
     557[# Compute $1's index in $config_headers.
     558_am_arg=$1
     559_am_stamp_count=1
     560for _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
     567done
     568echo "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.
     582AC_DEFUN([AM_PROG_INSTALL_SH],
     583[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
     584if 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
     591fi
     592AC_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.
    161599
    162600# serial 2
     601
     602# Check whether the underlying file-system supports filenames
     603# with a leading dot.  For instance MS-DOS doesn't.
     604AC_DEFUN([AM_SET_LEADING_DOT],
     605[rm -rf .tst 2>/dev/null
     606mkdir .tst 2>/dev/null
     607if test -d .tst; then
     608  am__leading_dot=.
     609else
     610  am__leading_dot=_
     611fi
     612rmdir .tst 2>/dev/null
     613AC_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.
     628AC_DEFUN([AM_PROG_LEX],
     629[AC_PREREQ(2.50)dnl
     630AC_REQUIRE([AM_MISSING_HAS_RUN])dnl
     631AC_REQUIRE([AC_PROG_LEX])dnl
     632if test "$LEX" = :; then
     633  LEX=${am_missing_run}flex
     634fi])
     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.
     649AC_DEFUN([AM_MAKE_INCLUDE],
     650[am_make=${MAKE-make}
     651cat > confinc << 'END'
     652am__doit:
     653        @echo this is the am__doit target
     654.PHONY: am__doit
     655END
     656# If we don't find an include directive, just comment out the code.
     657AC_MSG_CHECKING([for style of include used by $am_make])
     658am__include="#"
     659am__quote=
     660_am_result=none
     661# First try GNU make style include.
     662echo "include confinc" > confmf
     663# Ignore all kinds of additional output from `make'.
     664case `$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  ;;
     670esac
     671# Now try BSD make style include.
     672if 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
     681fi
     682AC_SUBST([am__include])
     683AC_SUBST([am__quote])
     684AC_MSG_RESULT([$_am_result])
     685rm -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# ------------------------------
     701AC_DEFUN([AM_MISSING_PROG],
     702[AC_REQUIRE([AM_MISSING_HAS_RUN])
     703$1=${$1-"${am_missing_run}$2"}
     704AC_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.
     711AC_DEFUN([AM_MISSING_HAS_RUN],
     712[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
     713AC_REQUIRE_AUX_FILE([missing])dnl
     714if 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
     721fi
     722# Use eval to expand $SHELL
     723if eval "$MISSING --run true"; then
     724  am_missing_run="$MISSING --run "
     725else
     726  am_missing_run=
     727  AC_MSG_WARN([`missing' script is too old or missing])
     728fi
     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'.
     743AC_DEFUN([AM_PROG_MKDIR_P],
     744[AC_PREREQ([2.60])dnl
     745AC_REQUIRE([AC_PROG_MKDIR_P])dnl
     746dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
     747dnl while keeping a definition of mkdir_p for backward compatibility.
     748dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
     749dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
     750dnl Makefile.ins that do not define MKDIR_P, so we do our own
     751dnl adjustment using top_builddir (which is defined more often than
     752dnl MKDIR_P).
     753AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
     754case $mkdir_p in
     755  [[\\/$]]* | ?:[[\\/]]*) ;;
     756  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
     757esac
     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
    163770
    164771# _AM_MANGLE_OPTION(NAME)
     
    168775
    169776# _AM_SET_OPTION(NAME)
    170 # ------------------------------
     777# --------------------
    171778# Set option NAME.  Presently that only means defining a flag for this option.
    172779AC_DEFUN([_AM_SET_OPTION],
     
    174781
    175782# _AM_SET_OPTIONS(OPTIONS)
    176 # ----------------------------------
     783# ------------------------
    177784# OPTIONS is a space-separated list of Automake options.
    178785AC_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)])])
    180787
    181788# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
     
    185792[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
    186793
    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
    209804
    210805# AM_SANITY_CHECK
     
    215810sleep 1
    216811echo timestamp > conftest.file
     812# Reject unsafe characters in $srcdir or the absolute working directory
     813# name.  Accept space and tab only in the latter.
     814am_lf='
     815'
     816case `pwd` in
     817  *[[\\\"\#\$\&\'\`$am_lf]]*)
     818    AC_MSG_ERROR([unsafe absolute working directory name]);;
     819esac
     820case $srcdir in
     821  *[[\\\"\#\$\&\'\`$am_lf\ \    ]]*)
     822    AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
     823esac
     824
    217825# Do `set' in a subshell so we don't clobber the current shell's
    218826# arguments.  Must try -L first in case configure is actually a
     
    221829# directory).
    222830if (
    223    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
     831   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
    224832   if test "$[*]" = "X"; then
    225833      # -L didn't work.
    226       set X `ls -t $srcdir/configure conftest.file`
     834      set X `ls -t "$srcdir/configure" conftest.file`
    227835   fi
    228836   rm -f conftest.file
     
    249857AC_MSG_RESULT(yes)])
    250858
    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
    387866
    388867# 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# ---------------------
    407869# One issue with vendor `install' (even GNU) is that you can't
    408870# specify the program used to strip binaries.  This is especially
     
    422884  AC_CHECK_TOOL([STRIP], [strip], :)
    423885fi
    424 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
     886INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
    425887AC_SUBST([INSTALL_STRIP_PROGRAM])])
    426888
    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.
     901AC_DEFUN([_AM_SUBST_NOTMAKE])
     902
     903# AM_SUBST_NOTMAKE(VARIABLE)
     904# --------------------------
     905# Public sister of _AM_SUBST_NOTMAKE.
     906AC_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
     931AC_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 ...
     934AC_SUBST([AMTAR], ['$${TAR-tar}'])
     935m4_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])])
     939AC_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 `-'.
     945for _am_tool in $_am_tools
     946do
     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
    485988  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
    494995  fi
    495   for depmode in $am_compiler_list; do
    496     # We need to recreate these files for each test, as the compiler may
    497     # 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.c
    500     echo 'int i;' > conftest.h
    501     echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
    502 
    503     case $depmode in
    504     nosideeffect)
    505       # after this tag, mechanisms are not by side-effect, so they'll
    506       # only be used when explicitly requested
    507       if test "x$enable_dependency_tracking" = xyes; then
    508         continue
    509       else
    510         break
    511       fi
    512       ;;
    513     none) break ;;
    514     esac
    515     # We check with `-c' and `-o' for the sake of the "dashmstdout"
    516     # mode.  It turns out that the SunPro C++ compiler does not properly
    517     # 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; then
    524       am_cv_$1_dependencies_compiler_type=$depmode
    525       break
    526     fi
    527   done
    528 
    529   cd ..
    530   rm -rf conftest.dir
    531 else
    532   am_cv_$1_dependencies_compiler_type=none
    533 fi
    534 ])
    535 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
    536 ])
    537 
    538 
    539 # AM_SET_DEPDIR
    540 # -------------
    541 # Choose a directory name for dependency files.
    542 # This macro is AC_REQUIREd in _AM_DEPENDENCIES
    543 AC_DEFUN([AM_SET_DEPDIR],
    544 [rm -f .deps 2>/dev/null
    545 mkdir .deps 2>/dev/null
    546 if test -d .deps; then
    547   DEPDIR=.deps
    548 else
    549   # MS-DOS does not allow filenames that begin with a dot.
    550   DEPDIR=_deps
    551 fi
    552 rmdir .deps 2>/dev/null
    553 AC_SUBST([DEPDIR])
    554 ])
    555 
    556 
    557 # AM_DEP_TRACK
    558 # ------------
    559 AC_DEFUN([AM_DEP_TRACK],
    560 [AC_ARG_ENABLE(dependency-tracking,
    561 [  --disable-dependency-tracking Speeds up one-time builds
    562   --enable-dependency-tracking  Do not reject slow dependency extractors])
    563 if test "x$enable_dependency_tracking" != xno; then
    564   am_depcomp="$ac_aux_dir/depcomp"
    565   AMDEPBACKSLASH='\'
    566 fi
    567 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 modify
    576 # it under the terms of the GNU General Public License as published by
    577 # 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 of
    582 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    583 # GNU General Public License for more details.
    584 
    585 # You should have received a copy of the GNU General Public License
    586 # along with this program; if not, write to the Free Software
    587 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    588 # 02111-1307, USA.
    589 
    590 #serial 2
    591 
    592 # _AM_OUTPUT_DEPENDENCY_COMMANDS
    593 # ------------------------------
    594 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
    595 [for mf in $CONFIG_FILES; do
    596   # 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', but
    600   # some people rename them; so instead we look at the file content.
    601   # Grep'ing the first line is not enough: some people post-process
    602   # 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; then
    605     dirpart=`AS_DIRNAME("$mf")`
    606   else
    607     continue
    608   fi
    609   grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
    610   # Extract the definition of DEP_FILES from the Makefile without
    611   # running `make'.
    612   DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
    613   test -z "$DEPDIR" && continue
    614   # When using ansi2knr, U may be empty or an underscore; expand it
    615   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 to
    618   # changing $(DEPDIR) to its actual value in the expansion.
    619   for file in `sed -n -e '
    620     /^DEP_FILES = .*\\\\$/ {
    621       s/^DEP_FILES = //
    622       :loop
    623         s/\\\\$//
    624         p
    625         n
    626         /\\\\$/ b loop
    627       p
    628     }
    629     /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
    630        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
    631     # Make sure the directory exists.
    632     test -f "$dirpart/$file" && continue
    633     fdir=`AS_DIRNAME(["$file"])`
    634     AS_MKDIR_P([$dirpart/$fdir])
    635     # echo "creating $dirpart/$file"
    636     echo '# dummy' > "$dirpart/$file"
    637   done
    638996done
    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 
     997rm -rf conftest.dir
     998
     999AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
     1000AC_MSG_RESULT([$am_cv_prog_tar_$1])])
     1001AC_SUBST([am__tar])
     1002AC_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. */
    314#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. */
    817#define CPP_PATH "/usr/bin/cpp"
     18
     19/* Path/name of C compiler. */
    920#define GCC_PATH "/u/pabuhr/bin/gcc"
    1021
    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. */
    1226#define HAVE_MALLOC_H 1
    1327
    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. */
    1550#define HAVE_UNISTD_H 1
    1651
     
    1853#define PACKAGE "cfa"
    1954
    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'. */
    2177/* #undef TM_IN_SYS_TIME */
    2278
     
    2480#define VERSION "1.0"
    2581
    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[]'. */
    2884#define YYTEXT_POINTER 1
    2985
     
    3187/* #undef const */
    3288
    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
    3592/* #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. */
    213#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. */
    716#undef CPP_PATH
     17
     18/* Path/name of C compiler. */
    819#undef GCC_PATH
    920
    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. */
    1125#undef HAVE_MALLOC_H
    1226
    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. */
    1449#undef HAVE_UNISTD_H
    1550
     
    1752#undef PACKAGE
    1853
    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'. */
    2076#undef TM_IN_SYS_TIME
    2177
     
    2379#undef VERSION
    2480
    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[]'. */
    2783#undef YYTEXT_POINTER
    2884
     
    3086#undef const
    3187
    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
    3491#undef inline
     92#endif
  • config.status

    r134b86a r8c17ab0  
    1 #! /bin/sh
    2 # Generated automatically by configure.
     1#! /bin/bash
     2# Generated by configure.
    33# Run this file to recreate the current configuration.
    44# Compiler output produced by configure, useful for debugging
     
    66
    77debug=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
     8ac_cs_recheck=false
     9ac_cs_silent=false
     10
     11SHELL=${CONFIG_SHELL-/bin/bash}
     12export SHELL
     13## -------------------- ##
     14## M4sh Initialization. ##
     15## -------------------- ##
     16
     17# Be more Bourne compatible
     18DUALCASE=1; export DUALCASE # for MKS sh
     19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    1320  emulate sh
    1421  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
     26else
     27  case `(set -o) 2>/dev/null` in #(
     28  *posix*) :
     29    set -o posix ;; #(
     30  *) :
     31     ;;
     32esac
     33fi
     34
     35
     36as_nl='
     37'
     38export as_nl
     39# Printing a long string crashes Solaris 7 /usr/bin/printf.
     40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42as_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.
     45if 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 --'
     49elif (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'
     52else
     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'
     72fi
     73
     74# The user is always right.
     75if 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  }
     81fi
     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.)
     89IFS=" ""        $as_nl"
     90
     91# Find who we are.  Look in the path if we contain no directory separator.
     92as_myself=
     93case $0 in #((
     94  *[\\/]* ) as_myself=$0 ;;
     95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96for as_dir in $PATH
     97do
     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
     102IFS=$as_save_IFS
     103
     104     ;;
     105esac
     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.
     108if test "x$as_myself" = x; then
     109  as_myself=$0
     110fi
     111if test ! -f "$as_myself"; then
     112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     113  exit 1
     114fi
     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.
     120for as_var in BASH_ENV ENV MAIL MAILPATH
     121do eval test x\${$as_var+set} = xset \
     122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     123done
     124PS1='$ '
     125PS2='> '
     126PS4='+ '
     127
     128# NLS nuisances.
     129LC_ALL=C
     130export LC_ALL
     131LANGUAGE=C
     132export 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.
     143as_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.
     158as_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.
     166as_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.
     176as_fn_unset ()
     177{
     178  { eval $1=; unset $1;}
     179}
     180as_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.
     187if (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  }'
     192else
     193  as_fn_append ()
     194  {
     195    eval $1=\$$1\$2
     196  }
     197fi # 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.
     204if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     205  eval 'as_fn_arith ()
     206  {
     207    as_val=$(( $* ))
     208  }'
     209else
     210  as_fn_arith ()
     211  {
     212    as_val=`expr "$@" || test $? -eq 1`
     213  }
     214fi # as_fn_arith
     215
     216
     217if expr a : '\(a\)' >/dev/null 2>&1 &&
     218   test "X`expr 00001 : '.*\(...\)'`" = X001; then
    23219  as_expr=expr
    24220else
     
    26222fi
    27223
     224if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
     225  as_basename=basename
     226else
     227  as_basename=false
     228fi
     229
     230if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     231  as_dirname=dirname
     232else
     233  as_dirname=false
     234fi
     235
     236as_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.
     256as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     257as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     258as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     259as_cr_digits='0123456789'
     260as_cr_alnum=$as_cr_Letters$as_cr_digits
     261
     262ECHO_C= ECHO_N= ECHO_T=
     263case `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';;
     273esac
     274
    28275rm -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
     276if test -d conf$$.dir; then
     277  rm -f conf$$.dir/conf$$.file
     278else
     279  rm -f conf$$.dir
     280  mkdir conf$$.dir 2>/dev/null
     281fi
     282if (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
    35294    as_ln_s='cp -p'
    36   else
    37     as_ln_s='ln -s'
    38295  fi
    39 elif ln conf$$.file conf$$ 2>/dev/null; then
    40   as_ln_s=ln
    41296else
    42297  as_ln_s='cp -p'
    43298fi
    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
     299rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     300rmdir conf$$.dir 2>/dev/null
     301
     302
     303# as_fn_mkdir_p
     304# -------------
     305# Create "$as_dir" as a directory, including parents if necessary.
     306as_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
     350if mkdir -p . 2>/dev/null; then
     351  as_mkdir_p='mkdir -p "$as_dir"'
    51352else
    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
     355fi
     356
     357if test -x / >/dev/null 2>&1; then
     358  as_test_x='test -x'
     359else
     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  '
     377fi
     378as_executable_p=$as_test_x
     379
     380# Sed expression to map a string onto a valid CPP name.
     381as_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.
     384as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
     385
    73386
    74387exec 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.
     394ac_log="
     395This file was extended by cfa-cc $as_me 1.0, which was
     396generated 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
     404on `(hostname || uname -n) 2>/dev/null | sed 1q`
     405"
     406
     407# Files that config.status was made for.
    76408config_files=" Makefile translator/Makefile driver/Makefile libcfa/Makefile"
    77409config_headers=" config.h"
     
    79411
    80412ac_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
     414from templates according to the current configuration.  Unless the files
     415and actions are specified as TAGs, all are instantiated by default.
     416
     417Usage: $0 [OPTION]... [TAG]...
    85418
    86419  -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
    88424  -d, --debug      don't remove temporary files
    89425      --recheck    update $as_me by reconfiguring in the same conditions
    90   --file=FILE[:TEMPLATE]
     426      --file=FILE[:TEMPLATE]
    91427                   instantiate the configuration file FILE
    92   --header=FILE[:TEMPLATE]
     428      --header=FILE[:TEMPLATE]
    93429                   instantiate the configuration header FILE
    94430
     
    102438$config_commands
    103439
    104 Report bugs to <bug-autoconf@gnu.org>."
     440Report bugs to <cforall@plg.uwaterloo.ca>."
     441
     442ac_cs_config="'--prefix=/u/pabuhr/software/cfa/cfa-cc'"
    105443ac_cs_version="\
    106444cfa-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.
     445configured by ./configure, generated by GNU Autoconf 2.68,
     446  with options \"$ac_cs_config\"
     447
     448Copyright (C) 2010 Free Software Foundation, Inc.
    112449This config.status script is free software; the Free Software Foundation
    113450gives 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
     452ac_pwd='/u/pabuhr/software/cfa/cfa-cc'
     453srcdir='.'
     454INSTALL='/usr/bin/install -c'
     455MKDIR_P='/bin/mkdir -p'
     456AWK='gawk'
     457test -n "$AWK" || AWK=awk
     458# The default lists apply if the user does not specify any file.
    118459ac_need_defaults=:
    119460while test $# != 0
    120461do
    121462  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=:
    128467    ;;
    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    ;;
    133478  esac
    134479
    135   case $1 in
     480  case $ac_option in
    136481  # Handling of the options.
    137482  -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;;
    142505  --he | --h)
    143506    # 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'
     508Try \`$0 --help' for more information.";;
    149509  --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=: ;;
    161514
    162515  # 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'
     517Try \`$0 --help' for more information." ;;
     518
     519  *) as_fn_append ac_config_targets " $1"
     520     ac_need_defaults=false ;;
    170521
    171522  esac
     
    173524done
    174525
     526ac_configure_extra_args=
     527
     528if $ac_cs_silent; then
     529  exec 6>/dev/null
     530  ac_configure_extra_args="$ac_configure_extra_args --silent"
     531fi
     532
     533if $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 "$@"
     540fi
     541
    175542exec 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
    191551#
    192 # INIT-COMMANDS section.
     552# INIT-COMMANDS
    193553#
    194 
    195554AMDEP_TRUE="" ac_aux_dir="."
    196555
     556
     557# Handling of arguments.
    197558for ac_config_target in $ac_config_targets
    198559do
    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;;
    210569  esac
    211570done
     571
    212572
    213573# If the user did not use the arguments to specify the items to instantiate,
     
    221581fi
    222582
    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'.
    224589$debug ||
    225590{
    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
    228597}
    229 
    230598# Create a (secure) tmp directory for tmp files.
    231 : ${TMPDIR=/tmp}
     599
    232600{
    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"
    235603}  ||
    236604{
    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
     608ac_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'.
     613if test -n "$CONFIG_FILES"; then
     614
     615
     616ac_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.
     620if test "x$ac_cr" = x; then
     621  eval ac_cr=\$\'\\r\'
     622fi
     623ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
     624if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
     625  ac_cs_awk_cr='\\r'
     626else
     627  ac_cs_awk_cr=$ac_cr
     628fi
     629
     630echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
     631cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
     632S["am__EXEEXT_FALSE"]=""
     633S["am__EXEEXT_TRUE"]="#"
     634S["LTLIBOBJS"]=""
     635S["LIBOBJS"]=""
     636S["CFA_LIBDIR"]="/u/pabuhr/software/cfa/cfa-cc/lib"
     637S["CFA_BINDIR"]="/u/pabuhr/software/cfa/cfa-cc/bin"
     638S["CFA_INCDIR"]="/u/pabuhr/software/cfa/cfa-cc/include"
     639S["CFA_PREFIX"]="/u/pabuhr/software/cfa/cfa-cc"
     640S["CPP_PATH"]="/usr/bin/cpp"
     641S["BACKEND_CC"]="/u/pabuhr/bin/gcc"
     642S["GCC_PATH"]="/u/pabuhr/bin/gcc"
     643S["preludedir"]="/u/pabuhr/software/cfa/cfa-cc/share/cfa"
     644S["EGREP"]="/bin/grep -E"
     645S["GREP"]="/bin/grep"
     646S["CPP"]="gcc -E"
     647S["LEXLIB"]="-lfl"
     648S["LEX_OUTPUT_ROOT"]="lex.yy"
     649S["LEX"]="flex"
     650S["am__fastdepCC_FALSE"]=""
     651S["am__fastdepCC_TRUE"]="#"
     652S["CCDEPMODE"]="depmode=none"
     653S["ac_ct_CC"]="gcc"
     654S["CFLAGS"]="-g -O2"
     655S["CC"]="gcc"
     656S["am__fastdepCXX_FALSE"]=""
     657S["am__fastdepCXX_TRUE"]="#"
     658S["CXXDEPMODE"]="depmode=none"
     659S["am__nodep"]="_no"
     660S["AMDEPBACKSLASH"]="\\"
     661S["AMDEP_FALSE"]="#"
     662S["AMDEP_TRUE"]=""
     663S["am__quote"]=""
     664S["am__include"]="include"
     665S["DEPDIR"]=".deps"
     666S["OBJEXT"]="o"
     667S["EXEEXT"]=""
     668S["ac_ct_CXX"]="g++"
     669S["CPPFLAGS"]=""
     670S["LDFLAGS"]=""
     671S["CXXFLAGS"]="-g -O2"
     672S["CXX"]="g++"
     673S["YFLAGS"]=""
     674S["YACC"]="bison -y"
     675S["am__untar"]="$${TAR-tar} xf -"
     676S["am__tar"]="$${TAR-tar} chof - \"$$tardir\""
     677S["AMTAR"]="$${TAR-tar}"
     678S["am__leading_dot"]="."
     679S["SET_MAKE"]=""
     680S["AWK"]="gawk"
     681S["mkdir_p"]="/bin/mkdir -p"
     682S["MKDIR_P"]="/bin/mkdir -p"
     683S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s"
     684S["STRIP"]=""
     685S["install_sh"]="${SHELL} /u/pabuhr/software/cfa/cfa-cc/install-sh"
     686S["MAKEINFO"]="${SHELL} /u/pabuhr/software/cfa/cfa-cc/missing --run makeinfo"
     687S["AUTOHEADER"]="${SHELL} /u/pabuhr/software/cfa/cfa-cc/missing --run autoheader"
     688S["AUTOMAKE"]="${SHELL} /u/pabuhr/software/cfa/cfa-cc/missing --run automake-1.11"
     689S["AUTOCONF"]="${SHELL} /u/pabuhr/software/cfa/cfa-cc/missing --run autoconf"
     690S["ACLOCAL"]="${SHELL} /u/pabuhr/software/cfa/cfa-cc/missing --run aclocal-1.11"
     691S["VERSION"]="1.0"
     692S["PACKAGE"]="cfa"
     693S["CYGPATH_W"]="echo"
     694S["am__isrc"]=""
     695S["INSTALL_DATA"]="${INSTALL} -m 644"
     696S["INSTALL_SCRIPT"]="${INSTALL}"
     697S["INSTALL_PROGRAM"]="${INSTALL}"
     698S["target_alias"]=""
     699S["host_alias"]=""
     700S["build_alias"]=""
     701S["LIBS"]=""
     702S["ECHO_T"]=""
     703S["ECHO_N"]="-n"
     704S["ECHO_C"]=""
     705S["DEFS"]="-DHAVE_CONFIG_H"
     706S["mandir"]="${datarootdir}/man"
     707S["localedir"]="${datarootdir}/locale"
     708S["libdir"]="${exec_prefix}/lib"
     709S["psdir"]="${docdir}"
     710S["pdfdir"]="${docdir}"
     711S["dvidir"]="${docdir}"
     712S["htmldir"]="${docdir}"
     713S["infodir"]="${datarootdir}/info"
     714S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
     715S["oldincludedir"]="/usr/include"
     716S["includedir"]="${prefix}/include"
     717S["localstatedir"]="${prefix}/var"
     718S["sharedstatedir"]="${prefix}/com"
     719S["sysconfdir"]="${prefix}/etc"
     720S["datadir"]="${datarootdir}"
     721S["datarootdir"]="${prefix}/share"
     722S["libexecdir"]="${exec_prefix}/libexec"
     723S["sbindir"]="${exec_prefix}/sbin"
     724S["bindir"]="${exec_prefix}/bin"
     725S["program_transform_name"]="s,x,x,"
     726S["prefix"]="/u/pabuhr/software/cfa/cfa-cc"
     727S["exec_prefix"]="${prefix}"
     728S["PACKAGE_URL"]=""
     729S["PACKAGE_BUGREPORT"]="cforall@plg.uwaterloo.ca"
     730S["PACKAGE_STRING"]="cfa-cc 1.0"
     731S["PACKAGE_VERSION"]="1.0"
     732S["PACKAGE_TARNAME"]="cfa-cc"
     733S["PACKAGE_NAME"]="cfa-cc"
     734S["PATH_SEPARATOR"]=":"
     735S["SHELL"]="/bin/bash"
     736_ACAWK
     737cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
     738  for (key in S) S_is_set[key] = 1
     739  FS = ""
     740
     741}
    240742{
    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
    243760}
    244761
    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
     763if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
     764  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
     765else
     766  cat
     767fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
     768  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
     769fi # 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'.
     774if test -n "$CONFIG_HEADERS"; then
     775cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
     776BEGIN {
     777D["PACKAGE_NAME"]=" \"cfa-cc\""
     778D["PACKAGE_TARNAME"]=" \"cfa-cc\""
     779D["PACKAGE_VERSION"]=" \"1.0\""
     780D["PACKAGE_STRING"]=" \"cfa-cc 1.0\""
     781D["PACKAGE_BUGREPORT"]=" \"cforall@plg.uwaterloo.ca\""
     782D["PACKAGE_URL"]=" \"\""
     783D["PACKAGE"]=" \"cfa\""
     784D["VERSION"]=" \"1.0\""
     785D["YYTEXT_POINTER"]=" 1"
     786D["STDC_HEADERS"]=" 1"
     787D["HAVE_SYS_TYPES_H"]=" 1"
     788D["HAVE_SYS_STAT_H"]=" 1"
     789D["HAVE_STDLIB_H"]=" 1"
     790D["HAVE_STRING_H"]=" 1"
     791D["HAVE_MEMORY_H"]=" 1"
     792D["HAVE_STRINGS_H"]=" 1"
     793D["HAVE_INTTYPES_H"]=" 1"
     794D["HAVE_STDINT_H"]=" 1"
     795D["HAVE_UNISTD_H"]=" 1"
     796D["HAVE_MALLOC_H"]=" 1"
     797D["HAVE_UNISTD_H"]=" 1"
     798D["GCC_PATH"]=" \"/u/pabuhr/bin/gcc\""
     799D["CPP_PATH"]=" \"/usr/bin/cpp\""
     800D["CFA_PREFIX"]=" \"/u/pabuhr/software/cfa/cfa-cc\""
     801D["CFA_INCDIR"]=" \"/u/pabuhr/software/cfa/cfa-cc/include\""
     802D["CFA_BINDIR"]=" \"/u/pabuhr/software/cfa/cfa-cc/bin\""
     803D["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
     837fi # test -n "$CONFIG_HEADERS"
     838
     839
     840eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
     841shift
     842for ac_tag
     843do
     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;}
    348893    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
    410906    ;;
    411907  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
     935case "$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 ;;
     945esac
     946ac_abs_top_builddir=$ac_pwd
     947ac_abs_builddir=$ac_pwd$ac_dir_suffix
     948# for backward compatibility:
     949ac_top_builddir=$ac_top_build_prefix
     950
     951case $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 ;;
     964esac
     965ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
     966
     967
     968  case $ac_mode in
     969  :F)
     970  #
     971  # CONFIG_FILE
     972  #
    435973
    436974  case $INSTALL in
    437975  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
    438   *) ac_INSTALL=$ac_dots$INSTALL ;;
     976  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
    439977  esac
    440 
    441   if test x"$ac_file" != x-; then
    442     { echo "$as_me:4141: creating $ac_file" >&5
    443 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       *) # Relative
    465          if test -f "$f"; then
    466            # Build tree
    467            echo $f
    468          elif test -f "$srcdir/$f"; then
    469            # Source tree
    470            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.
     985ac_datarootdir_hack=; ac_datarootdir_seen=
     986ac_sed_dataroot='
     987/datarootdir/ {
     988  p
     989  q
     990}
     991/@datadir@/p
     992/@docdir@/p
     993/@infodir@/p
     994/@localedir@/p
     995/@mandir@/p'
     996case `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' ;;
     1008esac
     1009ac_sed_extra="/^[        ]*VPATH[        ]*=[    ]*/{
     1010h
     1011s///
     1012s/^/:/
     1013s/[      ]*$/:/
     1014s/:\$(srcdir):/:/g
     1015s/:\${srcdir}:/:/g
     1016s/:@srcdir@:/:/g
     1017s/^:*//
     1018s/:*$//
     1019x
     1020s/\(=[   ]*\).*/\1/
     1021G
     1022s/\n//
     1023s/^[^=]*=[       ]*$//
    4861024}
    4871025
    4881026:t
    4891027/@[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
     1028s|@configure_input@|$ac_sed_conf_input|;t t
     1029s&@top_builddir@&$ac_top_builddir_sub&;t t
     1030s&@top_build_prefix@&$ac_top_build_prefix&;t t
     1031s&@srcdir@&$ac_srcdir&;t t
     1032s&@abs_srcdir@&$ac_abs_srcdir&;t t
     1033s&@top_srcdir@&$ac_top_srcdir&;t t
     1034s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
     1035s&@builddir@&$ac_builddir&;t t
     1036s&@abs_builddir@&$ac_abs_builddir&;t t
     1037s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
     1038s&@INSTALL@&$ac_INSTALL&;t t
     1039s&@MKDIR_P@&$ac_MKDIR_P&;t t
     1040$ac_datarootdir_hack
     1041"
     1042eval 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
     1045test -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'
     1050which 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'
     1052which 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  #
    4961065  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;}
    6281074    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
    6601078    fi
    6611079  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
    6641083  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
     1087for _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
     1094done
     1095echo "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;}
    6691122 ;;
    6701123  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 ;;
    7531134  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
    7581219  done
    759 done
     1220}
    7601221 ;;
     1222
    7611223  esac
    762 done
    763 
    764 { (exit 0); exit 0; }
     1224done # for ac_tag
     1225
     1226
     1227as_fn_exit 0
  • configure

    r134b86a r8c17ab0  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by Autoconf 2.52 for cfa-cc 1.0.
     3# Generated by GNU Autoconf 2.68 for cfa-cc 1.0.
    44#
    55# Report bugs to <cforall@plg.uwaterloo.ca>.
    66#
    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#
    913# This configure script is free software; the Free Software Foundation
    1014# gives unlimited permission to copy, distribute and modify it.
     15## -------------------- ##
     16## M4sh Initialization. ##
     17## -------------------- ##
     18
     19# Be more Bourne compatible
     20DUALCASE=1; export DUALCASE # for MKS sh
     21if 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
     28else
     29  case `(set -o) 2>/dev/null` in #(
     30  *posix*) :
     31    set -o posix ;; #(
     32  *) :
     33     ;;
     34esac
     35fi
     36
     37
     38as_nl='
     39'
     40export as_nl
     41# Printing a long string crashes Solaris 7 /usr/bin/printf.
     42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44as_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.
     47if 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 --'
     51elif (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'
     54else
     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'
     74fi
     75
     76# The user is always right.
     77if 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  }
     83fi
     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.)
     91IFS=" ""        $as_nl"
     92
     93# Find who we are.  Look in the path if we contain no directory separator.
     94as_myself=
     95case $0 in #((
     96  *[\\/]* ) as_myself=$0 ;;
     97  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     98for as_dir in $PATH
     99do
     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
     104IFS=$as_save_IFS
     105
     106     ;;
     107esac
     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.
     110if test "x$as_myself" = x; then
     111  as_myself=$0
     112fi
     113if test ! -f "$as_myself"; then
     114  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     115  exit 1
     116fi
     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.
     122for as_var in BASH_ENV ENV MAIL MAILPATH
     123do eval test x\${$as_var+set} = xset \
     124  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     125done
     126PS1='$ '
     127PS2='> '
     128PS4='+ '
     129
     130# NLS nuisances.
     131LC_ALL=C
     132export LC_ALL
     133LANGUAGE=C
     134export LANGUAGE
     135
     136# CDPATH.
     137(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     138
     139if 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
     147else
     148  case \`(set -o) 2>/dev/null\` in #(
     149  *posix*) :
     150    set -o posix ;; #(
     151  *) :
     152     ;;
     153esac
     154fi
     155"
     156  as_required="as_fn_return () { (exit \$1); }
     157as_fn_success () { as_fn_return 0; }
     158as_fn_failure () { as_fn_return 1; }
     159as_fn_ret_success () { return 0; }
     160as_fn_ret_failure () { return 1; }
     161
     162exitcode=0
     163as_fn_success || { exitcode=1; echo as_fn_success failed.; }
     164as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
     165as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
     166as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
     167if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
     168
     169else
     170  exitcode=1; echo positional parameters were not saved.
     171fi
     172test 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
     177test \$(( 1 + 1 )) = 2 || exit 1"
     178  if (eval "$as_required") 2>/dev/null; then :
     179  as_have_required=yes
     180else
     181  as_have_required=no
     182fi
     183  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
     184
     185else
     186  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     187as_found=false
     188for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     189do
     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
     203fi
     204fi
     205           done;;
     206       esac
     207  as_found=false
     208done
     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
     212fi; }
     213IFS=$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+"$@"}
     232fi
     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
     248fi
     249fi
     250fi
     251SHELL=${CONFIG_SHELL-/bin/sh}
     252export SHELL
     253# Unset more variables known to interfere with behavior of common tools.
     254CLICOLOR_FORCE= GREP_OPTIONS=
     255unset CLICOLOR_FORCE GREP_OPTIONS
     256
     257## --------------------- ##
     258## M4sh Shell Functions. ##
     259## --------------------- ##
     260# as_fn_unset VAR
     261# ---------------
     262# Portably unset VAR.
     263as_fn_unset ()
     264{
     265  { eval $1=; unset $1;}
     266}
     267as_unset=as_fn_unset
     268
     269# as_fn_set_status STATUS
     270# -----------------------
     271# Set $? to STATUS, without forking.
     272as_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.
     280as_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.
     290as_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.
     340if (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  }'
     345else
     346  as_fn_append ()
     347  {
     348    eval $1=\$$1\$2
     349  }
     350fi # 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.
     357if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     358  eval 'as_fn_arith ()
     359  {
     360    as_val=$(( $* ))
     361  }'
     362else
     363  as_fn_arith ()
     364  {
     365    as_val=`expr "$@" || test $? -eq 1`
     366  }
     367fi # 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.
     375as_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
     386if expr a : '\(a\)' >/dev/null 2>&1 &&
     387   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     388  as_expr=expr
     389else
     390  as_expr=false
     391fi
     392
     393if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
     394  as_basename=basename
     395else
     396  as_basename=false
     397fi
     398
     399if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     400  as_dirname=dirname
     401else
     402  as_dirname=false
     403fi
     404
     405as_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'`
    11423
    12424# Avoid depending upon Character Ranges.
     
    17429as_cr_alnum=$as_cr_Letters$as_cr_digits
    18430
     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
     463ECHO_C= ECHO_N= ECHO_T=
     464case `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';;
     474esac
     475
     476rm -f conf$$ conf$$.exe conf$$.file
     477if test -d conf$$.dir; then
     478  rm -f conf$$.dir/conf$$.file
     479else
     480  rm -f conf$$.dir
     481  mkdir conf$$.dir 2>/dev/null
     482fi
     483if (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
     497else
     498  as_ln_s='cp -p'
     499fi
     500rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     501rmdir conf$$.dir 2>/dev/null
     502
     503if mkdir -p . 2>/dev/null; then
     504  as_mkdir_p='mkdir -p "$as_dir"'
     505else
     506  test -d ./-p && rmdir ./-p
     507  as_mkdir_p=false
     508fi
     509
     510if test -x / >/dev/null 2>&1; then
     511  as_test_x='test -x'
     512else
     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  '
     530fi
     531as_executable_p=$as_test_x
     532
     533# Sed expression to map a string onto a valid CPP name.
     534as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
     535
    19536# 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; }
     537as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
     538
     539
     540test -n "$DJDIR" || exec 7<&0 </dev/null
     541exec 6>&1
    87542
    88543# 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,
    90545# so uname gets run too.
    91546ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    92 
    93 exec 6>&1
    94547
    95548#
     
    97550#
    98551ac_default_prefix=/usr/local
     552ac_clean_files=
     553ac_config_libobj_dir=.
     554LIBOBJS=
    99555cross_compiling=no
    100556subdirs=
    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}
     557MFLAGS=
     558MAKEFLAGS=
     559
     560# Identity of this package.
     561PACKAGE_NAME='cfa-cc'
     562PACKAGE_TARNAME='cfa-cc'
     563PACKAGE_VERSION='1.0'
     564PACKAGE_STRING='cfa-cc 1.0'
     565PACKAGE_BUGREPORT='cforall@plg.uwaterloo.ca'
     566PACKAGE_URL=''
    108567
    109568ac_unique_file="translator/main.cc"
     569# Factoring default headers for most tests.
     570ac_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
     605ac_subst_vars='am__EXEEXT_FALSE
     606am__EXEEXT_TRUE
     607LTLIBOBJS
     608LIBOBJS
     609CFA_LIBDIR
     610CFA_BINDIR
     611CFA_INCDIR
     612CFA_PREFIX
     613CPP_PATH
     614BACKEND_CC
     615GCC_PATH
     616preludedir
     617EGREP
     618GREP
     619CPP
     620LEXLIB
     621LEX_OUTPUT_ROOT
     622LEX
     623am__fastdepCC_FALSE
     624am__fastdepCC_TRUE
     625CCDEPMODE
     626ac_ct_CC
     627CFLAGS
     628CC
     629am__fastdepCXX_FALSE
     630am__fastdepCXX_TRUE
     631CXXDEPMODE
     632am__nodep
     633AMDEPBACKSLASH
     634AMDEP_FALSE
     635AMDEP_TRUE
     636am__quote
     637am__include
     638DEPDIR
     639OBJEXT
     640EXEEXT
     641ac_ct_CXX
     642CPPFLAGS
     643LDFLAGS
     644CXXFLAGS
     645CXX
     646YFLAGS
     647YACC
     648am__untar
     649am__tar
     650AMTAR
     651am__leading_dot
     652SET_MAKE
     653AWK
     654mkdir_p
     655MKDIR_P
     656INSTALL_STRIP_PROGRAM
     657STRIP
     658install_sh
     659MAKEINFO
     660AUTOHEADER
     661AUTOMAKE
     662AUTOCONF
     663ACLOCAL
     664VERSION
     665PACKAGE
     666CYGPATH_W
     667am__isrc
     668INSTALL_DATA
     669INSTALL_SCRIPT
     670INSTALL_PROGRAM
     671target_alias
     672host_alias
     673build_alias
     674LIBS
     675ECHO_T
     676ECHO_N
     677ECHO_C
     678DEFS
     679mandir
     680localedir
     681libdir
     682psdir
     683pdfdir
     684dvidir
     685htmldir
     686infodir
     687docdir
     688oldincludedir
     689includedir
     690localstatedir
     691sharedstatedir
     692sysconfdir
     693datadir
     694datarootdir
     695libexecdir
     696sbindir
     697bindir
     698program_transform_name
     699prefix
     700exec_prefix
     701PACKAGE_URL
     702PACKAGE_BUGREPORT
     703PACKAGE_STRING
     704PACKAGE_VERSION
     705PACKAGE_TARNAME
     706PACKAGE_NAME
     707PATH_SEPARATOR
     708SHELL'
     709ac_subst_files=''
     710ac_user_opts='
     711enable_option_checking
     712enable_dependency_tracking
     713with_preludedir
     714with_backend_compiler
     715'
     716      ac_precious_vars='build_alias
     717host_alias
     718target_alias
     719YACC
     720YFLAGS
     721CXX
     722CXXFLAGS
     723LDFLAGS
     724LIBS
     725CPPFLAGS
     726CCC
     727CC
     728CFLAGS
     729CPP'
     730
    110731
    111732# Initialize some variables set by options.
    112733ac_init_help=
    113734ac_init_version=false
     735ac_unrecognized_opts=
     736ac_unrecognized_sep=
    114737# The variables have the same names as the options, with
    115738# dashes changed to underlines.
     
    134757# by default will actually change.
    135758# Use braces instead of parens because sh, perl, etc. also accept them.
     759# (The list follows the same order as the GNU Coding Standards.)
    136760bindir='${exec_prefix}/bin'
    137761sbindir='${exec_prefix}/sbin'
    138762libexecdir='${exec_prefix}/libexec'
    139 datadir='${prefix}/share'
     763datarootdir='${prefix}/share'
     764datadir='${datarootdir}'
    140765sysconfdir='${prefix}/etc'
    141766sharedstatedir='${prefix}/com'
    142767localstatedir='${prefix}/var'
    143 libdir='${exec_prefix}/lib'
    144768includedir='${prefix}/include'
    145769oldincludedir='/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'
     770docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
     771infodir='${datarootdir}/info'
     772htmldir='${docdir}'
     773dvidir='${docdir}'
     774pdfdir='${docdir}'
     775psdir='${docdir}'
     776libdir='${exec_prefix}/lib'
     777localedir='${datarootdir}/locale'
     778mandir='${datarootdir}/man'
    155779
    156780ac_prev=
     781ac_dashdash=
    157782for ac_option
    158783do
    159784  # If the previous option needs an argument, assign it.
    160785  if test -n "$ac_prev"; then
    161     eval "$ac_prev=\$ac_option"
     786    eval $ac_prev=\$ac_option
    162787    ac_prev=
    163788    continue
    164789  fi
    165790
    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
    167796
    168797  # Accept the important Cygnus configure options, so we can diagnose typos.
    169798
    170   case $ac_option in
     799  case $ac_dashdash$ac_option in
     800  --)
     801    ac_dashdash=yes ;;
    171802
    172803  -bindir | --bindir | --bindi | --bind | --bin | --bi)
     
    190821    cache_file=config.cache ;;
    191822
    192   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
     823  -datadir | --datadir | --datadi | --datad)
    193824    ac_prev=datadir ;;
    194   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    195   | --da=*)
     825  -datadir=* | --datadir=* | --datadi=* | --datad=*)
    196826    datadir=$ac_optarg ;;
    197827
     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
    198835  -disable-* | --disable-*)
    199     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
     836    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    200837    # 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 ;;
    206860
    207861  -enable-* | --enable-*)
    208     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
     862    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    209863    # 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=', ';;
    217874    esac
    218     eval "enable_$ac_feature='$ac_optarg'" ;;
     875    eval enable_$ac_useropt=\$ac_optarg ;;
    219876
    220877  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    243900    host_alias=$ac_optarg ;;
    244901
     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
    245908  -includedir | --includedir | --includedi | --included | --include \
    246909  | --includ | --inclu | --incl | --inc)
     
    267930    libexecdir=$ac_optarg ;;
    268931
     932  -localedir | --localedir | --localedi | --localed | --locale)
     933    ac_prev=localedir ;;
     934  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
     935    localedir=$ac_optarg ;;
     936
    269937  -localstatedir | --localstatedir | --localstatedi | --localstated \
    270   | --localstate | --localstat | --localsta | --localst \
    271   | --locals | --local | --loca | --loc | --lo)
     938  | --localstate | --localstat | --localsta | --localst | --locals)
    272939    ac_prev=localstatedir ;;
    273940  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    274   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    275   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
     941  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    276942    localstatedir=$ac_optarg ;;
    277943
     
    286952
    287953  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    288   | --no-cr | --no-c)
     954  | --no-cr | --no-c | -n)
    289955    no_create=yes ;;
    290956
     
    3381004    program_transform_name=$ac_optarg ;;
    3391005
     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
    3401016  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    3411017  | -silent | --silent | --silen | --sile | --sil)
     
    3881064
    3891065  -with-* | --with-*)
    390     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
     1066    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    3911067    # 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=', ';;
    3991078    esac
    400     eval "with_$ac_package='$ac_optarg'" ;;
     1079    eval with_$ac_useropt=\$ac_optarg ;;
    4011080
    4021081  -without-* | --without-*)
    403     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
     1082    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    4041083    # 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 ;;
    4101096
    4111097  --x)
     
    4271113    x_libraries=$ac_optarg ;;
    4281114
    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'
     1116Try \`$0 --help' for more information"
    4321117    ;;
    4331118
     
    4351120    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    4361121    # 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" >&2
    439    { (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
    4421127    export $ac_envvar ;;
    4431128
    4441129  *)
    4451130    # FIXME: should be removed in autoconf 3.0.
    446     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
     1131    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    4471132    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    448       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    449     : ${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}"
    4501135    ;;
    4511136
     
    4551140if test -n "$ac_prev"; then
    4561141  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"
     1143fi
     1144
     1145if 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
     1151fi
     1152
     1153# Check all directory arguments for consistency.
     1154for 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
    4631158do
    464   eval ac_val=$`echo $ac_var`
     1159  eval ac_val=\$$ac_var
     1160  # Remove trailing slashes.
    4651161  case $ac_val in
    466     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
    467     *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
    468    { (exit 1); exit 1; }; };;
     1162    */ )
     1163      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
     1164      eval $ac_var=\$ac_val;;
    4691165  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.
    4771167  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;;
    4811170  esac
     1171  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
    4821172done
    4831173
    4841174# There might be people who depend on the old broken behavior: `$host'
    4851175# used to hold the argument of --host etc.
     1176# FIXME: To remove some day.
    4861177build=$build_alias
    4871178host=$host_alias
    4881179target=$target_alias
    4891180
    490 # FIXME: should be removed in autoconf 3.0.
     1181# FIXME: To remove some day.
    4911182if test "x$host_alias" != x; then
    4921183  if test "x$build_alias" = x; then
    4931184    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." >&2
     1185    $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
    4961187  elif test "x$build_alias" != "x$host_alias"; then
    4971188    cross_compiling=yes
     
    5041195test "$silent" = yes && exec 6>/dev/null
    5051196
     1197
     1198ac_pwd=`pwd` && test -n "$ac_pwd" &&
     1199ac_ls_di=`ls -di .` &&
     1200ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
     1201  as_fn_error $? "working directory cannot be determined"
     1202test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
     1203  as_fn_error $? "pwd does not report name of working directory"
     1204
     1205
    5061206# Find the source files, if location was not specified.
    5071207if test -z "$srcdir"; then
    5081208  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'`
    5131233  srcdir=$ac_confdir
    514   if test ! -r $srcdir/$ac_unique_file; then
     1234  if test ! -r "$srcdir/$ac_unique_file"; then
    5151235    srcdir=..
    5161236  fi
     
    5181238  ac_srcdir_defaulted=no
    5191239fi
    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
     1240if 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"
     1243fi
     1244ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
     1245ac_abs_confdir=`(
     1246        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
     1247        pwd)`
     1248# When building in place, set srcdir=.
     1249if test "$ac_abs_confdir" = "$ac_pwd"; then
     1250  srcdir=.
     1251fi
     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.
     1255case $srcdir in
     1256*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
     1257esac
     1258for 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}
     1263done
    5701264
    5711265#
     
    5751269  # Omit some internal or obsolete options to make the list less imposing.
    5761270  # This message is too long to be a string in the A/UX 3.1 sh.
    577   cat <<EOF
     1271  cat <<_ACEOF
    5781272\`configure' configures cfa-cc 1.0 to adapt to many kinds of systems.
    5791273
     
    5901284      --help=recursive    display the short help of all the included packages
    5911285  -V, --version           display version information and exit
    592   -q, --quiet, --silent   do not print \`checking...' messages
     1286  -q, --quiet, --silent   do not print \`checking ...' messages
    5931287      --cache-file=FILE   cache test results in FILE [disabled]
    5941288  -C, --config-cache      alias for \`--cache-file=config.cache'
     
    5961290      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    5971291
    598 EOF
    599 
    600   cat <<EOF
    6011292Installation directories:
    6021293  --prefix=PREFIX         install architecture-independent files in PREFIX
     
    6131304
    6141305Fine 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
    6301328
    6311329Program names:
     
    6331331  --program-suffix=SUFFIX            append SUFFIX to installed program names
    6341332  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
    635 EOF
     1333_ACEOF
    6361334fi
    6371335
     
    6401338     short | recursive ) echo "Configuration of cfa-cc 1.0:";;
    6411339   esac
    642   cat <<\EOF
     1340  cat <<\_ACEOF
    6431341
    6441342Optional Features:
     1343  --disable-option-checking  ignore unrecognized --enable/--with options
    6451344  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    6461345  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
    647   --disable-dependency-tracking Speeds up one-time builds
    648   --enable-dependency-tracking  Do not reject slow dependency extractors
     1346  --disable-dependency-tracking  speeds up one-time build
     1347  --enable-dependency-tracking   do not reject slow dependency extractors
    6491348
    6501349Optional Packages:
     
    6551354
    6561355Some 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.
    6571362  CXX         C++ compiler command
    6581363  CXXFLAGS    C++ compiler flags
    6591364  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    6601365              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>
    6631369  CC          C compiler command
    6641370  CFLAGS      C compiler flags
     
    6691375
    6701376Report bugs to <cforall@plg.uwaterloo.ca>.
    671 EOF
     1377_ACEOF
     1378ac_status=$?
    6721379fi
    6731380
    6741381if test "$ac_init_help" = "recursive"; then
    6751382  # 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
     1389case "$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 ;;
     1399esac
     1400ac_abs_top_builddir=$ac_pwd
     1401ac_abs_builddir=$ac_pwd$ac_dir_suffix
     1402# for backward compatibility:
     1403ac_top_builddir=$ac_top_build_prefix
     1404
     1405case $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 ;;
     1418esac
     1419ac_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
    7031429    else
    704       echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
    705     fi
    706     cd $ac_popdir
     1430      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
     1431    fi || ac_status=$?
     1432    cd "$ac_pwd" || { ac_status=$?; break; }
    7071433  done
    7081434fi
    7091435
    710 test -n "$ac_init_help" && exit 0
     1436test -n "$ac_init_help" && exit $ac_status
    7111437if $ac_init_version; then
    712   cat <<\EOF
     1438  cat <<\_ACEOF
    7131439cfa-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.
     1440generated by GNU Autoconf 2.68
     1441
     1442Copyright (C) 2010 Free Software Foundation, Inc.
    7181443This configure script is free software; the Free Software Foundation
    7191444gives 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
     1447fi
     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.
     1456ac_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"
     1461case "(($ac_try" in
     1462  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1463  *) ac_try_echo=$ac_try;;
     1464esac
     1465eval 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
     1480else
     1481  $as_echo "$as_me: failed program was:" >&5
     1482sed 's/^/| /' conftest.$ac_ext >&5
     1483
     1484        ac_retval=1
     1485fi
     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.
     1494ac_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"
     1499case "(($ac_try" in
     1500  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1501  *) ac_try_echo=$ac_try;;
     1502esac
     1503eval 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
     1518else
     1519  $as_echo "$as_me: failed program was:" >&5
     1520sed 's/^/| /' conftest.$ac_ext >&5
     1521
     1522        ac_retval=1
     1523fi
     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.
     1532ac_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"
     1537case "(($ac_try" in
     1538  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1539  *) ac_try_echo=$ac_try;;
     1540esac
     1541eval 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
     1559else
     1560  $as_echo "$as_me: failed program was:" >&5
     1561sed 's/^/| /' conftest.$ac_ext >&5
     1562
     1563        ac_retval=1
     1564fi
     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.
     1578ac_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"
     1582case "(($ac_try" in
     1583  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1584  *) ac_try_echo=$ac_try;;
     1585esac
     1586eval 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
     1601else
     1602  $as_echo "$as_me: failed program was:" >&5
     1603sed 's/^/| /' conftest.$ac_ext >&5
     1604
     1605    ac_retval=1
     1606fi
     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.
     1617ac_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; }
     1623if eval \${$3+:} false; then :
     1624  $as_echo_n "(cached) " >&6
     1625fi
     1626eval ac_res=\$$3
     1627               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1628$as_echo "$ac_res" >&6; }
     1629else
     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; }
     1633cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1634/* end confdefs.h.  */
     1635$4
     1636#include <$2>
     1637_ACEOF
     1638if ac_fn_c_try_compile "$LINENO"; then :
     1639  ac_header_compiler=yes
     1640else
     1641  ac_header_compiler=no
     1642fi
     1643rm -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; }
     1650cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1651/* end confdefs.h.  */
     1652#include <$2>
     1653_ACEOF
     1654if ac_fn_c_try_cpp "$LINENO"; then :
     1655  ac_header_preproc=yes
     1656else
     1657  ac_header_preproc=no
     1658fi
     1659rm -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?
     1664case $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    ;;
     1687esac
     1688  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1689$as_echo_n "checking for $2... " >&6; }
     1690if eval \${$3+:} false; then :
     1691  $as_echo_n "(cached) " >&6
     1692else
     1693  eval "$3=\$ac_header_compiler"
     1694fi
     1695eval ac_res=\$$3
     1696               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1697$as_echo "$ac_res" >&6; }
     1698fi
     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.
     1707ac_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"
     1711case "(($ac_try" in
     1712  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1713  *) ac_try_echo=$ac_try;;
     1714esac
     1715eval 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;;
     1724esac
     1725eval 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
     1732else
     1733  $as_echo "$as_me: program exited with status $ac_status" >&5
     1734       $as_echo "$as_me: failed program was:" >&5
     1735sed 's/^/| /' conftest.$ac_ext >&5
     1736
     1737       ac_retval=$ac_status
     1738fi
     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.
     1749ac_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; }
     1754if eval \${$3+:} false; then :
     1755  $as_echo_n "(cached) " >&6
     1756else
     1757  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1758/* end confdefs.h.  */
     1759$4
     1760#include <$2>
     1761_ACEOF
     1762if ac_fn_c_try_compile "$LINENO"; then :
     1763  eval "$3=yes"
     1764else
     1765  eval "$3=no"
     1766fi
     1767rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1768fi
     1769eval 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
     1775cat >config.log <<_ACEOF
    7251776This file contains any messages produced by compilers while
    7261777running configure, to aid debugging if configure makes a mistake.
    7271778
    7281779It was created by cfa-cc $as_me 1.0, which was
    729 generated by GNU Autoconf 2.52.  Invocation command line was
     1780generated by GNU Autoconf 2.68.  Invocation command line was
    7301781
    7311782  $ $0 $@
    7321783
    733 EOF
     1784_ACEOF
     1785exec 5>>config.log
    7341786{
    7351787cat <<_ASUNAME
    736 ## ---------- ##
    737 ## Platform.  ##
    738 ## ---------- ##
     1788## --------- ##
     1789## Platform. ##
     1790## --------- ##
    7391791
    7401792hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
     
    7501802/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
    7511803/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`
    7531805/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
    7541806/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
    7551807/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
    7561808
    757 PATH = $PATH
    758 
    7591809_ASUNAME
     1810
     1811as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1812for as_dir in $PATH
     1813do
     1814  IFS=$as_save_IFS
     1815  test -z "$as_dir" && as_dir=.
     1816    $as_echo "PATH: $as_dir"
     1817  done
     1818IFS=$as_save_IFS
     1819
    7601820} >&5
    7611821
    762 cat >&5 <<EOF
    763 ## ------------ ##
    764 ## Core tests.  ##
    765 ## ------------ ##
    766 
    767 EOF
     1822cat >&5 <<_ACEOF
     1823
     1824
     1825## ----------- ##
     1826## Core tests. ##
     1827## ----------- ##
     1828
     1829_ACEOF
     1830
    7681831
    7691832# Keep a trace of the command line.
    7701833# 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.
    7711835# Also quote any args containing shell meta-characters.
     1836# Make two passes to allow for proper duplicate-argument suppression.
    7721837ac_configure_args=
    773 ac_sep=
    774 for ac_arg
     1838ac_configure_args0=
     1839ac_configure_args1=
     1840ac_must_keep_next=false
     1841for ac_pass in 1 2
    7751842do
    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
    7891876done
     1877{ ac_configure_args0=; unset ac_configure_args0;}
     1878{ ac_configure_args1=; unset ac_configure_args1;}
    7901879
    7911880# When interrupted or exit'd, cleanup temporary files, and complete
    7921881# config.log.  We remove comments because anyway the quotes in there
    7931882# 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.
    7941885trap 'exit_status=$?
    7951886  # 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
    8031911  (set) 2>&1 |
    804     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
    805     *ac_space=\ *)
     1912    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
     1913    *${as_nl}ac_space=\ *)
    8061914      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"
    8091920      ;;
    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 &&
    8301970    exit $exit_status
    831      ' 0
     1971' 0
    8321972for ac_signal in 1 2 13 15; do
    833   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     1973  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
    8341974done
    8351975ac_signal=0
    8361976
    8371977# 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
     1978rm -f -r conftest* confdefs.h
     1979
     1980$as_echo "/* confdefs.h */" > confdefs.h
     1981
     1982# Predefined preprocessor variables.
     1983
     1984cat >>confdefs.h <<_ACEOF
     1985#define PACKAGE_NAME "$PACKAGE_NAME"
     1986_ACEOF
     1987
     1988cat >>confdefs.h <<_ACEOF
     1989#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
     1990_ACEOF
     1991
     1992cat >>confdefs.h <<_ACEOF
     1993#define PACKAGE_VERSION "$PACKAGE_VERSION"
     1994_ACEOF
     1995
     1996cat >>confdefs.h <<_ACEOF
     1997#define PACKAGE_STRING "$PACKAGE_STRING"
     1998_ACEOF
     1999
     2000cat >>confdefs.h <<_ACEOF
     2001#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
     2002_ACEOF
     2003
     2004cat >>confdefs.h <<_ACEOF
     2005#define PACKAGE_URL "$PACKAGE_URL"
     2006_ACEOF
     2007
    8412008
    8422009# 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.
     2011ac_site_file1=NONE
     2012ac_site_file2=NONE
     2013if 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
     2020elif test "x$prefix" != xNONE; then
     2021  ac_site_file1=$prefix/share/config.site
     2022  ac_site_file2=$prefix/etc/config.site
     2023else
     2024  ac_site_file1=$ac_default_prefix/share/config.site
     2025  ac_site_file2=$ac_default_prefix/etc/config.site
     2026fi
     2027for ac_site_file in "$ac_site_file1" "$ac_site_file2"
     2028do
     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;}
     2037as_fn_error $? "failed to load site script $ac_site_file
     2038See \`config.log' for more details" "$LINENO" 5; }
    8572039  fi
    8582040done
    8592041
    8602042if 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"; then
    864     { echo "$as_me:864: loading cache $cache_file" >&5
    865 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;}
    8662048    case $cache_file in
    867       [\\/]* | ?:[\\/]* ) . $cache_file;;
    868       *)                      . ./$cache_file;;
     2049      [\\/]* | ?:[\\/]* ) . "$cache_file";;
     2050      *)                      . "./$cache_file";;
    8692051    esac
    8702052  fi
    8712053else
    872   { echo "$as_me:872: creating cache $cache_file" >&5
    873 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;}
    8742056  >$cache_file
    8752057fi
     
    8782060# value.
    8792061ac_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
     2062for ac_var in $ac_precious_vars; do
    8822063  eval ac_old_set=\$ac_cv_env_${ac_var}_set
    8832064  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
    8862067  case $ac_old_set,$ac_new_set in
    8872068    set,)
    888       { echo "$as_me:888: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    889 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;}
    8902071      ac_cache_corrupted=: ;;
    8912072    ,set)
    892       { echo "$as_me:892: error: \`$ac_var' was not set in the previous run" >&5
    893 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;}
    8942075      ac_cache_corrupted=: ;;
    8952076    ,);;
    8962077    *)
    8972078      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;}
    9052095      fi;;
    9062096  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.
    9092098  if test "$ac_new_set" = set; then
    9102099    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'" ;;
    9172106    esac
    9182107  fi
    9192108done
    9202109if $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
     2115fi
     2116## -------------------- ##
     2117## Main body of script. ##
     2118## -------------------- ##
    9272119
    9282120ac_ext=c
     
    9322124ac_compiler_gnu=$ac_cv_c_compiler_gnu
    9332125
    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
     2129am__api_version='1.11'
     2130
    9562131ac_aux_dir=
    957 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
    958   if test -f $ac_dir/install-sh; then
     2132for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
     2133  if test -f "$ac_dir/install-sh"; then
    9592134    ac_aux_dir=$ac_dir
    9602135    ac_install_sh="$ac_aux_dir/install-sh -c"
    9612136    break
    962   elif test -f $ac_dir/install.sh; then
     2137  elif test -f "$ac_dir/install.sh"; then
    9632138    ac_aux_dir=$ac_dir
    9642139    ac_install_sh="$ac_aux_dir/install.sh -c"
    9652140    break
    966   elif test -f $ac_dir/shtool; then
     2141  elif test -f "$ac_dir/shtool"; then
    9672142    ac_aux_dir=$ac_dir
    9682143    ac_install_sh="$ac_aux_dir/shtool install -c"
     
    9712146done
    9722147if 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
     2149fi
     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.
     2155ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
     2156ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
     2157ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
     2158
    9802159
    9812160# Find a good install program.  We prefer a C program (faster),
     
    9902169# AFS /usr/afsws/bin/install, which mishandles nonexistent args
    9912170# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
     2171# OS/2's system install, which has a completely different semantic
    9922172# ./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; }
    9952176if 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
     2177if ${ac_cv_path_install+:} false; then :
     2178  $as_echo_n "(cached) " >&6
     2179else
     2180  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2181for as_dir in $PATH
     2182do
     2183  IFS=$as_save_IFS
     2184  test -z "$as_dir" && as_dir=.
    10022185    # 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
     2186case $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
    10132198          if test $ac_prog = install &&
    1014             grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
     2199            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    10152200            # AIX install.  It has an incompatible calling convention.
    10162201            :
    10172202          elif test $ac_prog = install &&
    1018             grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
     2203            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    10192204            # program-specific install script used by HP pwplus--don't use.
    10202205            :
    10212206          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
    10242219          fi
    10252220        fi
    10262221      done
    1027       ;;
    1028     esac
     2222    done
     2223    ;;
     2224esac
     2225
    10292226  done
     2227IFS=$as_save_IFS
     2228
     2229rm -rf conftest.one conftest.two conftest.dir
    10302230
    10312231fi
     
    10332233    INSTALL=$ac_cv_path_install
    10342234  else
    1035     # As a last resort, use the slow shell script.  We don't cache a
    1036     # path for INSTALL within a source directory, because that will
     2235    # As a last resort, use the slow shell script.  Don't cache a
     2236    # value for INSTALL within a source directory, because that will
    10372237    # 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.
    10392239    INSTALL=$ac_install_sh
    10402240  fi
    10412241fi
    1042 echo "$as_me:1042: result: $INSTALL" >&5
    1043 echo "${ECHO_T}$INSTALL" >&6
     2242{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
     2243$as_echo "$INSTALL" >&6; }
    10442244
    10452245# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     
    10512251test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    10522252
    1053 echo "$as_me:1053: checking whether build environment is sane" >&5
    1054 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; }
    10552255# Just in case
    10562256sleep 1
    10572257echo timestamp > conftest.file
     2258# Reject unsafe characters in $srcdir or the absolute working directory
     2259# name.  Accept space and tab only in the latter.
     2260am_lf='
     2261'
     2262case `pwd` in
     2263  *[\\\"\#\$\&\'\`$am_lf]*)
     2264    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
     2265esac
     2266case $srcdir in
     2267  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
     2268    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
     2269esac
     2270
    10582271# Do `set' in a subshell so we don't clobber the current shell's
    10592272# arguments.  Must try -L first in case configure is actually a
     
    10622275# directory).
    10632276if (
    1064    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
     2277   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
    10652278   if test "$*" = "X"; then
    10662279      # -L didn't work.
    1067       set X `ls -t $srcdir/configure conftest.file`
     2280      set X `ls -t "$srcdir/configure" conftest.file`
    10682281   fi
    10692282   rm -f conftest.file
     
    10752288      # broken ls alias from the environment.  This has actually
    10762289      # 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
     2291alias in your environment" "$LINENO" 5
    10822292   fi
    10832293
     
    10882298   :
    10892299else
    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!
     2301Check your system clock" "$LINENO" 5
     2302fi
     2303{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     2304$as_echo "yes" >&6; }
    10982305test "$program_prefix" != NONE &&
    1099   program_transform_name="s,^,$program_prefix,;$program_transform_name"
     2306  program_transform_name="s&^&$program_prefix&;$program_transform_name"
    11002307# Use a double $ so make ignores it.
    11012308test "$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 $.
    11042311# 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
     2312ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
     2313program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
    11102314
    11112315# expand $ac_aux_dir to an absolute path
    11122316am_aux_dir=`cd $ac_aux_dir && pwd`
    11132317
    1114 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
     2318if 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
     2325fi
    11152326# Use eval to expand $SHELL
    11162327if eval "$MISSING --run true"; then
     
    11182329else
    11192330  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;}
     2333fi
     2334
     2335if 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
     2342fi
    12252343
    12262344# Installed binaries are usually stripped using `strip' when the user
     
    12322350  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
    12332351set dummy ${ac_tool_prefix}strip; ac_word=$2
    1234 echo "$as_me:1234: checking for $ac_word" >&5
    1235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1236 if test "${ac_cv_prog_STRIP+set}" = set; then
    1237   echo $ECHO_N "(cached) $ECHO_C" >&6
     2352{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2353$as_echo_n "checking for $ac_word... " >&6; }
     2354if ${ac_cv_prog_STRIP+:} false; then :
     2355  $as_echo_n "(cached) " >&6
    12382356else
    12392357  if test -n "$STRIP"; then
    12402358  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
    12412359else
    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
     2360as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2361for as_dir in $PATH
     2362do
     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
    12512371done
     2372  done
     2373IFS=$as_save_IFS
    12522374
    12532375fi
     
    12552377STRIP=$ac_cv_prog_STRIP
    12562378if 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; }
     2381else
     2382  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2383$as_echo "no" >&6; }
     2384fi
     2385
    12632386
    12642387fi
     
    12672390  # Extract the first word of "strip", so it can be a program name with args.
    12682391set dummy strip; ac_word=$2
    1269 echo "$as_me:1269: checking for $ac_word" >&5
    1270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1271 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
    1272   echo $ECHO_N "(cached) $ECHO_C" >&6
     2392{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2393$as_echo_n "checking for $ac_word... " >&6; }
     2394if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
     2395  $as_echo_n "(cached) " >&6
    12732396else
    12742397  if test -n "$ac_ct_STRIP"; then
    12752398  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
    12762399else
    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
     2400as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2401for as_dir in $PATH
     2402do
     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
    12862411done
    1287 
    1288   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
     2412  done
     2413IFS=$as_save_IFS
     2414
    12892415fi
    12902416fi
    12912417ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
    12922418if 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; }
     2421else
     2422  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2423$as_echo "no" >&6; }
     2424fi
     2425
     2426  if test "x$ac_ct_STRIP" = x; then
     2427    STRIP=":"
     2428  else
     2429    case $cross_compiling:$ac_tool_warned in
     2430yes:)
     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;}
     2433ac_tool_warned=yes ;;
     2434esac
     2435    STRIP=$ac_ct_STRIP
     2436  fi
    13012437else
    13022438  STRIP="$ac_cv_prog_STRIP"
     
    13042440
    13052441fi
    1306 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
     2442INSTALL_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; }
     2446if test -z "$MKDIR_P"; then
     2447  if ${ac_cv_path_mkdir+:} false; then :
     2448  $as_echo_n "(cached) " >&6
     2449else
     2450  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2451for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
     2452do
     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
     2468IFS=$as_save_IFS
     2469
     2470fi
     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
     2482fi
     2483{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
     2484$as_echo "$MKDIR_P" >&6; }
     2485
     2486mkdir_p="$MKDIR_P"
     2487case $mkdir_p in
     2488  [\\/$]* | ?:[\\/]*) ;;
     2489  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
     2490esac
     2491
     2492for ac_prog in gawk mawk nawk awk
     2493do
     2494  # Extract the first word of "$ac_prog", so it can be a program name with args.
     2495set 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; }
     2498if ${ac_cv_prog_AWK+:} false; then :
     2499  $as_echo_n "(cached) " >&6
     2500else
     2501  if test -n "$AWK"; then
     2502  ac_cv_prog_AWK="$AWK" # Let the user override the test.
     2503else
     2504as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2505for as_dir in $PATH
     2506do
     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
     2515done
     2516  done
     2517IFS=$as_save_IFS
     2518
     2519fi
     2520fi
     2521AWK=$ac_cv_prog_AWK
     2522if test -n "$AWK"; then
     2523  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
     2524$as_echo "$AWK" >&6; }
     2525else
     2526  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2527$as_echo "no" >&6; }
     2528fi
     2529
     2530
     2531  test -n "$AWK" && break
     2532done
     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; }
     2536set x ${MAKE-make}
     2537ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
     2538if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
     2539  $as_echo_n "(cached) " >&6
     2540else
     2541  cat >conftest.make <<\_ACEOF
     2542SHELL = /bin/sh
     2543all:
     2544        @echo '@@@%%%=$(MAKE)=@@@%%%'
     2545_ACEOF
     2546# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
     2547case `${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;;
     2552esac
     2553rm -f conftest.make
     2554fi
     2555if 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=
     2559else
     2560  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2561$as_echo "no" >&6; }
     2562  SET_MAKE="MAKE=${MAKE-make}"
     2563fi
     2564
     2565rm -rf .tst 2>/dev/null
     2566mkdir .tst 2>/dev/null
     2567if test -d .tst; then
     2568  am__leading_dot=.
     2569else
     2570  am__leading_dot=_
     2571fi
     2572rmdir .tst 2>/dev/null
     2573
     2574if 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
     2582fi
     2583
     2584# test whether we have cygpath
     2585if 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
     2591fi
     2592
     2593
     2594# Define the identity of the package.
     2595 PACKAGE=cfa
     2596 VERSION=1.0
     2597
     2598
     2599cat >>confdefs.h <<_ACEOF
     2600#define PACKAGE "$PACKAGE"
     2601_ACEOF
     2602
     2603
     2604cat >>confdefs.h <<_ACEOF
     2605#define VERSION "$VERSION"
     2606_ACEOF
     2607
     2608# Some tools Automake needs.
     2609
     2610ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
     2611
     2612
     2613AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
     2614
     2615
     2616AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
     2617
     2618
     2619AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
     2620
     2621
     2622MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
    13072623
    13082624# We need awk for the "check" target.  The system "awk" is bad on
    13092625# 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 ...
     2628AMTAR='$${TAR-tar}'
     2629
     2630am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
     2631
     2632
     2633
     2634
     2635
    13132636ac_config_headers="$ac_config_headers config.h"
     2637
    13142638
    13152639for ac_prog in 'bison -y' byacc
     
    13172641  # Extract the first word of "$ac_prog", so it can be a program name with args.
    13182642set dummy $ac_prog; ac_word=$2
    1319 echo "$as_me:1319: checking for $ac_word" >&5
    1320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1321 if test "${ac_cv_prog_YACC+set}" = set; then
    1322   echo $ECHO_N "(cached) $ECHO_C" >&6
     2643{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2644$as_echo_n "checking for $ac_word... " >&6; }
     2645if ${ac_cv_prog_YACC+:} false; then :
     2646  $as_echo_n "(cached) " >&6
    13232647else
    13242648  if test -n "$YACC"; then
    13252649  ac_cv_prog_YACC="$YACC" # Let the user override the test.
    13262650else
    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
     2651as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2652for as_dir in $PATH
     2653do
     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
    13362662done
     2663  done
     2664IFS=$as_save_IFS
    13372665
    13382666fi
     
    13402668YACC=$ac_cv_prog_YACC
    13412669if 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; }
     2672else
     2673  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2674$as_echo "no" >&6; }
     2675fi
     2676
    13482677
    13492678  test -n "$YACC" && break
     
    13512680test -n "$YACC" || YACC="yacc"
    13522681
    1353 ac_ext=cc
     2682ac_ext=cpp
    13542683ac_cpp='$CXXCPP $CPPFLAGS'
    13552684ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    13562685ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    13572686ac_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
     2687if 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
    13602693  do
    13612694    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    13622695set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    1363 echo "$as_me:1363: checking for $ac_word" >&5
    1364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1365 if test "${ac_cv_prog_CXX+set}" = set; then
    1366   echo $ECHO_N "(cached) $ECHO_C" >&6
     2696{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2697$as_echo_n "checking for $ac_word... " >&6; }
     2698if ${ac_cv_prog_CXX+:} false; then :
     2699  $as_echo_n "(cached) " >&6
    13672700else
    13682701  if test -n "$CXX"; then
    13692702  ac_cv_prog_CXX="$CXX" # Let the user override the test.
    13702703else
    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
     2704as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2705for as_dir in $PATH
     2706do
     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
    13802715done
     2716  done
     2717IFS=$as_save_IFS
    13812718
    13822719fi
     
    13842721CXX=$ac_cv_prog_CXX
    13852722if 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; }
     2725else
     2726  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2727$as_echo "no" >&6; }
     2728fi
     2729
    13922730
    13932731    test -n "$CXX" && break
     
    13962734if test -z "$CXX"; then
    13972735  ac_ct_CXX=$CXX
    1398   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
     2736  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
    13992737do
    14002738  # Extract the first word of "$ac_prog", so it can be a program name with args.
    14012739set dummy $ac_prog; ac_word=$2
    1402 echo "$as_me:1402: checking for $ac_word" >&5
    1403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1404 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    1405   echo $ECHO_N "(cached) $ECHO_C" >&6
     2740{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2741$as_echo_n "checking for $ac_word... " >&6; }
     2742if ${ac_cv_prog_ac_ct_CXX+:} false; then :
     2743  $as_echo_n "(cached) " >&6
    14062744else
    14072745  if test -n "$ac_ct_CXX"; then
    14082746  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
    14092747else
    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
     2748as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2749for as_dir in $PATH
     2750do
     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
    14192759done
     2760  done
     2761IFS=$as_save_IFS
    14202762
    14212763fi
     
    14232765ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    14242766if 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; }
     2769else
     2770  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2771$as_echo "no" >&6; }
     2772fi
     2773
    14312774
    14322775  test -n "$ac_ct_CXX" && break
    14332776done
    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
     2782yes:)
     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;}
     2785ac_tool_warned=yes ;;
     2786esac
     2787    CXX=$ac_ct_CXX
     2788  fi
     2789fi
     2790
     2791  fi
     2792fi
    14392793# 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
     2795set X $ac_compile
     2796ac_compiler=$2
     2797for ac_option in --version -v -V -qversion; do
     2798  { { ac_try="$ac_compiler $ac_option >&5"
     2799case "(($ac_try" in
     2800  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2801  *) ac_try_echo=$ac_try;;
     2802esac
     2803eval 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
    14452806  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; }
     2816done
     2817
     2818cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2819/* end confdefs.h.  */
    14622820
    14632821int
     
    14702828_ACEOF
    14712829ac_clean_files_save=$ac_clean_files
    1472 ac_clean_files="$ac_clean_files a.out a.exe"
     2830ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
    14732831# Try to create an executable without -o first, disregard a.out.
    14742832# It will help us diagnose broken compilers, and finding out an intuition
    14752833# 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; }
     2836ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
     2837
     2838# The possible output files:
     2839ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
     2840
     2841ac_rmfiles=
     2842for ac_file in $ac_files
     2843do
     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
     2848done
     2849rm -f $ac_rmfiles
     2850
     2851if { { ac_try="$ac_link_default"
     2852case "(($ac_try" in
     2853  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2854  *) ac_try_echo=$ac_try;;
     2855esac
     2856eval 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
    14812859  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.
     2867for ac_file in $ac_files ''
     2868do
     2869  test -f "$ac_file" || continue
    14902870  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
     2891done
     2892test "$ac_cv_exeext" = no && ac_cv_exeext=
     2893
     2894else
     2895  ac_file=''
     2896fi
     2897if 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
     2901sed '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;}
     2905as_fn_error 77 "C++ compiler cannot create executables
     2906See \`config.log' for more details" "$LINENO" 5; }
     2907else
     2908  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     2909$as_echo "yes" >&6; }
     2910fi
     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; }
     2915ac_exeext=$ac_cv_exeext
     2916
     2917rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
     2918ac_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; }
     2921if { { ac_try="$ac_link"
     2922case "(($ac_try" in
     2923  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2924  *) ac_try_echo=$ac_try;;
     2925esac
     2926eval 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'.
     2936for 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 ) ;;
    14952940    *.* ) 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;;
    14992942    * ) break;;
    15002943  esac
    15012944done
    15022945else
    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;}
     2948as_fn_error $? "cannot compute suffix of executables: cannot compile and link
     2949See \`config.log' for more details" "$LINENO" 5; }
     2950fi
     2951rm -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
     2955rm -f conftest.$ac_ext
     2956EXEEXT=$ac_cv_exeext
     2957ac_exeext=$EXEEXT
     2958cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2959/* end confdefs.h.  */
     2960#include <stdio.h>
     2961int
     2962main ()
     2963{
     2964FILE *f = fopen ("conftest.out", "w");
     2965 return ferror (f) || fclose (f) != 0;
     2966
     2967  ;
     2968  return 0;
     2969}
     2970_ACEOF
     2971ac_clean_files="$ac_clean_files conftest.out"
     2972# Check that the compiler produces executables we can run.  If not, either
    15152973# 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; }
    15202976if 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"
     2978case "(($ac_try" in
     2979  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2980  *) ac_try_echo=$ac_try;;
     2981esac
     2982eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2983$as_echo "$ac_try_echo"; } >&5
     2984  (eval "$ac_link") 2>&5
    15242985  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;;
     2992esac
     2993eval 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
    15272999    cross_compiling=no
    15283000  else
     
    15303002        cross_compiling=yes
    15313003    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;}
     3006as_fn_error $? "cannot run C++ compiled programs.
     3007If you meant to cross compile, use \`--host'.
     3008See \`config.log' for more details" "$LINENO" 5; }
    15373009    fi
    15383010  fi
    15393011fi
    1540 echo "$as_me:1540: result: yes" >&5
    1541 echo "${ECHO_T}yes" >&6
    1542 
    1543 rm -f a.out a.exe conftest$ac_cv_exeext
     3012{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
     3013$as_echo "$cross_compiling" >&6; }
     3014
     3015rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
    15443016ac_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; }
     3019if ${ac_cv_objext+:} false; then :
     3020  $as_echo_n "(cached) " >&6
     3021else
     3022  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3023/* end confdefs.h.  */
    15933024
    15943025int
     
    16013032_ACEOF
    16023033rm -f conftest.o conftest.obj
    1603 if { (eval echo "$as_me:1603: \"$ac_compile\"") >&5
    1604   (eval $ac_compile) 2>&5
     3034if { { ac_try="$ac_compile"
     3035case "(($ac_try" in
     3036  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3037  *) ac_try_echo=$ac_try;;
     3038esac
     3039eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3040$as_echo "$ac_try_echo"; } >&5
     3041  (eval "$ac_compile") 2>&5
    16053042  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;
    16093047  case $ac_file in
    1610     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
     3048    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
    16113049    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    16123050       break;;
     
    16143052done
    16153053else
    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
     3055sed '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;}
     3059as_fn_error $? "cannot compute suffix of object files: cannot compile
     3060See \`config.log' for more details" "$LINENO" 5; }
     3061fi
    16233062rm -f conftest.$ac_cv_objext conftest.$ac_ext
    16243063fi
    1625 echo "$as_me:1625: result: $ac_cv_objext" >&5
    1626 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; }
    16273066OBJEXT=$ac_cv_objext
    16283067ac_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; }
     3070if ${ac_cv_cxx_compiler_gnu+:} false; then :
     3071  $as_echo_n "(cached) " >&6
     3072else
     3073  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3074/* end confdefs.h.  */
    16373075
    16383076int
     
    16473085}
    16483086_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
     3087if ac_fn_cxx_try_compile "$LINENO"; then :
    16613088  ac_compiler_gnu=yes
    16623089else
    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
     3091fi
     3092rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    16683093ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    16693094
    16703095fi
    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; }
     3098if test $ac_compiler_gnu = yes; then
     3099  GXX=yes
     3100else
     3101  GXX=
     3102fi
    16743103ac_test_CXXFLAGS=${CXXFLAGS+set}
    16753104ac_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; }
     3107if ${ac_cv_prog_cxx_g+:} false; then :
     3108  $as_echo_n "(cached) " >&6
     3109else
     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.  */
    16853116
    16863117int
     
    16923123}
    16933124_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
     3125if ac_fn_cxx_try_compile "$LINENO"; then :
    17063126  ac_cv_prog_cxx_g=yes
    17073127else
    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
     3132int
     3133main ()
     3134{
     3135
     3136  ;
     3137  return 0;
     3138}
     3139_ACEOF
     3140if ac_fn_cxx_try_compile "$LINENO"; then :
     3141
     3142else
     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
     3148int
     3149main ()
     3150{
     3151
     3152  ;
     3153  return 0;
     3154}
     3155_ACEOF
     3156if ac_fn_cxx_try_compile "$LINENO"; then :
     3157  ac_cv_prog_cxx_g=yes
     3158fi
     3159rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3160fi
     3161rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3162fi
     3163rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3164   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     3165fi
     3166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
     3167$as_echo "$ac_cv_prog_cxx_g" >&6; }
    17163168if test "$ac_test_CXXFLAGS" = set; then
    17173169  CXXFLAGS=$ac_save_CXXFLAGS
     
    17293181  fi
    17303182fi
    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 do
    1740   cat >conftest.$ac_ext <<_ACEOF
    1741 #line 1741 "configure"
    1742 #include "confdefs.h"
    1743 #include <stdlib.h>
    1744 $ac_declaration
    1745 int
    1746 main ()
    1747 {
    1748 exit (42);
    1749   ;
    1750   return 0;
    1751 }
    1752 _ACEOF
    1753 rm -f conftest.$ac_objext
    1754 if { (eval echo "$as_me:1754: \"$ac_compile\"") >&5
    1755   (eval $ac_compile) 2>&5
    1756   ac_status=$?
    1757   echo "$as_me:1757: \$? = $ac_status" >&5
    1758   (exit $ac_status); } &&
    1759          { ac_try='test -s conftest.$ac_objext'
    1760   { (eval echo "$as_me:1760: \"$ac_try\"") >&5
    1761   (eval $ac_try) 2>&5
    1762   ac_status=$?
    1763   echo "$as_me:1763: \$? = $ac_status" >&5
    1764   (exit $ac_status); }; }; then
    1765   :
    1766 else
    1767   echo "$as_me: failed program was:" >&5
    1768 cat conftest.$ac_ext >&5
    1769 continue
    1770 fi
    1771 rm -f conftest.$ac_objext conftest.$ac_ext
    1772   cat >conftest.$ac_ext <<_ACEOF
    1773 #line 1773 "configure"
    1774 #include "confdefs.h"
    1775 $ac_declaration
    1776 int
    1777 main ()
    1778 {
    1779 exit (42);
    1780   ;
    1781   return 0;
    1782 }
    1783 _ACEOF
    1784 rm -f conftest.$ac_objext
    1785 if { (eval echo "$as_me:1785: \"$ac_compile\"") >&5
    1786   (eval $ac_compile) 2>&5
    1787   ac_status=$?
    1788   echo "$as_me:1788: \$? = $ac_status" >&5
    1789   (exit $ac_status); } &&
    1790          { ac_try='test -s conftest.$ac_objext'
    1791   { (eval echo "$as_me:1791: \"$ac_try\"") >&5
    1792   (eval $ac_try) 2>&5
    1793   ac_status=$?
    1794   echo "$as_me:1794: \$? = $ac_status" >&5
    1795   (exit $ac_status); }; }; then
    1796   break
    1797 else
    1798   echo "$as_me: failed program was:" >&5
    1799 cat conftest.$ac_ext >&5
    1800 fi
    1801 rm -f conftest.$ac_objext conftest.$ac_ext
    1802 done
    1803 rm -f conftest*
    1804 if test -n "$ac_declaration"; then
    1805   echo '#ifdef __cplusplus' >>confdefs.h
    1806   echo $ac_declaration      >>confdefs.h
    1807   echo '#endif'             >>confdefs.h
    1808 fi
    1809 
    18103183ac_ext=c
    18113184ac_cpp='$CPP $CPPFLAGS'
     
    18133186ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    18143187ac_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
     3188DEPDIR="${am__leading_dot}deps"
    18243189
    18253190ac_config_commands="$ac_config_commands depfiles"
     3191
    18263192
    18273193am_make=${MAKE-make}
    18283194cat > confinc << 'END'
    1829 doit:
    1830         @echo done
     3195am__doit:
     3196        @echo this is the am__doit target
     3197.PHONY: am__doit
    18313198END
    18323199# 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" >&5
    1834 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; }
    18353202am__include="#"
    18363203am__quote=
     
    18383205# First try GNU make style include.
    18393206echo "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'.
     3208case `$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  ;;
     3214esac
    18503215# Now try BSD make style include.
    18513216if test "$am__include" = "#"; then
    18523217   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
     3225fi
     3226
     3227
     3228{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
     3229$as_echo "$_am_result" >&6; }
    18623230rm -f confinc confmf
    18633231
    1864 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was 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.
     3233if test "${enable_dependency_tracking+set}" = set; then :
     3234  enableval=$enable_dependency_tracking;
     3235fi
     3236
    18693237if test "x$enable_dependency_tracking" != xno; then
    18703238  am_depcomp="$ac_aux_dir/depcomp"
    18713239  AMDEPBACKSLASH='\'
    1872 fi
    1873 
    1874 if test "x$enable_dependency_tracking" != xno; then
     3240  am__nodep='_no'
     3241fi
     3242 if test "x$enable_dependency_tracking" != xno; then
    18753243  AMDEP_TRUE=
    18763244  AMDEP_FALSE='#'
     
    18803248fi
    18813249
     3250
     3251
    18823252depcc="$CXX"  am_compiler_list=
    18833253
    1884 echo "$as_me:1884: checking dependency style of $depcc" >&5
    1885 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
    1886 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
    1887   echo $ECHO_N "(cached) $ECHO_C" >&6
     3254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
     3255$as_echo_n "checking dependency style of $depcc... " >&6; }
     3256if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
     3257  $as_echo_n "(cached) " >&6
    18883258else
    18893259  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
     
    18933263  # making a dummy file named `D' -- because `-MD' means `put the output
    18943264  # in D'.
     3265  rm -rf conftest.dir
    18953266  mkdir conftest.dir
    18963267  # Copy depcomp to subdir because otherwise we won't find it if we're
     
    18983269  cp "$am_depcomp" conftest.dir
    18993270  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
    19003278
    19013279  am_cv_CXX_dependencies_compiler_type=none
     
    19033281     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
    19043282  fi
     3283  am__universal=false
     3284  case " $depcc " in #(
     3285     *\ -arch\ *\ -arch\ *) am__universal=true ;;
     3286     esac
     3287
    19053288  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    #
    19063293    # We need to recreate these files for each test, as the compiler may
    19073294    # overwrite some of them when testing with obscure command lines.
    19083295    # 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"
    19133311    case $depmode in
     3312    gcc)
     3313      # This depmode causes a compiler race in universal mode.
     3314      test "$am__universal" = false || continue
     3315      ;;
    19143316    nosideeffect)
    19153317      # after this tag, mechanisms are not by side-effect, so they'll
     
    19213323      fi
    19223324      ;;
     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      ;;
    19233332    none) break ;;
    19243333    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 properly
    1927     # handle `-M -o', and we need to detect this.
    19283334    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 &&
    19333342       ${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
    19363355    fi
    19373356  done
     
    19443363
    19453364fi
    1946 echo "$as_me:1946: result: $am_cv_CXX_dependencies_compiler_type" >&5
    1947 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; }
    19483367CXXDEPMODE=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='#'
     3374else
     3375  am__fastdepCXX_TRUE='#'
     3376  am__fastdepCXX_FALSE=
     3377fi
     3378
    19493379
    19503380ac_ext=c
     
    19563386  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    19573387set dummy ${ac_tool_prefix}gcc; ac_word=$2
    1958 echo "$as_me:1958: checking for $ac_word" >&5
    1959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1960 if test "${ac_cv_prog_CC+set}" = set; then
    1961   echo $ECHO_N "(cached) $ECHO_C" >&6
     3388{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3389$as_echo_n "checking for $ac_word... " >&6; }
     3390if ${ac_cv_prog_CC+:} false; then :
     3391  $as_echo_n "(cached) " >&6
    19623392else
    19633393  if test -n "$CC"; then
    19643394  ac_cv_prog_CC="$CC" # Let the user override the test.
    19653395else
    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
     3396as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3397for as_dir in $PATH
     3398do
     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
    19753407done
     3408  done
     3409IFS=$as_save_IFS
    19763410
    19773411fi
     
    19793413CC=$ac_cv_prog_CC
    19803414if 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; }
     3417else
     3418  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3419$as_echo "no" >&6; }
     3420fi
     3421
    19873422
    19883423fi
     
    19913426  # Extract the first word of "gcc", so it can be a program name with args.
    19923427set dummy gcc; ac_word=$2
    1993 echo "$as_me:1993: checking for $ac_word" >&5
    1994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1995 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1996   echo $ECHO_N "(cached) $ECHO_C" >&6
     3428{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3429$as_echo_n "checking for $ac_word... " >&6; }
     3430if ${ac_cv_prog_ac_ct_CC+:} false; then :
     3431  $as_echo_n "(cached) " >&6
    19973432else
    19983433  if test -n "$ac_ct_CC"; then
    19993434  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    20003435else
    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
     3436as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3437for as_dir in $PATH
     3438do
     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
    20103447done
     3448  done
     3449IFS=$as_save_IFS
    20113450
    20123451fi
     
    20143453ac_ct_CC=$ac_cv_prog_ac_ct_CC
    20153454if 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; }
     3457else
     3458  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3459$as_echo "no" >&6; }
     3460fi
     3461
     3462  if test "x$ac_ct_CC" = x; then
     3463    CC=""
     3464  else
     3465    case $cross_compiling:$ac_tool_warned in
     3466yes:)
     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;}
     3469ac_tool_warned=yes ;;
     3470esac
     3471    CC=$ac_ct_CC
     3472  fi
    20243473else
    20253474  CC="$ac_cv_prog_CC"
     
    20273476
    20283477if test -z "$CC"; then
    2029   if test -n "$ac_tool_prefix"; then
    2030   # 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.
    20313480set dummy ${ac_tool_prefix}cc; ac_word=$2
    2032 echo "$as_me:2032: checking for $ac_word" >&5
    2033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2034 if test "${ac_cv_prog_CC+set}" = set; then
    2035   echo $ECHO_N "(cached) $ECHO_C" >&6
     3481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3482$as_echo_n "checking for $ac_word... " >&6; }
     3483if ${ac_cv_prog_CC+:} false; then :
     3484  $as_echo_n "(cached) " >&6
    20363485else
    20373486  if test -n "$CC"; then
    20383487  ac_cv_prog_CC="$CC" # Let the user override the test.
    20393488else
    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
     3489as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3490for as_dir in $PATH
     3491do
     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
    20493500done
     3501  done
     3502IFS=$as_save_IFS
    20503503
    20513504fi
     
    20533506CC=$ac_cv_prog_CC
    20543507if 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; }
     3510else
     3511  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3512$as_echo "no" >&6; }
     3513fi
     3514
     3515
     3516  fi
    21023517fi
    21033518if test -z "$CC"; then
    21043519  # Extract the first word of "cc", so it can be a program name with args.
    21053520set dummy cc; ac_word=$2
    2106 echo "$as_me:2106: checking for $ac_word" >&5
    2107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2108 if test "${ac_cv_prog_CC+set}" = set; then
    2109   echo $ECHO_N "(cached) $ECHO_C" >&6
     3521{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3522$as_echo_n "checking for $ac_word... " >&6; }
     3523if ${ac_cv_prog_CC+:} false; then :
     3524  $as_echo_n "(cached) " >&6
    21103525else
    21113526  if test -n "$CC"; then
     
    21133528else
    21143529  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
     3530as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3531for as_dir in $PATH
     3532do
     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
    21283545done
     3546  done
     3547IFS=$as_save_IFS
    21293548
    21303549if test $ac_prog_rejected = yes; then
     
    21373556    # first if we set CC to just the basename; use the full file name.
    21383557    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+' '}$@"
    21423559  fi
    21433560fi
     
    21463563CC=$ac_cv_prog_CC
    21473564if 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; }
     3567else
     3568  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3569$as_echo "no" >&6; }
     3570fi
     3571
    21543572
    21553573fi
    21563574if test -z "$CC"; then
    21573575  if test -n "$ac_tool_prefix"; then
    2158   for ac_prog in cl
     3576  for ac_prog in cl.exe
    21593577  do
    21603578    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    21613579set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2162 echo "$as_me:2162: checking for $ac_word" >&5
    2163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2164 if test "${ac_cv_prog_CC+set}" = set; then
    2165   echo $ECHO_N "(cached) $ECHO_C" >&6
     3580{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3581$as_echo_n "checking for $ac_word... " >&6; }
     3582if ${ac_cv_prog_CC+:} false; then :
     3583  $as_echo_n "(cached) " >&6
    21663584else
    21673585  if test -n "$CC"; then
    21683586  ac_cv_prog_CC="$CC" # Let the user override the test.
    21693587else
    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
     3588as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3589for as_dir in $PATH
     3590do
     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
    21793599done
     3600  done
     3601IFS=$as_save_IFS
    21803602
    21813603fi
     
    21833605CC=$ac_cv_prog_CC
    21843606if 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; }
     3609else
     3610  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3611$as_echo "no" >&6; }
     3612fi
     3613
    21913614
    21923615    test -n "$CC" && break
     
    21953618if test -z "$CC"; then
    21963619  ac_ct_CC=$CC
    2197   for ac_prog in cl
     3620  for ac_prog in cl.exe
    21983621do
    21993622  # Extract the first word of "$ac_prog", so it can be a program name with args.
    22003623set dummy $ac_prog; ac_word=$2
    2201 echo "$as_me:2201: checking for $ac_word" >&5
    2202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2203 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    2204   echo $ECHO_N "(cached) $ECHO_C" >&6
     3624{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3625$as_echo_n "checking for $ac_word... " >&6; }
     3626if ${ac_cv_prog_ac_ct_CC+:} false; then :
     3627  $as_echo_n "(cached) " >&6
    22053628else
    22063629  if test -n "$ac_ct_CC"; then
    22073630  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    22083631else
    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
     3632as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3633for as_dir in $PATH
     3634do
     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
    22183643done
     3644  done
     3645IFS=$as_save_IFS
    22193646
    22203647fi
     
    22223649ac_ct_CC=$ac_cv_prog_ac_ct_CC
    22233650if 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; }
     3653else
     3654  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3655$as_echo "no" >&6; }
     3656fi
     3657
    22303658
    22313659  test -n "$ac_ct_CC" && break
    22323660done
    22333661
    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
     3666yes:)
     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;}
     3669ac_tool_warned=yes ;;
     3670esac
     3671    CC=$ac_ct_CC
     3672  fi
     3673fi
     3674
     3675fi
     3676
     3677
     3678test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3679$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3680as_fn_error $? "no acceptable C compiler found in \$PATH
     3681See \`config.log' for more details" "$LINENO" 5; }
    22423682
    22433683# 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
     3685set X $ac_compile
     3686ac_compiler=$2
     3687for ac_option in --version -v -V -qversion; do
     3688  { { ac_try="$ac_compiler $ac_option >&5"
     3689case "(($ac_try" in
     3690  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3691  *) ac_try_echo=$ac_try;;
     3692esac
     3693eval 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
    22493696  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; }
     3706done
     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; }
     3710if ${ac_cv_c_compiler_gnu+:} false; then :
     3711  $as_echo_n "(cached) " >&6
     3712else
     3713  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3714/* end confdefs.h.  */
    22713715
    22723716int
     
    22813725}
    22823726_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
     3727if ac_fn_c_try_compile "$LINENO"; then :
    22953728  ac_compiler_gnu=yes
    22963729else
    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
     3731fi
     3732rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    23023733ac_cv_c_compiler_gnu=$ac_compiler_gnu
    23033734
    23043735fi
    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; }
     3738if test $ac_compiler_gnu = yes; then
     3739  GCC=yes
     3740else
     3741  GCC=
     3742fi
    23083743ac_test_CFLAGS=${CFLAGS+set}
    23093744ac_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; }
     3747if ${ac_cv_prog_cc_g+:} false; then :
     3748  $as_echo_n "(cached) " >&6
     3749else
     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.  */
    23193756
    23203757int
     
    23263763}
    23273764_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
     3765if ac_fn_c_try_compile "$LINENO"; then :
    23403766  ac_cv_prog_cc_g=yes
    23413767else
    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
     3772int
     3773main ()
     3774{
     3775
     3776  ;
     3777  return 0;
     3778}
     3779_ACEOF
     3780if ac_fn_c_try_compile "$LINENO"; then :
     3781
     3782else
     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
     3788int
     3789main ()
     3790{
     3791
     3792  ;
     3793  return 0;
     3794}
     3795_ACEOF
     3796if ac_fn_c_try_compile "$LINENO"; then :
     3797  ac_cv_prog_cc_g=yes
     3798fi
     3799rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3800fi
     3801rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3802fi
     3803rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3804   ac_c_werror_flag=$ac_save_c_werror_flag
     3805fi
     3806{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
     3807$as_echo "$ac_cv_prog_cc_g" >&6; }
    23503808if test "$ac_test_CFLAGS" = set; then
    23513809  CFLAGS=$ac_save_CFLAGS
     
    23633821  fi
    23643822fi
    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; }
     3825if ${ac_cv_prog_cc_c89+:} false; then :
     3826  $as_echo_n "(cached) " >&6
     3827else
     3828  ac_cv_prog_cc_c89=no
    31253829ac_save_CC=$CC
    3126 cat >conftest.$ac_ext <<_ACEOF
    3127 #line 3127 "configure"
    3128 #include "confdefs.h"
     3830cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3831/* end confdefs.h.  */
    31293832#include <stdarg.h>
    31303833#include <stdio.h>
     
    31493852  return s;
    31503853}
     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.  */
     3862int 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'
     3867int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
     3868
    31513869int test (int i, double x);
    31523870struct s1 {int (*f) (int a);};
     
    31633881}
    31643882_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__"
     3883for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
     3884        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
    31733885do
    31743886  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
     3889fi
     3890rm -f core conftest.err conftest.$ac_objext
     3891  test "x$ac_cv_prog_cc_c89" != "xno" && break
     3892done
     3893rm -f conftest.$ac_ext
     3894CC=$ac_save_CC
     3895
     3896fi
     3897# AC_CACHE_VAL
     3898case "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; } ;;
     3909esac
     3910if test "x$ac_cv_prog_cc_c89" != xno; then :
     3911
     3912fi
     3913
     3914ac_ext=c
     3915ac_cpp='$CPP $CPPFLAGS'
     3916ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3917ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3918ac_compiler_gnu=$ac_cv_c_compiler_gnu
     3919
     3920depcc="$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; }
     3924if ${am_cv_CC_dependencies_compiler_type+:} false; then :
     3925  $as_echo_n "(cached) " >&6
     3926else
     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
     4028else
     4029  am_cv_CC_dependencies_compiler_type=none
     4030fi
     4031
     4032fi
     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; }
     4035CCDEPMODE=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='#'
     4042else
     4043  am__fastdepCC_TRUE='#'
     4044  am__fastdepCC_FALSE=
     4045fi
     4046
     4047 # ???
     4048
     4049for ac_prog in flex lex
     4050do
     4051  # Extract the first word of "$ac_prog", so it can be a program name with args.
     4052set 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; }
     4055if ${ac_cv_prog_LEX+:} false; then :
     4056  $as_echo_n "(cached) " >&6
     4057else
     4058  if test -n "$LEX"; then
     4059  ac_cv_prog_LEX="$LEX" # Let the user override the test.
     4060else
     4061as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4062for as_dir in $PATH
     4063do
     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
     4072done
     4073  done
     4074IFS=$as_save_IFS
     4075
     4076fi
     4077fi
     4078LEX=$ac_cv_prog_LEX
     4079if test -n "$LEX"; then
     4080  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
     4081$as_echo "$LEX" >&6; }
     4082else
     4083  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4084$as_echo "no" >&6; }
     4085fi
     4086
     4087
     4088  test -n "$LEX" && break
     4089done
     4090test -n "$LEX" || LEX=":"
     4091
     4092if test "x$LEX" != "x:"; then
     4093  cat >conftest.l <<_ACEOF
     4094%%
     4095a { ECHO; }
     4096b { REJECT; }
     4097c { yymore (); }
     4098d { yyless (1); }
     4099e { yyless (input () != 0); }
     4100f { unput (yytext[0]); }
     4101. { BEGIN INITIAL; }
     4102%%
     4103#ifdef YYTEXT_POINTER
     4104extern char *yytext;
     4105#endif
     4106int
     4107main (void)
     4108{
     4109  return ! yylex () + ! yywrap ();
     4110}
     4111_ACEOF
     4112{ { ac_try="$LEX conftest.l"
     4113case "(($ac_try" in
     4114  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4115  *) ac_try_echo=$ac_try;;
     4116esac
     4117eval 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
    31784120  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; }
     4125if ${ac_cv_prog_lex_root+:} false; then :
     4126  $as_echo_n "(cached) " >&6
     4127else
     4128
     4129if test -f lex.yy.c; then
     4130  ac_cv_prog_lex_root=lex.yy
     4131elif test -f lexyy.c; then
     4132  ac_cv_prog_lex_root=lexyy
     4133else
     4134  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
     4135fi
     4136fi
     4137{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
     4138$as_echo "$ac_cv_prog_lex_root" >&6; }
     4139LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
     4140
     4141if 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; }
     4144if ${ac_cv_lib_lex+:} false; then :
     4145  $as_echo_n "(cached) " >&6
     4146else
     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
     4156if ac_fn_c_try_link "$LINENO"; then :
     4157  ac_cv_lib_lex=$ac_lib
     4158fi
     4159rm -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
     4165fi
     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
     4169fi
     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; }
     4174if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
     4175  $as_echo_n "(cached) " >&6
     4176else
     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.
     4180ac_cv_prog_lex_yytext_pointer=no
     4181ac_save_LIBS=$LIBS
     4182LIBS="$LEXLIB $ac_save_LIBS"
     4183cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4184/* end confdefs.h.  */
     4185
     4186  #define YYTEXT_POINTER 1
     4187`cat $LEX_OUTPUT_ROOT.c`
     4188_ACEOF
     4189if ac_fn_c_try_link "$LINENO"; then :
     4190  ac_cv_prog_lex_yytext_pointer=yes
     4191fi
     4192rm -f core conftest.err conftest.$ac_objext \
     4193    conftest$ac_exeext conftest.$ac_ext
     4194LIBS=$ac_save_LIBS
     4195
     4196fi
     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; }
     4199if test $ac_cv_prog_lex_yytext_pointer = yes; then
     4200
     4201$as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
     4202
     4203fi
     4204rm -f conftest.l $LEX_OUTPUT_ROOT.c
     4205
     4206fi
     4207if test "$LEX" = :; then
     4208  LEX=${am_missing_run}flex
     4209fi
     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; }
     4212set x ${MAKE-make}
     4213ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
     4214if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
     4215  $as_echo_n "(cached) " >&6
     4216else
     4217  cat >conftest.make <<\_ACEOF
     4218SHELL = /bin/sh
     4219all:
     4220        @echo '@@@%%%=$(MAKE)=@@@%%%'
     4221_ACEOF
     4222# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
     4223case `${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;;
     4228esac
     4229rm -f conftest.make
     4230fi
     4231if 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=
     4235else
     4236  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4237$as_echo "no" >&6; }
     4238  SET_MAKE="MAKE=${MAKE-make}"
     4239fi
     4240
     4241
     4242
     4243
     4244ac_ext=c
     4245ac_cpp='$CPP $CPPFLAGS'
     4246ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     4247ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4248ac_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.
     4252if test -n "$CPP" && test -d "$CPP"; then
     4253  CPP=
     4254fi
     4255if test -z "$CPP"; then
     4256  if ${ac_cv_prog_CPP+:} false; then :
     4257  $as_echo_n "(cached) " >&6
     4258else
     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
     4263for ac_c_preproc_warn_flag in '' yes
     4264do
     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
     4280if ac_fn_c_try_cpp "$LINENO"; then :
     4281
     4282else
     4283  # Broken: fails on valid input.
     4284continue
     4285fi
     4286rm -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
     4294if ac_fn_c_try_cpp "$LINENO"; then :
     4295  # Broken: success on invalid input.
     4296continue
     4297else
     4298  # Passes both tests.
     4299ac_preproc_ok=:
    31884300break
    3189 else
    3190   echo "$as_me: failed program was:" >&5
    3191 cat conftest.$ac_ext >&5
    3192 fi
    3193 rm -f conftest.$ac_objext
     4301fi
     4302rm -f conftest.err conftest.i conftest.$ac_ext
     4303
    31944304done
    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.
     4306rm -f conftest.i conftest.err conftest.$ac_ext
     4307if $ac_preproc_ok; then :
     4308  break
     4309fi
     4310
     4311    done
     4312    ac_cv_prog_CPP=$CPP
     4313
     4314fi
     4315  CPP=$ac_cv_prog_CPP
     4316else
     4317  ac_cv_prog_CPP=$CPP
     4318fi
     4319{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
     4320$as_echo "$CPP" >&6; }
     4321ac_preproc_ok=false
     4322for ac_c_preproc_warn_flag in '' yes
     4323do
     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
     4339if ac_fn_c_try_cpp "$LINENO"; then :
     4340
     4341else
     4342  # Broken: fails on valid input.
     4343continue
     4344fi
     4345rm -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
     4353if ac_fn_c_try_cpp "$LINENO"; then :
     4354  # Broken: success on invalid input.
     4355continue
     4356else
     4357  # Passes both tests.
     4358ac_preproc_ok=:
     4359break
     4360fi
     4361rm -f conftest.err conftest.i conftest.$ac_ext
     4362
     4363done
     4364# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     4365rm -f conftest.i conftest.err conftest.$ac_ext
     4366if $ac_preproc_ok; then :
     4367
     4368else
     4369  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     4370$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     4371as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
     4372See \`config.log' for more details" "$LINENO" 5; }
     4373fi
     4374
     4375ac_ext=c
     4376ac_cpp='$CPP $CPPFLAGS'
     4377ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     4378ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4379ac_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; }
     4384if ${ac_cv_path_GREP+:} false; then :
     4385  $as_echo_n "(cached) " >&6
     4386else
     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
     4391for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     4392do
     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
     4401case `"$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;;
    32084425esac
    32094426
    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
     4431IFS=$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
     4435else
     4436  ac_cv_path_GREP=$GREP
     4437fi
     4438
     4439fi
     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; }
     4447if ${ac_cv_path_EGREP+:} false; then :
     4448  $as_echo_n "(cached) " >&6
     4449else
     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
     4457for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     4458do
     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
     4467case `"$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;;
     4491esac
     4492
     4493      $ac_path_EGREP_found && break 3
     4494    done
     4495  done
     4496  done
     4497IFS=$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
     4501else
     4502  ac_cv_path_EGREP=$EGREP
     4503fi
     4504
     4505   fi
     4506fi
     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; }
     4514if ${ac_cv_header_stdc+:} false; then :
     4515  $as_echo_n "(cached) " >&6
     4516else
     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
     4524int
     4525main ()
     4526{
     4527
     4528  ;
     4529  return 0;
     4530}
     4531_ACEOF
     4532if ac_fn_c_try_compile "$LINENO"; then :
     4533  ac_cv_header_stdc=yes
     4534else
     4535  ac_cv_header_stdc=no
     4536fi
     4537rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4538
     4539if 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
     4546if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     4547  $EGREP "memchr" >/dev/null 2>&1; then :
     4548
     4549else
     4550  ac_cv_header_stdc=no
     4551fi
     4552rm -f conftest*
     4553
     4554fi
     4555
     4556if 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
     4563if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     4564  $EGREP "free" >/dev/null 2>&1; then :
     4565
     4566else
     4567  ac_cv_header_stdc=no
     4568fi
     4569rm -f conftest*
     4570
     4571fi
     4572
     4573if 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  :
     4577else
     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)))
     4594int
     4595main ()
     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
     4605if ac_fn_c_try_run "$LINENO"; then :
     4606
     4607else
     4608  ac_cv_header_stdc=no
     4609fi
     4610rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     4611  conftest.$ac_objext conftest.beam conftest.$ac_ext
     4612fi
     4613
     4614fi
     4615fi
     4616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
     4617$as_echo "$ac_cv_header_stdc" >&6; }
     4618if test $ac_cv_header_stdc = yes; then
     4619
     4620$as_echo "#define STDC_HEADERS 1" >>confdefs.h
     4621
     4622fi
     4623
     4624# On IRIX 5.3, sys/types and inttypes.h are conflicting.
     4625for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
     4626                  inttypes.h stdint.h unistd.h
     4627do :
     4628  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4629ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
     4630"
     4631if 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
     4636fi
     4637
     4638done
     4639
     4640
     4641for ac_header in malloc.h unistd.h
     4642do :
     4643  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4644ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
     4645if 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
     4650fi
     4651
     4652done
     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; }
     4657if ${ac_cv_c_const+:} false; then :
     4658  $as_echo_n "(cached) " >&6
     4659else
     4660  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4661/* end confdefs.h.  */
    32184662
    32194663int
     
    32244668  /* Ultrix mips cc rejects this.  */
    32254669  typedef int charset[2];
    3226   const charset x;
     4670  const charset cs;
    32274671  /* SunOS 4.1.1 cc rejects this.  */
    3228   char const *const *ccp;
    3229   char **p;
     4672  char const *const *pcpcc;
     4673  char **ppc;
    32304674  /* NEC SVR4.0.2 mips cc rejects this.  */
    32314675  struct point {int x, y;};
     
    32364680     expression */
    32374681  const char *g = "string";
    3238   ccp = &g + (g ? g-g : 0);
     4682  pcpcc = &g + (g ? g-g : 0);
    32394683  /* 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;
    32434687  { /* SCO 3.2v4 cc rejects this.  */
    32444688    char *t;
     
    32464690
    32474691    *t++ = 0;
     4692    if (s) return 0;
    32484693  }
    32494694  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
     
    32644709  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
    32654710    const int foo = 10;
     4711    if (!foo) return 0;
    32664712  }
     4713  return !cs[0] && !zero.x;
    32674714#endif
    32684715
     
    32714718}
    32724719_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
     4720if ac_fn_c_try_compile "$LINENO"; then :
    32854721  ac_cv_c_const=yes
    32864722else
    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
     4724fi
     4725rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4726fi
     4727{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
     4728$as_echo "$ac_cv_c_const" >&6; }
    32954729if test $ac_cv_c_const = no; then
    32964730
    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
     4733fi
     4734
     4735{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
     4736$as_echo_n "checking for inline... " >&6; }
     4737if ${ac_cv_c_inline+:} false; then :
     4738  $as_echo_n "(cached) " >&6
    33074739else
    33084740  ac_cv_c_inline=no
    33094741for 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.  */
    33134744#ifndef __cplusplus
    3314 static $ac_kw int static_foo () {return 0; }
    3315 $ac_kw int foo () {return 0; }
     4745typedef int foo_t;
     4746static $ac_kw foo_t static_foo () {return 0; }
     4747$ac_kw foo_t foo () {return 0; }
    33164748#endif
    33174749
    33184750_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
     4751if ac_fn_c_try_compile "$LINENO"; then :
     4752  ac_cv_c_inline=$ac_kw
     4753fi
     4754rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4755  test "$ac_cv_c_inline" != no && break
    33374756done
    33384757
    33394758fi
    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
    33424762case $ac_cv_c_inline in
    33434763  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    ;;
    33534775esac
    33544776
    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; }
     4779if ${ac_cv_struct_tm+:} false; then :
     4780  $as_echo_n "(cached) " >&6
     4781else
     4782  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4783/* end confdefs.h.  */
    33634784#include <sys/types.h>
    33644785#include <time.h>
     
    33674788main ()
    33684789{
    3369 struct tm *tp; tp->tm_sec;
     4790struct tm tm;
     4791                                     int *p = &tm.tm_sec;
     4792                                     return !p;
    33704793  ;
    33714794  return 0;
    33724795}
    33734796_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
     4797if ac_fn_c_try_compile "$LINENO"; then :
    33864798  ac_cv_struct_tm=time.h
    33874799else
    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
     4801fi
     4802rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4803fi
     4804{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
     4805$as_echo "$ac_cv_struct_tm" >&6; }
    33964806if test $ac_cv_struct_tm = sys/time.h; then
    33974807
    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
     4810fi
     4811
    34034812
    34044813test "${prefix}" != "NONE" || prefix=$ac_default_prefix
     
    34064815preludedir=${prefix}/share/cfa
    34074816
    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.
     4818if test "${with_preludedir+set}" = set; then :
     4819  withval=$with_preludedir; preludedir=$withval
     4820fi
     4821
     4822
     4823
     4824
     4825# Check whether --with-backend-compiler was given.
     4826if test "${with_backend_compiler+set}" = set; then :
     4827  withval=$with_backend_compiler; backcompiler=$withval
    34184828else
    34194829  backcompiler=""
    3420 fi;
     4830fi
     4831
    34214832  if test x$backcompiler != x; then
    3422      cat >>confdefs.h <<EOF
     4833     cat >>confdefs.h <<_ACEOF
    34234834#define GCC_PATH "${backcompiler}"
    3424 EOF
     4835_ACEOF
    34254836
    34264837     BACKEND_CC=${backcompiler}
     
    34284839     # Extract the first word of "gcc", so it can be a program name with args.
    34294840set dummy gcc; ac_word=$2
    3430 echo "$as_me:3430: checking for $ac_word" >&5
    3431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3432 if test "${ac_cv_path_GCC_PATH+set}" = set; then
    3433   echo $ECHO_N "(cached) $ECHO_C" >&6
     4841{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4842$as_echo_n "checking for $ac_word... " >&6; }
     4843if ${ac_cv_path_GCC_PATH+:} false; then :
     4844  $as_echo_n "(cached) " >&6
    34344845else
    34354846  case $GCC_PATH in
     
    34384849  ;;
    34394850  *)
    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
     4852for as_dir in $PATH
     4853do
     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
    34504862done
     4863  done
     4864IFS=$as_save_IFS
    34514865
    34524866  test -z "$ac_cv_path_GCC_PATH" && ac_cv_path_GCC_PATH="N/A"
     
    34554869fi
    34564870GCC_PATH=$ac_cv_path_GCC_PATH
    3457 
    34584871if 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; }
     4874else
     4875  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4876$as_echo "no" >&6; }
     4877fi
     4878
    34654879
    34664880     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
    34704882        exit 1
    34714883     fi
    3472      cat >>confdefs.h <<EOF
     4884
     4885cat >>confdefs.h <<_ACEOF
    34734886#define GCC_PATH "${GCC_PATH}"
    3474 EOF
     4887_ACEOF
    34754888
    34764889     BACKEND_CC=${GCC_PATH}
    34774890  fi
    34784891
     4892
    34794893# Extract the first word of "cpp", so it can be a program name with args.
    34804894set dummy cpp; ac_word=$2
    3481 echo "$as_me:3481: checking for $ac_word" >&5
    3482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3483 if test "${ac_cv_path_CPP_PATH+set}" = set; then
    3484   echo $ECHO_N "(cached) $ECHO_C" >&6
     4895{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4896$as_echo_n "checking for $ac_word... " >&6; }
     4897if ${ac_cv_path_CPP_PATH+:} false; then :
     4898  $as_echo_n "(cached) " >&6
    34854899else
    34864900  case $CPP_PATH in
     
    34894903  ;;
    34904904  *)
    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
     4906for as_dir in $PATH
     4907do
     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
    35014916done
     4917  done
     4918IFS=$as_save_IFS
    35024919
    35034920  test -z "$ac_cv_path_CPP_PATH" && ac_cv_path_CPP_PATH="N/A"
     
    35064923fi
    35074924CPP_PATH=$ac_cv_path_CPP_PATH
    3508 
    35094925if 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; }
     4928else
     4929  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4930$as_echo "no" >&6; }
     4931fi
     4932
    35164933
    35174934if 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
    35214936   exit 1
    35224937fi
    3523 cat >>confdefs.h <<EOF
     4938
     4939cat >>confdefs.h <<_ACEOF
    35244940#define CPP_PATH "${CPP_PATH}"
    3525 EOF
     4941_ACEOF
     4942
    35264943
    35274944# Purify instrumenting
     
    35334950        cfa_prefix=${prefix}
    35344951fi
    3535 cat >>confdefs.h <<EOF
     4952
     4953cat >>confdefs.h <<_ACEOF
    35364954#define CFA_PREFIX "${cfa_prefix}"
    3537 EOF
     4955_ACEOF
    35384956
    35394957CFA_PREFIX=${cfa_prefix}
     4958
     4959
     4960CFA_INCDIR=
     4961if test "$includedir" = '${prefix}/include'; then
     4962        cfa_incdir="${cfa_prefix}/include"
     4963else
     4964        cfa_incdir=${$includedir}
     4965fi
     4966
     4967cat >>confdefs.h <<_ACEOF
     4968#define CFA_INCDIR "${cfa_incdir}"
     4969_ACEOF
     4970
     4971CFA_INCDIR=${cfa_incdir}
     4972
    35404973
    35414974CFA_BINDIR=
     
    35454978        cfa_bindir=${bindir}
    35464979fi
    3547 cat >>confdefs.h <<EOF
     4980
     4981cat >>confdefs.h <<_ACEOF
    35484982#define CFA_BINDIR "${cfa_bindir}"
    3549 EOF
     4983_ACEOF
    35504984
    35514985CFA_BINDIR=${cfa_bindir}
     4986
    35524987
    35534988CFA_LIBDIR=
     
    35574992        cfa_libdir=${libdir}
    35584993fi
    3559 cat >>confdefs.h <<EOF
     4994
     4995cat >>confdefs.h <<_ACEOF
    35604996#define CFA_LIBDIR "${cfa_libdir}"
    3561 EOF
     4997_ACEOF
    35624998
    35634999CFA_LIBDIR=${cfa_libdir}
    35645000
     5001
    35655002ac_config_files="$ac_config_files Makefile translator/Makefile driver/Makefile libcfa/Makefile"
     5003
    35665004cat >confcache <<\_ACEOF
    35675005# This file is a shell script that caches the results of configure
     
    35745012# the --recheck option to rerun configure.
    35755013#
    3576 # `ac_cv_env_foo' variables (set or unset) will be overriden when
     5014# `ac_cv_env_foo' variables (set or unset) will be overridden when
    35775015# loading this file, other *unset* `ac_cv_foo' will be assigned the
    35785016# following values.
     
    35825020# The following way of writing the cache mishandles newlines in values,
    35835021# 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.
    35855023# Ultrix sh set writes to stderr and can't be redirected directly,
    35865024# 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
    35885042  (set) 2>&1 |
    3589     case `(ac_space=' '; set | grep ac_space) 2>&1` in
    3590     *ac_space=\ *)
    3591       # `set' does not quote correctly, so add quotes (double-quote
    3592       # 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 \.
    35935047      sed -n \
    3594         "s/'/'\\\\''/g;
    3595           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
    3596       ;;
     5048        "s/'/'\\\\''/g;
     5049          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
     5050      ;; #(
    35975051    *)
    35985052      # `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"
    36015054      ;;
    3602     esac;
    3603 } |
     5055    esac |
     5056    sort
     5057) |
    36045058  sed '
     5059     /^ac_cv_env_/b end
    36055060     t clear
    3606      : clear
     5061     :clear
    36075062     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
    36085063     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
     5066if 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
    36155083  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;}
    36175086  fi
    36185087fi
     
    36235092test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
    36245093
    3625 # VPATH may cause trouble with some makes, so we remove $(srcdir),
    3626 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
    3627 # trailing colons and then remove the whole line if VPATH becomes empty
    3628 # (actually we leave an empty line to preserve line numbers).
    3629 if test "x$srcdir" = x.; then
    3630   ac_vpsub='/^[         ]*VPATH[        ]*=/{
    3631 s/:*\$(srcdir):*/:/;
    3632 s/:*\${srcdir}:*/:/;
    3633 s/:*@srcdir@:*/:/;
    3634 s/^\([^=]*=[    ]*\):*/\1/;
    3635 s/:*$//;
    3636 s/^[^=]*=[      ]*$//;
    3637 }'
    3638 fi
    3639 
    36405094DEFS=-DHAVE_CONFIG_H
    36415095
     5096ac_libobjs=
     5097ac_ltlibobjs=
     5098U=
     5099for 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'
     5107done
     5108LIBOBJS=$ac_libobjs
     5109
     5110LTLIBOBJS=$ac_ltlibobjs
     5111
     5112
     5113 if test -n "$EXEEXT"; then
     5114  am__EXEEXT_TRUE=
     5115  am__EXEEXT_FALSE='#'
     5116else
     5117  am__EXEEXT_TRUE='#'
     5118  am__EXEEXT_FALSE=
     5119fi
     5120
    36425121if 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.
     5123Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5124fi
     5125if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
     5126  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
     5127Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5128fi
     5129if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
     5130  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
     5131Usually this means the macro was only invoked conditionally." "$LINENO" 5
     5132fi
     5133
     5134: "${CONFIG_STATUS=./config.status}"
     5135ac_write_fail=0
    36515136ac_clean_files_save=$ac_clean_files
    36525137ac_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;}
     5140as_write_fail=0
     5141cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
    36565142#! $SHELL
    3657 # Generated automatically by configure.
     5143# Generated by $as_me.
    36585144# Run this file to recreate the current configuration.
    36595145# Compiler output produced by configure, useful for debugging
     
    36615147
    36625148debug=false
     5149ac_cs_recheck=false
     5150ac_cs_silent=false
     5151
    36635152SHELL=\${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
     5153export SHELL
     5154_ASEOF
     5155cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
     5156## -------------------- ##
     5157## M4sh Initialization. ##
     5158## -------------------- ##
     5159
     5160# Be more Bourne compatible
     5161DUALCASE=1; export DUALCASE # for MKS sh
     5162if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    36715163  emulate sh
    36725164  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
     5169else
     5170  case `(set -o) 2>/dev/null` in #(
     5171  *posix*) :
     5172    set -o posix ;; #(
     5173  *) :
     5174     ;;
     5175esac
     5176fi
     5177
     5178
    37255179as_nl='
    37265180'
    3727 IFS="   $as_nl"
     5181export as_nl
     5182# Printing a long string crashes Solaris 7 /usr/bin/printf.
     5183as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     5184as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     5185as_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.
     5188if 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 --'
     5192elif (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'
     5195else
     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'
     5215fi
     5216
     5217# The user is always right.
     5218if 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  }
     5224fi
     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.)
     5232IFS=" ""        $as_nl"
     5233
     5234# Find who we are.  Look in the path if we contain no directory separator.
     5235as_myself=
     5236case $0 in #((
     5237  *[\\/]* ) as_myself=$0 ;;
     5238  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5239for as_dir in $PATH
     5240do
     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
     5245IFS=$as_save_IFS
     5246
     5247     ;;
     5248esac
     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.
     5251if test "x$as_myself" = x; then
     5252  as_myself=$0
     5253fi
     5254if test ! -f "$as_myself"; then
     5255  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     5256  exit 1
     5257fi
     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.
     5263for as_var in BASH_ENV ENV MAIL MAILPATH
     5264do eval test x\${$as_var+set} = xset \
     5265  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     5266done
     5267PS1='$ '
     5268PS2='> '
     5269PS4='+ '
     5270
     5271# NLS nuisances.
     5272LC_ALL=C
     5273export LC_ALL
     5274LANGUAGE=C
     5275export LANGUAGE
    37285276
    37295277# 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.
     5286as_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.
     5301as_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.
     5309as_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.
     5319as_fn_unset ()
     5320{
     5321  { eval $1=; unset $1;}
     5322}
     5323as_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.
     5330if (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  }'
     5335else
     5336  as_fn_append ()
     5337  {
     5338    eval $1=\$$1\$2
     5339  }
     5340fi # 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.
     5347if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     5348  eval 'as_fn_arith ()
     5349  {
     5350    as_val=$(( $* ))
     5351  }'
     5352else
     5353  as_fn_arith ()
     5354  {
     5355    as_val=`expr "$@" || test $? -eq 1`
     5356  }
     5357fi # as_fn_arith
     5358
     5359
     5360if expr a : '\(a\)' >/dev/null 2>&1 &&
     5361   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     5362  as_expr=expr
     5363else
     5364  as_expr=false
     5365fi
     5366
     5367if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
     5368  as_basename=basename
     5369else
     5370  as_basename=false
     5371fi
     5372
     5373if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     5374  as_dirname=dirname
     5375else
     5376  as_dirname=false
     5377fi
     5378
     5379as_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.
     5399as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     5400as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     5401as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     5402as_cr_digits='0123456789'
     5403as_cr_alnum=$as_cr_Letters$as_cr_digits
     5404
     5405ECHO_C= ECHO_N= ECHO_T=
     5406case `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';;
     5416esac
     5417
     5418rm -f conf$$ conf$$.exe conf$$.file
     5419if test -d conf$$.dir; then
     5420  rm -f conf$$.dir/conf$$.file
     5421else
     5422  rm -f conf$$.dir
     5423  mkdir conf$$.dir 2>/dev/null
     5424fi
     5425if (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
     5439else
     5440  as_ln_s='cp -p'
     5441fi
     5442rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     5443rmdir conf$$.dir 2>/dev/null
     5444
     5445
     5446# as_fn_mkdir_p
     5447# -------------
     5448# Create "$as_dir" as a directory, including parents if necessary.
     5449as_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
     5493if mkdir -p . 2>/dev/null; then
     5494  as_mkdir_p='mkdir -p "$as_dir"'
     5495else
     5496  test -d ./-p && rmdir ./-p
     5497  as_mkdir_p=false
     5498fi
     5499
     5500if test -x / >/dev/null 2>&1; then
     5501  as_test_x='test -x'
     5502else
     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  '
     5520fi
     5521as_executable_p=$as_test_x
     5522
     5523# Sed expression to map a string onto a valid CPP name.
     5524as_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.
     5527as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
     5528
    37315529
    37325530exec 6>&1
    3733 
    3734 _ACEOF
    3735 
     5531## ----------------------------------- ##
     5532## Main body of $CONFIG_STATUS script. ##
     5533## ----------------------------------- ##
     5534_ASEOF
     5535test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
     5536
     5537cat >>$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.
     5541ac_log="
     5542This file was extended by cfa-cc $as_me 1.0, which was
     5543generated 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
     5551on `(hostname || uname -n) 2>/dev/null | sed 1q`
     5552"
     5553
     5554_ACEOF
     5555
     5556case $ac_config_files in *"
     5557"*) set x $ac_config_files; shift; ac_config_files=$*;;
     5558esac
     5559
     5560case $ac_config_headers in *"
     5561"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
     5562esac
     5563
     5564
     5565cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    37365566# 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 
     5567config_files="$ac_config_files"
     5568config_headers="$ac_config_headers"
     5569config_commands="$ac_config_commands"
     5570
     5571_ACEOF
     5572
     5573cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    37555574ac_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
     5576from templates according to the current configuration.  Unless the files
     5577and actions are specified as TAGs, all are instantiated by default.
     5578
     5579Usage: $0 [OPTION]... [TAG]...
    37605580
    37615581  -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
    37635586  -d, --debug      don't remove temporary files
    37645587      --recheck    update $as_me by reconfiguring in the same conditions
    3765   --file=FILE[:TEMPLATE]
     5588      --file=FILE[:TEMPLATE]
    37665589                   instantiate the configuration file FILE
    3767   --header=FILE[:TEMPLATE]
     5590      --header=FILE[:TEMPLATE]
    37685591                   instantiate the configuration header FILE
    37695592
     
    37775600$config_commands
    37785601
    3779 Report bugs to <bug-autoconf@gnu.org>."
    3780 EOF
    3781 
    3782 cat >>$CONFIG_STATUS <<EOF
     5602Report bugs to <cforall@plg.uwaterloo.ca>."
     5603
     5604_ACEOF
     5605cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     5606ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
    37835607ac_cs_version="\\
    37845608cfa-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.
     5609configured by $0, generated by GNU Autoconf 2.68,
     5610  with options \\"\$ac_cs_config\\"
     5611
     5612Copyright (C) 2010 Free Software Foundation, Inc.
    37905613This config.status script is free software; the Free Software Foundation
    37915614gives 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
     5616ac_pwd='$ac_pwd'
     5617srcdir='$srcdir'
     5618INSTALL='$INSTALL'
     5619MKDIR_P='$MKDIR_P'
     5620AWK='$AWK'
     5621test -n "\$AWK" || AWK=awk
     5622_ACEOF
     5623
     5624cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     5625# The default lists apply if the user does not specify any file.
    37995626ac_need_defaults=:
    38005627while test $# != 0
    38015628do
    38025629  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=:
    38095634    ;;
    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    ;;
    38145645  esac
    38155646
    3816   case $1 in
     5647  case $ac_option in
    38175648  # Handling of the options.
    3818 EOF
    3819 cat >>$CONFIG_STATUS <<EOF
    38205649  -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;;
    38275672  --he | --h)
    38285673    # 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'
     5675Try \`$0 --help' for more information.";;
    38345676  --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=: ;;
    38465681
    38475682  # 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'
     5684Try \`$0 --help' for more information." ;;
     5685
     5686  *) as_fn_append ac_config_targets " $1"
     5687     ac_need_defaults=false ;;
    38555688
    38565689  esac
     
    38585691done
    38595692
     5693ac_configure_extra_args=
     5694
     5695if $ac_cs_silent; then
     5696  exec 6>/dev/null
     5697  ac_configure_extra_args="$ac_configure_extra_args --silent"
     5698fi
     5699
     5700_ACEOF
     5701cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     5702if \$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 "\$@"
     5709fi
     5710
     5711_ACEOF
     5712cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    38605713exec 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
     5723cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    38795724#
    3880 # INIT-COMMANDS section.
     5725# INIT-COMMANDS
    38815726#
    3882 
    38835727AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
    38845728
    3885 EOF
    3886 
    3887 cat >>$CONFIG_STATUS <<\EOF
     5729_ACEOF
     5730
     5731cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     5732
     5733# Handling of arguments.
    38885734for ac_config_target in $ac_config_targets
    38895735do
    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;;
    39015745  esac
    39025746done
     5747
    39035748
    39045749# If the user did not use the arguments to specify the items to instantiate,
     
    39125757fi
    39135758
    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'.
    39155765$debug ||
    39165766{
    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
    39195773}
    3920 
    39215774# Create a (secure) tmp directory for tmp files.
    3922 : ${TMPDIR=/tmp}
     5775
    39235776{
    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"
    39265779}  ||
    39275780{
    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
     5784ac_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'.
     5789if test -n "$CONFIG_FILES"; then
     5790
     5791
     5792ac_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.
     5796if test "x$ac_cr" = x; then
     5797  eval ac_cr=\$\'\\r\'
     5798fi
     5799ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
     5800if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
     5801  ac_cs_awk_cr='\\r'
     5802else
     5803  ac_cs_awk_cr=$ac_cr
     5804fi
     5805
     5806echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
     5807_ACEOF
     5808
     5809
    39315810{
    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
     5816ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
     5817ac_delim='%!_!# '
     5818for 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
     5830done
     5831rm -f conf$$subs.sh
     5832
     5833cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     5834cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
     5835_ACEOF
     5836sed -n '
     5837h
     5838s/^/S["/; s/!.*/"]=/
     5839p
     5840g
     5841s/^[^!]*!//
     5842:repl
     5843t repl
     5844s/'"$ac_delim"'$//
     5845t delim
     5846:nl
     5847h
     5848s/\(.\{148\}\)..*/\1/
     5849t more1
     5850s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
     5851p
     5852n
     5853b repl
     5854:more1
     5855s/["\\]/\\&/g; s/^/"/; s/$/"\\/
     5856p
     5857g
     5858s/.\{148\}//
     5859t nl
     5860:delim
     5861h
     5862s/\(.\{148\}\)..*/\1/
     5863t more2
     5864s/["\\]/\\&/g; s/^/"/; s/$/"/
     5865p
     5866b
     5867:more2
     5868s/["\\]/\\&/g; s/^/"/; s/$/"\\/
     5869p
     5870g
     5871s/.\{148\}//
     5872t delim
     5873' <conf$$subs.awk | sed '
     5874/^[^""]/{
     5875  N
     5876  s/\n//
    39345877}
    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
     5879rm -f conf$$subs.awk
     5880cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     5881_ACAWK
     5882cat >>"\$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
     5909cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     5910if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
     5911  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
     5912else
     5913  cat
     5914fi < "$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).
     5922if test "x$srcdir" = x.; then
     5923  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
     5924h
     5925s///
     5926s/^/:/
     5927s/[      ]*$/:/
     5928s/:\$(srcdir):/:/g
     5929s/:\${srcdir}:/:/g
     5930s/:@srcdir@:/:/g
     5931s/^:*//
     5932s/:*$//
     5933x
     5934s/\(=[   ]*\).*/\1/
     5935G
     5936s/\n//
     5937s/^[^=]*=[       ]*$//
     5938}'
     5939fi
     5940
     5941cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     5942fi # 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'.
     5947if test -n "$CONFIG_HEADERS"; then
     5948cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
     5949BEGIN {
     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.
     5958ac_delim='%!_!# '
     5959for 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
     5968done
     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
     5974ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
     5975sed -n '
     5976s/.\{148\}/&'"$ac_delim"'/g
     5977t rset
     5978:rset
     5979s/^[     ]*#[    ]*define[       ][      ]*/ /
     5980t def
     5981d
     5982:def
     5983s/\\$//
     5984t bsnl
     5985s/["\\]/\\&/g
     5986s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
     5987D["\1"]=" \3"/p
     5988s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
     5989d
     5990:bsnl
     5991s/["\\]/\\&/g
     5992s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
     5993D["\1"]=" \3\\\\\\n"\\/p
     5994t cont
     5995s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
     5996t cont
     5997d
     5998:cont
     5999n
     6000s/.\{148\}/&'"$ac_delim"'/g
     6001t clear
     6002:clear
     6003s/\\$//
     6004t bsnlc
     6005s/["\\]/\\&/g; s/^/"/; s/$/"/p
     6006d
     6007:bsnlc
     6008s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
     6009b cont
     6010' <confdefs.h | sed '
     6011s/'"$ac_delim"'/"\\\
     6012"/g' >>$CONFIG_STATUS || ac_write_fail=1
     6013
     6014cat >>$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
     6048cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     6049  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
     6050fi # test -n "$CONFIG_HEADERS"
     6051
     6052
     6053eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
     6054shift
     6055for ac_tag
     6056do
     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;}
    40456106    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
    41096119    ;;
    41106120  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
     6148case "$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 ;;
     6158esac
     6159ac_abs_top_builddir=$ac_pwd
     6160ac_abs_builddir=$ac_pwd$ac_dir_suffix
     6161# for backward compatibility:
     6162ac_top_builddir=$ac_top_build_prefix
     6163
     6164case $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 ;;
     6177esac
     6178ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
     6179
     6180
     6181  case $ac_mode in
     6182  :F)
     6183  #
     6184  # CONFIG_FILE
     6185  #
    41346186
    41356187  case $INSTALL in
    41366188  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
    4137   *) ac_INSTALL=$ac_dots$INSTALL ;;
     6189  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
    41386190  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
     6198cat >>$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.
     6201ac_datarootdir_hack=; ac_datarootdir_seen=
     6202ac_sed_dataroot='
     6203/datarootdir/ {
     6204  p
     6205  q
     6206}
     6207/@datadir@/p
     6208/@docdir@/p
     6209/@infodir@/p
     6210/@localedir@/p
     6211/@mandir@/p'
     6212case `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
     6218cat >>$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' ;;
     6226esac
     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?
     6232cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     6233ac_sed_extra="$ac_vpsub
    41816234$extrasub
    4182 EOF
    4183 cat >>$CONFIG_STATUS <<\EOF
     6235_ACEOF
     6236cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    41846237:t
    41856238/@[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
     6239s|@configure_input@|$ac_sed_conf_input|;t t
     6240s&@top_builddir@&$ac_top_builddir_sub&;t t
     6241s&@top_build_prefix@&$ac_top_build_prefix&;t t
     6242s&@srcdir@&$ac_srcdir&;t t
     6243s&@abs_srcdir@&$ac_abs_srcdir&;t t
     6244s&@top_srcdir@&$ac_top_srcdir&;t t
     6245s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
     6246s&@builddir@&$ac_builddir&;t t
     6247s&@abs_builddir@&$ac_abs_builddir&;t t
     6248s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
     6249s&@INSTALL@&$ac_INSTALL&;t t
     6250s&@MKDIR_P@&$ac_MKDIR_P&;t t
     6251$ac_datarootdir_hack
     6252"
     6253eval 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
     6256test -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'
     6261which 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'
     6263which 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  #
    41926276  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;}
    43766285    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
    44086289    fi
    44096290  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
    44126294  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
     6298for _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
     6305done
     6306echo "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;}
    44176333 ;;
    44186334  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 ;;
    45036345  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
    45086430  done
    4509 done
     6431}
    45106432 ;;
     6433
    45116434  esac
    4512 done
    4513 EOF
    4514 
    4515 cat >>$CONFIG_STATUS <<\EOF
    4516 
    4517 { (exit 0); exit 0; }
    4518 EOF
    4519 chmod +x $CONFIG_STATUS
     6435done # for ac_tag
     6436
     6437
     6438as_fn_exit 0
     6439_ACEOF
    45206440ac_clean_files=$ac_clean_files_save
     6441
     6442test $ac_write_fail = 0 ||
     6443  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
     6444
    45216445
    45226446# configure is writing to config.log, and then calls config.status.
     
    45306454if test "$no_create" != yes; then
    45316455  ac_cs_success=:
     6456  ac_config_status_args=
     6457  test "$silent" = yes &&
     6458    ac_config_status_args="$ac_config_status_args --quiet"
    45326459  exec 5>/dev/null
    4533   $SHELL $CONFIG_STATUS || ac_cs_success=false
     6460  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
    45346461  exec 5>>config.log
    45356462  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
    45366463  # 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
     6465fi
     6466if 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;}
     6469fi
     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  
    4444        exit 1
    4545     fi
    46      AC_DEFINE_UNQUOTED(GCC_PATH, "${GCC_PATH}")
     46     AC_DEFINE_UNQUOTED(GCC_PATH, "${GCC_PATH}", [Path/name of C compiler.])
    4747     BACKEND_CC=${GCC_PATH}
    4848  fi
     
    5454   exit 1
    5555fi
    56 AC_DEFINE_UNQUOTED(CPP_PATH, "${CPP_PATH}")
     56AC_DEFINE_UNQUOTED(CPP_PATH, "${CPP_PATH}", [Path/name of cpp preprocessor.])
    5757
    5858# Purify instrumenting
     
    6767        cfa_prefix=${prefix}
    6868fi
    69 AC_DEFINE_UNQUOTED(CFA_PREFIX, "${cfa_prefix}")
     69AC_DEFINE_UNQUOTED(CFA_PREFIX, "${cfa_prefix}", [Location of cfa files.])
    7070CFA_PREFIX=${cfa_prefix}
    7171AC_SUBST(CFA_PREFIX)
     72
     73CFA_INCDIR=
     74if test "$includedir" = '${prefix}/include'; then
     75        cfa_incdir="${cfa_prefix}/include"
     76else
     77        cfa_incdir=${$includedir}
     78fi
     79AC_DEFINE_UNQUOTED(CFA_INCDIR, "${cfa_incdir}", [Location of include files.])
     80CFA_INCDIR=${cfa_incdir}
     81AC_SUBST(CFA_INCDIR)
    7282
    7383CFA_BINDIR=
     
    7787        cfa_bindir=${bindir}
    7888fi
    79 AC_DEFINE_UNQUOTED(CFA_BINDIR, "${cfa_bindir}")
     89AC_DEFINE_UNQUOTED(CFA_BINDIR, "${cfa_bindir}", [Location of cfa command.])
    8090CFA_BINDIR=${cfa_bindir}
    8191AC_SUBST(CFA_BINDIR)
     
    8797        cfa_libdir=${libdir}
    8898fi
    89 AC_DEFINE_UNQUOTED(CFA_LIBDIR, "${cfa_libdir}")
     99AC_DEFINE_UNQUOTED(CFA_LIBDIR, "${cfa_libdir}", [Location of cc1 and cfa-cpp commands.])
    90100CFA_LIBDIR=${cfa_libdir}
    91101AC_SUBST(CFA_LIBDIR)
  • driver/cc1.cc

    r134b86a r8c17ab0  
    88// Created On       : Fri Aug 26 14:23:51 2005
    99// Last Modified By : Peter A. Buhr
    10 // Last Modified On : Fri Oct 17 18:02:37 2014
    11 // Update Count     : 4
     10// Last Modified On : Wed Nov 12 22:58:59 2014
     11// Update Count     : 5
    1212//
    1313// This  library is free  software; you  can redistribute  it and/or  modify it
  • driver/cfa.cc

    r134b86a r8c17ab0  
    88// Created On       : Tue Aug 20 13:44:49 2002
    99// Last Modified By : Peter A. Buhr
    10 // Last Modified On : Sat Oct 18 13:52:43 2014
    11 // Update Count     : 97
     10// Last Modified On : Tue Nov 11 09:19:15 2014
     11// Update Count     : 106
    1212//
    1313
     
    6464    } // if
    6565
    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
    6768
    6869    string heading;                                     // banner printed at start of cfa compilation
     
    235236    } // if
    236237
     238    args[nargs] = "-I" CFA_INCDIR;
     239    nargs += 1;
     240
    237241    if ( link ) {
    238242        // include the cfa library in case it's needed
  • install-sh

    • Property mode changed from 100755 to 120000
    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
  • translator/ControlStruct/MLEMutator.cc

    r134b86a r8c17ab0  
    8080      return branchStmt;
    8181
     82    // test if continue target is a loop
    8283    if ( branchStmt->get_type() == BranchStmt::Continue && enclosingLoops.empty() )
    8384      throw SemanticError( "'continue' outside a loop" );
  • translator/Parser/DeclarationNode.cc

    r134b86a r8c17ab0  
    112112}
    113113
    114 /* static class method */
    115114DeclarationNode *
    116115DeclarationNode::newFunction( std::string* name, DeclarationNode *ret, DeclarationNode *param, StatementNode *body, bool newStyle )
     
    136135}
    137136
    138 /* static class method */
    139137DeclarationNode *
    140138DeclarationNode::newQualifier( Qualifier q )
     
    146144}
    147145
    148 /* static class method */
    149146DeclarationNode *
    150147DeclarationNode::newStorageClass( StorageClass sc )
     
    155152}
    156153
    157 /* static class method */
    158154DeclarationNode *
    159155DeclarationNode::newBasicType( BasicType bt )
     
    165161}
    166162
    167 /* static class method */
    168163DeclarationNode *
    169164DeclarationNode::newModifier( Modifier mod )
     
    175170}
    176171
    177 /* static class method */
    178172DeclarationNode *
    179173DeclarationNode::newForall( DeclarationNode* forall )
     
    185179}
    186180
    187 /* static class method */
    188181DeclarationNode *
    189182DeclarationNode::newFromTypedef( std::string* name )
     
    197190}
    198191
    199 /* static class method */
    200192DeclarationNode *
    201193DeclarationNode::newAggregate( TyCon kind, std::string* name, DeclarationNode *formals, ExpressionNode *actuals, DeclarationNode *fields )
     
    214206}
    215207
    216 /* static class method */
    217208DeclarationNode *
    218209DeclarationNode::newEnum( std::string *name, DeclarationNode *constants )
     
    229220}
    230221
    231 /* static class method */
    232222DeclarationNode *
    233223DeclarationNode::newEnumConstant( std::string* name, ExpressionNode *constant )
     
    239229}
    240230
    241 /* static class method */
    242231DeclarationNode *
    243232DeclarationNode::newName( std::string* name )
     
    248237}
    249238
    250 /* static class method */
    251239DeclarationNode *
    252240DeclarationNode::newFromTypeGen( std::string* name, ExpressionNode *params )
     
    260248}
    261249
    262 /* static class method */
    263250DeclarationNode *
    264251DeclarationNode::newTypeParam( TypeClass tc, std::string* name )
     
    272259}
    273260
    274 /* static class method */
    275261DeclarationNode *
    276262DeclarationNode::newContext( std::string *name, DeclarationNode *params, DeclarationNode *asserts )
     
    285271}
    286272
    287 /* static class method */
    288273DeclarationNode *
    289274DeclarationNode::newContextUse( std::string *name, ExpressionNode *params )
     
    298283}
    299284
    300 /* static class method */
    301285DeclarationNode *
    302286DeclarationNode::newTypeDecl( std::string *name, DeclarationNode *typeParams )
     
    311295}
    312296
    313 /* static class method */
    314297DeclarationNode *
    315298DeclarationNode::newPointer( DeclarationNode *qualifiers )
     
    320303}
    321304
    322 /* static class method */
    323305DeclarationNode *
    324306DeclarationNode::newArray( ExpressionNode *size, DeclarationNode *qualifiers, bool isStatic )
     
    332314}
    333315
    334 /* static class method */
    335316DeclarationNode *
    336317DeclarationNode::newVarArray( DeclarationNode *qualifiers )
     
    344325}
    345326
    346 /* static class method */
    347327DeclarationNode *
    348328DeclarationNode::newBitfield( ExpressionNode *size )
     
    353333}
    354334
    355 /* static class method */
    356335DeclarationNode *
    357336DeclarationNode::newTuple( DeclarationNode *members )
     
    363342}
    364343
    365 /* static class method */
    366344DeclarationNode *
    367345DeclarationNode::newTypeof( ExpressionNode *expr )
     
    373351}
    374352
    375 /* static class method */
    376353DeclarationNode *
    377354DeclarationNode::newAttr( std::string *name, ExpressionNode *expr )
     
    384361}
    385362
    386 /* static class method */
    387363DeclarationNode *
    388364DeclarationNode::newAttr( std::string *name, DeclarationNode *type )
  • translator/Parser/TypedefTable.cc

    r134b86a r8c17ab0  
    1 /*
    2  * This file is part of the Cforall project
    3  *
    4  * $Id: TypedefTable.cc,v 1.7 2004/09/14 17:21:12 rcbilson Exp $
    5  *
    6  */
    7 
    81#include <map>
    92#include <list>
     
    1912#endif
    2013
    21 TypedefTable::TypedefTable()
    22     : currentScope(0)
    23 {
    24 }
     14TypedefTable::TypedefTable() : currentScope(0) {}
    2515
    26 bool
    27 TypedefTable::isKind(string identifier, kind_t kind) const
    28 {
     16bool TypedefTable::isKind(string identifier, kind_t kind) const {
    2917    tableType::const_iterator id_pos = table.find(identifier);
    3018    if (id_pos == table.end()) {
     
    3523}
    3624
    37 bool
    38 TypedefTable::isIdentifier(string identifier) const
    39 {
     25bool TypedefTable::isIdentifier(string identifier) const {
    4026    return isKind(identifier, ID);
    4127}
    4228
    43 bool
    44 TypedefTable::isTypedef(string identifier) const
    45 {
     29bool TypedefTable::isTypedef(string identifier) const {
    4630    return isKind(identifier, TD);
    4731}
    4832
    49 bool
    50 TypedefTable::isTypegen(string identifier) const
    51 {
     33bool TypedefTable::isTypegen(string identifier) const {
    5234    return isKind(identifier, TG);
    5335}
    5436
    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;
     37void 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 );
    6941    } 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        }
    7556    }
    76   }
    7757}
    7858
    79 void
    80 TypedefTable::addToCurrentScope(const std::string &identifier, kind_t kind)
    81 {
    82   addToScope( identifier, kind, currentScope );
     59void TypedefTable::addToCurrentScope(const std::string &identifier, kind_t kind) {
     60    addToScope( identifier, kind, currentScope );
    8361}
    8462
    85 void
    86 TypedefTable::addToCurrentScope(kind_t kind)
    87 {
    88   addToCurrentScope( nextIdentifiers.top(), kind );
     63void TypedefTable::addToCurrentScope(kind_t kind) {
     64    addToCurrentScope( nextIdentifiers.top(), kind );
    8965}
    9066
    91 void
    92 TypedefTable::addToEnclosingScope(const std::string &identifier, kind_t kind)
    93 {
    94   assert( currentScope >= 1 );
    95   addToScope( identifier, kind, currentScope - 1 );
     67void TypedefTable::addToEnclosingScope(const std::string &identifier, kind_t kind) {
     68    assert( currentScope >= 1 );
     69    addToScope( identifier, kind, currentScope - 1 );
    9670}
    9771
    98 void
    99 TypedefTable::addToEnclosingScope(kind_t kind)
    100 {
    101   addToEnclosingScope( nextIdentifiers.top(), kind );
     72void TypedefTable::addToEnclosingScope(kind_t kind) {
     73    addToEnclosingScope( nextIdentifiers.top(), kind );
    10274}
    10375
    104 void
    105 TypedefTable::addToEnclosingScope2(const std::string &identifier, kind_t kind)
    106 {
    107   assert( currentScope >= 2 );
    108   addToScope( identifier, kind, currentScope - 2 );
     76void TypedefTable::addToEnclosingScope2(const std::string &identifier, kind_t kind) {
     77    assert( currentScope >= 2 );
     78    addToScope( identifier, kind, currentScope - 2 );
    10979}
    11080
    111 void
    112 TypedefTable::addToEnclosingScope2(kind_t kind)
    113 {
    114   addToEnclosingScope2( nextIdentifiers.top(), kind );
     81void TypedefTable::addToEnclosingScope2(kind_t kind) {
     82    addToEnclosingScope2( nextIdentifiers.top(), kind );
    11583}
    11684
    117 void
    118 TypedefTable::setNextIdentifier( const std::string &identifier )
    119 {
    120   nextIdentifiers.top() = identifier;
     85void TypedefTable::setNextIdentifier( const std::string &identifier ) {
     86    nextIdentifiers.top() = identifier;
    12187}
    12288
    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 );
     89void 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        }
    13196    }
    132   }
    13397}
    13498
    135 void
    136 TypedefTable::enterScope(void)
    137 {
     99void TypedefTable::enterScope(void) {
    138100    currentScope += 1;
    139101    deferListStack.push( deferListType() );
     
    142104}
    143105
    144 void
    145 TypedefTable::leaveScope(void)
    146 {
     106void TypedefTable::leaveScope(void) {
    147107    debugPrint( "Leaving scope " << currentScope << endl );
    148108    for (tableType::iterator i = table.begin(); i != table.end(); i++) {
     
    151111            declList.pop_front();
    152112        }
    153         if( declList.empty() ) {
    154           table.erase( i );
     113        if ( declList.empty() ) {
     114            table.erase( i );
    155115        }
    156116    }
    157117    currentScope -= 1;
    158118    for (deferListType::iterator i = deferListStack.top().begin(); i != deferListStack.top().end(); i++) {
    159       addToCurrentScope( i->identifier, i->kind );
     119        addToCurrentScope( i->identifier, i->kind );
    160120    }
    161121    deferListStack.pop();
     
    164124}
    165125
    166 void
    167 TypedefTable::enterContext( std::string contextName )
    168 {
    169   currentContext = contextName;
    170   contextScope = currentScope;
     126void TypedefTable::enterContext( std::string contextName ) {
     127    currentContext = contextName;
     128    contextScope = currentScope;
    171129}
    172130
    173 void
    174 TypedefTable::leaveContext(void)
    175 {
    176   currentContext = "";
     131void TypedefTable::leaveContext(void) {
     132    currentContext = "";
    177133}
    178134
    179 void
    180 TypedefTable::print(void) const
    181 {
     135void TypedefTable::print(void) const {
    182136    for (tableType::const_iterator i = table.begin(); i != table.end(); i++) {
    183137        debugPrint( (*i).first << ": " );
  • translator/Parser/cfa.y

    r134b86a r8c17ab0  
    1010 * Created On       : Sat Sep  1 20:22:55 2001
    1111 * Last Modified By : Peter A. Buhr
    12  * Last Modified On : Mon Nov  3 16:24:24 2014
    13  * Update Count     : 880
     12 * Last Modified On : Sun Nov  9 22:45:42 2014
     13 * Update Count     : 881
    1414 */
    1515
     
    8484
    8585/* names and constants: lexer differentiates between identifier and typedef names */
    86 %token<tok> IDENTIFIER          TYPEDEFname             TYPEGENname
     86%token<tok> IDENTIFIER          QUOTED_IDENTIFIER       TYPEDEFname             TYPEGENname
    8787%token<tok> ATTR_IDENTIFIER     ATTR_TYPEDEFname        ATTR_TYPEGENname
    8888%token<tok> INTEGERconstant     FLOATINGconstant        CHARACTERconstant       STRINGliteral
  • translator/Parser/lex.l

    r134b86a r8c17ab0  
    1010 * Created On       : Sat Sep 22 08:58:10 2001
    1111 * Last Modified By : Peter A. Buhr
    12  * Last Modified On : Sat Nov  1 18:09:47 2003
    13  * Update Count     : 197
     12 * Last Modified On : Tue Nov 11 08:10:05 2014
     13 * Update Count     : 215
    1414 */
    1515
     
    1717
    1818%{
    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 *****************************/
     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 ****************************
    2525
    2626#include <string>
     
    2828#include "lex.h"
    2929#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
    3131
    3232char *yyfilename;
    3333
    34 #define WHITE_RETURN(x)         /* do nothing */
     34#define WHITE_RETURN(x)                                 // do nothing
    3535#define NEWLINE_RETURN()        WHITE_RETURN('\n')
    3636#define RETURN_VAL(x)           yylval.tok.str = new std::string(yytext); \
     
    3939                                return(x)
    4040
    41 #define KEYWORD_RETURN(x)       RETURN_VAL(x)           /* keyword */
     41#define KEYWORD_RETURN(x)       RETURN_VAL(x)           // keyword
    4242#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
     51void rm_underscore() {                                  // remove underscores in constant or escape sequence
    5152    int j = 0;
    5253    for ( int i = 0; i < yyleng; i += 1 ) {
     
    6869universal_char "\\"((u{hex_quad})|(U{hex_quad}{2}))
    6970
    70         /* identifier, GCC: $ in identifier */
     71        // identifier, GCC: $ in identifier
    7172identifier ([a-zA-Z_$]|{universal_char})([0-9a-zA-Z_$]|{universal_char})*
    7273
    73         /* attribute identifier, GCC: $ in identifier */
     74        // quoted identifier
     75quoted_identifier "`"{identifier}"`"
     76
     77        // attribute identifier, GCC: $ in identifier
    7478attr_identifier "@"{identifier}
    7579
    76         /*  numeric constants, CFA: '_' in constant */
     80        // numeric constants, CFA: '_' in constant
    7781hex_quad {hex}{4}
    7882integer_suffix "_"?(([uU][lL]?)|([uU]("ll"|"LL")?)|([lL][uU]?)|("ll"|"LL")[uU]?)
     
    99103hex_floating_constant {hex_prefix}(({hex_fractional_constant}{binary_exponent})|({hex_digits}{binary_exponent})){floating_suffix}?
    100104
    101         /* character escape sequence, GCC: \e => esc character */
     105        // character escape sequence, GCC: \e => esc character
    102106simple_escape "\\"[abefnrtv'"?\\]
     107        // ' stop highlighting
    103108octal_escape "\\"{octal}{1,3}
    104109hex_escape "\\""x"{hex}+
    105110escape_seq {simple_escape}|{octal_escape}|{hex_escape}|{universal_char}
    106111
    107         /* display/white-space characters */
     112        // display/white-space characters
    108113h_tab [\011]
    109114form_feed [\014]
     
    112117h_white [ ]|{h_tab}
    113118
    114         /* operators */
     119        // operators
    115120op_unary_only "~"|"!"
    116121op_unary_binary "+"|"-"|"*"
     
    124129
    125130%x COMMENT
     131%x QUOTED
    126132
    127133%%
    128134        /* line directives */
    129135^{h_white}*"#"{h_white}*[0-9]+{h_white}*["][^"\n]+["][^\n]*"\n" {
     136        /* " stop highlighting */
    130137        char *end_num;
    131138        char *begin_string, *end_string;
     
    178185catch                   {KEYWORD_RETURN(CATCH);}        /* CFA */
    179186char                    {KEYWORD_RETURN(CHAR);}
    180 choose                  {KEYWORD_RETURN(CHOOSE);}
     187choose                  {KEYWORD_RETURN(CHOOSE);}       /* CFA */
    181188_Complex                {KEYWORD_RETURN(COMPLEX);}      /* ANSI99 */
    182189__complex               {KEYWORD_RETURN(COMPLEX);}      /* GCC */
     
    185192__const                 {KEYWORD_RETURN(CONST);}        /* GCC */
    186193__const__               {KEYWORD_RETURN(CONST);}        /* GCC */
    187 context                 {KEYWORD_RETURN(CONTEXT);}
     194context                 {KEYWORD_RETURN(CONTEXT);}      /* CFA */
    188195continue                {KEYWORD_RETURN(CONTINUE);}
    189196default                 {KEYWORD_RETURN(DEFAULT);}
    190197do                      {KEYWORD_RETURN(DO);}
    191198double                  {KEYWORD_RETURN(DOUBLE);}
    192 dtype                   {KEYWORD_RETURN(DTYPE);}
     199dtype                   {KEYWORD_RETURN(DTYPE);}        /* CFA */
    193200else                    {KEYWORD_RETURN(ELSE);}
    194201enum                    {KEYWORD_RETURN(ENUM);}
    195202__extension__           {KEYWORD_RETURN(EXTENSION);}    /* GCC */
    196203extern                  {KEYWORD_RETURN(EXTERN);}
    197 fallthru                {KEYWORD_RETURN(FALLTHRU);}
     204fallthru                {KEYWORD_RETURN(FALLTHRU);}     /* CFA */
    198205finally                 {KEYWORD_RETURN(FINALLY);}      /* CFA */
    199206float                   {KEYWORD_RETURN(FLOAT);}
    200207for                     {KEYWORD_RETURN(FOR);}
    201 forall                  {KEYWORD_RETURN(FORALL);}
     208forall                  {KEYWORD_RETURN(FORALL);}       /* CFA */
    202209fortran                 {KEYWORD_RETURN(FORTRAN);}
    203 ftype                   {KEYWORD_RETURN(FTYPE);}
     210ftype                   {KEYWORD_RETURN(FTYPE);}        /* CFA */
    204211goto                    {KEYWORD_RETURN(GOTO);}
    205212if                      {KEYWORD_RETURN(IF);}
     
    213220__label__               {KEYWORD_RETURN(LABEL);}        /* GCC */
    214221long                    {KEYWORD_RETURN(LONG);}
    215 lvalue                  {KEYWORD_RETURN(LVALUE);}
     222lvalue                  {KEYWORD_RETURN(LVALUE);}       /* CFA */
    216223register                {KEYWORD_RETURN(REGISTER);}
    217224restrict                {KEYWORD_RETURN(RESTRICT);}     /* ANSI99 */
     
    229236throw                   {KEYWORD_RETURN(THROW);}        /* CFA */
    230237try                     {KEYWORD_RETURN(TRY);}          /* CFA */
    231 type                    {KEYWORD_RETURN(TYPE);}
     238type                    {KEYWORD_RETURN(TYPE);}         /* CFA */
    232239typedef                 {KEYWORD_RETURN(TYPEDEF);}
    233240typeof                  {KEYWORD_RETURN(TYPEOF);}       /* GCC */
     
    245252{identifier}            {IDENTIFIER_RETURN();}
    246253{attr_identifier}       {ATTRIBUTE_RETURN();}
     254"`"                     {BEGIN QUOTED;}
     255<QUOTED>{identifier}    {IDENTIFIER_RETURN();}
     256<QUOTED>"`"             {BEGIN 0;}
    247257
    248258        /* numeric constants */
     
    257267        /* character constant, allows empty value */
    258268"L"?[']([^'\\\n]|{escape_seq})*['] {RETURN_VAL(CHARACTERconstant);}
     269        /* ' stop highlighting */
    259270
    260271        /* string constant */
    261272"L"?["]([^"\\\n]|{escape_seq})*["] {RETURN_VAL(STRINGliteral);}
     273        /* " stop highlighting */
    262274
    263275        /* punctuation */
     
    367379
    368380
    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  
    3838extern "C"{
    3939#include <unistd.h>
    40   extern int  getopt(int, char *const *, const char *);
    41   extern char *optarg;
    42   extern int opterr, optind, optopt;
     40extern int  getopt( int, char *const *, const char * );
     41extern char *optarg;
     42extern int opterr, optind, optopt;
    4343}
    4444
     
    4747bool beVerbose = false;
    4848
    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();
     49int 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        }
    113114    }
    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;
    126275    }
    127276
    128     if( optind < argc ) {
    129       output = new ofstream( argv[ optind ] );
     277    return 0;
     278}
     279
     280FILE *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;
    130288    }
    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
     296FILE *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;
    168304    }
    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;
    310310}
    311311
Note: See TracChangeset for help on using the changeset viewer.