 |
Changeset 3153
- Timestamp:
- 02/06/08 17:25:37
(10 months ago)
- Author:
- Gregor
- Message:
lib/compiler/gdc/*, lib/install-gdc.sh: Made some changes to allow installing when Phobos isn't already installed.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r2502 |
r3153 |
|
| 1 | | # Makefile.in generated by automake 1.9.6 from Makefile.am. |
|---|
| | 1 | # Makefile.in generated by automake 1.10 from Makefile.am. |
|---|
| 2 | 2 | # @configure_input@ |
|---|
| 3 | 3 | |
|---|
| 4 | 4 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
|---|
| 5 | | # 2003, 2004, 2005 Free Software Foundation, Inc. |
|---|
| | 5 | # 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
|---|
| 6 | 6 | # This Makefile.in is free software; the Free Software Foundation |
|---|
| 7 | 7 | # gives unlimited permission to copy and/or distribute it, |
|---|
| … | … | |
| 34 | 34 | # AUTOMAKE_OPTIONS = 1.9.6 foreign no-dependencies |
|---|
| 35 | 35 | |
|---|
| 36 | | top_srcdir = @top_srcdir@ |
|---|
| 37 | 36 | VPATH = @srcdir@ |
|---|
| 38 | 37 | pkgdatadir = $(datadir)/@PACKAGE@ |
|---|
| 39 | 38 | pkglibdir = $(libdir)/@PACKAGE@ |
|---|
| 40 | 39 | pkgincludedir = $(includedir)/@PACKAGE@ |
|---|
| 41 | | top_builddir = . |
|---|
| 42 | 40 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
|---|
| 43 | | INSTALL = @INSTALL@ |
|---|
| 44 | 41 | install_sh_DATA = $(install_sh) -c -m 644 |
|---|
| 45 | 42 | install_sh_PROGRAM = $(install_sh) -c |
|---|
| … | … | |
| 57 | 54 | target_triplet = @target@ |
|---|
| 58 | 55 | noinst_PROGRAMS = minimal$(EXEEXT) |
|---|
| | 56 | subdir = . |
|---|
| 59 | 57 | DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \ |
|---|
| 60 | 58 | $(srcdir)/Makefile.in $(srcdir)/config.h.in \ |
|---|
| … | … | |
| 62 | 60 | $(top_srcdir)/configure config.guess config.sub install-sh \ |
|---|
| 63 | 61 | missing |
|---|
| 64 | | subdir = . |
|---|
| 65 | 62 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
|---|
| 66 | 63 | am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ |
|---|
| … | … | |
| 69 | 66 | $(ACLOCAL_M4) |
|---|
| 70 | 67 | am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ |
|---|
| 71 | | configure.lineno configure.status.lineno |
|---|
| | 68 | configure.lineno config.status.lineno |
|---|
| 72 | 69 | mkinstalldirs = $(install_sh) -d |
|---|
| 73 | 70 | CONFIG_HEADER = config.h |
|---|
| … | … | |
| 77 | 74 | minimal_OBJECTS = $(am_minimal_OBJECTS) |
|---|
| 78 | 75 | minimal_LDADD = $(LDADD) |
|---|
| 79 | | DEFAULT_INCLUDES = -I. -I$(srcdir) -I. |
|---|
| | 76 | DEFAULT_INCLUDES = -I.@am__isrc@ |
|---|
| 80 | 77 | depcomp = |
|---|
| 81 | 78 | am__depfiles_maybe = |
|---|
| … | … | |
| 99 | 96 | distuninstallcheck_listfiles = find . -type f -print |
|---|
| 100 | 97 | distcleancheck_listfiles = find . -type f -print |
|---|
| 101 | | srcdir = @srcdir@ |
|---|
| 102 | 98 | ACLOCAL = @ACLOCAL@ |
|---|
| 103 | 99 | AMTAR = @AMTAR@ |
|---|
| … | … | |
| 143 | 139 | D_EXTRA_OBJS = @D_EXTRA_OBJS@ gcc/support.o |
|---|
| 144 | 140 | D_FRAGMENT_SRCDIR = @D_FRAGMENT_SRCDIR@ |
|---|
| 145 | | D_GENERATE_FRAGMENTS_FALSE = @D_GENERATE_FRAGMENTS_FALSE@ |
|---|
| 146 | | D_GENERATE_FRAGMENTS_TRUE = @D_GENERATE_FRAGMENTS_TRUE@ |
|---|
| 147 | 141 | D_MEM_FLAGS = @D_MEM_FLAGS@ |
|---|
| 148 | 142 | D_MEM_MODULES = @D_MEM_MODULES@ |
|---|
| … | … | |
| 155 | 149 | GDC = @GDC@ |
|---|
| 156 | 150 | GREP = @GREP@ |
|---|
| | 151 | INSTALL = @INSTALL@ |
|---|
| 157 | 152 | INSTALL_DATA = @INSTALL_DATA@ |
|---|
| 158 | 153 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
|---|
| … | … | |
| 164 | 159 | LTLIBOBJS = @LTLIBOBJS@ |
|---|
| 165 | 160 | MAKEINFO = @MAKEINFO@ |
|---|
| | 161 | MKDIR_P = @MKDIR_P@ |
|---|
| 166 | 162 | OBJEXT = @OBJEXT@ |
|---|
| 167 | 163 | PACKAGE = @PACKAGE@ |
|---|
| … | … | |
| 177 | 173 | STRIP = @STRIP@ |
|---|
| 178 | 174 | VERSION = @VERSION@ |
|---|
| | 175 | abs_builddir = @abs_builddir@ |
|---|
| | 176 | abs_srcdir = @abs_srcdir@ |
|---|
| | 177 | abs_top_builddir = @abs_top_builddir@ |
|---|
| | 178 | abs_top_srcdir = @abs_top_srcdir@ |
|---|
| 179 | 179 | ac_ct_CC = @ac_ct_CC@ |
|---|
| 180 | 180 | ac_ct_CXX = @ac_ct_CXX@ |
|---|
| … | … | |
| 188 | 188 | build_os = @build_os@ |
|---|
| 189 | 189 | build_vendor = @build_vendor@ |
|---|
| | 190 | builddir = @builddir@ |
|---|
| 190 | 191 | datadir = @datadir@ |
|---|
| 191 | 192 | datarootdir = @datarootdir@ |
|---|
| … | … | |
| 218 | 219 | sbindir = @sbindir@ |
|---|
| 219 | 220 | sharedstatedir = @sharedstatedir@ |
|---|
| | 221 | srcdir = @srcdir@ |
|---|
| 220 | 222 | sysconfdir = @sysconfdir@ |
|---|
| 221 | 223 | target = @target@ |
|---|
| … | … | |
| 224 | 226 | target_os = @target_os@ |
|---|
| 225 | 227 | target_vendor = @target_vendor@ |
|---|
| | 228 | top_builddir = @top_builddir@ |
|---|
| | 229 | top_srcdir = @top_srcdir@ |
|---|
| 226 | 230 | OUR_CFLAGS = @DEFS@ -I. |
|---|
| 227 | 231 | D_EXTRA_DFLAGS = -nostdinc -pipe -I../../.. -fversion=Posix |
|---|
| … | … | |
| 384 | 388 | @if test ! -f $@; then \ |
|---|
| 385 | 389 | rm -f stamp-h1; \ |
|---|
| 386 | | $(MAKE) stamp-h1; \ |
|---|
| | 390 | $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ |
|---|
| 387 | 391 | else :; fi |
|---|
| 388 | 392 | |
|---|
| … | … | |
| 406 | 410 | minimal$(EXEEXT): $(minimal_OBJECTS) $(minimal_DEPENDENCIES) |
|---|
| 407 | 411 | @rm -f minimal$(EXEEXT) |
|---|
| 408 | | $(LINK) $(minimal_LDFLAGS) $(minimal_OBJECTS) $(minimal_LDADD) $(LIBS) |
|---|
| | 412 | $(LINK) $(minimal_OBJECTS) $(minimal_LDADD) $(LIBS) |
|---|
| 409 | 413 | |
|---|
| 410 | 414 | mostlyclean-compile: |
|---|
| … | … | |
| 416 | 420 | .c.obj: |
|---|
| 417 | 421 | $(COMPILE) -c `$(CYGPATH_W) '$<'` |
|---|
| 418 | | uninstall-info-am: |
|---|
| 419 | 422 | |
|---|
| 420 | 423 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) |
|---|
| … | … | |
| 468 | 471 | distdir: $(DISTFILES) |
|---|
| 469 | 472 | $(am__remove_distdir) |
|---|
| 470 | | mkdir $(distdir) |
|---|
| 471 | | $(mkdir_p) $(distdir)/. |
|---|
| 472 | | @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ |
|---|
| 473 | | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ |
|---|
| 474 | | list='$(DISTFILES)'; for file in $$list; do \ |
|---|
| 475 | | case $$file in \ |
|---|
| 476 | | $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ |
|---|
| 477 | | $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ |
|---|
| 478 | | esac; \ |
|---|
| | 473 | test -d $(distdir) || mkdir $(distdir) |
|---|
| | 474 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
|---|
| | 475 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
|---|
| | 476 | list='$(DISTFILES)'; \ |
|---|
| | 477 | dist_files=`for file in $$list; do echo $$file; done | \ |
|---|
| | 478 | sed -e "s|^$$srcdirstrip/||;t" \ |
|---|
| | 479 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ |
|---|
| | 480 | case $$dist_files in \ |
|---|
| | 481 | */*) $(MKDIR_P) `echo "$$dist_files" | \ |
|---|
| | 482 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ |
|---|
| | 483 | sort -u` ;; \ |
|---|
| | 484 | esac; \ |
|---|
| | 485 | for file in $$dist_files; do \ |
|---|
| 479 | 486 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ |
|---|
| 480 | | dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ |
|---|
| 481 | | if test "$$dir" != "$$file" && test "$$dir" != "."; then \ |
|---|
| 482 | | dir="/$$dir"; \ |
|---|
| 483 | | $(mkdir_p) "$(distdir)$$dir"; \ |
|---|
| 484 | | else \ |
|---|
| 485 | | dir=''; \ |
|---|
| 486 | | fi; \ |
|---|
| 487 | 487 | if test -d $$d/$$file; then \ |
|---|
| | 488 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ |
|---|
| 488 | 489 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
|---|
| 489 | 490 | cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ |
|---|
| … | … | |
| 499 | 500 | ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ |
|---|
| 500 | 501 | ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ |
|---|
| 501 | | ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ |
|---|
| | 502 | ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ |
|---|
| 502 | 503 | || chmod -R a+r $(distdir) |
|---|
| 503 | 504 | dist-gzip: distdir |
|---|
| … | … | |
| 574 | 575 | @(echo "$(distdir) archives ready for distribution: "; \ |
|---|
| 575 | 576 | list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ |
|---|
| 576 | | sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}' |
|---|
| | 577 | sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' |
|---|
| 577 | 578 | distuninstallcheck: |
|---|
| 578 | 579 | @cd $(distuninstallcheck_dir) \ |
|---|
| … | … | |
| 648 | 649 | install-data-am: install-data-local |
|---|
| 649 | 650 | |
|---|
| | 651 | install-dvi: install-dvi-am |
|---|
| | 652 | |
|---|
| 650 | 653 | install-exec-am: install-exec-local |
|---|
| 651 | 654 | |
|---|
| | 655 | install-html: install-html-am |
|---|
| | 656 | |
|---|
| 652 | 657 | install-info: install-info-am |
|---|
| 653 | 658 | |
|---|
| 654 | 659 | install-man: |
|---|
| | 660 | |
|---|
| | 661 | install-pdf: install-pdf-am |
|---|
| | 662 | |
|---|
| | 663 | install-ps: install-ps-am |
|---|
| 655 | 664 | |
|---|
| 656 | 665 | installcheck-am: |
|---|
| … | … | |
| 674 | 683 | ps-am: |
|---|
| 675 | 684 | |
|---|
| 676 | | uninstall-am: uninstall-info-am |
|---|
| | 685 | uninstall-am: |
|---|
| | 686 | |
|---|
| | 687 | .MAKE: install-am install-strip |
|---|
| 677 | 688 | |
|---|
| 678 | 689 | .PHONY: CTAGS GTAGS all all-am all-local am--refresh check check-am \ |
|---|
| … | … | |
| 683 | 694 | distclean-tags distcleancheck distdir distuninstallcheck dvi \ |
|---|
| 684 | 695 | dvi-am html html-am info info-am install install-am \ |
|---|
| 685 | | install-data install-data-am install-data-local install-exec \ |
|---|
| 686 | | install-exec-am install-exec-local install-info \ |
|---|
| 687 | | install-info-am install-man install-strip installcheck \ |
|---|
| 688 | | installcheck-am installdirs maintainer-clean \ |
|---|
| 689 | | maintainer-clean-generic mostlyclean mostlyclean-compile \ |
|---|
| 690 | | mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ |
|---|
| 691 | | uninstall-am uninstall-info-am |
|---|
| | 696 | install-data install-data-am install-data-local install-dvi \ |
|---|
| | 697 | install-dvi-am install-exec install-exec-am install-exec-local \ |
|---|
| | 698 | install-html install-html-am install-info install-info-am \ |
|---|
| | 699 | install-man install-pdf install-pdf-am install-ps \ |
|---|
| | 700 | install-ps-am install-strip installcheck installcheck-am \ |
|---|
| | 701 | installdirs maintainer-clean maintainer-clean-generic \ |
|---|
| | 702 | mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \ |
|---|
| | 703 | ps ps-am tags uninstall uninstall-am |
|---|
| 692 | 704 | |
|---|
| 693 | 705 | minimal.c: |
|---|
| … | … | |
| 800 | 812 | rm -f gen_config1$(EXEEXT) gen_unix$(EXEEXT) gen_math$(EXEEXT) |
|---|
| 801 | 813 | rm -f frag-gen frag-math frag-unix |
|---|
| 802 | | rm -f $(config_d_src) $(configunix_d_src) |
|---|
| | 814 | rm -f $(config_d_src) |
|---|
| 803 | 815 | rm -f libgphobos.a |
|---|
| 804 | 816 | rm -f libgphobos_t.a |
|---|
| r2465 |
r3153 |
|
| 1 | | # generated automatically by aclocal 1.9.6 -*- Autoconf -*- |
|---|
| | 1 | # generated automatically by aclocal 1.10 -*- Autoconf -*- |
|---|
| 2 | 2 | |
|---|
| 3 | 3 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
|---|
| 4 | | # 2005 Free Software Foundation, Inc. |
|---|
| | 4 | # 2005, 2006 Free Software Foundation, Inc. |
|---|
| 5 | 5 | # This file is free software; the Free Software Foundation |
|---|
| 6 | 6 | # gives unlimited permission to copy and/or distribute it, |
|---|
| … | … | |
| 12 | 12 | # PARTICULAR PURPOSE. |
|---|
| 13 | 13 | |
|---|
| 14 | | # Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. |
|---|
| | 14 | m4_if(m4_PACKAGE_VERSION, [2.61],, |
|---|
| | 15 | [m4_fatal([this file was generated for autoconf 2.61. |
|---|
| | 16 | You have another version of autoconf. If you want to use that, |
|---|
| | 17 | you should regenerate the build system entirely.], [63])]) |
|---|
| | 18 | |
|---|
| | 19 | # Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc. |
|---|
| 15 | 20 | # |
|---|
| 16 | 21 | # This file is free software; the Free Software Foundation |
|---|
| … | … | |
| 22 | 27 | # Automake X.Y traces this macro to ensure aclocal.m4 has been |
|---|
| 23 | 28 | # generated from the m4 files accompanying Automake X.Y. |
|---|
| 24 | | AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) |
|---|
| | 29 | # (This private macro should not be called outside this file.) |
|---|
| | 30 | AC_DEFUN([AM_AUTOMAKE_VERSION], |
|---|
| | 31 | [am__api_version='1.10' |
|---|
| | 32 | dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
|---|
| | 33 | dnl require some minimum version. Point them to the right macro. |
|---|
| | 34 | m4_if([$1], [1.10], [], |
|---|
| | 35 | [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
|---|
| | 36 | ]) |
|---|
| | 37 | |
|---|
| | 38 | # _AM_AUTOCONF_VERSION(VERSION) |
|---|
| | 39 | # ----------------------------- |
|---|
| | 40 | # aclocal traces this macro to find the Autoconf version. |
|---|
| | 41 | # This is a private macro too. Using m4_define simplifies |
|---|
| | 42 | # the logic in aclocal, which can simply ignore this definition. |
|---|
| | 43 | m4_define([_AM_AUTOCONF_VERSION], []) |
|---|
| 25 | 44 | |
|---|
| 26 | 45 | # AM_SET_CURRENT_AUTOMAKE_VERSION |
|---|
| 27 | 46 | # ------------------------------- |
|---|
| 28 | | # Call AM_AUTOMAKE_VERSION so it can be traced. |
|---|
| | 47 | # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
|---|
| 29 | 48 | # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. |
|---|
| 30 | 49 | AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
|---|
| 31 | | [AM_AUTOMAKE_VERSION([1.9.6])]) |
|---|
| | 50 | [AM_AUTOMAKE_VERSION([1.10])dnl |
|---|
| | 51 | _AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)]) |
|---|
| 32 | 52 | |
|---|
| 33 | 53 | # AM_AUX_DIR_EXPAND -*- Autoconf -*- |
|---|
| … | … | |
| 86 | 106 | # AM_CONDITIONAL -*- Autoconf -*- |
|---|
| 87 | 107 | |
|---|
| 88 | | # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005 |
|---|
| | 108 | # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006 |
|---|
| 89 | 109 | # Free Software Foundation, Inc. |
|---|
| 90 | 110 | # |
|---|
| … | … | |
| 93 | 113 | # with or without modifications, as long as this notice is preserved. |
|---|
| 94 | 114 | |
|---|
| 95 | | # serial 7 |
|---|
| | 115 | # serial 8 |
|---|
| 96 | 116 | |
|---|
| 97 | 117 | # AM_CONDITIONAL(NAME, SHELL-CONDITION) |
|---|
| … | … | |
| 102 | 122 | ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], |
|---|
| 103 | 123 | [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl |
|---|
| 104 | | AC_SUBST([$1_TRUE]) |
|---|
| 105 | | AC_SUBST([$1_FALSE]) |
|---|
| | 124 | AC_SUBST([$1_TRUE])dnl |
|---|
| | 125 | AC_SUBST([$1_FALSE])dnl |
|---|
| | 126 | _AM_SUBST_NOTMAKE([$1_TRUE])dnl |
|---|
| | 127 | _AM_SUBST_NOTMAKE([$1_FALSE])dnl |
|---|
| 106 | 128 | if $2; then |
|---|
| 107 | 129 | $1_TRUE= |
|---|
| … | … | |
| 119 | 141 | # Do all the work for Automake. -*- Autoconf -*- |
|---|
| 120 | 142 | |
|---|
| 121 | | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 |
|---|
| 122 | | # Free Software Foundation, Inc. |
|---|
| | 143 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
|---|
| | 144 | # 2005, 2006 Free Software Foundation, Inc. |
|---|
| 123 | 145 | # |
|---|
| 124 | 146 | # This file is free software; the Free Software Foundation |
|---|
| … | … | |
| 143 | 165 | # release and drop the old call support. |
|---|
| 144 | 166 | AC_DEFUN([AM_INIT_AUTOMAKE], |
|---|
| 145 | | [AC_PREREQ([2.58])dnl |
|---|
| | 167 | [AC_PREREQ([2.60])dnl |
|---|
| 146 | 168 | dnl Autoconf wants to disallow AM_ names. We explicitly allow |
|---|
| 147 | 169 | dnl the ones we care about. |
|---|
| … | … | |
| 149 | 171 | AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl |
|---|
| 150 | 172 | AC_REQUIRE([AC_PROG_INSTALL])dnl |
|---|
| 151 | | # test to see if srcdir already configured |
|---|
| 152 | | if test "`cd $srcdir && pwd`" != "`pwd`" && |
|---|
| 153 | | test -f $srcdir/config.status; then |
|---|
| 154 | | AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) |
|---|
| | 173 | if test "`cd $srcdir && pwd`" != "`pwd`"; then |
|---|
| | 174 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
|---|
| | 175 | # is not polluted with repeated "-I." |
|---|
| | 176 | AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl |
|---|
| | 177 | # test to see if srcdir already configured |
|---|
| | 178 | if test -f $srcdir/config.status; then |
|---|
| | 179 | AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) |
|---|
| | 180 | fi |
|---|
| 155 | 181 | fi |
|---|
| 156 | 182 | |
|---|
| … | … | |
| 172 | 198 | AC_SUBST([VERSION], [$2])], |
|---|
| 173 | 199 | [_AM_SET_OPTIONS([$1])dnl |
|---|
| | 200 | dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. |
|---|
| | 201 | m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, |
|---|
| | 202 | [m4_fatal([AC_INIT should be called with package and version arguments])])dnl |
|---|
| 174 | 203 | AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl |
|---|
| 175 | 204 | AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl |
|---|
| … | … | |
| 207 | 236 | [define([AC_PROG_CXX], |
|---|
| 208 | 237 | defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl |
|---|
| | 238 | AC_PROVIDE_IFELSE([AC_PROG_OBJC], |
|---|
| | 239 | [_AM_DEPENDENCIES(OBJC)], |
|---|
| | 240 | [define([AC_PROG_OBJC], |
|---|
| | 241 | defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl |
|---|
| 209 | 242 | ]) |
|---|
| 210 | 243 | ]) |
|---|
| … | … | |
| 242 | 275 | AC_DEFUN([AM_PROG_INSTALL_SH], |
|---|
| 243 | 276 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
|---|
| 244 | | install_sh=${install_sh-"$am_aux_dir/install-sh"} |
|---|
| | 277 | install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} |
|---|
| 245 | 278 | AC_SUBST(install_sh)]) |
|---|
| 246 | 279 | |
|---|
| … | … | |
| 268 | 301 | # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- |
|---|
| 269 | 302 | |
|---|
| 270 | | # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005 |
|---|
| | 303 | # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005 |
|---|
| 271 | 304 | # Free Software Foundation, Inc. |
|---|
| 272 | 305 | # |
|---|
| … | … | |
| 275 | 308 | # with or without modifications, as long as this notice is preserved. |
|---|
| 276 | 309 | |
|---|
| 277 | | # serial 4 |
|---|
| | 310 | # serial 5 |
|---|
| 278 | 311 | |
|---|
| 279 | 312 | # AM_MISSING_PROG(NAME, PROGRAM) |
|---|
| … | … | |
| 291 | 324 | AC_DEFUN([AM_MISSING_HAS_RUN], |
|---|
| 292 | 325 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
|---|
| | 326 | AC_REQUIRE_AUX_FILE([missing])dnl |
|---|
| 293 | 327 | test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" |
|---|
| 294 | 328 | # Use eval to expand $SHELL |
|---|
| … | … | |
| 301 | 335 | ]) |
|---|
| 302 | 336 | |
|---|
| 303 | | # Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. |
|---|
| | 337 | # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
|---|
| 304 | 338 | # |
|---|
| 305 | 339 | # This file is free software; the Free Software Foundation |
|---|
| … | … | |
| 309 | 343 | # AM_PROG_MKDIR_P |
|---|
| 310 | 344 | # --------------- |
|---|
| 311 | | # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. |
|---|
| 312 | | # |
|---|
| 313 | | # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories |
|---|
| 314 | | # created by `make install' are always world readable, even if the |
|---|
| 315 | | # installer happens to have an overly restrictive umask (e.g. 077). |
|---|
| 316 | | # This was a mistake. There are at least two reasons why we must not |
|---|
| 317 | | # use `-m 0755': |
|---|
| 318 | | # - it causes special bits like SGID to be ignored, |
|---|
| 319 | | # - it may be too restrictive (some setups expect 775 directories). |
|---|
| 320 | | # |
|---|
| 321 | | # Do not use -m 0755 and let people choose whatever they expect by |
|---|
| 322 | | # setting umask. |
|---|
| 323 | | # |
|---|
| 324 | | # We cannot accept any implementation of `mkdir' that recognizes `-p'. |
|---|
| 325 | | # Some implementations (such as Solaris 8's) are not thread-safe: if a |
|---|
| 326 | | # parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c' |
|---|
| 327 | | # concurrently, both version can detect that a/ is missing, but only |
|---|
| 328 | | # one can create it and the other will error out. Consequently we |
|---|
| 329 | | # restrict ourselves to GNU make (using the --version option ensures |
|---|
| 330 | | # this.) |
|---|
| | 345 | # Check for `mkdir -p'. |
|---|
| 331 | 346 | AC_DEFUN([AM_PROG_MKDIR_P], |
|---|
| 332 | | [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then |
|---|
| 333 | | # We used to keeping the `.' as first argument, in order to |
|---|
| 334 | | # allow $(mkdir_p) to be used without argument. As in |
|---|
| 335 | | # $(mkdir_p) $(somedir) |
|---|
| 336 | | # where $(somedir) is conditionally defined. However this is wrong |
|---|
| 337 | | # for two reasons: |
|---|
| 338 | | # 1. if the package is installed by a user who cannot write `.' |
|---|
| 339 | | # make install will fail, |
|---|
| 340 | | # 2. the above comment should most certainly read |
|---|
| 341 | | # $(mkdir_p) $(DESTDIR)$(somedir) |
|---|
| 342 | | # so it does not work when $(somedir) is undefined and |
|---|
| 343 | | # $(DESTDIR) is not. |
|---|
| 344 | | # To support the latter case, we have to write |
|---|
| 345 | | # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), |
|---|
| 346 | | # so the `.' trick is pointless. |
|---|
| 347 | | mkdir_p='mkdir -p --' |
|---|
| 348 | | else |
|---|
| 349 | | # On NextStep and OpenStep, the `mkdir' command does not |
|---|
| 350 | | # recognize any option. It will interpret all options as |
|---|
| 351 | | # directories to create, and then abort because `.' already |
|---|
| 352 | | # exists. |
|---|
| 353 | | for d in ./-p ./--version; |
|---|
| 354 | | do |
|---|
| 355 | | test -d $d && rmdir $d |
|---|
| 356 | | done |
|---|
| 357 | | # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. |
|---|
| 358 | | if test -f "$ac_aux_dir/mkinstalldirs"; then |
|---|
| 359 | | mkdir_p='$(mkinstalldirs)' |
|---|
| 360 | | else |
|---|
| 361 | | mkdir_p='$(install_sh) -d' |
|---|
| 362 | | fi |
|---|
| 363 | | fi |
|---|
| 364 | | AC_SUBST([mkdir_p])]) |
|---|
| | 347 | [AC_PREREQ([2.60])dnl |
|---|
| | 348 | AC_REQUIRE([AC_PROG_MKDIR_P])dnl |
|---|
| | 349 | dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, |
|---|
| | 350 | dnl while keeping a definition of mkdir_p for backward compatibility. |
|---|
| | 351 | dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. |
|---|
| | 352 | dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of |
|---|
| | 353 | dnl Makefile.ins that do not define MKDIR_P, so we do our own |
|---|
| | 354 | dnl adjustment using top_builddir (which is defined more often than |
|---|
| | 355 | dnl MKDIR_P). |
|---|
| | 356 | AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl |
|---|
| | 357 | case $mkdir_p in |
|---|
| | 358 | [[\\/$]]* | ?:[[\\/]]*) ;; |
|---|
| | 359 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
|---|
| | 360 | esac |
|---|
| | 361 | ]) |
|---|
| 365 | 362 | |
|---|
| 366 | 363 | # Helper functions for option handling. -*- Autoconf -*- |
|---|
| … | … | |
| 474 | 471 | AC_CHECK_TOOL([STRIP], [strip], :) |
|---|
| 475 | 472 | fi |
|---|
| 476 | | INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" |
|---|
| | 473 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
|---|
| 477 | 474 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
|---|
| | 475 | |
|---|
| | 476 | # Copyright (C) 2006 Free Software Foundation, Inc. |
|---|
| | 477 | # |
|---|
| | 478 | # This file is free software; the Free Software Foundation |
|---|
| | 479 | # gives unlimited permission to copy and/or distribute it, |
|---|
| | 480 | # with or without modifications, as long as this notice is preserved. |
|---|
| | 481 | |
|---|
| | 482 | # _AM_SUBST_NOTMAKE(VARIABLE) |
|---|
| | 483 | # --------------------------- |
|---|
| | 484 | # Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in. |
|---|
| | 485 | # This macro is traced by Automake. |
|---|
| | 486 | AC_DEFUN([_AM_SUBST_NOTMAKE]) |
|---|
| 478 | 487 | |
|---|
| 479 | 488 | # Check how to create a tarball. -*- Autoconf -*- |
|---|
| r2938 |
r3153 |
|
| 666 | 666 | INSTALL_SCRIPT |
|---|
| 667 | 667 | INSTALL_DATA |
|---|
| | 668 | am__isrc |
|---|
| 668 | 669 | CYGPATH_W |
|---|
| 669 | 670 | PACKAGE |
|---|
| … | … | |
| 1947 | 1948 | |
|---|
| 1948 | 1949 | |
|---|
| 1949 | | am__api_version="1.9" |
|---|
| | 1950 | am__api_version='1.10' |
|---|
| | 1951 | |
|---|
| 1950 | 1952 | # Find a good install program. We prefer a C program (faster), |
|---|
| 1951 | 1953 | # so one script is as good as another. But avoid the broken or |
|---|
| … | … | |
| 2099 | 2101 | fi |
|---|
| 2100 | 2102 | |
|---|
| 2101 | | if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then |
|---|
| 2102 | | # We used to keeping the `.' as first argument, in order to |
|---|
| 2103 | | # allow $(mkdir_p) to be used without argument. As in |
|---|
| 2104 | | # $(mkdir_p) $(somedir) |
|---|
| 2105 | | # where $(somedir) is conditionally defined. However this is wrong |
|---|
| 2106 | | # for two reasons: |
|---|
| 2107 | | # 1. if the package is installed by a user who cannot write `.' |
|---|
| 2108 | | # make install will fail, |
|---|
| 2109 | | # 2. the above comment should most certainly read |
|---|
| 2110 | | # $(mkdir_p) $(DESTDIR)$(somedir) |
|---|
| 2111 | | # so it does not work when $(somedir) is undefined and |
|---|
| 2112 | | # $(DESTDIR) is not. |
|---|
| 2113 | | # To support the latter case, we have to write |
|---|
| 2114 | | # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), |
|---|
| 2115 | | # so the `.' trick is pointless. |
|---|
| 2116 | | mkdir_p='mkdir -p --' |
|---|
| 2117 | | else |
|---|
| 2118 | | # On NextStep and OpenStep, the `mkdir' command does not |
|---|
| 2119 | | # recognize any option. It will interpret all options as |
|---|
| 2120 | | # directories to create, and then abort because `.' already |
|---|
| 2121 | | # exists. |
|---|
| 2122 | | for d in ./-p ./--version; |
|---|
| 2123 | | do |
|---|
| 2124 | | test -d $d && rmdir $d |
|---|
| 2125 | | done |
|---|
| 2126 | | # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. |
|---|
| 2127 | | if test -f "$ac_aux_dir/mkinstalldirs"; then |
|---|
| 2128 | | mkdir_p='$(mkinstalldirs)' |
|---|
| | 2103 | { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 |
|---|
| | 2104 | echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; } |
|---|
| | 2105 | if test -z "$MKDIR_P"; then |
|---|
| | 2106 | if test "${ac_cv_path_mkdir+set}" = set; then |
|---|
| | 2107 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| | 2108 | else |
|---|
| | 2109 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| | 2110 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
|---|
| | 2111 | do |
|---|
| | 2112 | IFS=$as_save_IFS |
|---|
| | 2113 | test -z "$as_dir" && as_dir=. |
|---|
| | 2114 | for ac_prog in mkdir gmkdir; do |
|---|
| | 2115 | for ac_exec_ext in '' $ac_executable_extensions; do |
|---|
| | 2116 | { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue |
|---|
| | 2117 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
|---|
| | 2118 | 'mkdir (GNU coreutils) '* | \ |
|---|
| | 2119 | 'mkdir (coreutils) '* | \ |
|---|
| | 2120 | 'mkdir (fileutils) '4.1*) |
|---|
| | 2121 | ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
|---|
| | 2122 | break 3;; |
|---|
| | 2123 | esac |
|---|
| | 2124 | done |
|---|
| | 2125 | done |
|---|
| | 2126 | done |
|---|
| | 2127 | IFS=$as_save_IFS |
|---|
| | 2128 | |
|---|
| | 2129 | fi |
|---|
| | 2130 | |
|---|
| | 2131 | if test "${ac_cv_path_mkdir+set}" = set; then |
|---|
| | 2132 | MKDIR_P="$ac_cv_path_mkdir -p" |
|---|
| 2129 | 2133 | else |
|---|
| 2130 | | mkdir_p='$(install_sh) -d' |
|---|
| | 2134 | # As a last resort, use the slow shell script. Don't cache a |
|---|
| | 2135 | # value for MKDIR_P within a source directory, because that will |
|---|
| | 2136 | # break other packages using the cache if that directory is |
|---|
| | 2137 | # removed, or if the value is a relative name. |
|---|
| | 2138 | test -d ./--version && rmdir ./--version |
|---|
| | 2139 | MKDIR_P="$ac_install_sh -d" |
|---|
| 2131 | 2140 | fi |
|---|
| 2132 | 2141 | fi |
|---|
| | 2142 | { echo "$as_me:$LINENO: result: $MKDIR_P" >&5 |
|---|
| | 2143 | echo "${ECHO_T}$MKDIR_P" >&6; } |
|---|
| | 2144 | |
|---|
| | 2145 | mkdir_p="$MKDIR_P" |
|---|
| | 2146 | case $mkdir_p in |
|---|
| | 2147 | [\\/$]* | ?:[\\/]*) ;; |
|---|
| | 2148 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
|---|
| | 2149 | esac |
|---|
| 2133 | 2150 | |
|---|
| 2134 | 2151 | for ac_prog in gawk mawk nawk awk |
|---|
| … | … | |
| 2213 | 2230 | rmdir .tst 2>/dev/null |
|---|
| 2214 | 2231 | |
|---|
| 2215 | | # test to see if srcdir already configured |
|---|
| 2216 | | if test "`cd $srcdir && pwd`" != "`pwd`" && |
|---|
| 2217 | | test -f $srcdir/config.status; then |
|---|
| 2218 | | { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
|---|
| | 2232 | if test "`cd $srcdir && pwd`" != "`pwd`"; then |
|---|
| | 2233 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
|---|
| | 2234 | # is not polluted with repeated "-I." |
|---|
| | 2235 | am__isrc=' -I$(srcdir)' |
|---|
| | 2236 | # test to see if srcdir already configured |
|---|
| | 2237 | if test -f $srcdir/config.status; then |
|---|
| | 2238 | { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
|---|
| 2219 | 2239 | echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} |
|---|
| 2220 | 2240 | { (exit 1); exit 1; }; } |
|---|
| | 2241 | fi |
|---|
| 2221 | 2242 | fi |
|---|
| 2222 | 2243 | |
|---|
| … | … | |
| 2261 | 2282 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
|---|
| 2262 | 2283 | |
|---|
| 2263 | | install_sh=${install_sh-"$am_aux_dir/install-sh"} |
|---|
| | 2284 | install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} |
|---|
| 2264 | 2285 | |
|---|
| 2265 | 2286 | # Installed binaries are usually stripped using `strip' when the user |
|---|
| … | … | |
| 2365 | 2386 | |
|---|
| 2366 | 2387 | fi |
|---|
| 2367 | | INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" |
|---|
| | 2388 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
|---|
| 2368 | 2389 | |
|---|
| 2369 | 2390 | # We need awk for the "check" target. The system "awk" is bad on |
|---|
| … | … | |
| 4025 | 4046 | { echo "$as_me:$LINENO: result: no" >&5 |
|---|
| 4026 | 4047 | echo "${ECHO_T}no" >&6; } |
|---|
| 4027 | | { { echo "$as_me:$LINENO: error: can't compile D sources!" >&5 |
|---|
| 4028 | | echo "$as_me: error: can't compile D sources!" >&2;} |
|---|
| 4029 | | { (exit 1); exit 1; }; } |
|---|
| | 4048 | #AC_MSG_ERROR([can't compile D sources!]) |
|---|
| 4030 | 4049 | fi |
|---|
| 4031 | 4050 | |
|---|
| … | … | |
| 9707 | 9726 | fi |
|---|
| 9708 | 9727 | fi |
|---|
| 9709 | | |
|---|
| 9710 | | |
|---|
| 9711 | | if test "$D_GENERATE_FRAGMENTS" = "yes"; then |
|---|
| | 9728 | if test "$D_GENERATE_FRAGMENTS" = "yes"; then |
|---|
| 9712 | 9729 | D_GENERATE_FRAGMENTS_TRUE= |
|---|
| 9713 | 9730 | D_GENERATE_FRAGMENTS_FALSE='#' |
|---|
| … | … | |
| 10184 | 10201 | srcdir='$srcdir' |
|---|
| 10185 | 10202 | INSTALL='$INSTALL' |
|---|
| | 10203 | MKDIR_P='$MKDIR_P' |
|---|
| 10186 | 10204 | _ACEOF |
|---|
| 10187 | 10205 | |
|---|
| … | … | |
| 10403 | 10421 | INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim |
|---|
| 10404 | 10422 | INSTALL_DATA!$INSTALL_DATA$ac_delim |
|---|
| | 10423 | am__isrc!$am__isrc$ac_delim |
|---|
| 10405 | 10424 | CYGPATH_W!$CYGPATH_W$ac_delim |
|---|
| 10406 | 10425 | PACKAGE!$PACKAGE$ac_delim |
|---|
| … | … | |
| 10441 | 10460 | EGREP!$EGREP$ac_delim |
|---|
| 10442 | 10461 | D_EXTRA_OBJS!$D_EXTRA_OBJS$ac_delim |
|---|
| 10443 | | D_PREREQ_SRCS!$D_PREREQ_SRCS$ac_delim |
|---|
| 10444 | 10462 | _ACEOF |
|---|
| 10445 | 10463 | |
|---|
| … | … | |
| 10491 | 10509 | for ac_last_try in false false false false false :; do |
|---|
| 10492 | 10510 | cat >conf$$subs.sed <<_ACEOF |
|---|
| | 10511 | D_PREREQ_SRCS!$D_PREREQ_SRCS$ac_delim |
|---|
| 10493 | 10512 | DCFG_TRUNC!$DCFG_TRUNC$ac_delim |
|---|
| 10494 | 10513 | DCFG_NEARBYINT!$DCFG_NEARBYINT$ac_delim |
|---|
| … | … | |
| 10524 | 10543 | _ACEOF |
|---|
| 10525 | 10544 | |
|---|
| 10526 | | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 31; then |
|---|
| | 10545 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 32; then |
|---|
| 10527 | 10546 | break |
|---|
| 10528 | 10547 | elif $ac_last_try; then |
|---|
| … | … | |
| 10751 | 10770 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
|---|
| 10752 | 10771 | esac |
|---|
| | 10772 | ac_MKDIR_P=$MKDIR_P |
|---|
| | 10773 | case $MKDIR_P in |
|---|
| | 10774 | [\\/$]* | ?:[\\/]* ) ;; |
|---|
| | 10775 | */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
|---|
| | 10776 | esac |
|---|
| 10753 | 10777 | _ACEOF |
|---|
| 10754 | 10778 | |
|---|
| … | … | |
| 10804 | 10828 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
|---|
| 10805 | 10829 | s&@INSTALL@&$ac_INSTALL&;t t |
|---|
| | 10830 | s&@MKDIR_P@&$ac_MKDIR_P&;t t |
|---|
| 10806 | 10831 | $ac_datarootdir_hack |
|---|
| 10807 | 10832 | " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out |
|---|
| r2938 |
r3153 |
|
| 183 | 183 | else |
|---|
| 184 | 184 | AC_MSG_RESULT([no]) |
|---|
| 185 | | AC_MSG_ERROR([can't compile D sources!]) |
|---|
| | 185 | #AC_MSG_ERROR([can't compile D sources!]) |
|---|
| 186 | 186 | fi |
|---|
| 187 | 187 | |
|---|
| r2465 |
r3153 |
|
| 22 | 22 | --uninstall: Uninstall tango, switch back to standard phobos.' |
|---|
| 23 | 23 | exit 0 |
|---|
| 24 | | } |
|---|
| | 24 | } #' |
|---|
| 25 | 25 | |
|---|
| 26 | 26 | cd "`dirname $0`" |
|---|
| … | … | |
| 59 | 59 | GPHOBOS_DIR="`${CROSS}gdc -print-file-name=libgphobos.a`" |
|---|
| 60 | 60 | GPHOBOS_DIR="`dirname $GPHOBOS_DIR`" |
|---|
| | 61 | |
|---|
| 61 | 62 | # If we have which, use it to get the prefix |
|---|
| 62 | 63 | which --version >& /dev/null |
|---|
| … | … | |
| 68 | 69 | PREFIX="$GPHOBOS_DIR/.." |
|---|
| 69 | 70 | fi |
|---|
| | 71 | |
|---|
| | 72 | # If libgphobos.a isn't installed, make it up |
|---|
| | 73 | if [ "$GPHOBOS_DIR" = "." ] |
|---|
| | 74 | then |
|---|
| | 75 | GPHOBOS_DIR="$PREFIX/lib" |
|---|
| | 76 | fi |
|---|
| | 77 | |
|---|
| 70 | 78 | GDC_VER="`${CROSS}gdc -dumpversion`" |
|---|
| 71 | 79 | GDC_MCH="`${CROSS}gdc -dumpmachine`" |
|---|
Download in other formats:
|
 |