Changeset 1739

Show
Ignore:
Timestamp:
05/12/05 13:05:05 (4 years ago)
Author:
augur
Message:

Added libtool support for building a Windows libswish-e DLL.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/swish-e/Makefile.in

    r1655 r1739  
    1 # Makefile.in generated by automake 1.7.9 from Makefile.am. 
     1# Makefile.in generated by automake 1.8.5 from Makefile.am. 
    22# @configure_input@ 
    33 
    4 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 
    5 # Free Software Foundation, Inc. 
     4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 
     5# 2003, 2004  Free Software Foundation, Inc. 
    66# This Makefile.in is free software; the Free Software Foundation 
    77# gives unlimited permission to copy and/or distribute it, 
     
    1414 
    1515@SET_MAKE@ 
     16 
    1617 
    1718srcdir = @srcdir@ 
     
    2223pkgincludedir = $(includedir)/@PACKAGE@ 
    2324top_builddir = . 
    24  
    2525am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 
    2626INSTALL = @INSTALL@ 
     
    3737POST_UNINSTALL = : 
    3838host_triplet = @host@ 
     39DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \ 
     40        $(srcdir)/Makefile.in $(srcdir)/swish-config.in \ 
     41        $(srcdir)/swish-e.pc.in $(top_srcdir)/configure \ 
     42        $(top_srcdir)/rpm/swish-e.spec.in COPYING TODO config/compile \ 
     43        config/config.guess config/config.sub config/depcomp \ 
     44        config/install-sh config/ltmain.sh config/missing \ 
     45        config/mkinstalldirs 
     46subdir = . 
     47ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 
     48am__aclocal_m4_deps = $(top_srcdir)/config/acinclude.m4 \ 
     49        $(top_srcdir)/configure.in 
     50am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 
     51        $(ACLOCAL_M4) 
     52am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ 
     53 configure.lineno configure.status.lineno 
     54mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs 
     55CONFIG_HEADER = $(top_builddir)/src/acconfig.h 
     56CONFIG_CLEAN_FILES = rpm/swish-e.spec swish-e.pc swish-config 
     57am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(docdir)" "$(DESTDIR)$(pkgconfigdir)" 
     58binSCRIPT_INSTALL = $(INSTALL_SCRIPT) 
     59SCRIPTS = $(bin_SCRIPTS) 
     60SOURCES = 
     61DIST_SOURCES = 
     62RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ 
     63        html-recursive info-recursive install-data-recursive \ 
     64        install-exec-recursive install-info-recursive \ 
     65        install-recursive installcheck-recursive installdirs-recursive \ 
     66        pdf-recursive ps-recursive uninstall-info-recursive \ 
     67        uninstall-recursive 
     68docDATA_INSTALL = $(INSTALL_DATA) 
     69pkgconfigDATA_INSTALL = $(INSTALL_DATA) 
     70DATA = $(doc_DATA) $(pkgconfig_DATA) 
     71ETAGS = etags 
     72CTAGS = ctags 
     73DIST_SUBDIRS = $(SUBDIRS) 
     74DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 
     75distdir = $(PACKAGE)-$(VERSION) 
     76top_distdir = $(distdir) 
     77am__remove_distdir = \ 
     78  { test ! -d $(distdir) \ 
     79    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ 
     80         && rm -fr $(distdir); }; } 
     81DIST_ARCHIVES = $(distdir).tar.gz 
     82GZIP_ENV = --best 
     83distuninstallcheck_listfiles = find . -type f -print 
     84distcleancheck_listfiles = find . -type f -print 
    3985ACLOCAL = @ACLOCAL@ 
    4086ALLOCA = @ALLOCA@ 
     
    4389AMTAR = @AMTAR@ 
    4490AR = @AR@ 
     91AS = @AS@ 
    4592AUTOCONF = @AUTOCONF@ 
    4693AUTOHEADER = @AUTOHEADER@ 
     
    62109DEFS = @DEFS@ 
    63110DEPDIR = @DEPDIR@ 
     111DLLTOOL = @DLLTOOL@ 
    64112ECHO = @ECHO@ 
    65113ECHO_C = @ECHO_C@ 
     
    88136MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ 
    89137MAKEINFO = @MAKEINFO@ 
     138OBJDUMP = @OBJDUMP@ 
    90139OBJEXT = @OBJEXT@ 
    91140PACKAGE = @PACKAGE@ 
     
    111160Z_LIBS = @Z_LIBS@ 
    112161ac_ct_AR = @ac_ct_AR@ 
     162ac_ct_AS = @ac_ct_AS@ 
    113163ac_ct_CC = @ac_ct_CC@ 
    114164ac_ct_CXX = @ac_ct_CXX@ 
     165ac_ct_DLLTOOL = @ac_ct_DLLTOOL@ 
    115166ac_ct_F77 = @ac_ct_F77@ 
     167ac_ct_OBJDUMP = @ac_ct_OBJDUMP@ 
    116168ac_ct_RANLIB = @ac_ct_RANLIB@ 
    117169ac_ct_STRIP = @ac_ct_STRIP@ 
     
    143195localstatedir = @localstatedir@ 
    144196mandir = @mandir@ 
     197mkdir_p = @mkdir_p@ 
    145198oldincludedir = @oldincludedir@ 
    146199prefix = @prefix@ 
     
    152205AUTOMAKE_OPTIONS = foreign 
    153206SUBDIRS = filters prog-bin conf filter-bin example html man src tests pod 
    154  
    155207@BUILDDOCS_TRUE@docdir = $(datadir)/doc/$(PACKAGE) 
    156  
    157208 
    158209# Install these three in the doc directory 
     
    162213@BUILDDOCS_TRUE@    $(srcdir)/README \ 
    163214@BUILDDOCS_TRUE@    README.cvs 
    164  
    165215 
    166216config_dir = \ 
     
    171221     config/missing \ 
    172222     config/mkinstalldirs 
    173  
    174223 
    175224perl_dir = \ 
     
    188237    perl/t/third.html 
    189238 
    190  
    191239vms_dir = \ 
    192240    src/vms/acconfig.h_vms \ 
     
    202250    src/vms/regexpr.h \ 
    203251    src/vms/swish.opt 
    204  
    205252 
    206253win32_dir = \ 
     
    222269    src/worddata.h 
    223270 
    224  
    225271rpm_dir = \ 
    226272    rpm/swish-e.spec.in \ 
    227273    rpm/swish-e.xpm 
    228  
    229274 
    230275debian_dir = \ 
     
    239284    debian/swish-e.substvars 
    240285 
    241  
    242286bin_SCRIPTS = swish-config 
    243287pkgconfigdir = $(libdir)/pkgconfig 
    244288pkgconfig_DATA = swish-e.pc 
    245  
    246289EXTRA_DIST = \ 
    247290    $(config_dir) $(perl_dir) \ 
     
    250293    $(debian_dir) 
    251294 
    252 subdir = . 
    253 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 
    254 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs 
    255 CONFIG_HEADER = $(top_builddir)/src/acconfig.h 
    256 CONFIG_CLEAN_FILES = rpm/swish-e.spec swish-e.pc swish-config 
    257 SCRIPTS = $(bin_SCRIPTS) 
    258  
    259 DIST_SOURCES = 
    260 DATA = $(doc_DATA) $(pkgconfig_DATA) 
    261  
    262  
    263 RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \ 
    264         ps-recursive install-info-recursive uninstall-info-recursive \ 
    265         all-recursive install-data-recursive install-exec-recursive \ 
    266         installdirs-recursive install-recursive uninstall-recursive \ 
    267         check-recursive installcheck-recursive 
    268 DIST_COMMON = README $(srcdir)/Makefile.in $(srcdir)/configure INSTALL \ 
    269         Makefile.am TODO aclocal.m4 config/acinclude.m4 config/compile \ 
    270         config/config.guess config/config.sub config/depcomp \ 
    271         config/install-sh config/ltmain.sh config/missing \ 
    272         config/mkinstalldirs configure configure.in swish-config.in \ 
    273         swish-e.pc.in 
    274 DIST_SUBDIRS = $(SUBDIRS) 
    275295all: all-recursive 
    276296 
    277297.SUFFIXES: 
    278  
    279 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ 
    280  configure.lineno 
    281 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am  $(top_srcdir)/configure.in $(ACLOCAL_M4) 
     298am--refresh: 
     299        @: 
     300$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps) 
     301        @for dep in $?; do \ 
     302          case '$(am__configure_deps)' in \ 
     303            *$$dep*) \ 
     304              echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \ 
     305              cd $(srcdir) && $(AUTOMAKE) --foreign  \ 
     306                && exit 0; \ 
     307              exit 1;; \ 
     308          esac; \ 
     309        done; \ 
     310        echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  Makefile'; \ 
    282311        cd $(top_srcdir) && \ 
    283312          $(AUTOMAKE) --foreign  Makefile 
    284 Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status 
    285         cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe) 
    286  
    287 $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 
     313.PRECIOUS: Makefile 
     314Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 
     315        @case '$?' in \ 
     316          *config.status*) \ 
     317            echo ' $(SHELL) ./config.status'; \ 
     318            $(SHELL) ./config.status;; \ 
     319          *) \ 
     320            echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ 
     321            cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ 
     322        esac; 
     323 
     324$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 
    288325        $(SHELL) ./config.status --recheck 
    289 $(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) 
     326 
     327$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 
    290328        cd $(srcdir) && $(AUTOCONF) 
    291  
    292 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in  
     329$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) 
    293330        cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) 
    294331rpm/swish-e.spec: $(top_builddir)/config.status $(top_srcdir)/rpm/swish-e.spec.in 
    295332        cd $(top_builddir) && $(SHELL) ./config.status $@ 
    296 swish-e.pc: $(top_builddir)/config.status swish-e.pc.in 
     333swish-e.pc: $(top_builddir)/config.status $(srcdir)/swish-e.pc.in 
    297334        cd $(top_builddir) && $(SHELL) ./config.status $@ 
    298 swish-config: $(top_builddir)/config.status swish-config.in 
     335swish-config: $(top_builddir)/config.status $(srcdir)/swish-config.in 
    299336        cd $(top_builddir) && $(SHELL) ./config.status $@ 
    300 binSCRIPT_INSTALL = $(INSTALL_SCRIPT) 
    301337install-binSCRIPTS: $(bin_SCRIPTS) 
    302338        @$(NORMAL_INSTALL) 
    303         $(mkinstalldirs) $(DESTDIR)$(bindir) 
     339        test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" 
    304340        @list='$(bin_SCRIPTS)'; for p in $$list; do \ 
    305341          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ 
    306342          if test -f $$d$$p; then \ 
    307343            f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ 
    308             echo " $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f"; \ 
    309             $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f; \ 
     344            echo " $(binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(bindir)/$$f'"; \ 
     345            $(binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \ 
    310346          else :; fi; \ 
    311347        done 
     
    315351        @list='$(bin_SCRIPTS)'; for p in $$list; do \ 
    316352          f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ 
    317           echo " rm -f $(DESTDIR)$(bindir)/$$f"; \ 
    318           rm -f $(DESTDIR)$(bindir)/$$f; \ 
     353          echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ 
     354          rm -f "$(DESTDIR)$(bindir)/$$f"; \ 
    319355        done 
    320356 
     
    328364        -rm -f libtool 
    329365uninstall-info-am: 
    330 docDATA_INSTALL = $(INSTALL_DATA) 
    331366install-docDATA: $(doc_DATA) 
    332367        @$(NORMAL_INSTALL) 
    333         $(mkinstalldirs) $(DESTDIR)$(docdir) 
     368        test -z "$(docdir)" || $(mkdir_p) "$(DESTDIR)$(docdir)" 
    334369        @list='$(doc_DATA)'; for p in $$list; do \ 
    335370          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ 
    336371          f="`echo $$p | sed -e 's|^.*/||'`"; \ 
    337           echo " $(docDATA_INSTALL) $$d$$p $(DESTDIR)$(docdir)/$$f"; \ 
    338           $(docDATA_INSTALL) $$d$$p $(DESTDIR)$(docdir)/$$f; \ 
     372          echo " $(docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \ 
     373          $(docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \ 
    339374        done 
    340375 
     
    343378        @list='$(doc_DATA)'; for p in $$list; do \ 
    344379          f="`echo $$p | sed -e 's|^.*/||'`"; \ 
    345           echo " rm -f $(DESTDIR)$(docdir)/$$f"; \ 
    346           rm -f $(DESTDIR)$(docdir)/$$f; \ 
    347         done 
    348 pkgconfigDATA_INSTALL = $(INSTALL_DATA) 
     380          echo " rm -f '$(DESTDIR)$(docdir)/$$f'"; \ 
     381          rm -f "$(DESTDIR)$(docdir)/$$f"; \ 
     382        done 
    349383install-pkgconfigDATA: $(pkgconfig_DATA) 
    350384        @$(NORMAL_INSTALL) 
    351         $(mkinstalldirs) $(DESTDIR)$(pkgconfigdir) 
     385        test -z "$(pkgconfigdir)" || $(mkdir_p) "$(DESTDIR)$(pkgconfigdir)" 
    352386        @list='$(pkgconfig_DATA)'; for p in $$list; do \ 
    353387          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ 
    354388          f="`echo $$p | sed -e 's|^.*/||'`"; \ 
    355           echo " $(pkgconfigDATA_INSTALL) $$d$$p $(DESTDIR)$(pkgconfigdir)/$$f"; \ 
    356           $(pkgconfigDATA_INSTALL) $$d$$p $(DESTDIR)$(pkgconfigdir)/$$f; \ 
     389          echo " $(pkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfigdir)/$$f'"; \ 
     390          $(pkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfigdir)/$$f"; \ 
    357391        done 
    358392 
     
    361395        @list='$(pkgconfig_DATA)'; for p in $$list; do \ 
    362396          f="`echo $$p | sed -e 's|^.*/||'`"; \ 
    363           echo " rm -f $(DESTDIR)$(pkgconfigdir)/$$f"; \ 
    364           rm -f $(DESTDIR)$(pkgconfigdir)/$$f; \ 
     397          echo " rm -f '$(DESTDIR)$(pkgconfigdir)/$$f'"; \ 
     398          rm -f "$(DESTDIR)$(pkgconfigdir)/$$f"; \ 
    365399        done 
    366400 
     
    424458        done 
    425459 
    426 ETAGS = etags 
    427 ETAGSFLAGS = 
    428  
    429 CTAGS = ctags 
    430 CTAGSFLAGS = 
    431  
    432 tags: TAGS 
    433  
    434460ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) 
    435461        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 
     
    440466               END { for (i in files) print i; }'`; \ 
    441467        mkid -fID $$unique 
     468tags: TAGS 
    442469 
    443470TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \ 
     
    445472        tags=; \ 
    446473        here=`pwd`; \ 
    447         if (etags --etags-include --version) >/dev/null 2>&1; then \ 
     474        if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ 
    448475          include_option=--etags-include; \ 
     476          empty_fix=.; \ 
    449477        else \ 
    450478          include_option=--include; \ 
     479          empty_fix=; \ 
    451480        fi; \ 
    452481        list='$(SUBDIRS)'; for subdir in $$list; do \ 
    453482          if test "$$subdir" = .; then :; else \ 
    454             test -f $$subdir/TAGS &&
     483            test ! -f $$subdir/TAGS ||
    455484              tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ 
    456485          fi; \ 
     
    462491          $(AWK) '    { files[$$0] = 1; } \ 
    463492               END { for (i in files) print i; }'`; \ 
    464         test -z "$(ETAGS_ARGS)$$tags$$unique" \ 
    465           || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 
    466              $$tags $$unique 
    467  
     493        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ 
     494          test -n "$$unique" || unique=$$empty_fix; \ 
     495          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 
     496            $$tags $$unique; \ 
     497        fi 
    468498ctags: CTAGS 
    469499CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \ 
     
    488518distclean-tags: 
    489519        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 
    490 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 
    491  
    492 top_distdir = . 
    493 distdir = $(PACKAGE)-$(VERSION) 
    494  
    495 am__remove_distdir = \ 
    496   { test ! -d $(distdir) \ 
    497     || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ 
    498          && rm -fr $(distdir); }; } 
    499  
    500 GZIP_ENV = --best 
    501 distuninstallcheck_listfiles = find . -type f -print 
    502 distcleancheck_listfiles = find . -type f -print 
    503520 
    504521distdir: $(DISTFILES) 
    505522        $(am__remove_distdir) 
    506523        mkdir $(distdir) 
    507         $(mkinstalldirs) $(distdir)/. $(distdir)/config $(distdir)/debian $(distdir)/perl $(distdir)/perl/t $(distdir)/rpm $(distdir)/src $(distdir)/src/vms $(distdir)/src/win32 
     524        $(mkdir_p) $(distdir)/$(srcdir) $(distdir)/. $(distdir)/config $(distdir)/debian $(distdir)/perl $(distdir)/perl/t $(distdir)/rpm $(distdir)/src $(distdir)/src/vms $(distdir)/src/win32 
    508525        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ 
    509526        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ 
     
    517534          if test "$$dir" != "$$file" && test "$$dir" != "."; then \ 
    518535            dir="/$$dir"; \ 
    519             $(mkinstalldirs) "$(distdir)$$dir"; \ 
     536            $(mkdir_p) "$(distdir)$$dir"; \ 
    520537          else \ 
    521538            dir=''; \ 
     
    534551        list='$(SUBDIRS)'; for subdir in $$list; do \ 
    535552          if test "$$subdir" = .; then :; else \ 
    536             test -d $(distdir)/$$subdir
    537             || mkdir $(distdir)/$$subdir
     553            test -d "$(distdir)/$$subdir"
     554            || mkdir "$(distdir)/$$subdir"
    538555            || exit 1; \ 
    539556            (cd $$subdir && \ 
    540557              $(MAKE) $(AM_MAKEFLAGS) \ 
    541                 top_distdir="$(top_distdir)" \ 
    542                 distdir=../$(distdir)/$$subdir
     558                top_distdir="../$(top_distdir)" \ 
     559                distdir="../$(distdir)/$$subdir"
    543560                distdir) \ 
    544561              || exit 1; \ 
     
    554571        $(am__remove_distdir) 
    555572 
     573dist-bzip2: distdir 
     574        $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2 
     575        $(am__remove_distdir) 
     576 
     577dist-tarZ: distdir 
     578        $(AMTAR) chof - $(distdir) | compress -c >$(distdir).tar.Z 
     579        $(am__remove_distdir) 
     580 
     581dist-shar: distdir 
     582        shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz 
     583        $(am__remove_distdir) 
     584 
     585dist-zip: distdir 
     586        -rm -f $(distdir).zip 
     587        zip -rq $(distdir).zip $(distdir) 
     588        $(am__remove_distdir) 
     589 
    556590dist dist-all: distdir 
    557591        $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz 
     
    562596# tarfile. 
    563597distcheck: dist 
    564         $(am__remove_distdir) 
    565         GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - 
     598        case '$(DIST_ARCHIVES)' in \ 
     599        *.tar.gz*) \ 
     600          GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - ;;\ 
     601        *.tar.bz2*) \ 
     602          bunzip2 -c $(distdir).tar.bz2 | $(AMTAR) xf - ;;\ 
     603        *.tar.Z*) \ 
     604          uncompress -c $(distdir).tar.Z | $(AMTAR) xf - ;;\ 
     605        *.shar.gz*) \ 
     606          GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ 
     607        *.zip*) \ 
     608          unzip $(distdir).zip ;;\ 
     609        esac 
    566610        chmod -R a-w $(distdir); chmod a+w $(distdir) 
    567611        mkdir $(distdir)/_build 
     
    583627          && chmod -R a-w "$$dc_install_base" \ 
    584628          && ({ \ 
    585                (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \ 
     629               (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ 
    586630               && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ 
    587631               && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ 
     
    590634              } || { rm -rf "$$dc_destdir"; exit 1; }) \ 
    591635          && rm -rf "$$dc_destdir" \ 
    592           && $(MAKE) $(AM_MAKEFLAGS) dist-gzip
    593           && rm -f $(distdir).tar.gz
     636          && $(MAKE) $(AM_MAKEFLAGS) dist
     637          && rm -rf $(DIST_ARCHIVES)
    594638          && $(MAKE) $(AM_MAKEFLAGS) distcleancheck 
    595639        $(am__remove_distdir) 
    596         @echo "$(distdir).tar.gz is ready for distribution" | \ 
    597           sed 'h;s/./=/g;p;x;p;x' 
     640        @(echo "$(distdir) archives ready for distribution: "; \ 
     641          list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ 
     642          sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}' 
    598643distuninstallcheck: 
    599644        @cd $(distuninstallcheck_dir) \ 
     
    619664installdirs: installdirs-recursive 
    620665installdirs-am: 
    621         $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(docdir) $(DESTDIR)$(pkgconfigdir) 
    622  
     666        for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(docdir)" "$(DESTDIR)$(pkgconfigdir)"; do \ 
     667          test -z "$$dir" || $(mkdir_p) "$$dir"; \ 
     668        done 
    623669install: install-recursive 
    624670install-exec: install-exec-recursive 
     
    659705dvi-am: 
    660706 
     707html: html-recursive 
     708 
    661709info: info-recursive 
    662710 
     
    696744uninstall-info: uninstall-info-recursive 
    697745 
    698 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \ 
    699         clean-generic clean-libtool clean-recursive ctags \ 
    700         ctags-recursive dist dist-all dist-gzip distcheck distclean \ 
     746.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \ 
     747        check-am clean clean-generic clean-libtool clean-recursive \ 
     748        ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ 
     749        dist-shar dist-tarZ dist-zip distcheck distclean \ 
    701750        distclean-generic distclean-libtool distclean-recursive \ 
    702751        distclean-tags distcleancheck distdir distuninstallcheck dvi \ 
    703         dvi-am dvi-recursive info info-am info-recursive install \ 
    704         install-am install-binSCRIPTS install-data install-data-am \ 
    705         install-data-recursive install-docDATA install-exec \ 
    706         install-exec-am install-exec-recursive install-info \ 
    707         install-info-am install-info-recursive install-man \ 
    708         install-pkgconfigDATA install-recursive install-strip \ 
    709         installcheck installcheck-am installdirs installdirs-am \ 
    710         installdirs-recursive maintainer-clean maintainer-clean-generic \ 
     752        dvi-am html html-am info info-am install install-am \ 
     753        install-binSCRIPTS install-data install-data-am \ 
     754        install-docDATA install-exec install-exec-am install-info \ 
     755        install-info-am install-man install-pkgconfigDATA \ 
     756        install-strip installcheck installcheck-am installdirs \ 
     757        installdirs-am maintainer-clean maintainer-clean-generic \ 
    711758        maintainer-clean-recursive mostlyclean mostlyclean-generic \ 
    712         mostlyclean-libtool mostlyclean-recursive pdf pdf-am \ 
    713         pdf-recursive ps ps-am ps-recursive tags tags-recursive \ 
    714         uninstall uninstall-am uninstall-binSCRIPTS uninstall-docDATA \ 
    715         uninstall-info-am uninstall-info-recursive \ 
    716         uninstall-pkgconfigDATA uninstall-recursive 
     759        mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \ 
     760        tags tags-recursive uninstall uninstall-am \ 
     761        uninstall-binSCRIPTS uninstall-docDATA uninstall-info-am \ 
     762        uninstall-pkgconfigDATA 
    717763 
    718764 
  • trunk/swish-e/aclocal.m4

    r1551 r1739  
    1 # generated automatically by aclocal 1.7.9 -*- Autoconf -*- 
    2  
    3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 
     1# generated automatically by aclocal 1.8.5 -*- Autoconf -*- 
     2 
     3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 
    44# Free Software Foundation, Inc. 
    55# This file is free software; the Free Software Foundation 
     
    1111# even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
    1212# PARTICULAR PURPOSE. 
    13  
    14 # AM_CONDITIONAL                                              -*- Autoconf -*- 
    15  
    16 # Copyright 1997, 2000, 2001 Free Software Foundation, Inc. 
    17  
    18 # This program is free software; you can redistribute it and/or modify 
    19 # it under the terms of the GNU General Public License as published by 
    20 # the Free Software Foundation; either version 2, or (at your option) 
    21 # any later version. 
    22  
    23 # This program is distributed in the hope that it will be useful, 
    24 # but WITHOUT ANY WARRANTY; without even the implied warranty of 
    25 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    26 # GNU General Public License for more details. 
    27  
    28 # You should have received a copy of the GNU General Public License 
    29 # along with this program; if not, write to the Free Software 
    30 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 
    31 # 02111-1307, USA. 
    32  
    33 # serial 5 
    34  
    35 AC_PREREQ(2.52) 
    36  
    37 # AM_CONDITIONAL(NAME, SHELL-CONDITION) 
    38 # ------------------------------------- 
    39 # Define a conditional. 
    40 AC_DEFUN([AM_CONDITIONAL], 
    41 [ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])], 
    42         [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl 
    43 AC_SUBST([$1_TRUE]) 
    44 AC_SUBST([$1_FALSE]) 
    45 if $2; then 
    46   $1_TRUE= 
    47   $1_FALSE='#' 
    48 else 
    49   $1_TRUE='#' 
    50   $1_FALSE= 
    51 fi 
    52 AC_CONFIG_COMMANDS_PRE( 
    53 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then 
    54   AC_MSG_ERROR([conditional "$1" was never defined. 
    55 Usually this means the macro was only invoked conditionally.]) 
    56 fi])]) 
    57  
    58 # Do all the work for Automake.                            -*- Autoconf -*- 
    59  
    60 # This macro actually does too much some checks are only needed if 
    61 # your package does certain things.  But this isn't really a big deal. 
    62  
    63 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 
    64 # Free Software Foundation, Inc. 
    65  
    66 # This program is free software; you can redistribute it and/or modify 
    67 # it under the terms of the GNU General Public License as published by 
    68 # the Free Software Foundation; either version 2, or (at your option) 
    69 # any later version. 
    70  
    71 # This program is distributed in the hope that it will be useful, 
    72 # but WITHOUT ANY WARRANTY; without even the implied warranty of 
    73 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    74 # GNU General Public License for more details. 
    75  
    76 # You should have received a copy of the GNU General Public License 
    77 # along with this program; if not, write to the Free Software 
    78 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 
    79 # 02111-1307, USA. 
    80  
    81 # serial 10 
    82  
    83 AC_PREREQ([2.54]) 
    84  
    85 # Autoconf 2.50 wants to disallow AM_ names.  We explicitly allow 
    86 # the ones we care about. 
    87 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl 
    88  
    89 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) 
    90 # AM_INIT_AUTOMAKE([OPTIONS]) 
    91 # ----------------------------------------------- 
    92 # The call with PACKAGE and VERSION arguments is the old style 
    93 # call (pre autoconf-2.50), which is being phased out.  PACKAGE 
    94 # and VERSION should now be passed to AC_INIT and removed from 
    95 # the call to AM_INIT_AUTOMAKE. 
    96 # We support both call styles for the transition.  After 
    97 # the next Automake release, Autoconf can make the AC_INIT 
    98 # arguments mandatory, and then we can depend on a new Autoconf 
    99 # release and drop the old call support. 
    100 AC_DEFUN([AM_INIT_AUTOMAKE], 
    101 [AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl 
    102  AC_REQUIRE([AC_PROG_INSTALL])dnl 
    103 # test to see if srcdir already configured 
    104 if test "`cd $srcdir && pwd`" != "`pwd`" && 
    105    test -f $srcdir/config.status; then 
    106   AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) 
    107 fi 
    108  
    109 # test whether we have cygpath 
    110 if test -z "$CYGPATH_W"; then 
    111   if (cygpath --version) >/dev/null 2>/dev/null; then 
    112     CYGPATH_W='cygpath -w' 
    113   else 
    114     CYGPATH_W=echo 
    115   fi 
    116 fi 
    117 AC_SUBST([CYGPATH_W]) 
    118  
    119 # Define the identity of the package. 
    120 dnl Distinguish between old-style and new-style calls. 
    121 m4_ifval([$2], 
    122 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl 
    123  AC_SUBST([PACKAGE], [$1])dnl 
    124  AC_SUBST([VERSION], [$2])], 
    125 [_AM_SET_OPTIONS([$1])dnl 
    126  AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl 
    127  AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl 
    128  
    129 _AM_IF_OPTION([no-define],, 
    130 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) 
    131  AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl 
    132  
    133 # Some tools Automake needs. 
    134 AC_REQUIRE([AM_SANITY_CHECK])dnl 
    135 AC_REQUIRE([AC_ARG_PROGRAM])dnl 
    136 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) 
    137 AM_MISSING_PROG(AUTOCONF, autoconf) 
    138 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) 
    139 AM_MISSING_PROG(AUTOHEADER, autoheader) 
    140 AM_MISSING_PROG(MAKEINFO, makeinfo) 
    141 AM_MISSING_PROG(AMTAR, tar) 
    142 AM_PROG_INSTALL_SH 
    143 AM_PROG_INSTALL_STRIP 
    144 # We need awk for the "check" target.  The system "awk" is bad on 
    145 # some platforms. 
    146 AC_REQUIRE([AC_PROG_AWK])dnl 
    147 AC_REQUIRE([AC_PROG_MAKE_SET])dnl 
    148 AC_REQUIRE([AM_SET_LEADING_DOT])dnl 
    149  
    150 _AM_IF_OPTION([no-dependencies],, 
    151 [AC_PROVIDE_IFELSE([AC_PROG_CC], 
    152                   [_AM_DEPENDENCIES(CC)], 
    153                   [define([AC_PROG_CC], 
    154                           defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl 
    155 AC_PROVIDE_IFELSE([AC_PROG_CXX], 
    156                   [_AM_DEPENDENCIES(CXX)], 
    157                   [define([AC_PROG_CXX], 
    158                           defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl 
    159 ]) 
    160 ]) 
    161  
    162  
    163 # When config.status generates a header, we must update the stamp-h file. 
    164 # This file resides in the same directory as the config header 
    165 # that is generated.  The stamp files are numbered to have different names. 
    166  
    167 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the 
    168 # loop where config.status creates the headers, so we can generate 
    169 # our stamp files there. 
    170 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], 
    171 [# Compute $1's index in $config_headers. 
    172 _am_stamp_count=1 
    173 for _am_header in $config_headers :; do 
    174   case $_am_header in 
    175     $1 | $1:* ) 
    176       break ;; 
    177     * ) 
    178       _am_stamp_count=`expr $_am_stamp_count + 1` ;; 
    179   esac 
    180 done 
    181 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) 
    182  
    183 # Copyright 2002  Free Software Foundation, Inc. 
    184  
    185 # This program is free software; you can redistribute it and/or modify 
    186 # it under the terms of the GNU General Public License as published by 
    187 # the Free Software Foundation; either version 2, or (at your option) 
    188 # any later version. 
    189  
    190 # This program is distributed in the hope that it will be useful, 
    191 # but WITHOUT ANY WARRANTY; without even the implied warranty of 
    192 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    193 # GNU General Public License for more details. 
    194  
    195 # You should have received a copy of the GNU General Public License 
    196 # along with this program; if not, write to the Free Software 
    197 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 
    198  
    199 # AM_AUTOMAKE_VERSION(VERSION) 
    200 # ---------------------------- 
    201 # Automake X.Y traces this macro to ensure aclocal.m4 has been 
    202 # generated from the m4 files accompanying Automake X.Y. 
    203 AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"]) 
    204  
    205 # AM_SET_CURRENT_AUTOMAKE_VERSION 
    206 # ------------------------------- 
    207 # Call AM_AUTOMAKE_VERSION so it can be traced. 
    208 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. 
    209 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], 
    210          [AM_AUTOMAKE_VERSION([1.7.9])]) 
    211  
    212 # Helper functions for option handling.                    -*- Autoconf -*- 
    213  
    214 # Copyright 2001, 2002  Free Software Foundation, Inc. 
    215  
    216 # This program is free software; you can redistribute it and/or modify 
    217 # it under the terms of the GNU General Public License as published by 
    218 # the Free Software Foundation; either version 2, or (at your option) 
    219 # any later version. 
    220  
    221 # This program is distributed in the hope that it will be useful, 
    222 # but WITHOUT ANY WARRANTY; without even the implied warranty of 
    223 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    224 # GNU General Public License for more details. 
    225  
    226 # You should have received a copy of the GNU General Public License 
    227 # along with this program; if not, write to the Free Software 
    228 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 
    229 # 02111-1307, USA. 
    230  
    231 # serial 2 
    232  
    233 # _AM_MANGLE_OPTION(NAME) 
    234 # ----------------------- 
    235 AC_DEFUN([_AM_MANGLE_OPTION], 
    236 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) 
    237  
    238 # _AM_SET_OPTION(NAME) 
    239 # ------------------------------ 
    240 # Set option NAME.  Presently that only means defining a flag for this option. 
    241 AC_DEFUN([_AM_SET_OPTION], 
    242 [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) 
    243  
    244 # _AM_SET_OPTIONS(OPTIONS) 
    245 # ---------------------------------- 
    246 # OPTIONS is a space-separated list of Automake options. 
    247 AC_DEFUN([_AM_SET_OPTIONS], 
    248 [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) 
    249  
    250 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) 
    251 # ------------------------------------------- 
    252 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. 
    253 AC_DEFUN([_AM_IF_OPTION], 
    254 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) 
    255  
    256 # 
    257 # Check to make sure that the build environment is sane. 
    258 # 
    259  
    260 # Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc. 
    261  
    262 # This program is free software; you can redistribute it and/or modify 
    263 # it under the terms of the GNU General Public License as published by 
    264 # the Free Software Foundation; either version 2, or (at your option) 
    265 # any later version. 
    266  
    267 # This program is distributed in the hope that it will be useful, 
    268 # but WITHOUT ANY WARRANTY; without even the implied warranty of 
    269 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    270 # GNU General Public License for more details. 
    271  
    272 # You should have received a copy of the GNU General Public License 
    273 # along with this program; if not, write to the Free Software 
    274 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 
    275 # 02111-1307, USA. 
    276  
    277 # serial 3 
    278  
    279 # AM_SANITY_CHECK 
    280 # --------------- 
    281 AC_DEFUN([AM_SANITY_CHECK], 
    282 [AC_MSG_CHECKING([whether build environment is sane]) 
    283 # Just in case 
    284 sleep 1 
    285 echo timestamp > conftest.file 
    286 # Do `set' in a subshell so we don't clobber the current shell's 
    287 # arguments.  Must try -L first in case configure is actually a 
    288 # symlink; some systems play weird games with the mod time of symlinks 
    289 # (eg FreeBSD returns the mod time of the symlink's containing 
    290 # directory). 
    291 if ( 
    292    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 
    293    if test "$[*]" = "X"; then 
    294       # -L didn't work. 
    295       set X `ls -t $srcdir/configure conftest.file` 
    296    fi 
    297    rm -f conftest.file 
    298    if test "$[*]" != "X $srcdir/configure conftest.file" \ 
    299       && test "$[*]" != "X conftest.file $srcdir/configure"; then 
    300  
    301       # If neither matched, then we have a broken ls.  This can happen 
    302       # if, for instance, CONFIG_SHELL is bash and it inherits a 
    303       # broken ls alias from the environment.  This has actually 
    304       # happened.  Such a system could not be considered "sane". 
    305       AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken 
    306 alias in your environment]) 
    307    fi 
    308  
    309    test "$[2]" = conftest.file 
    310    ) 
    311 then 
    312    # Ok. 
    313    : 
    314 else 
    315    AC_MSG_ERROR([newly created file is older than distributed files! 
    316 Check your system clock]) 
    317 fi 
    318 AC_MSG_RESULT(yes)]) 
    319  
    320 #  -*- Autoconf -*- 
    321  
    322  
    323 # Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc. 
    324  
    325 # This program is free software; you can redistribute it and/or modify 
    326 # it under the terms of the GNU General Public License as published by 
    327 # the Free Software Foundation; either version 2, or (at your option) 
    328 # any later version. 
    329  
    330 # This program is distributed in the hope that it will be useful, 
    331 # but WITHOUT ANY WARRANTY; without even the implied warranty of 
    332 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    333 # GNU General Public License for more details. 
    334  
    335 # You should have received a copy of the GNU General Public License 
    336 # along with this program; if not, write to the Free Software 
    337 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 
    338 # 02111-1307, USA. 
    339  
    340 # serial 3 
    341  
    342 # AM_MISSING_PROG(NAME, PROGRAM) 
    343 # ------------------------------ 
    344 AC_DEFUN([AM_MISSING_PROG], 
    345 [AC_REQUIRE([AM_MISSING_HAS_RUN]) 
    346 $1=${$1-"${am_missing_run}$2"} 
    347 AC_SUBST($1)]) 
    348  
    349  
    350 # AM_MISSING_HAS_RUN 
    351 # ------------------ 
    352 # Define MISSING if not defined so far and test if it supports --run. 
    353 # If it does, set am_missing_run to use it, otherwise, to nothing. 
    354 AC_DEFUN([AM_MISSING_HAS_RUN], 
    355 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 
    356 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 
    357 # Use eval to expand $SHELL 
    358 if eval "$MISSING --run true"; then 
    359   am_missing_run="$MISSING --run " 
    360 else 
    361   am_missing_run= 
    362   AC_MSG_WARN([`missing' script is too old or missing]) 
    363 fi 
    364 ]) 
    365  
    366 # AM_AUX_DIR_EXPAND 
    367  
    368 # Copyright 2001 Free Software Foundation, Inc. 
    369  
    370 # This program is free software; you can redistribute it and/or modify 
    371 # it under the terms of the GNU General Public License as published by 
    372 # the Free Software Foundation; either version 2, or (at your option) 
    373 # any later version. 
    374  
    375 # This program is distributed in the hope that it will be useful, 
    376 # but WITHOUT ANY WARRANTY; without even the implied warranty of 
    377 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    378 # GNU General Public License for more details. 
    379  
    380 # You should have received a copy of the GNU General Public License 
    381 # along with this program; if not, write to the Free Software 
    382 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 
    383 # 02111-1307, USA. 
    384  
    385 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets 
    386 # $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to 
    387 # `$srcdir', `$srcdir/..', or `$srcdir/../..'. 
    388 # 
    389 # Of course, Automake must honor this variable whenever it calls a 
    390 # tool from the auxiliary directory.  The problem is that $srcdir (and 
    391 # therefore $ac_aux_dir as well) can be either absolute or relative, 
    392 # depending on how configure is run.  This is pretty annoying, since 
    393 # it makes $ac_aux_dir quite unusable in subdirectories: in the top 
    394 # source directory, any form will work fine, but in subdirectories a 
    395 # relative path needs to be adjusted first. 
    396 # 
    397 # $ac_aux_dir/missing 
    398 #    fails when called from a subdirectory if $ac_aux_dir is relative 
    399 # $top_srcdir/$ac_aux_dir/missing 
    400 #    fails if $ac_aux_dir is absolute, 
    401 #    fails when called from a subdirectory in a VPATH build with 
    402 #          a relative $ac_aux_dir 
    403 # 
    404 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir 
    405 # are both prefixed by $srcdir.  In an in-source build this is usually 
    406 # harmless because $srcdir is `.', but things will broke when you 
    407 # start a VPATH build or use an absolute $srcdir. 
    408 # 
    409 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, 
    410 # iff we strip the leading $srcdir from $ac_aux_dir.  That would be: 
    411 #   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` 
    412 # and then we would define $MISSING as 
    413 #   MISSING="\${SHELL} $am_aux_dir/missing" 
    414 # This will work as long as MISSING is not called from configure, because 
    415 # unfortunately $(top_srcdir) has no meaning in configure. 
    416 # However there are other variables, like CC, which are often used in 
    417 # configure, and could therefore not use this "fixed" $ac_aux_dir. 
    418 # 
    419 # Another solution, used here, is to always expand $ac_aux_dir to an 
    420 # absolute PATH.  The drawback is that using absolute paths prevent a 
    421 # configured tree to be moved without reconfiguration. 
    422  
    423 # Rely on autoconf to set up CDPATH properly. 
    424 AC_PREREQ([2.50]) 
    425  
    426 AC_DEFUN([AM_AUX_DIR_EXPAND], [ 
    427 # expand $ac_aux_dir to an absolute path 
    428 am_aux_dir=`cd $ac_aux_dir && pwd` 
    429 ]) 
    430  
    431 # AM_PROG_INSTALL_SH 
    432 # ------------------ 
    433 # Define $install_sh. 
    434  
    435 # Copyright 2001 Free Software Foundation, Inc. 
    436  
    437 # This program is free software; you can redistribute it and/or modify 
    438 # it under the terms of the GNU General Public License as published by 
    439 # the Free Software Foundation; either version 2, or (at your option) 
    440 # any later version. 
    441  
    442 # This program is distributed in the hope that it will be useful, 
    443 # but WITHOUT ANY WARRANTY; without even the implied warranty of 
    444 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    445 # GNU General Public License for more details. 
    446  
    447 # You should have received a copy of the GNU General Public License 
    448 # along with this program; if not, write to the Free Software 
    449 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 
    450 # 02111-1307, USA. 
    451  
    452 AC_DEFUN([AM_PROG_INSTALL_SH], 
    453 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 
    454 install_sh=${install_sh-"$am_aux_dir/install-sh"} 
    455 AC_SUBST(install_sh)]) 
    456  
    457 # AM_PROG_INSTALL_STRIP 
    458  
    459 # Copyright 2001 Free Software Foundation, Inc.