+2004-09-09 Daniel Berlin <dberlin@dberlin.org>
+
+ * Makefile.def: Remove libbanshee.
+ * Makefile.tpl: Ditto.
+ * configure.in: Ditto.
+ * Makefile.in: Regen.
+ * configure: Ditto.
+
2004-09-08 David Edelsohn <edelsohn@gnu.org>
* ltmain.sh: Use $pic_object as $non_pic_object if
host_modules= { module= ld; bootstrap=true; };
host_modules= { module= libcpp; bootstrap=true; };
host_modules= { module= libgui; };
-host_modules= { module= libbanshee; bootstrap=true; no_install=true; };
host_modules= { module= libiberty; bootstrap=true; };
host_modules= { module= libtool; };
host_modules= { module= m4; };
dependencies = { module=all-gcc; on=all-gas; };
dependencies = { module=all-gcc; on=all-ld; };
dependencies = { module=all-gcc; on=all-zlib; };
-dependencies = { module=all-gcc; on=all-libbanshee; };
dependencies = { module=all-gcc; on=all-libcpp; hard=true; };
dependencies = { module=all-gcc; on=all-build-libiberty; };
$(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH):$(TARGET_LIB_PATH):$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
# This is the list of directories to be built for the build system.
-BUILD_CONFIGDIRS = libiberty libbanshee
+BUILD_CONFIGDIRS = libiberty
# Build programs are put under this directory.
BUILD_SUBDIR = @build_subdir@
# This is set by the configure script to the arguments to use when configuring
maybe-configure-ld \
maybe-configure-libcpp \
maybe-configure-libgui \
- maybe-configure-libbanshee \
maybe-configure-libiberty \
maybe-configure-libtool \
maybe-configure-m4 \
maybe-all-ld \
maybe-all-libcpp \
maybe-all-libgui \
- maybe-all-libbanshee \
maybe-all-libiberty \
maybe-all-libtool \
maybe-all-m4 \
maybe-info-ld \
maybe-info-libcpp \
maybe-info-libgui \
- maybe-info-libbanshee \
maybe-info-libiberty \
maybe-info-libtool \
maybe-info-m4 \
maybe-dvi-ld \
maybe-dvi-libcpp \
maybe-dvi-libgui \
- maybe-dvi-libbanshee \
maybe-dvi-libiberty \
maybe-dvi-libtool \
maybe-dvi-m4 \
maybe-TAGS-ld \
maybe-TAGS-libcpp \
maybe-TAGS-libgui \
- maybe-TAGS-libbanshee \
maybe-TAGS-libiberty \
maybe-TAGS-libtool \
maybe-TAGS-m4 \
maybe-install-info-ld \
maybe-install-info-libcpp \
maybe-install-info-libgui \
- maybe-install-info-libbanshee \
maybe-install-info-libiberty \
maybe-install-info-libtool \
maybe-install-info-m4 \
maybe-installcheck-ld \
maybe-installcheck-libcpp \
maybe-installcheck-libgui \
- maybe-installcheck-libbanshee \
maybe-installcheck-libiberty \
maybe-installcheck-libtool \
maybe-installcheck-m4 \
maybe-mostlyclean-ld \
maybe-mostlyclean-libcpp \
maybe-mostlyclean-libgui \
- maybe-mostlyclean-libbanshee \
maybe-mostlyclean-libiberty \
maybe-mostlyclean-libtool \
maybe-mostlyclean-m4 \
maybe-clean-ld \
maybe-clean-libcpp \
maybe-clean-libgui \
- maybe-clean-libbanshee \
maybe-clean-libiberty \
maybe-clean-libtool \
maybe-clean-m4 \
maybe-distclean-ld \
maybe-distclean-libcpp \
maybe-distclean-libgui \
- maybe-distclean-libbanshee \
maybe-distclean-libiberty \
maybe-distclean-libtool \
maybe-distclean-m4 \
maybe-maintainer-clean-ld \
maybe-maintainer-clean-libcpp \
maybe-maintainer-clean-libgui \
- maybe-maintainer-clean-libbanshee \
maybe-maintainer-clean-libiberty \
maybe-maintainer-clean-libtool \
maybe-maintainer-clean-m4 \
maybe-check-ld \
maybe-check-libcpp \
maybe-check-libgui \
- maybe-check-libbanshee \
maybe-check-libiberty \
maybe-check-libtool \
maybe-check-m4 \
maybe-install-ld \
maybe-install-libcpp \
maybe-install-libgui \
- maybe-install-libbanshee \
maybe-install-libiberty \
maybe-install-libtool \
maybe-install-m4 \
maybe-install-ld \
maybe-install-libcpp \
maybe-install-libgui \
- maybe-install-libbanshee \
maybe-install-libiberty \
maybe-install-libtool \
maybe-install-m4 \
@endif libgui
-.PHONY: configure-libbanshee maybe-configure-libbanshee
-maybe-configure-libbanshee:
-@if libbanshee
-maybe-configure-libbanshee: configure-libbanshee
-configure-libbanshee:
- @test -f stage_last && exit 0; \
- test ! -f libbanshee/Makefile || exit 0; \
- [ -d libbanshee ] || mkdir libbanshee; \
- r=`${PWD_COMMAND}`; export r; \
- s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
- $(HOST_EXPORTS) \
- echo Configuring in libbanshee; \
- cd libbanshee || exit 1; \
- case $(srcdir) in \
- \.) \
- srcdiroption="--srcdir=."; \
- libsrcdir=".";; \
- /* | [A-Za-z]:[\\/]*) \
- srcdiroption="--srcdir=$(srcdir)/libbanshee"; \
- libsrcdir="$$s/libbanshee";; \
- *) \
- srcdiroption="--srcdir=../$(srcdir)/libbanshee"; \
- libsrcdir="$$s/libbanshee";; \
- esac; \
- $(SHELL) $${libsrcdir}/configure \
- $(HOST_CONFIGARGS) $${srcdiroption} \
- || exit 1
-@endif libbanshee
-
-.PHONY: all-libbanshee maybe-all-libbanshee
-maybe-all-libbanshee:
-@if libbanshee
-maybe-all-libbanshee: all-libbanshee
-all-libbanshee: configure-libbanshee
- @test -f stage_last && exit 0; \
- r=`${PWD_COMMAND}`; export r; \
- s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
- $(SET_LIB_PATH) \
- $(HOST_EXPORTS) \
- (cd libbanshee && $(MAKE) $(FLAGS_TO_PASS) all)
-@endif libbanshee
-
-.PHONY: check-libbanshee maybe-check-libbanshee
-maybe-check-libbanshee:
-@if libbanshee
-maybe-check-libbanshee: check-libbanshee
-
-check-libbanshee:
- @r=`${PWD_COMMAND}`; export r; \
- s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
- $(SET_LIB_PATH) \
- $(HOST_EXPORTS) \
- (cd libbanshee && $(MAKE) $(FLAGS_TO_PASS) check)
-
-@endif libbanshee
-
-.PHONY: install-libbanshee maybe-install-libbanshee
-maybe-install-libbanshee:
-@if libbanshee
-maybe-install-libbanshee: install-libbanshee
-
-install-libbanshee:
-
-@endif libbanshee
-
-# Other targets (info, dvi, etc.)
-
-.PHONY: maybe-info-libbanshee info-libbanshee
-maybe-info-libbanshee:
-@if libbanshee
-maybe-info-libbanshee: info-libbanshee
-
-info-libbanshee: \
- configure-libbanshee
- @[ -f ./libbanshee/Makefile ] || exit 0; \
- r=`${PWD_COMMAND}`; export r; \
- s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
- $(SET_LIB_PATH) \
- $(HOST_EXPORTS) \
- for flag in $(EXTRA_HOST_FLAGS) ; do \
- eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
- done; \
- echo "Doing info in libbanshee" ; \
- (cd libbanshee && \
- $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
- "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
- "RANLIB=$${RANLIB}" \
- "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
- info) \
- || exit 1
-
-@endif libbanshee
-
-.PHONY: maybe-dvi-libbanshee dvi-libbanshee
-maybe-dvi-libbanshee:
-@if libbanshee
-maybe-dvi-libbanshee: dvi-libbanshee
-
-dvi-libbanshee: \
- configure-libbanshee
- @[ -f ./libbanshee/Makefile ] || exit 0; \
- r=`${PWD_COMMAND}`; export r; \
- s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
- $(SET_LIB_PATH) \
- $(HOST_EXPORTS) \
- for flag in $(EXTRA_HOST_FLAGS) ; do \
- eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
- done; \
- echo "Doing dvi in libbanshee" ; \
- (cd libbanshee && \
- $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
- "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
- "RANLIB=$${RANLIB}" \
- "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
- dvi) \
- || exit 1
-
-@endif libbanshee
-
-.PHONY: maybe-TAGS-libbanshee TAGS-libbanshee
-maybe-TAGS-libbanshee:
-@if libbanshee
-maybe-TAGS-libbanshee: TAGS-libbanshee
-
-TAGS-libbanshee: \
- configure-libbanshee
- @[ -f ./libbanshee/Makefile ] || exit 0; \
- r=`${PWD_COMMAND}`; export r; \
- s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
- $(SET_LIB_PATH) \
- $(HOST_EXPORTS) \
- for flag in $(EXTRA_HOST_FLAGS) ; do \
- eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
- done; \
- echo "Doing TAGS in libbanshee" ; \
- (cd libbanshee && \
- $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
- "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
- "RANLIB=$${RANLIB}" \
- "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
- TAGS) \
- || exit 1
-
-@endif libbanshee
-
-.PHONY: maybe-install-info-libbanshee install-info-libbanshee
-maybe-install-info-libbanshee:
-@if libbanshee
-maybe-install-info-libbanshee: install-info-libbanshee
-
-install-info-libbanshee: \
- configure-libbanshee \
- info-libbanshee
- @[ -f ./libbanshee/Makefile ] || exit 0; \
- r=`${PWD_COMMAND}`; export r; \
- s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
- $(SET_LIB_PATH) \
- $(HOST_EXPORTS) \
- for flag in $(EXTRA_HOST_FLAGS) ; do \
- eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
- done; \
- echo "Doing install-info in libbanshee" ; \
- (cd libbanshee && \
- $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
- "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
- "RANLIB=$${RANLIB}" \
- "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
- install-info) \
- || exit 1
-
-@endif libbanshee
-
-.PHONY: maybe-installcheck-libbanshee installcheck-libbanshee
-maybe-installcheck-libbanshee:
-@if libbanshee
-maybe-installcheck-libbanshee: installcheck-libbanshee
-
-installcheck-libbanshee: \
- configure-libbanshee
- @[ -f ./libbanshee/Makefile ] || exit 0; \
- r=`${PWD_COMMAND}`; export r; \
- s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
- $(SET_LIB_PATH) \
- $(HOST_EXPORTS) \
- for flag in $(EXTRA_HOST_FLAGS) ; do \
- eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
- done; \
- echo "Doing installcheck in libbanshee" ; \
- (cd libbanshee && \
- $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
- "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
- "RANLIB=$${RANLIB}" \
- "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
- installcheck) \
- || exit 1
-
-@endif libbanshee
-
-.PHONY: maybe-mostlyclean-libbanshee mostlyclean-libbanshee
-maybe-mostlyclean-libbanshee:
-@if libbanshee
-maybe-mostlyclean-libbanshee: mostlyclean-libbanshee
-
-mostlyclean-libbanshee:
- @[ -f ./libbanshee/Makefile ] || exit 0; \
- r=`${PWD_COMMAND}`; export r; \
- s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
- $(SET_LIB_PATH) \
- $(HOST_EXPORTS) \
- for flag in $(EXTRA_HOST_FLAGS) ; do \
- eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
- done; \
- echo "Doing mostlyclean in libbanshee" ; \
- (cd libbanshee && \
- $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
- "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
- "RANLIB=$${RANLIB}" \
- "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
- mostlyclean) \
- || exit 1
-
-@endif libbanshee
-
-.PHONY: maybe-clean-libbanshee clean-libbanshee
-maybe-clean-libbanshee:
-@if libbanshee
-maybe-clean-libbanshee: clean-libbanshee
-
-clean-libbanshee:
- @[ -f ./libbanshee/Makefile ] || exit 0; \
- r=`${PWD_COMMAND}`; export r; \
- s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
- $(SET_LIB_PATH) \
- $(HOST_EXPORTS) \
- for flag in $(EXTRA_HOST_FLAGS) ; do \
- eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
- done; \
- echo "Doing clean in libbanshee" ; \
- (cd libbanshee && \
- $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
- "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
- "RANLIB=$${RANLIB}" \
- "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
- clean) \
- || exit 1
-
-@endif libbanshee
-
-.PHONY: maybe-distclean-libbanshee distclean-libbanshee
-maybe-distclean-libbanshee:
-@if libbanshee
-maybe-distclean-libbanshee: distclean-libbanshee
-
-distclean-libbanshee:
- @[ -f ./libbanshee/Makefile ] || exit 0; \
- r=`${PWD_COMMAND}`; export r; \
- s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
- $(SET_LIB_PATH) \
- $(HOST_EXPORTS) \
- for flag in $(EXTRA_HOST_FLAGS) ; do \
- eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
- done; \
- echo "Doing distclean in libbanshee" ; \
- (cd libbanshee && \
- $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
- "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
- "RANLIB=$${RANLIB}" \
- "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
- distclean) \
- || exit 1
-
-@endif libbanshee
-
-.PHONY: maybe-maintainer-clean-libbanshee maintainer-clean-libbanshee
-maybe-maintainer-clean-libbanshee:
-@if libbanshee
-maybe-maintainer-clean-libbanshee: maintainer-clean-libbanshee
-
-maintainer-clean-libbanshee:
- @[ -f ./libbanshee/Makefile ] || exit 0; \
- r=`${PWD_COMMAND}`; export r; \
- s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
- $(SET_LIB_PATH) \
- $(HOST_EXPORTS) \
- for flag in $(EXTRA_HOST_FLAGS) ; do \
- eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
- done; \
- echo "Doing maintainer-clean in libbanshee" ; \
- (cd libbanshee && \
- $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
- "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
- "RANLIB=$${RANLIB}" \
- "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
- maintainer-clean) \
- || exit 1
-
-@endif libbanshee
-
-
.PHONY: configure-libiberty maybe-configure-libiberty
maybe-configure-libiberty:
@if libiberty
@[ -d stage1-libcpp ] || mkdir stage1-libcpp; \
set stage1-libcpp libcpp ; @CREATE_LINK_TO_DIR@
@endif libcpp
-@if libbanshee
- @[ -d stage1-libbanshee ] || mkdir stage1-libbanshee; \
- set stage1-libbanshee libbanshee ; @CREATE_LINK_TO_DIR@
-@endif libbanshee
@if libiberty
@[ -d stage1-libiberty ] || mkdir stage1-libiberty; \
set stage1-libiberty libiberty ; @CREATE_LINK_TO_DIR@
@if libcpp
@set libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
@endif libcpp
-@if libbanshee
- @set libbanshee stage1-libbanshee ; @UNDO_LINK_TO_DIR@
-@endif libbanshee
@if libiberty
@set libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
@endif libiberty
maybe-all-stage1-intl \
maybe-all-stage1-ld \
maybe-all-stage1-libcpp \
- maybe-all-stage1-libbanshee \
maybe-all-stage1-libiberty \
maybe-all-stage1-zlib
maybe-clean-stage1-intl \
maybe-clean-stage1-ld \
maybe-clean-stage1-libcpp \
- maybe-clean-stage1-libbanshee \
maybe-clean-stage1-libiberty \
maybe-clean-stage1-zlib
@endif libcpp-bootstrap
-.PHONY: configure-stage1-libbanshee maybe-configure-stage1-libbanshee
-.PHONY: all-stage1-libbanshee maybe-all-stage1-libbanshee
-.PHONY: clean-stage1-libbanshee maybe-clean-stage1-libbanshee
-
-maybe-configure-stage1-libbanshee:
-maybe-all-stage1-libbanshee:
-maybe-clean-stage1-libbanshee:
-
-@if libbanshee-bootstrap
-maybe-configure-stage1-libbanshee: configure-stage1-libbanshee
-configure-stage1-libbanshee:
- @$(MAKE) stage1-start
- @[ -f libbanshee/Makefile ] && exit 0 || : ; \
- r=`${PWD_COMMAND}`; export r; \
- s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
- $(HOST_EXPORTS) \
- echo Configuring stage 1 in libbanshee ; \
- cd libbanshee || exit 1; \
- case $(srcdir) in \
- \.) \
- srcdiroption="--srcdir=."; \
- libsrcdir=".";; \
- /* | [A-Za-z]:[\\/]*) \
- srcdiroption="--srcdir=$(srcdir)/libbanshee"; \
- libsrcdir="$$s/libbanshee";; \
- *) \
- srcdiroption="--srcdir=../$(srcdir)/libbanshee"; \
- libsrcdir="$$s/libbanshee";; \
- esac; \
- $(SHELL) $${libsrcdir}/configure \
- $(HOST_CONFIGARGS) $${srcdiroption} \
- --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
-
-maybe-all-stage1-libbanshee: all-stage1-libbanshee
-all-stage1-libbanshee: configure-stage1-libbanshee
- @$(MAKE) stage1-start
- @r=`${PWD_COMMAND}`; export r; \
- s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
- $(HOST_EXPORTS) \
- cd libbanshee && \
- $(MAKE) $(FLAGS_TO_PASS) \
- CFLAGS="$(STAGE1_CFLAGS)"
-
-maybe-clean-stage1-libbanshee: clean-stage1-libbanshee
-clean-stage1-libbanshee:
- @[ -f libbanshee/Makefile ] || [ -f stage1-libbanshee/Makefile ] \
- || exit 0 ; \
- [ -f libbanshee/Makefile ] || $(MAKE) stage1-start ; \
- cd libbanshee && \
- $(MAKE) $(FLAGS_TO_PASS) \
- CFLAGS="$(STAGE1_CFLAGS)" clean
-@endif libbanshee-bootstrap
-
-
.PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
.PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
.PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
set stage2-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
@endif libcpp
-@if libbanshee
- @[ -d stage2-libbanshee ] || mkdir stage2-libbanshee; \
- set stage2-libbanshee libbanshee ; @CREATE_LINK_TO_DIR@ ; \
- set stage1-libbanshee prev-libbanshee ; @CREATE_LINK_TO_DIR@
-@endif libbanshee
@if libiberty
@[ -d stage2-libiberty ] || mkdir stage2-libiberty; \
set stage2-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
@set libcpp stage2-libcpp ; @UNDO_LINK_TO_DIR@ ; \
set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
@endif libcpp
-@if libbanshee
- @set libbanshee stage2-libbanshee ; @UNDO_LINK_TO_DIR@ ; \
- set prev-libbanshee stage1-libbanshee ; @UNDO_LINK_TO_DIR@
-@endif libbanshee
@if libiberty
@set libiberty stage2-libiberty ; @UNDO_LINK_TO_DIR@ ; \
set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
maybe-all-stage2-intl \
maybe-all-stage2-ld \
maybe-all-stage2-libcpp \
- maybe-all-stage2-libbanshee \
maybe-all-stage2-libiberty \
maybe-all-stage2-zlib
maybe-clean-stage2-intl \
maybe-clean-stage2-ld \
maybe-clean-stage2-libcpp \
- maybe-clean-stage2-libbanshee \
maybe-clean-stage2-libiberty \
maybe-clean-stage2-zlib
@endif libcpp-bootstrap
-.PHONY: configure-stage2-libbanshee maybe-configure-stage2-libbanshee
-.PHONY: all-stage2-libbanshee maybe-all-stage2-libbanshee
-.PHONY: clean-stage2-libbanshee maybe-clean-stage2-libbanshee
-
-maybe-configure-stage2-libbanshee:
-maybe-all-stage2-libbanshee:
-maybe-clean-stage2-libbanshee:
-
-@if libbanshee-bootstrap
-maybe-configure-stage2-libbanshee: configure-stage2-libbanshee
-configure-stage2-libbanshee:
- @$(MAKE) stage2-start
- @[ -f libbanshee/Makefile ] && exit 0 || : ; \
- r=`${PWD_COMMAND}`; export r; \
- s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
- $(STAGE_HOST_EXPORTS) \
- echo Configuring stage 2 in libbanshee ; \
- cd libbanshee || exit 1; \
- case $(srcdir) in \
- \.) \
- srcdiroption="--srcdir=."; \
- libsrcdir=".";; \
- /* | [A-Za-z]:[\\/]*) \
- srcdiroption="--srcdir=$(srcdir)/libbanshee"; \
- libsrcdir="$$s/libbanshee";; \
- *) \
- srcdiroption="--srcdir=../$(srcdir)/libbanshee"; \
- libsrcdir="$$s/libbanshee";; \
- esac; \
- $(SHELL) $${libsrcdir}/configure \
- $(HOST_CONFIGARGS) $${srcdiroption} \
- @stage2_werror_flag@
-
-maybe-all-stage2-libbanshee: all-stage2-libbanshee
-all-stage2-libbanshee: configure-stage2-libbanshee
- @$(MAKE) stage2-start
- @r=`${PWD_COMMAND}`; export r; \
- s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
- $(STAGE_HOST_EXPORTS) \
- cd libbanshee && \
- $(MAKE) $(FLAGS_TO_PASS) \
- $(POSTSTAGE1_FLAGS_TO_PASS) \
-
-
-maybe-clean-stage2-libbanshee: clean-stage2-libbanshee
-clean-stage2-libbanshee:
- @[ -f libbanshee/Makefile ] || [ -f stage2-libbanshee/Makefile ] \
- || exit 0 ; \
- [ -f libbanshee/Makefile ] || $(MAKE) stage2-start ; \
- cd libbanshee && \
- $(MAKE) $(FLAGS_TO_PASS) \
- $(POSTSTAGE1_FLAGS_TO_PASS) \
- clean
-@endif libbanshee-bootstrap
-
-
.PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
.PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
.PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
set stage3-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
set stage2-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
@endif libcpp
-@if libbanshee
- @[ -d stage3-libbanshee ] || mkdir stage3-libbanshee; \
- set stage3-libbanshee libbanshee ; @CREATE_LINK_TO_DIR@ ; \
- set stage2-libbanshee prev-libbanshee ; @CREATE_LINK_TO_DIR@
-@endif libbanshee
@if libiberty
@[ -d stage3-libiberty ] || mkdir stage3-libiberty; \
set stage3-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
@set libcpp stage3-libcpp ; @UNDO_LINK_TO_DIR@ ; \
set prev-libcpp stage2-libcpp ; @UNDO_LINK_TO_DIR@
@endif libcpp
-@if libbanshee
- @set libbanshee stage3-libbanshee ; @UNDO_LINK_TO_DIR@ ; \
- set prev-libbanshee stage2-libbanshee ; @UNDO_LINK_TO_DIR@
-@endif libbanshee
@if libiberty
@set libiberty stage3-libiberty ; @UNDO_LINK_TO_DIR@ ; \
set prev-libiberty stage2-libiberty ; @UNDO_LINK_TO_DIR@
maybe-all-stage3-intl \
maybe-all-stage3-ld \
maybe-all-stage3-libcpp \
- maybe-all-stage3-libbanshee \
maybe-all-stage3-libiberty \
maybe-all-stage3-zlib
maybe-clean-stage3-intl \
maybe-clean-stage3-ld \
maybe-clean-stage3-libcpp \
- maybe-clean-stage3-libbanshee \
maybe-clean-stage3-libiberty \
maybe-clean-stage3-zlib
@endif libcpp-bootstrap
-.PHONY: configure-stage3-libbanshee maybe-configure-stage3-libbanshee
-.PHONY: all-stage3-libbanshee maybe-all-stage3-libbanshee
-.PHONY: clean-stage3-libbanshee maybe-clean-stage3-libbanshee
-
-maybe-configure-stage3-libbanshee:
-maybe-all-stage3-libbanshee:
-maybe-clean-stage3-libbanshee:
-
-@if libbanshee-bootstrap
-maybe-configure-stage3-libbanshee: configure-stage3-libbanshee
-configure-stage3-libbanshee:
- @$(MAKE) stage3-start
- @[ -f libbanshee/Makefile ] && exit 0 || : ; \
- r=`${PWD_COMMAND}`; export r; \
- s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
- $(STAGE_HOST_EXPORTS) \
- echo Configuring stage 3 in libbanshee ; \
- cd libbanshee || exit 1; \
- case $(srcdir) in \
- \.) \
- srcdiroption="--srcdir=."; \
- libsrcdir=".";; \
- /* | [A-Za-z]:[\\/]*) \
- srcdiroption="--srcdir=$(srcdir)/libbanshee"; \
- libsrcdir="$$s/libbanshee";; \
- *) \
- srcdiroption="--srcdir=../$(srcdir)/libbanshee"; \
- libsrcdir="$$s/libbanshee";; \
- esac; \
- $(SHELL) $${libsrcdir}/configure \
- $(HOST_CONFIGARGS) $${srcdiroption} \
- @stage2_werror_flag@
-
-maybe-all-stage3-libbanshee: all-stage3-libbanshee
-all-stage3-libbanshee: configure-stage3-libbanshee
- @$(MAKE) stage3-start
- @r=`${PWD_COMMAND}`; export r; \
- s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
- $(STAGE_HOST_EXPORTS) \
- cd libbanshee && \
- $(MAKE) $(FLAGS_TO_PASS) \
- $(POSTSTAGE1_FLAGS_TO_PASS) \
-
-
-maybe-clean-stage3-libbanshee: clean-stage3-libbanshee
-clean-stage3-libbanshee:
- @[ -f libbanshee/Makefile ] || [ -f stage3-libbanshee/Makefile ] \
- || exit 0 ; \
- [ -f libbanshee/Makefile ] || $(MAKE) stage3-start ; \
- cd libbanshee && \
- $(MAKE) $(FLAGS_TO_PASS) \
- $(POSTSTAGE1_FLAGS_TO_PASS) \
- clean
-@endif libbanshee-bootstrap
-
-
.PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
.PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
.PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
set stage4-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
set stage3-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
@endif libcpp
-@if libbanshee
- @[ -d stage4-libbanshee ] || mkdir stage4-libbanshee; \
- set stage4-libbanshee libbanshee ; @CREATE_LINK_TO_DIR@ ; \
- set stage3-libbanshee prev-libbanshee ; @CREATE_LINK_TO_DIR@
-@endif libbanshee
@if libiberty
@[ -d stage4-libiberty ] || mkdir stage4-libiberty; \
set stage4-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
@set libcpp stage4-libcpp ; @UNDO_LINK_TO_DIR@ ; \
set prev-libcpp stage3-libcpp ; @UNDO_LINK_TO_DIR@
@endif libcpp
-@if libbanshee
- @set libbanshee stage4-libbanshee ; @UNDO_LINK_TO_DIR@ ; \
- set prev-libbanshee stage3-libbanshee ; @UNDO_LINK_TO_DIR@
-@endif libbanshee
@if libiberty
@set libiberty stage4-libiberty ; @UNDO_LINK_TO_DIR@ ; \
set prev-libiberty stage3-libiberty ; @UNDO_LINK_TO_DIR@
maybe-all-stage4-intl \
maybe-all-stage4-ld \
maybe-all-stage4-libcpp \
- maybe-all-stage4-libbanshee \
maybe-all-stage4-libiberty \
maybe-all-stage4-zlib
maybe-clean-stage4-intl \
maybe-clean-stage4-ld \
maybe-clean-stage4-libcpp \
- maybe-clean-stage4-libbanshee \
maybe-clean-stage4-libiberty \
maybe-clean-stage4-zlib
@endif libcpp-bootstrap
-.PHONY: configure-stage4-libbanshee maybe-configure-stage4-libbanshee
-.PHONY: all-stage4-libbanshee maybe-all-stage4-libbanshee
-.PHONY: clean-stage4-libbanshee maybe-clean-stage4-libbanshee
-
-maybe-configure-stage4-libbanshee:
-maybe-all-stage4-libbanshee:
-maybe-clean-stage4-libbanshee:
-
-@if libbanshee-bootstrap
-maybe-configure-stage4-libbanshee: configure-stage4-libbanshee
-configure-stage4-libbanshee:
- @$(MAKE) stage4-start
- @[ -f libbanshee/Makefile ] && exit 0 || : ; \
- r=`${PWD_COMMAND}`; export r; \
- s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
- $(STAGE_HOST_EXPORTS) \
- echo Configuring stage 4 in libbanshee ; \
- cd libbanshee || exit 1; \
- case $(srcdir) in \
- \.) \
- srcdiroption="--srcdir=."; \
- libsrcdir=".";; \
- /* | [A-Za-z]:[\\/]*) \
- srcdiroption="--srcdir=$(srcdir)/libbanshee"; \
- libsrcdir="$$s/libbanshee";; \
- *) \
- srcdiroption="--srcdir=../$(srcdir)/libbanshee"; \
- libsrcdir="$$s/libbanshee";; \
- esac; \
- $(SHELL) $${libsrcdir}/configure \
- $(HOST_CONFIGARGS) $${srcdiroption} \
- @stage2_werror_flag@
-
-maybe-all-stage4-libbanshee: all-stage4-libbanshee
-all-stage4-libbanshee: configure-stage4-libbanshee
- @$(MAKE) stage4-start
- @r=`${PWD_COMMAND}`; export r; \
- s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
- $(STAGE_HOST_EXPORTS) \
- cd libbanshee && \
- $(MAKE) $(FLAGS_TO_PASS) \
- $(POSTSTAGE1_FLAGS_TO_PASS) \
-
-
-maybe-clean-stage4-libbanshee: clean-stage4-libbanshee
-clean-stage4-libbanshee:
- @[ -f libbanshee/Makefile ] || [ -f stage4-libbanshee/Makefile ] \
- || exit 0 ; \
- [ -f libbanshee/Makefile ] || $(MAKE) stage4-start ; \
- cd libbanshee && \
- $(MAKE) $(FLAGS_TO_PASS) \
- $(POSTSTAGE1_FLAGS_TO_PASS) \
- clean
-@endif libbanshee-bootstrap
-
-
.PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
.PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
.PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
set stageprofile-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
@endif libcpp
-@if libbanshee
- @[ -d stageprofile-libbanshee ] || mkdir stageprofile-libbanshee; \
- set stageprofile-libbanshee libbanshee ; @CREATE_LINK_TO_DIR@ ; \
- set stage1-libbanshee prev-libbanshee ; @CREATE_LINK_TO_DIR@
-@endif libbanshee
@if libiberty
@[ -d stageprofile-libiberty ] || mkdir stageprofile-libiberty; \
set stageprofile-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
@set libcpp stageprofile-libcpp ; @UNDO_LINK_TO_DIR@ ; \
set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
@endif libcpp
-@if libbanshee
- @set libbanshee stageprofile-libbanshee ; @UNDO_LINK_TO_DIR@ ; \
- set prev-libbanshee stage1-libbanshee ; @UNDO_LINK_TO_DIR@
-@endif libbanshee
@if libiberty
@set libiberty stageprofile-libiberty ; @UNDO_LINK_TO_DIR@ ; \
set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
maybe-all-stageprofile-intl \
maybe-all-stageprofile-ld \
maybe-all-stageprofile-libcpp \
- maybe-all-stageprofile-libbanshee \
maybe-all-stageprofile-libiberty \
maybe-all-stageprofile-zlib
maybe-clean-stageprofile-intl \
maybe-clean-stageprofile-ld \
maybe-clean-stageprofile-libcpp \
- maybe-clean-stageprofile-libbanshee \
maybe-clean-stageprofile-libiberty \
maybe-clean-stageprofile-zlib
@endif libcpp-bootstrap
-.PHONY: configure-stageprofile-libbanshee maybe-configure-stageprofile-libbanshee
-.PHONY: all-stageprofile-libbanshee maybe-all-stageprofile-libbanshee
-.PHONY: clean-stageprofile-libbanshee maybe-clean-stageprofile-libbanshee
-
-maybe-configure-stageprofile-libbanshee:
-maybe-all-stageprofile-libbanshee:
-maybe-clean-stageprofile-libbanshee:
-
-@if libbanshee-bootstrap
-maybe-configure-stageprofile-libbanshee: configure-stageprofile-libbanshee
-configure-stageprofile-libbanshee:
- @$(MAKE) stageprofile-start
- @[ -f libbanshee/Makefile ] && exit 0 || : ; \
- r=`${PWD_COMMAND}`; export r; \
- s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
- $(STAGE_HOST_EXPORTS) \
- echo Configuring stage profile in libbanshee ; \
- cd libbanshee || exit 1; \
- case $(srcdir) in \
- \.) \
- srcdiroption="--srcdir=."; \
- libsrcdir=".";; \
- /* | [A-Za-z]:[\\/]*) \
- srcdiroption="--srcdir=$(srcdir)/libbanshee"; \
- libsrcdir="$$s/libbanshee";; \
- *) \
- srcdiroption="--srcdir=../$(srcdir)/libbanshee"; \
- libsrcdir="$$s/libbanshee";; \
- esac; \
- $(SHELL) $${libsrcdir}/configure \
- $(HOST_CONFIGARGS) $${srcdiroption} \
- @stage2_werror_flag@
-
-maybe-all-stageprofile-libbanshee: all-stageprofile-libbanshee
-all-stageprofile-libbanshee: configure-stageprofile-libbanshee
- @$(MAKE) stageprofile-start
- @r=`${PWD_COMMAND}`; export r; \
- s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
- $(STAGE_HOST_EXPORTS) \
- cd libbanshee && \
- $(MAKE) $(FLAGS_TO_PASS) \
- $(POSTSTAGE1_FLAGS_TO_PASS) \
- CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
-
-maybe-clean-stageprofile-libbanshee: clean-stageprofile-libbanshee
-clean-stageprofile-libbanshee:
- @[ -f libbanshee/Makefile ] || [ -f stageprofile-libbanshee/Makefile ] \
- || exit 0 ; \
- [ -f libbanshee/Makefile ] || $(MAKE) stageprofile-start ; \
- cd libbanshee && \
- $(MAKE) $(FLAGS_TO_PASS) \
- $(POSTSTAGE1_FLAGS_TO_PASS) \
- CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
-@endif libbanshee-bootstrap
-
-
.PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
.PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
.PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
set stagefeedback-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
@endif libcpp
-@if libbanshee
- @[ -d stagefeedback-libbanshee ] || mkdir stagefeedback-libbanshee; \
- set stagefeedback-libbanshee libbanshee ; @CREATE_LINK_TO_DIR@ ; \
- set stage1-libbanshee prev-libbanshee ; @CREATE_LINK_TO_DIR@
-@endif libbanshee
@if libiberty
@[ -d stagefeedback-libiberty ] || mkdir stagefeedback-libiberty; \
set stagefeedback-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
@set libcpp stagefeedback-libcpp ; @UNDO_LINK_TO_DIR@ ; \
set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
@endif libcpp
-@if libbanshee
- @set libbanshee stagefeedback-libbanshee ; @UNDO_LINK_TO_DIR@ ; \
- set prev-libbanshee stage1-libbanshee ; @UNDO_LINK_TO_DIR@
-@endif libbanshee
@if libiberty
@set libiberty stagefeedback-libiberty ; @UNDO_LINK_TO_DIR@ ; \
set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
maybe-all-stagefeedback-intl \
maybe-all-stagefeedback-ld \
maybe-all-stagefeedback-libcpp \
- maybe-all-stagefeedback-libbanshee \
maybe-all-stagefeedback-libiberty \
maybe-all-stagefeedback-zlib
maybe-clean-stagefeedback-intl \
maybe-clean-stagefeedback-ld \
maybe-clean-stagefeedback-libcpp \
- maybe-clean-stagefeedback-libbanshee \
maybe-clean-stagefeedback-libiberty \
maybe-clean-stagefeedback-zlib
@endif libcpp-bootstrap
-.PHONY: configure-stagefeedback-libbanshee maybe-configure-stagefeedback-libbanshee
-.PHONY: all-stagefeedback-libbanshee maybe-all-stagefeedback-libbanshee
-.PHONY: clean-stagefeedback-libbanshee maybe-clean-stagefeedback-libbanshee
-
-maybe-configure-stagefeedback-libbanshee:
-maybe-all-stagefeedback-libbanshee:
-maybe-clean-stagefeedback-libbanshee:
-
-@if libbanshee-bootstrap
-maybe-configure-stagefeedback-libbanshee: configure-stagefeedback-libbanshee
-configure-stagefeedback-libbanshee:
- @$(MAKE) stagefeedback-start
- @[ -f libbanshee/Makefile ] && exit 0 || : ; \
- r=`${PWD_COMMAND}`; export r; \
- s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
- $(STAGE_HOST_EXPORTS) \
- echo Configuring stage feedback in libbanshee ; \
- cd libbanshee || exit 1; \
- case $(srcdir) in \
- \.) \
- srcdiroption="--srcdir=."; \
- libsrcdir=".";; \
- /* | [A-Za-z]:[\\/]*) \
- srcdiroption="--srcdir=$(srcdir)/libbanshee"; \
- libsrcdir="$$s/libbanshee";; \
- *) \
- srcdiroption="--srcdir=../$(srcdir)/libbanshee"; \
- libsrcdir="$$s/libbanshee";; \
- esac; \
- $(SHELL) $${libsrcdir}/configure \
- $(HOST_CONFIGARGS) $${srcdiroption} \
- @stage2_werror_flag@
-
-maybe-all-stagefeedback-libbanshee: all-stagefeedback-libbanshee
-all-stagefeedback-libbanshee: configure-stagefeedback-libbanshee
- @$(MAKE) stagefeedback-start
- @r=`${PWD_COMMAND}`; export r; \
- s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
- $(STAGE_HOST_EXPORTS) \
- cd libbanshee && \
- $(MAKE) $(FLAGS_TO_PASS) \
- $(POSTSTAGE1_FLAGS_TO_PASS) \
- CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
-
-maybe-clean-stagefeedback-libbanshee: clean-stagefeedback-libbanshee
-clean-stagefeedback-libbanshee:
- @[ -f libbanshee/Makefile ] || [ -f stagefeedback-libbanshee/Makefile ] \
- || exit 0 ; \
- [ -f libbanshee/Makefile ] || $(MAKE) stagefeedback-start ; \
- cd libbanshee && \
- $(MAKE) $(FLAGS_TO_PASS) \
- $(POSTSTAGE1_FLAGS_TO_PASS) \
- CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
-@endif libbanshee-bootstrap
-
-
.PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
.PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
.PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
all-stage4-gcc: maybe-all-stage4-zlib
all-stageprofile-gcc: maybe-all-stageprofile-zlib
all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
-all-gcc: maybe-all-libbanshee
-
-all-stage1-gcc: maybe-all-stage1-libbanshee
-all-stage2-gcc: maybe-all-stage2-libbanshee
-all-stage3-gcc: maybe-all-stage3-libbanshee
-all-stage4-gcc: maybe-all-stage4-libbanshee
-all-stageprofile-gcc: maybe-all-stageprofile-libbanshee
-all-stagefeedback-gcc: maybe-all-stagefeedback-libbanshee
all-gcc: all-libcpp
all-stage1-gcc: all-stage1-libcpp
all-prebootstrap: maybe-all-intl
all-prebootstrap: maybe-all-ld
all-prebootstrap: maybe-all-libcpp
-all-prebootstrap: maybe-all-libbanshee
all-prebootstrap: maybe-all-libiberty
all-prebootstrap: maybe-all-zlib
@endif gcc-no-bootstrap
$(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH):$(TARGET_LIB_PATH):$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
# This is the list of directories to be built for the build system.
-BUILD_CONFIGDIRS = libiberty libbanshee
+BUILD_CONFIGDIRS = libiberty
# Build programs are put under this directory.
BUILD_SUBDIR = @build_subdir@
# This is set by the configure script to the arguments to use when configuring
ac_default_prefix=/usr/local
# Any additions from configure.in:
ac_help="$ac_help
- --without-libbanshee Don't build with libbanshee"
-ac_help="$ac_help
--enable-libada Builds libada directory"
ac_help="$ac_help
--with-mpfr-dir=PATH Specify source directory for MPFR library"
fi
echo $ac_n "checking host system type""... $ac_c" 1>&6
-echo "configure:597: checking host system type" >&5
+echo "configure:595: checking host system type" >&5
host_alias=$host
case "$host_alias" in
echo "$ac_t""$host" 1>&6
echo $ac_n "checking target system type""... $ac_c" 1>&6
-echo "configure:618: checking target system type" >&5
+echo "configure:616: checking target system type" >&5
target_alias=$target
case "$target_alias" in
echo "$ac_t""$target" 1>&6
echo $ac_n "checking build system type""... $ac_c" 1>&6
-echo "configure:636: checking build system type" >&5
+echo "configure:634: checking build system type" >&5
build_alias=$build
case "$build_alias" in
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
-echo "configure:691: checking for a BSD compatible install" >&5
+echo "configure:689: checking for a BSD compatible install" >&5
if test -z "$INSTALL"; then
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
echo $ac_n "checking whether ln works""... $ac_c" 1>&6
-echo "configure:744: checking whether ln works" >&5
+echo "configure:742: checking whether ln works" >&5
if eval "test \"`echo '$''{'acx_cv_prog_LN'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
fi
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
-echo "configure:768: checking whether ln -s works" >&5
+echo "configure:766: checking whether ln -s works" >&5
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# these libraries are used by various programs built for the host environment
#
-host_libs="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libbanshee libcpp"
+host_libs="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp"
# these tools are built for the host environment
# Note, the powerpc-eabi build depends on sim occurring before gdb in order to
;;
esac
-# Check whether --with-libbanshee or --without-libbanshee was given.
-if test "${with_libbanshee+set}" = set; then
- withval="$with_libbanshee"
- :
-fi
-
-case ${with_libbanshee} in
- no)
- noconfigdirs="$noconfigdirs libbanshee" ;;
- yes|"")
- with_libbanshee=yes
- ;;
- *)
- { echo "configure: error: --with-libbanshee can only be empty, "yes" or "no" (empty defaults to "yes"." 1>&2; exit 1; }
-esac
# Check whether --enable-libada or --disable-libada was given.
if test "${enable_libada+set}" = set; then
# Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1792: checking for $ac_word" >&5
+echo "configure:1775: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1822: checking for $ac_word" >&5
+echo "configure:1805: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "cl", so it can be a program name with args.
set dummy cl; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1873: checking for $ac_word" >&5
+echo "configure:1856: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
-echo "configure:1905: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
+echo "configure:1888: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
cat > conftest.$ac_ext << EOF
-#line 1916 "configure"
+#line 1899 "configure"
#include "confdefs.h"
main(){return(0);}
EOF
-if { (eval echo configure:1921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:1904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ac_cv_prog_cc_works=yes
# If we can't run a trivial program, we are probably using a cross compiler.
if (./conftest; exit) 2>/dev/null; then
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
-echo "configure:1947: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
+echo "configure:1930: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
cross_compiling=$ac_cv_prog_cc_cross
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
-echo "configure:1952: checking whether we are using GNU C" >&5
+echo "configure:1935: checking whether we are using GNU C" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
yes;
#endif
EOF
-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1961: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
+if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1944: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
ac_cv_prog_gcc=yes
else
ac_cv_prog_gcc=no
ac_save_CFLAGS="$CFLAGS"
CFLAGS=
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
-echo "configure:1980: checking whether ${CC-cc} accepts -g" >&5
+echo "configure:1963: checking whether ${CC-cc} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
set dummy ${ac_tool_prefix}gnatbind; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2047: checking for $ac_word" >&5
+echo "configure:2030: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_GNATBIND'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "gnatbind", so it can be a program name with args.
set dummy gnatbind; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2079: checking for $ac_word" >&5
+echo "configure:2062: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_GNATBIND'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
fi
echo $ac_n "checking whether compiler driver understands Ada""... $ac_c" 1>&6
-echo "configure:2112: checking whether compiler driver understands Ada" >&5
+echo "configure:2095: checking whether compiler driver understands Ada" >&5
if eval "test \"`echo '$''{'acx_cv_cc_gcc_supports_ada'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
fi
echo $ac_n "checking how to compare bootstrapped objects""... $ac_c" 1>&6
-echo "configure:2145: checking how to compare bootstrapped objects" >&5
+echo "configure:2128: checking how to compare bootstrapped objects" >&5
if eval "test \"`echo '$''{'gcc_cv_prog_cmp_skip'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
CFLAGS="$CFLAGS $gmpinc"
# Check GMP actually works
echo $ac_n "checking for correct version of gmp.h""... $ac_c" 1>&6
-echo "configure:2243: checking for correct version of gmp.h" >&5
+echo "configure:2226: checking for correct version of gmp.h" >&5
cat > conftest.$ac_ext <<EOF
-#line 2245 "configure"
+#line 2228 "configure"
#include "confdefs.h"
#include "gmp.h"
int main() {
; return 0; }
EOF
-if { (eval echo configure:2256: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2239: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
echo "$ac_t""yes" 1>&6
else
if test x"$have_gmp" = xyes; then
echo $ac_n "checking for MPFR""... $ac_c" 1>&6
-echo "configure:2269: checking for MPFR" >&5
+echo "configure:2252: checking for MPFR" >&5
saved_LIBS="$LIBS"
LIBS="$LIBS $gmplibs"
cat > conftest.$ac_ext <<EOF
-#line 2274 "configure"
+#line 2257 "configure"
#include "confdefs.h"
#include <gmp.h>
#include <mpfr.h>
mpfr_t n; mpfr_init(n);
; return 0; }
EOF
-if { (eval echo configure:2282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:2265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
echo "$ac_t""yes" 1>&6
else
extra_host_args="$extra_host_args --with-newlib"
fi
-if test x${with_libbanshee} = xyes && echo " ${configdirs} " | grep " libbanshee " >/dev/null 2>&1; then
- extra_host_args="$extra_host_args --with-libbanshee"
-fi
-
# Default to using --with-stabs for certain targets.
if test x${with_stabs} = x ; then
case "${target}" in
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2766: checking for $ac_word" >&5
+echo "configure:2742: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_BISON'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2801: checking for $ac_word" >&5
+echo "configure:2777: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_YACC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2836: checking for $ac_word" >&5
+echo "configure:2812: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_M4'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2871: checking for $ac_word" >&5
+echo "configure:2847: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_FLEX'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2906: checking for $ac_word" >&5
+echo "configure:2882: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_LEX'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2941: checking for $ac_word" >&5
+echo "configure:2917: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_MAKEINFO'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "${ncn_tool_prefix}ar", so it can be a program name with args.
set dummy ${ncn_tool_prefix}ar; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3575: checking for $ac_word" >&5
+echo "configure:3551: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "ar", so it can be a program name with args.
set dummy ar; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3608: checking for $ac_word" >&5
+echo "configure:3584: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_AR'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "${ncn_tool_prefix}as", so it can be a program name with args.
set dummy ${ncn_tool_prefix}as; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3647: checking for $ac_word" >&5
+echo "configure:3623: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "as", so it can be a program name with args.
set dummy as; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3680: checking for $ac_word" >&5
+echo "configure:3656: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_AS'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "${ncn_tool_prefix}dlltool", so it can be a program name with args.
set dummy ${ncn_tool_prefix}dlltool; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3719: checking for $ac_word" >&5
+echo "configure:3695: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "dlltool", so it can be a program name with args.
set dummy dlltool; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3752: checking for $ac_word" >&5
+echo "configure:3728: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_DLLTOOL'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "${ncn_tool_prefix}ld", so it can be a program name with args.
set dummy ${ncn_tool_prefix}ld; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3791: checking for $ac_word" >&5
+echo "configure:3767: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "ld", so it can be a program name with args.
set dummy ld; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3824: checking for $ac_word" >&5
+echo "configure:3800: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_LD'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "${ncn_tool_prefix}nm", so it can be a program name with args.
set dummy ${ncn_tool_prefix}nm; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3863: checking for $ac_word" >&5
+echo "configure:3839: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_NM'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "nm", so it can be a program name with args.
set dummy nm; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3896: checking for $ac_word" >&5
+echo "configure:3872: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_NM'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "${ncn_tool_prefix}ranlib", so it can be a program name with args.
set dummy ${ncn_tool_prefix}ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3935: checking for $ac_word" >&5
+echo "configure:3911: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3968: checking for $ac_word" >&5
+echo "configure:3944: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_RANLIB'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "${ncn_tool_prefix}windres", so it can be a program name with args.
set dummy ${ncn_tool_prefix}windres; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:4007: checking for $ac_word" >&5
+echo "configure:3983: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "windres", so it can be a program name with args.
set dummy windres; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:4040: checking for $ac_word" >&5
+echo "configure:4016: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_WINDRES'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "${ncn_tool_prefix}objcopy", so it can be a program name with args.
set dummy ${ncn_tool_prefix}objcopy; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:4079: checking for $ac_word" >&5
+echo "configure:4055: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_OBJCOPY'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "objcopy", so it can be a program name with args.
set dummy objcopy; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:4112: checking for $ac_word" >&5
+echo "configure:4088: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_OBJCOPY'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "${ncn_tool_prefix}objdump", so it can be a program name with args.
set dummy ${ncn_tool_prefix}objdump; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:4151: checking for $ac_word" >&5
+echo "configure:4127: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "objdump", so it can be a program name with args.
set dummy objdump; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:4184: checking for $ac_word" >&5
+echo "configure:4160: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_OBJDUMP'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "${ncn_target_tool_prefix}ar", so it can be a program name with args.
set dummy ${ncn_target_tool_prefix}ar; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:4230: checking for $ac_word" >&5
+echo "configure:4206: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_AR_FOR_TARGET'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "ar", so it can be a program name with args.
set dummy ar; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:4263: checking for $ac_word" >&5
+echo "configure:4239: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_CONFIGURED_AR_FOR_TARGET'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "${ncn_target_tool_prefix}as", so it can be a program name with args.
set dummy ${ncn_target_tool_prefix}as; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:4302: checking for $ac_word" >&5
+echo "configure:4278: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_AS_FOR_TARGET'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "as", so it can be a program name with args.
set dummy as; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:4335: checking for $ac_word" >&5
+echo "configure:4311: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_CONFIGURED_AS_FOR_TARGET'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "${ncn_target_tool_prefix}dlltool", so it can be a program name with args.
set dummy ${ncn_target_tool_prefix}dlltool; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:4374: checking for $ac_word" >&5
+echo "configure:4350: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_DLLTOOL_FOR_TARGET'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "dlltool", so it can be a program name with args.
set dummy dlltool; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:4407: checking for $ac_word" >&5
+echo "configure:4383: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_CONFIGURED_DLLTOOL_FOR_TARGET'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "${ncn_target_tool_prefix}ld", so it can be a program name with args.
set dummy ${ncn_target_tool_prefix}ld; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:4446: checking for $ac_word" >&5
+echo "configure:4422: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_LD_FOR_TARGET'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "ld", so it can be a program name with args.
set dummy ld; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:4479: checking for $ac_word" >&5
+echo "configure:4455: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_CONFIGURED_LD_FOR_TARGET'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "${ncn_target_tool_prefix}nm", so it can be a program name with args.
set dummy ${ncn_target_tool_prefix}nm; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:4518: checking for $ac_word" >&5
+echo "configure:4494: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_NM_FOR_TARGET'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "nm", so it can be a program name with args.
set dummy nm; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:4551: checking for $ac_word" >&5
+echo "configure:4527: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_CONFIGURED_NM_FOR_TARGET'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "${ncn_target_tool_prefix}ranlib", so it can be a program name with args.
set dummy ${ncn_target_tool_prefix}ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:4590: checking for $ac_word" >&5
+echo "configure:4566: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_RANLIB_FOR_TARGET'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:4623: checking for $ac_word" >&5
+echo "configure:4599: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_CONFIGURED_RANLIB_FOR_TARGET'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "${ncn_target_tool_prefix}windres", so it can be a program name with args.
set dummy ${ncn_target_tool_prefix}windres; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:4662: checking for $ac_word" >&5
+echo "configure:4638: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_WINDRES_FOR_TARGET'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "windres", so it can be a program name with args.
set dummy windres; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:4695: checking for $ac_word" >&5
+echo "configure:4671: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_CONFIGURED_WINDRES_FOR_TARGET'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
-echo "configure:4780: checking whether to enable maintainer-specific portions of Makefiles" >&5
+echo "configure:4756: checking whether to enable maintainer-specific portions of Makefiles" >&5
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
if test "${enable_maintainer_mode+set}" = set; then
enableval="$enable_maintainer_mode"
# gcc for stageN-gcc and stagePREV-gcc for stage(N-1). In case this is not
# possible, however, we can resort to mv.
echo $ac_n "checking if symbolic links between directories work""... $ac_c" 1>&6
-echo "configure:4827: checking if symbolic links between directories work" >&5
+echo "configure:4803: checking if symbolic links between directories work" >&5
if eval "test \"`echo '$''{'gcc_cv_prog_ln_s_dir'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Transform confdefs.h into DEFS.
# Protect against shell expansion while executing Makefile rules.
# Protect against Makefile macro expansion.
-cat > conftest.defs <<\EOF
-s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
-s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
-s%\[%\\&%g
-s%\]%\\&%g
-s%\$%$$%g
-EOF
-DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
-rm -f conftest.defs
+#
+# If the first sed substitution is executed (which looks for macros that
+# take arguments), then we branch to the quote section. Otherwise,
+# look for a macro that doesn't take arguments.
+cat >confdef2opt.sed <<\_ACEOF
+t clear
+: clear
+s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
+t quote
+s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
+t quote
+d
+: quote
+s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
+s,\[,\\&,g
+s,\],\\&,g
+s,\$,$$,g
+p
+_ACEOF
+# We use echo to avoid assuming a particular line-breaking character.
+# The extra dot is to prevent the shell from consuming trailing
+# line-breaks from the sub-command output. A line-break within
+# single-quotes doesn't work because, if this script is created in a
+# platform that uses two characters for line-breaks (e.g., DOS), tr
+# would break.
+ac_LF_and_DOT=`echo; echo .`
+DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
+rm -f confdef2opt.sed
# Without the "./", some shells look in PATH for config.status.
# these libraries are used by various programs built for the host environment
#
-host_libs="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libbanshee libcpp"
+host_libs="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp"
# these tools are built for the host environment
# Note, the powerpc-eabi build depends on sim occurring before gdb in order to
;;
esac
-AC_ARG_WITH(libbanshee,
-[ --without-libbanshee Don't build with libbanshee])
-case ${with_libbanshee} in
- no)
- noconfigdirs="$noconfigdirs libbanshee" ;;
- yes|"")
- with_libbanshee=yes
- ;;
- *)
- AC_MSG_ERROR([--with-libbanshee can only be empty, "yes" or "no" (empty defaults to "yes".])
-esac
AC_ARG_ENABLE(libada,
[ --enable-libada Builds libada directory],
extra_host_args="$extra_host_args --with-newlib"
fi
-if test x${with_libbanshee} = xyes && echo " ${configdirs} " | grep " libbanshee " >/dev/null 2>&1; then
- extra_host_args="$extra_host_args --with-libbanshee"
-fi
-
# Default to using --with-stabs for certain targets.
if test x${with_stabs} = x ; then
case "${target}" in
+2004-09-09 Daniel Berlin <dberlin@dberlin.org>
+
+ * Makefile.in: Remove libbanshee, tree-alias-*.
+ Remove tree-alias-common.h dependencies.
+ * common.opt: Remove -ftree-points-to.
+ * configure.ac: Remove libbanshee.
+ * flags.h: Remove pta_type, flag_tree_points_to.
+ * gengtype.c (open_base_files): Remove tree-alias-type.h.
+ * opts.c (OPT_ftree_points_to): Remove.
+ * toplev.c: Remove tree-alias-common.h, flag_tree_points_to.
+ * tree-dfa.c: Remove tree-alias-common.h
+ * tree-into-ssa.c: Ditto.
+ * tree-outof-ssa.c: Ditto.
+ * tree-ssa-copyrename.c: Ditto.
+ * tree-ssa-live.c: Ditto.
+ * tree-optimize.c: Ditto.
+ * tree-ssa.c: Ditto.
+ Remove pass_build_pta, pass_del_pta.
+ * tree-pass.h: Ditto.
+ * tree-ssa-alias.c: Remove tree-alias-common.h.
+ (struct alias_stats_d): Remove pta_queries, pta_resolved.
+ (pass_may_alias): Remove PROP_pta requirement.
+ (may_alias_p): Remove pta_queries, pta_resolved, use of andersens.
+ (get_tmt_for): Ditto.
+ (dump_alias_stats): Ditto.
+ * doc/passes.texi: Remove blurb about points-to analysis.
+ * fortran/Make-lang.in: Remove tree-alias-*.o.
+
2004-09-09 Richard Sandiford <rsandifo@redhat.com>
* genattrtab.c (write_insn_cases): New function, split out from
# recognizing that the loop will always be executed at least once. We need
# a new loop optimizer.
reload1.o-warn = -Wno-error
-# These warnings are due to libbanshee.
-tree-alias-ander.o-warn = -Wno-error
# All warnings have to be shut off in stage1 if the compiler used then
# isn't gcc; configure determines that. WARN_CFLAGS will be either
GMPLIBS = @GMPLIBS@
GMPINC = @GMPINC@
-BANSHEELIB = @BANSHEELIB@
-BANSHEEINC = @BANSHEEINC@
-
CPPLIB = ../libcpp/libcpp.a
CPPINC = -I$(srcdir)/../libcpp/include
BUILD_LIBIBERTY = ../$(build_subdir)/libiberty/libiberty.a
# Dependencies on the intl and portability libraries.
-LIBDEPS= $(CPPLIB) $(LIBIBERTY) $(LIBINTL_DEP) $(LIBICONV_DEP) $(BANSHEELIB)
+LIBDEPS= $(CPPLIB) $(LIBIBERTY) $(LIBINTL_DEP) $(LIBICONV_DEP)
# Likewise, for use in the tools that must run on this machine
# even if we are cross-building GCC.
# How to link with both our special library facilities
# and the system's installed libraries.
-LIBS = @LIBS@ $(CPPLIB) $(LIBINTL) $(LIBICONV) $(BANSHEELIB) $(LIBIBERTY)
+LIBS = @LIBS@ $(CPPLIB) $(LIBINTL) $(LIBICONV) $(LIBIBERTY)
# Any system libraries needed just for GNAT.
SYSLIBS = @GNAT_LIBEXC@
# libintl.h will be found in ../intl if we are using the included libintl.
INCLUDES = -I. -I$(@D) -I$(srcdir) -I$(srcdir)/$(@D) \
-I$(srcdir)/../include @INCINTL@ \
- $(CPPINC) $(BANSHEEINC) $(GMPINC)
+ $(CPPINC) $(GMPINC)
.c.o:
$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $< $(OUTPUT_OPTION)
OBJS-common = \
tree-chrec.o tree-scalar-evolution.o tree-data-ref.o \
tree-cfg.o tree-dfa.o tree-eh.o tree-ssa.o tree-optimize.o tree-gimple.o \
- tree-alias-type.o gimplify.o tree-pretty-print.o tree-into-ssa.o \
- tree-outof-ssa.o tree-alias-common.o tree-ssa-ccp.o tree-vn.o \
- @ANDER@ tree-ssa-dce.o tree-ssa-copy.o tree-nrv.o tree-ssa-copyrename.o \
+ gimplify.o tree-pretty-print.o tree-into-ssa.o \
+ tree-outof-ssa.o tree-ssa-ccp.o tree-vn.o \
+ tree-ssa-dce.o tree-ssa-copy.o tree-nrv.o tree-ssa-copyrename.o \
tree-ssa-pre.o tree-ssa-live.o tree-ssa-operands.o tree-ssa-alias.o \
tree-ssa-phiopt.o tree-ssa-forwprop.o tree-nested.o tree-ssa-dse.o \
tree-ssa-dom.o domwalk.o tree-tailcall.o gimple-low.o tree-iterator.o \
varray.h $(HASHTAB_H) $(SPLAY_TREE_H) bitmap.h $(TREE_H) $(RTL_H) \
function.h insn-config.h $(EXPR_H) hard-reg-set.h $(BASIC_BLOCK_H) \
cselib.h insn-addr.h $(OPTABS_H) libfuncs.h debug.h $(GGC_H) \
- cgraph.h tree-alias-type.h $(TREE_FLOW_H) reload.h $(CPP_ID_DATA_H)
+ cgraph.h $(TREE_FLOW_H) reload.h $(CPP_ID_DATA_H)
ggc-common.o: ggc-common.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(GGC_H) \
$(HASHTAB_H) toplev.h $(PARAMS_H) hosthooks.h
$(TREE_H) $(PARAMS_H) $(FLAGS_H) function.h $(EXPR_H) $(RTL_H) toplev.h \
$(GGC_H) $(TM_P_H) $(TARGET_H) \
langhooks.h $(REGS_H)
-tree-alias-type.o: tree-alias-type.c tree-alias-type.h $(SYSTEM_H) $(CONFIG_H) \
- $(GGC_H) $(TM_H) coretypes.h $(VARRAY_H)
-tree-alias-ander.o: tree-alias-ander.c tree-alias-ander.h $(SYSTEM_H) \
- $(CONFIG_H) $(GGC_H) $(TREE_H) $(TREE_FLOW_H) tree-alias-common.h \
- $(TM_H) coretypes.h cgraph.h tree-pass.h
-tree-alias-common.o: tree-alias-common.c tree-alias-common.h $(SYSTEM_H) \
- $(CONFIG_H) $(GGC_H) $(TREE_H) gt-tree-alias-common.h $(TREE_FLOW_H) \
- $(TM_H) coretypes.h cgraph.h tree-pass.h $(TIMEVAR_H) tree-alias-type.h \
- bitmap.h tree-alias-ander.h $(FLAGS_H) $(RTL_H) $(TM_P_H) \
- hard-reg-set.h $(BASIC_BLOCK_H) output.h errors.h $(EXPR_H) \
- $(DIAGNOSTIC_H) $(C_COMMON_H) tree-inline.h varray.h $(C_TREE_H) \
- $(TREE_GIMPLE_H) $(HASHTAB_H) function.h
tree-ssa.o : tree-ssa.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
$(RTL_H) $(TREE_H) $(TM_P_H) $(EXPR_H) output.h diagnostic.h \
- errors.h toplev.h function.h $(TIMEVAR_H) tree-alias-common.h \
+ errors.h toplev.h function.h $(TIMEVAR_H) \
$(TM_H) coretypes.h $(TREE_DUMP_H) langhooks.h $(CFGLOOP_H) \
tree-pass.h
tree-into-ssa.o : tree-into-ssa.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
$(RTL_H) $(TREE_H) $(TM_P_H) $(EXPR_H) output.h diagnostic.h \
- errors.h toplev.h function.h $(TIMEVAR_H) tree-alias-common.h \
+ errors.h toplev.h function.h $(TIMEVAR_H) \
$(TM_H) coretypes.h $(TREE_DUMP_H) langhooks.h domwalk.h tree-pass.h \
$(GGC_H)
tree-outof-ssa.o : tree-outof-ssa.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
$(RTL_H) $(TREE_H) $(TM_P_H) $(EXPR_H) output.h diagnostic.h \
- errors.h toplev.h function.h $(TIMEVAR_H) tree-alias-common.h \
+ errors.h toplev.h function.h $(TIMEVAR_H) \
$(TM_H) coretypes.h $(TREE_DUMP_H) langhooks.h domwalk.h \
tree-pass.h $(TREE_SSA_LIVE_H)
tree-ssa-dse.o : tree-ssa-dse.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
$(TREE_H) $(BASIC_BLOCK_H) $(TREE_FLOW_H) domwalk.h $(GGC_H)
tree-ssa-live.o : tree-ssa-live.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
$(RTL_H) $(TREE_H) $(TM_P_H) $(EXPR_H) $(GGC_H) output.h diagnostic.h \
- errors.h toplev.h function.h $(TIMEVAR_H) tree-alias-common.h \
+ errors.h toplev.h function.h $(TIMEVAR_H) \
$(TM_H) coretypes.h $(TREE_DUMP_H) $(TREE_SSA_LIVE_H)
tree-ssa-copyrename.o : tree-ssa-copyrename.c $(TREE_FLOW_H) $(CONFIG_H) \
$(SYSTEM_H) $(RTL_H) $(TREE_H) $(TM_P_H) $(EXPR_H) $(GGC_H) output.h \
diagnostic.h errors.h toplev.h function.h $(TIMEVAR_H) tree-pass.h \
- tree-alias-common.h $(TM_H) coretypes.h $(TREE_DUMP_H) $(TREE_SSA_LIVE_H)
+ $(TM_H) coretypes.h $(TREE_DUMP_H) $(TREE_SSA_LIVE_H)
tree-ssa-pre.o : tree-ssa-pre.c $(TREE_FLOW_H) $(CONFIG_H) \
$(SYSTEM_H) $(TREE_H) $(TM_P_H) $(EXPR_H) \
$(GGC_H) output.h diagnostic.h errors.h toplev.h $(TIMEVAR_H) \
tree-dfa.o : tree-dfa.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
$(RTL_H) $(TREE_H) $(TM_P_H) $(EXPR_H) $(GGC_H) output.h diagnostic.h \
errors.h tree-inline.h $(HASHTAB_H) $(FLAGS_H) function.h $(TIMEVAR_H) \
- tree-alias-common.h convert.h $(TM_H) coretypes.h langhooks.h \
+ convert.h $(TM_H) coretypes.h langhooks.h \
$(TREE_DUMP_H) tree-pass.h params.h
tree-ssa-operands.o : tree-ssa-operands.c $(TREE_FLOW_H) $(CONFIG_H) \
$(SYSTEM_H) $(TREE_H) $(TM_P_H) $(GGC_H) diagnostic.h errors.h \
tree-pass.h flags.h
tree-ssa-alias.o : tree-ssa-alias.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
$(RTL_H) $(TREE_H) $(TM_P_H) $(EXPR_H) $(GGC_H) tree-inline.h $(FLAGS_H) \
- function.h $(TIMEVAR_H) tree-alias-common.h convert.h $(TM_H) coretypes.h \
+ function.h $(TIMEVAR_H) convert.h $(TM_H) coretypes.h \
langhooks.h $(TREE_DUMP_H) tree-pass.h params.h
tree-optimize.o : tree-optimize.c $(TREE_FLOW_H) $(CONFIG_H) \
$(SYSTEM_H) $(RTL_H) $(TREE_H) $(TM_P_H) $(EXPR_H) \
- $(GGC_H) output.h diagnostic.h errors.h $(FLAGS_H) tree-alias-common.h \
+ $(GGC_H) output.h diagnostic.h errors.h $(FLAGS_H) \
$(TIMEVAR_H) $(TM_H) coretypes.h $(TREE_DUMP_H) toplev.h function.h \
langhooks.h $(FLAGS_H) cgraph.h tree-inline.h tree-mudflap.h $(GGC_H) \
cgraph.h tree-pass.h
$(srcdir)/tree-phinodes.c $(srcdir)/tree-cfg.c \
$(srcdir)/tree-dfa.c $(srcdir)/tree-ssa-propagate.c \
$(srcdir)/tree-iterator.c $(srcdir)/gimplify.c \
- $(srcdir)/tree-alias-type.h $(srcdir)/tree-alias-common.h \
- $(srcdir)/tree-alias-type.c $(srcdir)/tree-alias-common.c \
$(srcdir)/tree-chrec.h \
$(srcdir)/tree-ssa-operands.h $(srcdir)/tree-ssa-operands.c \
$(srcdir)/tree-profile.c $(srcdir)/rtl-profile.c $(srcdir)/tree-nested.c \
gt-dwarf2out.h gt-ra-build.h gt-reg-stack.h gt-dwarf2asm.h \
gt-dbxout.h gt-c-common.h gt-c-decl.h gt-c-parse.h \
gt-c-pragma.h gtype-c.h gt-input.h gt-cfglayout.h \
-gt-tree-alias-common.h gt-tree-mudflap.h \
+gt-tree-mudflap.h \
gt-tree-ssa-ccp.h gt-tree-eh.h \
gt-tree-ssanames.h gt-tree-iterator.h gt-gimplify.h \
gt-tree-phinodes.h gt-tree-cfg.h gt-tree-nested.h \
Common Report Var(flag_tree_loop_optimize) Init(1)
Enable loop optimizations on tree level
-ftree-points-to=
-Common Joined RejectNegative
-
ftree-pre
Common Report Var(flag_tree_pre)
Enable SSA-PRE optimization on trees
# include <unistd.h>
#endif"
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os target_noncanonical build_subdir host_subdir target_subdir GENINSRC CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT NO_MINUS_C_MINUS_O OUTPUT_OPTION CPP strict1_warn warn_cflags WERROR nocommon_flag TREEBROWSER EGREP valgrind_path valgrind_path_defines valgrind_command coverage_flags enable_multilib enable_shared TARGET_SYSTEM_ROOT TARGET_SYSTEM_ROOT_DEFINE CROSS_SYSTEM_HEADER_DIR onestep SET_MAKE AWK LN_S LN RANLIB ac_ct_RANLIB ranlib_flags INSTALL INSTALL_PROGRAM INSTALL_DATA make_compare_target have_mktemp_command MAKEINFO BUILD_INFO GENERATED_MANPAGES FLEX BISON NM AR stage1_cflags COLLECT2_LIBS GNAT_LIBEXC LDEXP_LIB TARGET_GETGROUPS_T LIBICONV LIBICONV_DEP manext objext gthread_flags extra_modes_file PACKAGE VERSION USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS CROSS ALL SYSTEM_HEADER_DIR inhibit_libc CC_FOR_BUILD BUILD_CFLAGS STMP_FIXINC STMP_FIXPROTO collect2 libgcc_visibility GGC zlibdir zlibinc MAINT ANDER BANSHEEINC BANSHEELIB gcc_tooldir dollar slibdir objdir subdirs srcdir all_boot_languages all_compilers all_gtfiles all_gtfiles_files_langs all_gtfiles_files_files all_lang_makefrags all_lang_makefiles all_languages all_stagestuff build_exeext build_install_headers_dir build_xm_file_list build_xm_include_list build_xm_defines check_languages cc_set_by_configure quoted_cc_set_by_configure cpp_install_dir xmake_file tmake_file extra_gcc_objs extra_headers_list extra_objs extra_parts extra_passes extra_programs float_h_file gcc_config_arguments gcc_gxx_include_dir libstdcxx_incdir gcc_version gcc_version_full gcc_version_trigger host_exeext host_xm_file_list host_xm_include_list host_xm_defines out_host_hook_obj install lang_opt_files lang_specs_files lang_tree_files local_prefix md_file objc_boehm_gc out_file out_object_file stage_prefix_set_by_configure quoted_stage_prefix_set_by_configure symbolic_link thread_file tm_file_list tm_include_list tm_defines tm_p_file_list tm_p_include_list xm_file_list xm_include_list xm_defines c_target_objs cxx_target_objs target_cpu_default GMPLIBS GMPINC LIBOBJS LTLIBOBJS'
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os target_noncanonical build_subdir host_subdir target_subdir GENINSRC CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT NO_MINUS_C_MINUS_O OUTPUT_OPTION CPP strict1_warn warn_cflags WERROR nocommon_flag TREEBROWSER EGREP valgrind_path valgrind_path_defines valgrind_command coverage_flags enable_multilib enable_shared TARGET_SYSTEM_ROOT TARGET_SYSTEM_ROOT_DEFINE CROSS_SYSTEM_HEADER_DIR onestep SET_MAKE AWK LN_S LN RANLIB ac_ct_RANLIB ranlib_flags INSTALL INSTALL_PROGRAM INSTALL_DATA make_compare_target have_mktemp_command MAKEINFO BUILD_INFO GENERATED_MANPAGES FLEX BISON NM AR stage1_cflags COLLECT2_LIBS GNAT_LIBEXC LDEXP_LIB TARGET_GETGROUPS_T LIBICONV LIBICONV_DEP manext objext gthread_flags extra_modes_file PACKAGE VERSION USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS CROSS ALL SYSTEM_HEADER_DIR inhibit_libc CC_FOR_BUILD BUILD_CFLAGS STMP_FIXINC STMP_FIXPROTO collect2 libgcc_visibility GGC zlibdir zlibinc MAINT gcc_tooldir dollar slibdir objdir subdirs srcdir all_boot_languages all_compilers all_gtfiles all_gtfiles_files_langs all_gtfiles_files_files all_lang_makefrags all_lang_makefiles all_languages all_stagestuff build_exeext build_install_headers_dir build_xm_file_list build_xm_include_list build_xm_defines check_languages cc_set_by_configure quoted_cc_set_by_configure cpp_install_dir xmake_file tmake_file extra_gcc_objs extra_headers_list extra_objs extra_parts extra_passes extra_programs float_h_file gcc_config_arguments gcc_gxx_include_dir libstdcxx_incdir gcc_version gcc_version_full gcc_version_trigger host_exeext host_xm_file_list host_xm_include_list host_xm_defines out_host_hook_obj install lang_opt_files lang_specs_files lang_tree_files local_prefix md_file objc_boehm_gc out_file out_object_file stage_prefix_set_by_configure quoted_stage_prefix_set_by_configure symbolic_link thread_file tm_file_list tm_include_list tm_defines tm_p_file_list tm_p_include_list xm_file_list xm_include_list xm_defines c_target_objs cxx_target_objs target_cpu_default GMPLIBS GMPINC LIBOBJS LTLIBOBJS'
ac_subst_files='language_hooks'
# Initialize some variables set by options.
--with-gc={page,zone} choose the garbage collection mechanism to use
with the compiler
--with-system-zlib use installed libz
- --with-libbanshee enable libbanshee
--with-slibdir=DIR shared libraries in DIR LIBDIR
Some influential environment variables:
else
ac_prog_version=`$MAKEINFO --version 2>&1 |
sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
- echo "configure:5294: version of makeinfo is $ac_prog_version" >&5
+ echo "configure:5293: version of makeinfo is $ac_prog_version" >&5
case $ac_prog_version in
'') gcc_cv_prog_makeinfo_modern=no;;
4.[2-9]*)
MAINT='#'
fi
-echo "$as_me:$LINENO: checking whether to use libbanshee for points-to alias analysis" >&5
-echo $ECHO_N "checking whether to use libbanshee for points-to alias analysis... $ECHO_C" >&6
-
-# Check whether --with-libbanshee or --without-libbanshee was given.
-if test "${with_libbanshee+set}" = set; then
- withval="$with_libbanshee"
- libbanshee="$with_libbanshee"
-else
- libbanshee=no
-fi;
-
-if test x"$libbanshee" = xyes; then
- BANSHEELIB="../libbanshee/points-to/libandersen.a ../libbanshee/engine/libbansheeengine.a ../libbanshee/libcompat/libbansheecompat.a "
- BANSHEEINC="-I\$(srcdir)/../libbanshee/libcompat -I\$(srcdir)/../libbanshee -I\$(srcdir)/../libbanshee/points-to"
- ANDER="tree-alias-ander.o"
-
-cat >>confdefs.h <<\_ACEOF
-#define HAVE_BANSHEE 1
-_ACEOF
-
-else
- BANSHEELIB=""
- BANSHEEINC=""
- ANDER=""
-fi
-echo "$as_me:$LINENO: result: $with_libbanshee" >&5
-echo "${ECHO_T}$with_libbanshee" >&6
-
-
-
-
-
# --------------
# Language hooks
# --------------
s,@zlibdir@,$zlibdir,;t t
s,@zlibinc@,$zlibinc,;t t
s,@MAINT@,$MAINT,;t t
-s,@ANDER@,$ANDER,;t t
-s,@BANSHEEINC@,$BANSHEEINC,;t t
-s,@BANSHEELIB@,$BANSHEELIB,;t t
s,@gcc_tooldir@,$gcc_tooldir,;t t
s,@dollar@,$dollar,;t t
s,@slibdir@,$slibdir,;t t
fi
AC_SUBST(MAINT)dnl
-AC_MSG_CHECKING([whether to use libbanshee for points-to alias analysis])
-AC_ARG_WITH(libbanshee,
-[ --with-libbanshee enable libbanshee],
-libbanshee="$with_libbanshee",
-libbanshee=no)
-
-if test x"$libbanshee" = xyes; then
- BANSHEELIB="../libbanshee/points-to/libandersen.a ../libbanshee/engine/libbansheeengine.a ../libbanshee/libcompat/libbansheecompat.a "
- BANSHEEINC="-I\$(srcdir)/../libbanshee/libcompat -I\$(srcdir)/../libbanshee -I\$(srcdir)/../libbanshee/points-to"
- ANDER="tree-alias-ander.o"
- AC_DEFINE(HAVE_BANSHEE, 1, [Define if BANSHEE is available])
-else
- BANSHEELIB=""
- BANSHEEINC=""
- ANDER=""
-fi
-AC_MSG_RESULT($with_libbanshee)
-
-AC_SUBST(ANDER)
-AC_SUBST(BANSHEEINC)
-AC_SUBST(BANSHEELIB)
-
# --------------
# Language hooks
# --------------
SSA rewriting routines. The pass is located in @file{tree-dfa.c}
and is described by @code{pass_referenced_vars}.
-@item Points-to analysis
-
-This pass constructs flow-insensitive alias analysis information.
-The pass is located in @file{tree-alias-common.c} and described by
-@code{pass_build_pta}.
-
@item Enter static single assignment form
This pass rewrites the function such that it is in SSA form. After
and to print them when we are done. */
extern int flag_detailed_statistics;
-/* Enable points-to analysis on trees. */
-enum pta_type
- {
- PTA_NONE,
- PTA_ANDERSEN
- };
-extern enum pta_type flag_tree_points_to;
-
extern int flag_web;
/* Nonzero means that we defer emitting functions until they are actually
F95_ADDITIONAL_OBJS = \
tree-cfg.o tree-dfa.o tree-optimize.o tree-gimple.o \
tree-ssa.o tree-ssa-ccp.o tree-ssa-dce.o \
- tree-alias-common.o tree-alias-type.o gimplify.o stor-layout.o
+ gimplify.o stor-layout.o
# GFORTRAN uses GMP for its internal arithmetics.
F95_LIBS = $(GMPLIBS) $(LIBS)
"function.h", "insn-config.h", "expr.h", "hard-reg-set.h",
"basic-block.h", "cselib.h", "insn-addr.h", "optabs.h",
"libfuncs.h", "debug.h", "ggc.h", "cgraph.h",
- "tree-alias-type.h", "tree-flow.h", "reload.h",
+ "tree-flow.h", "reload.h",
"cpp-id-data.h",
"tree-chrec.h",
NULL
flag_tracer_set = true;
break;
- case OPT_ftree_points_to_:
- if (!strcmp (arg, "andersen"))
-#ifdef HAVE_BANSHEE
- flag_tree_points_to = PTA_ANDERSEN;
-#else
- warning ("Andersen's PTA not available - libbanshee not compiled.");
-#endif
- else if (!strcmp (arg, "none"))
- flag_tree_points_to = PTA_NONE;
- else
- {
- warning ("`%s`: unknown points-to analysis algorithm", arg);
- return 0;
- }
- break;
-
case OPT_funroll_loops:
flag_unroll_loops_set = true;
break;
#include "target.h"
#include "langhooks.h"
#include "cfglayout.h"
-#include "tree-alias-common.h"
#include "cfgloop.h"
#include "hosthooks.h"
#include "cgraph.h"
one, unconditionally renumber instruction UIDs. */
int flag_renumber_insns = 1;
-/* Enable points-to analysis on trees. */
-enum pta_type flag_tree_points_to = PTA_NONE;
-
/* Nonzero if we should track variables. When
flag_var_tracking == AUTODETECT_FLAG_VAR_TRACKING it will be set according
to optimize, debug_info_level and debug_hooks in process_options (). */
+++ /dev/null
-/* Tree based Andersen points-to analysis
- Copyright (C) 2002, 2003 Free Software Foundation, Inc.
- Contributed by Daniel Berlin <dberlin@dberlin.org>
-
-This file is part of GCC.
-
-GCC is free software; you can redistribute it and/or modify
-under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
-(at your option) any later version.
-
-GCC is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GCC; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-*/
-
-
-#include "config.h"
-#include "system.h"
-#include "coretypes.h"
-#include "tm.h"
-#include "ggc.h"
-#include "bitmap.h"
-#include "tree-alias-type.h"
-#include "tree-alias-ander.h"
-#include "flags.h"
-#include "rtl.h"
-#include "tm_p.h"
-#include "hard-reg-set.h"
-#include "basic-block.h"
-#include "output.h"
-#include "errors.h"
-#include "expr.h"
-#include "diagnostic.h"
-#include "tree.h"
-#include "tree-flow.h"
-#include "tree-inline.h"
-#include "varray.h"
-#include "tree-gimple.h"
-#include "splay-tree.h"
-#include "engine/util.h"
-#include "libcompat/regions.h"
-#include "andersen_terms.h"
-#include "cgraph.h"
-#include "tree-pass.h"
-
-
-/* Andersen's interprocedural points-to analysis.
- This is a flow-insensitive, context insensitive algorithm.
-
- This file is an implementation of the alias_ops structure used by
- tree-alias-common.c to drive PTA analysis.
-
- All these functions do is generate constraints for and through
- libbanshee. When we query for a points-to set, we ask libbanshee
- to solve the constraints and give us the answer. The terms of the
- constraints are the aterms, which are an opaque data structure
- that stores libbanshee specific data for the constraints.
-
- The constraints to be generated come from andersen's paper. By
- constraint, we mean something like "the points-to set of A must be
- a subset or equal to the points-to set of B" or "the points-to set
- of A must include Q". In order to avoid having to write all the
- constraints directly in the code, we use helper functions such as
- pta_assignment, pta_rvalue, etc, that generate the necessary
- constraint terms for us, making for much more readable code.
-
- One could replace libbanshee with some other constraint solving
- engine, and you'd simply have to replace the implementation of the
- pta_* functions, and provide replacements for the aterm specific
- functions (like making a list of aterms, printing the label of an
- aterm). However, libbanshee is extremely fast, and extremely low
- memory usage, so one would be hard pressed to do better than it
- anyway.
-
- Understanding how constraint solving and what each constraint means is
- beyond the scope of this documentation. See the libbanshee
- documentation, and references therein for more enlightenment.
-
- That said, our constraints inclusion constraints of set
- expressions. Given the helper functions, the various inference
- functions we implement should *look* relatively straightforward.
-
- In order to save time during queries, we cache the resulting
- points-to sets of each variable, rather than recalculate them
- again and again. (libbanshee actually has it's own internal
- caching, but the function call overhead for calling the solver is
- non-trivial, given the number of queries).
-
- Todo: Don't pass alias ops as first argument, just have a global
- "current_alias_ops". */
-
-static unsigned int id_num = 1;
-static region andersen_rgn;
-static void andersen_simple_assign (struct tree_alias_ops *,
- alias_var, alias_var);
-static void andersen_addr_assign (struct tree_alias_ops *,
- alias_var, alias_var);
-static void andersen_ptr_assign (struct tree_alias_ops *,
- alias_var, alias_var);
-static void andersen_op_assign (struct tree_alias_ops *,
- alias_var, varray_type, tree, bitmap);
-static void andersen_heap_assign (struct tree_alias_ops *, alias_var);
-static void andersen_assign_ptr (struct tree_alias_ops *,
- alias_var, alias_var);
-static void andersen_function_def (struct tree_alias_ops *, alias_var,
- varray_type, alias_var);
-static int andersen_function_call (struct tree_alias_ops *, alias_var,
- alias_var, varray_type, bitmap);
-static void andersen_init (struct tree_alias_ops *);
-static int print_out_result (splay_tree_node, void *);
-static void andersen_cleanup (struct tree_alias_ops *);
-static bool andersen_may_alias (struct tree_alias_ops *, alias_var,
- alias_var);
-static bool andersen_same_points_to_set (struct tree_alias_ops *,
- alias_var, alias_var);
-static bool andersen_empty_points_to_set (struct tree_alias_ops *,
- alias_var);
-static alias_var andersen_add_var (struct tree_alias_ops *, tree);
-static alias_var andersen_add_var_same (struct tree_alias_ops *,
- tree, alias_var);
-static bool pointer_destroying_op (tree);
-static aterm_list get_ptset (alias_var);
-static splay_tree ptamap;
-
-
-static struct tree_alias_ops andersen_ops = {
- andersen_init,
- andersen_cleanup,
- andersen_add_var,
- andersen_add_var_same,
- andersen_simple_assign,
- andersen_addr_assign,
- andersen_ptr_assign,
- andersen_op_assign,
- andersen_heap_assign,
- andersen_assign_ptr,
- andersen_function_def,
- andersen_function_call,
- andersen_may_alias,
- andersen_same_points_to_set,
- andersen_empty_points_to_set,
- 0, /* data */
- 0, /* Currently non-interprocedural */
- 1 /* Can do IP on all statics without help. */
-};
-struct tree_alias_ops *andersen_alias_ops = &andersen_ops;
-
-static void term_inclusion (aterm, aterm);
-static void pta_init (void);
-static void pta_reset (void);
-static aterm get_ref (aterm);
-static argterm fun_rec_aterm (aterm_list);
-static aterm pta_make_lam (const char *, aterm, aterm_list);
-static aterm pta_make_ref (const char *);
-static aterm pta_bottom (void);
-static aterm pta_join (aterm, aterm);
-static aterm pta_deref (aterm);
-static aterm pta_rvalue (aterm);
-static aterm pta_address (aterm);
-static void pta_assignment (aterm, aterm);
-static aterm pta_make_fun (const char *, aterm, aterm_list);
-static aterm pta_application (aterm, aterm_list);
-
-typedef aterm contents_type;
-static contents_type pta_get_contents (aterm);
-static void pr_ptset_aterm_elem (aterm);
-static void pta_pr_ptset (contents_type);
-
-/* Hook for debugging. This function is called instead of
- aterm_inclusion, and lets us print the actual constraints as they
- are generated. */
-
-static void
-term_inclusion (aterm t1, aterm t2)
-{
- if (dump_file)
- {
- fprintf (dump_file, "Constraint: ");
- aterm_print (dump_file, t1);
- fprintf (dump_file, " <= ");
- aterm_print (dump_file, t2);
- fprintf (dump_file, "\n");
- }
-
- aterm_inclusion (t1, t2);
-}
-
-/* Initialize libbanshee's constraint engine. */
-
-static void
-pta_init (void)
-{
- andersen_terms_init ();
-}
-
-/* Reset libbanshee's constraint engine. We do this when we are done
- using it, as it releases the memory libbanshee is using. */
-
-static void
-pta_reset (void)
-{
- andersen_terms_reset ();
-}
-
-static aterm
-get_ref (aterm t)
-{
- struct ref_decon r_decon;
- r_decon = ref_decon (t);
-
- assert (r_decon.f1);
-
- return r_decon.f1;
-}
-
-/* Make a function record out of the arguments. */
-
-static argterm
-fun_rec_aterm (aterm_list args)
-{
- region scratch;
- int counter = 0;
- argterm rest, result;
- aterm_list_scanner scan;
- aterm temp;
- char field_name[512];
- argterm_map map;
-
- scratch = newregion ();
- map = new_argterm_map (scratch);
- aterm_list_scan (args, &scan);
- while (aterm_list_next (&scan, &temp))
- {
- snprintf (field_name, 512, "%d", counter++);
- argterm_map_cons (argterm_make_field (field_name, temp), map);
- }
-
- rest = argterm_wild ();
- /* rest = argterm_fresh(); */
-
- /* safe since field_add makes a copy of the string*/
- result = argterm_row (map, rest);
-
- deleteregion (scratch);
-
- return result;
-}
-
-
-static aterm
-pta_make_lam (const char *id, aterm ret, aterm_list args)
-{
- return lam (label_term_constant (id), fun_rec_aterm (args), ret);
-}
-
-/* Make a label reference to the given id. */
-
-static aterm
-pta_make_ref (const char *id)
-{
-
- aterm var = aterm_fresh (id);
-
- label_term tag = label_term_constant (id);
-
- return ref (tag, var, var);
-}
-
-/* Return the empty set. */
-
-static aterm
-pta_bottom (void)
-{
- return aterm_zero ();
-}
-
-/* Join two terms, such that anything in set t1 will also be in set
- t2, and vice versa. */
-
-static aterm
-pta_join (aterm t1, aterm t2)
-{
- aterm result;
- region scratch_rgn = newregion ();
- aterm_list list = new_aterm_list (scratch_rgn);
-
- aterm_list_cons (t1, list);
- aterm_list_cons (t2, list);
-
-
- result = aterm_union (list);
- deleteregion (scratch_rgn);
-
- return result;
-}
-
-/* Generate the constraint for a dereference of term t1. */
-
-static aterm
-pta_deref (aterm t1)
-{
- return ref_proj2 (t1);
-}
-
-/* Generate the constraint for t1 being an rvalue. */
-
-static aterm
-pta_rvalue (aterm t1)
-{
- return pta_deref (t1);
-}
-
-/* Generate the constraint for taking the address of t1. */
-
-static aterm
-pta_address (aterm t1)
-{
- return ref (label_term_one (), aterm_one (), t1);
-}
-
-/* Generate the constraint for assigning t2 to t1. */
-
-static void
-pta_assignment (aterm t1, aterm t2)
-{
- term_inclusion (t1, ref_pat1 (t2));
-}
-
-/* Make a function from the given name, return value, and arguments. */
-
-static aterm
-pta_make_fun (const char *name, aterm ret, aterm_list args)
-{
- aterm temp;
- aterm_list_scanner scan;
- region scratch_rgn = newregion ();
- aterm_list arg_list = new_aterm_list (scratch_rgn);
-
- aterm_list_scan (args, &scan);
-
- while (aterm_list_next (&scan, &temp))
- {
- aterm_list_cons (get_ref (temp), arg_list);
- }
-
- return pta_make_lam (name, get_ref (ret), arg_list);
-}
-
-/* Return the constraint for calling function T with arguments
- ACTUALS. */
-
-static aterm
-pta_application (aterm t, aterm_list actuals)
-{
- argterm args = fun_rec_aterm (actuals);
-
- term_inclusion (t, lam_pat1 (args));
- return pta_address (lam_proj2 (t));
-}
-
-/* Return the contents of set expression T. */
-
-static contents_type
-pta_get_contents (aterm t)
-{
- struct ref_decon t_decon;
- t_decon = ref_decon (t);
-
- return t_decon.f1;
-}
-
-/* Print out a points-to set element. */
-
-static void
-pr_ptset_aterm_elem (aterm t)
-{
- struct ref_decon ref;
- struct lam_decon lam;
-
- ref = ref_decon (t);
- lam = lam_decon (t);
-
- fprintf (dump_file, ",");
- if (ref.f0)
- label_term_print (dump_file, ref.f0);
- else if (lam.f0)
- label_term_print (dump_file, lam.f0);
-}
-
-
-/* Print out a points-to set. */
-
-static void
-pta_pr_ptset (contents_type t)
-{
- int size;
- region scratch_rgn;
- aterm_list ptset;
- scratch_rgn = newregion ();
- ptset = aterm_list_copy (scratch_rgn, aterm_tlb (t));
-
- size = aterm_list_length (ptset);
-
- fprintf (dump_file, "{");
- if (!aterm_list_empty (ptset))
- {
- struct ref_decon ref;
- struct lam_decon lam;
- ref = ref_decon (aterm_list_head (ptset));
- lam = lam_decon (aterm_list_head (ptset));
- if (ref.f0)
- label_term_print (dump_file, ref.f0);
- else if (lam.f0)
- label_term_print (dump_file, lam.f0);
-
- /* aterm_pr(stdout,aterm_hd(ptset)); */
- ptset = aterm_list_tail (ptset);
- }
- aterm_list_app (ptset, pr_ptset_aterm_elem);
- fprintf (dump_file, "}(%d)\n", size);
- deleteregion (scratch_rgn);
-}
-
-/* Initialize Andersen alias analysis. */
-static int initted = 0;
-
-static void
-andersen_init (struct tree_alias_ops *ops ATTRIBUTE_UNUSED)
-{
-#if 0
- /* Don't claim we can do ip partial unless we have unit_at_a_time on. */
- if (!flag_unit_at_a_time)
-#endif
- andersen_ops.ip_partial = 0;
- if (!initted || (!andersen_ops.ip_partial && !andersen_ops.ip))
- {
- pta_init ();
- andersen_rgn = newregion ();
- initted = 1;
- }
-
- ptamap = splay_tree_new (splay_tree_compare_pointers, NULL, NULL);
-
-}
-
-static int
-print_out_result (splay_tree_node node, void *data ATTRIBUTE_UNUSED)
-{
- fprintf (dump_file, "%s :=",
- alias_get_name (ALIAS_VAR_DECL (((alias_var) node->value))));
- pta_pr_ptset (pta_get_contents ((aterm) node->key));
- return 0;
-}
-
-/* Cleanup after Andersen alias analysis. */
-
-static void
-andersen_cleanup (struct tree_alias_ops *ops ATTRIBUTE_UNUSED)
-{
- if (dump_file)
- {
- if (dump_flags & TDF_STATS)
- {
- fprintf (dump_file, "\nPoints-to stats:\n");
- andersen_terms_stats (dump_file);
- }
-
- fprintf (dump_file, "\nPoints-to sets:\n");
- splay_tree_foreach (ptamap, print_out_result, NULL);
- }
-
- splay_tree_delete (ptamap);
-
- if (!andersen_ops.ip_partial && !andersen_ops.ip)
- {
- pta_reset ();
- deleteregion (andersen_rgn);
- andersen_rgn = NULL;
- }
-}
-
-/* Add decl to the analyzer, and return a var for it. For
- Andersen, we create a new alias var for the declaration, and
- return that. */
-
-static alias_var
-andersen_add_var (struct tree_alias_ops *ops ATTRIBUTE_UNUSED, tree decl)
-{
- alias_var ret;
- if (dump_file && (dump_flags & TDF_DETAILS))
- fprintf (dump_file, "Adding variable %s\n",
- alias_get_name (decl));
-
- if (alias_get_name (decl) != NULL)
- {
- ret = alias_var_new_with_aterm (decl,
- pta_make_ref (alias_get_name (decl)));
- }
- else
- {
- char *tmp_name;
- ASM_FORMAT_PRIVATE_NAME (tmp_name, "unnamed var", id_num++);
- ret = alias_var_new_with_aterm (decl, pta_make_ref (tmp_name));
- }
- splay_tree_insert (ptamap, (splay_tree_key) ALIAS_VAR_ATERM (ret),
- (splay_tree_value) ret);
- ALIAS_VAR_PTSET (ret) = NULL;
-
- return ret;
-}
-
-/* Add a variable to the analyzer that is equivalent (as far as
- aliases go) to some existing alias variable.
- For Andersen, we just call a function that does this for us. */
-
-static alias_var
-andersen_add_var_same (struct tree_alias_ops *ops ATTRIBUTE_UNUSED, tree decl,
- alias_var tv)
-{
- alias_var ret;
-
- if (dump_file && (dump_flags & TDF_DETAILS))
- fprintf (dump_file, "Adding variable %s same as %s\n",
- alias_get_name (decl), alias_get_name (ALIAS_VAR_DECL (tv)));
-
- if (alias_get_name (decl) != NULL)
- ret = alias_var_new_with_aterm (decl,
- pta_make_ref (alias_get_name (decl)));
- else
- {
- char *tmp_name;
- ASM_FORMAT_PRIVATE_NAME (tmp_name, "unnamed var", id_num++);
- ret = alias_var_new_with_aterm (decl, pta_make_ref (tmp_name));
- }
-
- pta_join (ALIAS_VAR_ATERM (tv), ALIAS_VAR_ATERM (ret));
- splay_tree_insert (ptamap, (splay_tree_key) ALIAS_VAR_ATERM (ret),
- (splay_tree_value) ret);
- ALIAS_VAR_PTSET (tv) = NULL;
- ALIAS_VAR_PTSET (ret) = NULL;
-
- return ret;
-}
-
-/* Inference for simple assignment (lhs = rhs) */
-
-static void
-andersen_simple_assign (struct tree_alias_ops *ops ATTRIBUTE_UNUSED,
- alias_var lhs, alias_var rhs)
-{
- if (dump_file && (dump_flags & TDF_DETAILS))
- fprintf (dump_file, "Simple assignment %s = %s\n",
- alias_get_name (ALIAS_VAR_DECL (lhs)),
- alias_get_name (ALIAS_VAR_DECL (rhs)));
- if (lhs == rhs)
- return;
-
- /* The rvalue is just the term itself, and we generate a constraint
- for assigning it to the lhs. */
- pta_assignment (ALIAS_VAR_ATERM (lhs),
- pta_rvalue (ALIAS_VAR_ATERM (rhs)));
-}
-
-/* Inference for address assignment (lhs = &addr) */
-
-static void
-andersen_addr_assign (struct tree_alias_ops *ops ATTRIBUTE_UNUSED,
- alias_var lhs, alias_var addr)
-{
- if (addr == NULL)
- return;
- if (dump_file && (dump_flags & TDF_DETAILS))
- fprintf (dump_file, "Address assignment %s = &%s\n",
- alias_get_name (ALIAS_VAR_DECL (lhs)),
- alias_get_name (ALIAS_VAR_DECL (addr)));
-
- /* The rvalue here is the address of a term, and we generate a
- constraint to assign this address to the lhs. */
- pta_assignment (ALIAS_VAR_ATERM (lhs),
- pta_rvalue (pta_address (ALIAS_VAR_ATERM (addr))));
-}
-
-
-/* Inference for pointer assignment (lhs = *ptr) */
-
-static void
-andersen_ptr_assign (struct tree_alias_ops *ops ATTRIBUTE_UNUSED,
- alias_var lhs, alias_var ptr)
-{
-
- if (ptr == NULL)
- return;
- if (dump_file && (dump_flags & TDF_DETAILS))
- fprintf (dump_file, "Pointer assignment %s = *%s\n",
- alias_get_name (ALIAS_VAR_DECL (lhs)),
- alias_get_name (ALIAS_VAR_DECL (ptr)));
-
- pta_assignment (ALIAS_VAR_ATERM (lhs),
- pta_rvalue (pta_deref (ALIAS_VAR_ATERM (ptr))));
-
-}
-
-/* Determine if OP destroys the current assumed to be valid pointer
- (whether it generates a new valid pointer is not relevant). */
-
-static bool
-pointer_destroying_op (tree op)
-{
- switch (TREE_CODE (op))
- {
- case TRUTH_AND_EXPR:
- case TRUTH_OR_EXPR:
- case TRUTH_NOT_EXPR:
- case LT_EXPR:
- case GT_EXPR:
- case GE_EXPR:
- case LE_EXPR:
- case EQ_EXPR:
- case NE_EXPR:
- case MULT_EXPR:
- case TRUNC_DIV_EXPR:
- case LSHIFT_EXPR:
- case RSHIFT_EXPR:
- case LROTATE_EXPR:
- case RROTATE_EXPR:
- return true;
- default:
- return false;
- }
- return false;
-}
-
-/* Inference rule for operations (lhs = operation(operands)). */
-
-static void
-andersen_op_assign (struct tree_alias_ops *ops ATTRIBUTE_UNUSED,
- alias_var lhs, varray_type operands, tree operation,
- bitmap addrargs)
-{
- aterm newvar = NULL;
-
- if (VARRAY_ACTIVE_SIZE (operands) == 0)
- return;
-
- if (dump_file && (dump_flags & TDF_DETAILS))
- {
- fprintf (dump_file, "Op assignment %s = ",
- alias_get_name (ALIAS_VAR_DECL (lhs)));
- print_generic_stmt (dump_file, operation, dump_flags);
- fprintf (dump_file, "\n");
- }
-
-
- /* Pointer destroying operations do not give us the same valid pointer
- back, and thus, are assignment to pta_bottom. */
- if (pointer_destroying_op (operation))
- {
- pta_assignment (ALIAS_VAR_ATERM (lhs), pta_rvalue (pta_bottom ()));
- return;
- }
-
- /* Operations in general we can't track the exact effect of. Thus,
- we conservatively assume that it could make the LHS point to
- *anything* the RHS points to. To signify this, we join the RHS
- variables together and assign it to the LHS. */
- /* The >2 case occurs when we are dealing with constructors. */
- if (VARRAY_ACTIVE_SIZE (operands) > 2)
- {
- size_t i;
- alias_var tv1 = VARRAY_GENERIC_PTR (operands, 0);
- newvar = ALIAS_VAR_ATERM (tv1);
- for (i = 1; i < VARRAY_ACTIVE_SIZE (operands); i++)
- {
- alias_var tempvar = VARRAY_GENERIC_PTR (operands, i);
- aterm t2 = ALIAS_VAR_ATERM (tempvar);
- if (bitmap_bit_p (addrargs, i))
- newvar = pta_join (newvar, pta_address (t2));
- else
- newvar = pta_join (newvar, t2);
- }
- }
- else if (VARRAY_ACTIVE_SIZE (operands) == 2)
- {
- alias_var tv1 = VARRAY_GENERIC_PTR (operands, 0);
- alias_var tv2 = VARRAY_GENERIC_PTR (operands, 1);
- aterm t1 = ALIAS_VAR_ATERM (tv1);
- aterm t2 = ALIAS_VAR_ATERM (tv2);
- if (bitmap_bit_p (addrargs, 0) && bitmap_bit_p (addrargs, 1))
- newvar = pta_join (pta_address (t1), pta_address (t2));
- else if (bitmap_bit_p (addrargs, 0))
- newvar = pta_join (pta_address (t1), t2);
- else if (bitmap_bit_p (addrargs, 1))
- newvar = pta_join (t1, pta_address (t2));
- else
- newvar = pta_join (t1, t2);
- }
- else if (VARRAY_ACTIVE_SIZE (operands) == 1)
- {
- alias_var tv1 = VARRAY_GENERIC_PTR (operands, 0);
- aterm t1 = ALIAS_VAR_ATERM (tv1);
- if (bitmap_bit_p (addrargs, 0))
- newvar = pta_address (t1);
- else
- newvar = t1;
- }
- pta_assignment (ALIAS_VAR_ATERM (lhs), pta_rvalue (newvar));
-}
-
-/* Inference for heap assignment (lhs = alloc). */
-
-static void
-andersen_heap_assign (struct tree_alias_ops *ops ATTRIBUTE_UNUSED,
- alias_var lhs ATTRIBUTE_UNUSED)
-{
-#if 0
- alias_type type1;
- ECR tau;
- type1 = ECR_get_type (alias_var_get_ECR (lhs));
- tau = alias_ltype_loc (type1);
-
- if (ECR_get_type (tau) == alias_bottom)
- ECR_set_type (tau, alias_ltype_new ());
-#endif
-}
-
-/* Inference for assignment to a pointer (*ptr = rhs). */
-
-static void
-andersen_assign_ptr (struct tree_alias_ops *ops ATTRIBUTE_UNUSED,
- alias_var ptr, alias_var rhs)
-{
-
- if (rhs == NULL)
- return;
- if (dump_file && (dump_flags & TDF_DETAILS))
- fprintf (dump_file, "Assignment to pointer *%s = %s\n",
- alias_get_name (ALIAS_VAR_DECL (ptr)),
- alias_get_name (ALIAS_VAR_DECL (rhs)));
- /* The RHS is a standard rvalue, and the LHS is a pointer
- dereference. */
- pta_assignment (pta_deref (ALIAS_VAR_ATERM (ptr)),
- pta_rvalue (ALIAS_VAR_ATERM (rhs)));
-}
-
-/* Inference for a function definition. */
-
-static void
-andersen_function_def (struct tree_alias_ops *ops ATTRIBUTE_UNUSED,
- alias_var func, varray_type params,
- alias_var retval)
-{
- aterm_list args = new_aterm_list (andersen_rgn);
- aterm fun_type;
-
- size_t l = VARRAY_ACTIVE_SIZE (params);
- size_t i;
-
- /* Set up the arguments for the new function type. */
- for (i = 0; i < l; i++)
- {
- alias_var tv = VARRAY_GENERIC_PTR (params, i);
- aterm_list_cons (ALIAS_VAR_ATERM (tv), args);
- }
- /* Create the function type. */
- fun_type = pta_make_fun (alias_get_name (ALIAS_VAR_DECL (func)),
- ALIAS_VAR_ATERM (retval), args);
-
- /* Assign the function type itself to the function. */
- pta_assignment (ALIAS_VAR_ATERM (func), fun_type);
-}
-
-/* Inference for a function call assignment. */
-
-static int
-andersen_function_call (struct tree_alias_ops *ops,
- alias_var lhs, alias_var func,
- varray_type args, bitmap addrargs)
-{
- aterm_list actuals = new_aterm_list (andersen_rgn);
- aterm ftype = ALIAS_VAR_ATERM (func);
- aterm ret = NULL;
- aterm res;
- tree decl = ALIAS_VAR_DECL (func);
-
- size_t i;
-
- if (lhs)
- ret = ALIAS_VAR_ATERM (lhs);
- for (i = 0; i < VARRAY_ACTIVE_SIZE (args); i++)
- {
- alias_var argtv = VARRAY_GENERIC_PTR (args, i);
- aterm arg = ALIAS_VAR_ATERM (argtv);
- if (bitmap_bit_p (addrargs, i))
- aterm_list_cons (pta_rvalue (pta_address (arg)), actuals);
- else
- aterm_list_cons (pta_rvalue (arg), actuals);
- }
- aterm_list_reverse (actuals);
-
- /* Generate the constraint that calls the function with it's
- arguments, and gives us the result. This in turn applies
- whatever constraints are in that function. */
- res = pta_application (pta_rvalue (ftype), actuals);
- /* We only need care about the result if we have an LHS. If we do,
- assign the result of function application back to the LHS. */
- if (ret)
- pta_assignment (ret, pta_rvalue (res));
-
- /* We can handle functions we've got trees for. non-statics will
- just have incoming parameters assigned to global_var if
- necessary. */
- if (TREE_CODE (decl) == FUNCTION_DECL
- && DECL_PTA_ALIASVAR (decl)
- && ops->ip_partial
- && (cgraph_local_info (decl)->local))
- {
- return 0;
- }
- return 1;
-}
-
-
-/* Simple pointer comparison function for list sorting. */
-
-static int
-simple_cmp (const aterm a, const aterm b)
-{
- return (int *)a - (int *)b;
-}
-
-
-/* Get the points-to set for TV, caching if it we had to compute it. */
-
-static aterm_list
-get_ptset (alias_var tv)
-{
- aterm_list ptset;
- ptset = ALIAS_VAR_PTSET (tv);
- if (ptset != NULL)
- return ptset;
- ptset = aterm_tlb (pta_get_contents (ALIAS_VAR_ATERM (tv)));
- ALIAS_VAR_PTSET (tv) = ptset;
- return ptset;
-}
-
-
-/* Determine if two aterm's have the same points-to set. */
-
-static bool
-andersen_same_points_to_set (struct tree_alias_ops *ops ATTRIBUTE_UNUSED,
- alias_var ptrtv, alias_var vartv)
-{
- aterm_list ptset1, ptset2;
- aterm_list_scanner scan1, scan2;
- aterm data1, data2;
- region scratch_rgn = newregion ();
-
- ptset1 = get_ptset (ptrtv);
- ptset2 = get_ptset (vartv);
-
- if (aterm_list_length (ptset1) != aterm_list_length (ptset2))
- {
- deleteregion (scratch_rgn);
- return false;
- }
-
- if (ptset1 == ptset2)
- {
- deleteregion (scratch_rgn);
- return true;
- }
-
- ptset1 = aterm_list_copy (scratch_rgn, ptset1);
- ptset2 = aterm_list_copy (scratch_rgn, ptset2);
-
- if (aterm_list_length (ptset1) != aterm_list_length (ptset2))
- {
- deleteregion (scratch_rgn);
- return false;
- }
-
- ptset1 = aterm_list_sort (ptset1, simple_cmp);
- ptset2 = aterm_list_sort (ptset2, simple_cmp);
-
- aterm_list_scan (ptset1, &scan1);
- aterm_list_scan (ptset2, &scan2);
- while (aterm_list_next (&scan1, &data1))
- {
- aterm_list_next (&scan2, &data2);
- if (data1 != data2)
- {
- deleteregion(scratch_rgn);
- return false;
- }
- }
- deleteregion(scratch_rgn);
- return true;
-}
-
-
-/* Determine if two variables may alias. In our case, this means
- whether the decl represented by PTRTV can point to VARTV. */
-
-static bool
-andersen_may_alias (struct tree_alias_ops *ops ATTRIBUTE_UNUSED,
- alias_var ptrtv, alias_var vartv)
-{
- aterm_list ptset;
- ptset = get_ptset (ptrtv);
-
- if (aterm_list_empty (ptset))
- return false;
-
- return aterm_list_member (ptset, ALIAS_VAR_ATERM (vartv));
-}
-
-/* Determine whether PTRTV has an empty points-to set. IE it may not
- point to anything. */
-
-static bool
-andersen_empty_points_to_set (struct tree_alias_ops *ops ATTRIBUTE_UNUSED,
- alias_var ptrtv)
-{
- aterm_list ptset;
- ptset = get_ptset (ptrtv);
- return aterm_list_empty (ptset);
-}
+++ /dev/null
-/* Tree based Andersen points-to analysis
- Copyright (C) 2002, 2003 Free Software Foundation, Inc.
- Contributed by Daniel Berlin <dberlin@dberlin.org>
-
-This file is part of GCC.
-
-GCC is free software; you can redistribute it and/or modify
-under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
-(at your option) any later version.
-
-GCC is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GCC; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-*/
-
-#ifndef TREE_ALIAS_ANDER
-#define TREE_ALIAS_ANDER
-
-#include "tree-alias-common.h"
-
-extern struct tree_alias_ops *andersen_alias_ops;
-
-#endif /* TREE_ALIAS_ANDER */
+++ /dev/null
-/* Tree based points-to analysis
- Copyright (C) 2002, 2003 Free Software Foundation, Inc.
- Contributed by Daniel Berlin <dberlin@dberlin.org>
-
-This file is part of GCC.
-
-GCC is free software; you can redistribute it and/or modify
-under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
-(at your option) any later version.
-
-GCC is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GCC; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-*/
-
-#include "config.h"
-#include "system.h"
-#include "coretypes.h"
-#include "tm.h"
-#include "ggc.h"
-#include "tree-alias-type.h"
-#include "bitmap.h"
-#include "tree-alias-common.h"
-
-/* If we have andersen's points-to analysis, include it. */
-#ifdef HAVE_BANSHEE
-#include "tree-alias-ander.h"
-#endif
-
-#include "flags.h"
-#include "rtl.h"
-#include "tm_p.h"
-#include "hard-reg-set.h"
-#include "basic-block.h"
-#include "output.h"
-#include "errors.h"
-#include "expr.h"
-#include "diagnostic.h"
-#include "tree.h"
-#include "c-common.h"
-#include "tree-flow.h"
-#include "tree-inline.h"
-#include "varray.h"
-#include "c-tree.h"
-#include "tree-gimple.h"
-#include "hashtab.h"
-#include "function.h"
-#include "cgraph.h"
-#include "tree-pass.h"
-#include "timevar.h"
-
-/* Reduce ifdefery later. */
-#ifndef HAVE_BANSHEE
-#define HAVE_BANSHEE 0
-#endif
-
-/* This file contains the implementation of the common parts of the
- tree points-to analysis infrastructure.
-
- Overview:
-
- This file contains the points-to analysis driver. It does two main things:
- 1. Keeps track of the PTA data for each variable (IE the data each
- specific PTA implementation wants to keep associated with a
- variable).
- 2. Walks the function trees, calling the appropriate functions that
- each PTA implementation has implemented.
-
- In order to speed up PTA queries, the PTA specific data is stored
- in the tree for *_DECL's, in DECL_PTA_ALIASVAR. This way, we only
- need to use the hash table for non-DECL's. */
-#define FIELD_BASED 0
-
-/* Array of all created alias_vars.
- Note that this should contain all the alias_vars we wanted
- marked during GC. */
-static GTY((param_is (union alias_var_def))) varray_type alias_vars = NULL;
-struct tree_alias_ops *current_alias_ops;
-
-/* Array of local (to a function) alias_vars.
- Note that this should contain all the alias_vars that are
- local to this function. We delete these from alias_vars before
- collection. */
-static GTY(()) varray_type local_alias_vars;
-static GTY(()) varray_type local_alias_varnums;
-tree pta_global_var;
-static bitmap addrargs;
-static alias_var get_alias_var_decl (tree);
-static alias_var get_alias_var (tree);
-static void find_func_aliases (tree);
-static void deal_with_call_aliasing (tree, alias_var);
-static alias_var create_fun_alias_var_ptf (tree, tree);
-static alias_var create_fun_alias_var (tree, int);
-static alias_var create_alias_var (tree);
-static void intra_function_call (varray_type);
-static void get_values_from_constructor (tree, varray_type *, bitmap, int *);
-static bool call_may_clobber (tree);
-static bool call_may_return (tree);
-
-/* Return true if a EXPR, which is a CALL_EXPR, may clobber variables. */
-
-static bool
-call_may_clobber (tree expr)
-{
- int flags;
-
- if (TREE_CODE (expr) != CALL_EXPR)
- return false;
-
- flags = call_expr_flags (expr);
- return (! (flags & (ECF_CONST | ECF_PURE | ECF_NORETURN)));
-}
-
-/* Return true if a EXPR, which is a CALL_EXPR, may return. */
-
-static bool
-call_may_return (tree expr)
-{
- int flags;
-
- if (TREE_CODE (expr) != CALL_EXPR)
- return false;
-
- flags = call_expr_flags (expr);
- return ! (flags & ECF_NORETURN);
-}
-
-/* Get the alias_var for DECL.
- Creates the alias_var if it does not exist already. Also
- handles FUNCTION_DECL properly. */
-
-static alias_var
-get_alias_var_decl (tree decl)
-{
- alias_var newvar;
- gcc_assert (TREE_CODE (decl) != FIELD_DECL);
- if (DECL_P (decl))
- {
- if (DECL_PTA_ALIASVAR (decl))
- return DECL_PTA_ALIASVAR (decl);
- }
-
- if (TREE_CODE (decl) == FUNCTION_DECL)
- newvar = create_fun_alias_var (decl, 0);
- else
- {
- newvar = create_alias_var (decl);
- /* Assign globals to global var for purposes of intraprocedural
- analysis. */
- if (TREE_STATIC (decl) && decl != pta_global_var)
- {
- current_alias_ops->addr_assign (current_alias_ops,
- get_alias_var (pta_global_var),
- newvar);
- /* If the global has some DECL_INITIAL, we need to process
- it here. */
- if (DECL_INITIAL (decl))
- find_func_aliases (decl);
- }
- }
-
- if (!current_alias_ops->ip)
- {
- if (!current_alias_ops->ip_partial
- || (TREE_CODE (decl) != FUNCTION_DECL
- && TREE_CODE (decl) != PARM_DECL))
- {
- VARRAY_PUSH_INT (local_alias_varnums, ALIAS_VAR_VARNUM (newvar));
- VARRAY_PUSH_TREE (local_alias_vars, decl);
- }
- }
- return newvar;
-}
-
-/* Get the alias_var for an expression EXPR.
- Note that this function expects to only be handed a RHS or LHS, not
- a MODIFY_EXPR. */
-
-static alias_var
-get_alias_var (tree expr)
-{
- /* If it's a decl, get the alias var of the decl. We farm this off
- to get_alias_var_decl so it can abort if the alias var doesn't
- exist, and in case something else *knows* it has a decl, and
- wants the alias var. */
-
- if (DECL_P (expr))
- return get_alias_var_decl (expr);
-
- /* True constants have no aliases (unless modifiable strings are on,
- in which case i don't think we'll end up with a STRING_CST anyway) */
- if (TREE_CODE_CLASS (TREE_CODE (expr)) == 'c')
- return NULL;
-
-
- switch (TREE_CODE (expr))
- {
- case ARRAY_REF:
- case ARRAY_RANGE_REF:
- {
- /* Find the first non-array ref, and return its alias variable. */
- tree p;
-
- for (p = expr;
- TREE_CODE (p) == ARRAY_REF || TREE_CODE (p) == ARRAY_RANGE_REF;
- p = TREE_OPERAND (p, 0))
- ;
- return get_alias_var (p);
- }
- break;
- case COMPONENT_REF:
- {
-#if FIELD_BASED
- bool safe = true;
- tree p;
- for (p = expr;
- TREE_CODE (p) == COMPONENT_REF || TREE_CODE (p) == INDIRECT_REF;
- p = TREE_OPERAND (p, 0))
- {
- if (TREE_CODE (TREE_TYPE (p)) == UNION_TYPE
- || TREE_CODE (TREE_TYPE (p)) == QUAL_UNION_TYPE)
- {
- safe = false;
- break;
- }
- }
- if (!safe)
- {
- for (p = expr; TREE_CODE (p) == COMPONENT_REF;
- p = TREE_OPERAND (p, 0));
- return get_alias_var (p);
- }
- else
- {
- return get_alias_var (TREE_OPERAND (expr, 1));
- }
-#else
- /* Find the first non-component ref, and return its alias variable. */
- tree p;
- for (p = expr; TREE_CODE (p) == COMPONENT_REF;
- p = TREE_OPERAND (p, 0));
- return get_alias_var (p);
-#endif
- }
- break;
- case REALPART_EXPR:
- case IMAGPART_EXPR:
- case NOP_EXPR:
- case CONVERT_EXPR:
- case FIX_TRUNC_EXPR:
- case FIX_CEIL_EXPR:
- case FIX_FLOOR_EXPR:
- case FIX_ROUND_EXPR:
- case ADDR_EXPR:
- case INDIRECT_REF:
- case BIT_FIELD_REF:
- /* If it's a ref or cast or conversion of something, get the
- alias var of the something. */
- return get_alias_var (TREE_OPERAND (expr, 0));
- break;
-
- default:
- return NULL;
- }
-}
-
-/* Perform conservative aliasing for an intraprocedural mode function
- call. ARGS are the arguments that were passed to that function
- call. */
-
-static void
-intra_function_call (varray_type args)
-{
- size_t l = VARRAY_ACTIVE_SIZE (args);
- size_t i;
- alias_var av = get_alias_var (pta_global_var);
-
- /* We assume assignments among the actual parameters. */
- for (i = 0; i < l; i++)
- {
- alias_var argi = VARRAY_GENERIC_PTR (args, i);
- size_t j;
- for (j = 0; j < l; j++)
- {
- alias_var argj;
- if (i == j)
- continue;
- argj = VARRAY_GENERIC_PTR (args, j);
- /* Restricted pointers can't be aliased with other
- restricted pointers. */
- if (!TYPE_RESTRICT (TREE_TYPE (ALIAS_VAR_DECL (argi)))
- || !TYPE_RESTRICT (TREE_TYPE (ALIAS_VAR_DECL (argj))))
- /* Do a bit of TBAA to avoid pointless assignments. */
- if (alias_sets_conflict_p (get_alias_set (ALIAS_VAR_DECL (argi)),
- get_alias_set (ALIAS_VAR_DECL (argj))))
- current_alias_ops->simple_assign (current_alias_ops, argi, argj);
- }
- }
- /* We assume that an actual parameter can point to any global. */
- for (i = 0; i < l; i++)
- {
- alias_var argav = VARRAY_GENERIC_PTR (args, i);
- /* Restricted pointers can't be aliased with other
- restricted pointers. */
- if (!TYPE_RESTRICT (TREE_TYPE (ALIAS_VAR_DECL (argav)))
- || !TYPE_RESTRICT (TREE_TYPE (ALIAS_VAR_DECL (av))))
- {
- /* Arguments can alias globals, and whatever they point to
- can point to a global as well. */
- current_alias_ops->simple_assign (current_alias_ops, argav, av);
- }
- }
-}
-
-/* Put all pointers in a constructor in an array. */
-
-static void
-get_values_from_constructor (tree constructor, varray_type *vals,
- bitmap addrargs, int *i)
-{
- tree elt_list;
- switch (TREE_CODE (constructor))
- {
- case CONSTRUCTOR:
- {
- for (elt_list = CONSTRUCTOR_ELTS (constructor);
- elt_list;
- elt_list = TREE_CHAIN (elt_list))
- {
- tree value = TREE_VALUE (elt_list);
- if (TREE_CODE (value) == TREE_LIST
- || TREE_CODE (value) == CONSTRUCTOR)
- {
- get_values_from_constructor (value, vals, addrargs, i); }
- else
- {
- alias_var aav;
- aav = get_alias_var (value);
- if (aav)
- VARRAY_PUSH_GENERIC_PTR (*vals, aav);
- if (TREE_CODE (value) == ADDR_EXPR)
- bitmap_set_bit (addrargs, *i);
- *i = *i + 1;
- }
- }
- }
- break;
- case TREE_LIST:
- for (elt_list = constructor;
- elt_list;
- elt_list = TREE_CHAIN (elt_list))
- {
- get_values_from_constructor (TREE_VALUE (elt_list), vals, addrargs, i);
- }
- break;
- default:
- gcc_unreachable ();
- }
-}
-
-/* Deal with the possible return values of a call that we don't have
- actual PTA info about. */
-
-static void
-deal_with_call_aliasing (tree callargs, alias_var lhsAV)
-{
- tree arg, argp;
-
- for (argp = callargs;
- argp;
- argp = TREE_CHAIN (argp))
- {
- arg = TREE_VALUE (argp);
- /* If we take the address of a variable directly in the
- argument, the return value could be the address of that
- variable. */
- if (TREE_CODE (arg) == ADDR_EXPR)
- current_alias_ops->addr_assign (current_alias_ops, lhsAV,
- get_alias_var (arg));
- /* If we pass in a pointer, we could return that pointer. */
- else if (POINTER_TYPE_P (TREE_TYPE (arg)))
- {
- alias_var argtv = get_alias_var (arg);
- if (argtv)
- current_alias_ops->simple_assign (current_alias_ops, lhsAV,
- argtv);
- }
- }
-}
-
-/* Find the operand of the component ref that actually is doing
- something to the DECL */
-static tree
-find_op_of_decl (tree cref)
-{
- while (!DECL_P (TREE_OPERAND (cref, 0)))
- {
- cref = TREE_OPERAND (cref, 0);
- }
- return cref;
-}
-
-
-/* Tree walker that is the heart of the aliasing infrastructure.
- TP is a pointer to the current tree.
- WALK_SUBTREES specifies whether to continue traversing subtrees or
- not.
- Returns NULL_TREE when we should stop.
-
- This function is the main part of the aliasing infrastructure. It
- walks the trees, calling the appropriate alias analyzer functions to process
- various statements. */
-
-static void
-find_func_aliases (tree stp)
-{
- if (TREE_CODE (stp) == RETURN_EXPR)
- {
- stp = TREE_OPERAND (stp, 0);
- if (!stp)
- return;
- }
-
- if (TREE_CODE (stp) == MODIFY_EXPR
- || (DECL_P (stp) && DECL_INITIAL (stp) != NULL_TREE ))
- {
- tree op0, op1;
- alias_var lhsAV = NULL;
- alias_var rhsAV = NULL;
-
- if (DECL_P (stp))
- {
- op0 = stp;
- op1 = DECL_INITIAL (stp);
- }
- else
- {
- op0 = TREE_OPERAND (stp, 0);
- op1 = TREE_OPERAND (stp, 1);
- if (TREE_CODE (op1) == WITH_SIZE_EXPR)
- op1 = TREE_OPERAND (op1, 0);
- }
-
- /* lhsAV should always have an alias variable */
- lhsAV = get_alias_var (op0);
- if (!lhsAV)
- return;
- /* rhsAV might not have one, c.f. c = 5 */
- rhsAV = get_alias_var (op1);
-#if !FIELD_BASED
- while (TREE_CODE (op1) == COMPONENT_REF
- && TREE_CODE (TREE_OPERAND (op1, 0)) == COMPONENT_REF)
- {
- op1 = TREE_OPERAND (op1, 0);
- }
- while (TREE_CODE (op1) == BIT_FIELD_REF)
- {
- op1 = TREE_OPERAND (op1, 0);
- }
- /* Take care of fact that we may have multi-level component
- refs. */
- if (TREE_CODE (op1) == COMPONENT_REF)
- op1 = find_op_of_decl (op1);
-#endif
-
- /* You would think we could test rhsAV at the top, rather than
- 50 separate times, but we can't, because it can be NULL for
- operator assignments, where we'd still collect the individual
- alias vars for the operator. */
-
- /* Note that structures are treated as a single alias
- variable, since we can disambiguate based on TBAA first,
- and fall back on points-to. */
- /* x = <something> */
- if (is_gimple_variable (op0))
- {
- /* x = y */
- if (is_gimple_variable (op1))
- {
- if (rhsAV != NULL)
- current_alias_ops->simple_assign (current_alias_ops, lhsAV,
- rhsAV);
- }
- /* x = foo.y */
- else if (TREE_CODE (op1) == COMPONENT_REF
- && DECL_P (TREE_OPERAND (op1, 0)))
- {
- if (rhsAV != NULL)
- current_alias_ops->simple_assign (current_alias_ops, lhsAV,
- rhsAV);
- }
- /* x = (cast) [maybe-addr-expr] y */
- else if (is_gimple_cast (op1))
- {
- tree stripped_op1 = op1;
- STRIP_NOPS (stripped_op1);
- if (rhsAV != NULL)
- {
- if (TREE_CODE (stripped_op1) == ADDR_EXPR)
- current_alias_ops->addr_assign (current_alias_ops, lhsAV,
- rhsAV);
- else
- current_alias_ops->simple_assign (current_alias_ops, lhsAV,
- rhsAV);
- }
- }
- /* x = *y or x = foo->y */
- else if (TREE_CODE (op1) == INDIRECT_REF
- || TREE_CODE (op1) == ARRAY_REF
- || (TREE_CODE (op1) == COMPONENT_REF
- && TREE_CODE (TREE_OPERAND (op1, 0)) == INDIRECT_REF))
- {
- if (rhsAV != NULL)
- current_alias_ops->ptr_assign (current_alias_ops, lhsAV,
- rhsAV);
- }
- /* x = &y = x = &foo.y */
- else if (TREE_CODE (op1) == ADDR_EXPR)
- {
- if (rhsAV != NULL)
- current_alias_ops->addr_assign (current_alias_ops, lhsAV,
- rhsAV);
- }
- /* x = func(...) */
- else if (TREE_CODE (op1) == CALL_EXPR)
- {
- /* Heap assignment. These are __attribute__ malloc or
- something, I'll deal with it later. */
- if (0)
- {}
- else
- {
-
- /* NORETURN functions have no effect on aliasing. */
- if (call_may_return (op1))
- {
- varray_type args;
- tree arg;
- tree callop0, callop1;
- int argnum;
-
- /* Collect the arguments */
- VARRAY_GENERIC_PTR_INIT (args, 1, "Arguments");
- bitmap_clear (addrargs);
- callop1 = TREE_OPERAND (op1, 1);
- callop0 = TREE_OPERAND (op1, 0);
- for (arg = callop1, argnum = 0;
- arg;
- arg = TREE_CHAIN (arg), argnum++)
- {
- alias_var aav = get_alias_var (TREE_VALUE (arg));
- if (aav)
- {
- VARRAY_PUSH_GENERIC_PTR (args, aav);
- if (TREE_CODE (TREE_VALUE (arg)) == ADDR_EXPR)
- bitmap_set_bit (addrargs, argnum);
- }
- }
- /* Simulate the call */
- if (current_alias_ops->function_call (current_alias_ops, lhsAV,
- get_alias_var (callop0),
- args, addrargs))
- {
- if (call_may_clobber (op1)
- && !current_alias_ops->ip
- && flag_argument_noalias != 2)
- {
- intra_function_call (args);
- }
- if (POINTER_TYPE_P (TREE_TYPE (op0)))
- deal_with_call_aliasing (callop1, lhsAV);
- }
- }
- }
- }
- /* x = op (...) */
- else
- {
- bitmap_clear (addrargs);
- if (TREE_CODE (op1) == CONSTRUCTOR)
- {
- varray_type ops;
- int i = 0;
- VARRAY_GENERIC_PTR_INIT (ops, 1, "Operands");
- get_values_from_constructor (op1, &ops, addrargs, &i);
- current_alias_ops->op_assign (current_alias_ops, lhsAV,
- ops, op1, addrargs);
- }
- else
- switch (TREE_CODE_CLASS (TREE_CODE (op1)))
- {
- case 'e': /* an expression */
- case 's': /* an expression with side effects */
- case '<': /* a comparison expression */
- case '1': /* a unary arithmetic expression */
- case 'r': /* a reference */
- case '2': /* a binary arithmetic expression */
- {
- tree op;
- varray_type ops;
- int i;
- VARRAY_GENERIC_PTR_INIT (ops, 1, "Operands");
- for (i = 0; i < TREE_CODE_LENGTH (TREE_CODE (op1)); i++)
- {
- alias_var aav;
- op = TREE_OPERAND (op1, i);
- aav = get_alias_var (op);
- if (aav)
- VARRAY_PUSH_GENERIC_PTR (ops, aav);
- if (TREE_CODE (op) == ADDR_EXPR)
- bitmap_set_bit (addrargs, i);
- }
- current_alias_ops->op_assign (current_alias_ops, lhsAV,
- ops, op1, addrargs);
- }
- break;
- default:
- break;
- }
- }
- }
- /* *x = <something> */
- else
- {
- /* x.f = y or x->f = y */
- if ((TREE_CODE (op0) == COMPONENT_REF
- || TREE_CODE (op0) == BIT_FIELD_REF)
- && is_gimple_variable (op1))
- {
- if (rhsAV != NULL)
- current_alias_ops->simple_assign (current_alias_ops, lhsAV,
- rhsAV);
- }
- /* x.f = &y or x->f = &y */
- else if (TREE_CODE (op0) == COMPONENT_REF
- && TREE_CODE (op1) == ADDR_EXPR)
- {
- if (rhsAV != NULL)
- current_alias_ops->addr_assign (current_alias_ops, lhsAV,
- rhsAV);
- }
- /* *x.f = y or *x->f = y */
- else if ((TREE_CODE (op0) == INDIRECT_REF
- || TREE_CODE (op0) == ARRAY_REF)
- && TREE_CODE (TREE_OPERAND (op0, 0)) == COMPONENT_REF
- && is_gimple_variable (op1))
- {
- if (rhsAV != NULL)
- current_alias_ops->assign_ptr (current_alias_ops, lhsAV,
- rhsAV);
- }
- /* *x = &y */
- else if ((TREE_CODE (op0) == INDIRECT_REF
- || TREE_CODE (op0) == ARRAY_REF)
- && TREE_CODE (op1) == ADDR_EXPR)
- {
- /* This becomes temp = &y and *x = temp . */
- alias_var tempvar;
- tree temp = create_tmp_var_raw (void_type_node, "aliastmp");
- tempvar = current_alias_ops->add_var (current_alias_ops, temp);
- current_alias_ops->addr_assign (current_alias_ops, tempvar,
- rhsAV);
- current_alias_ops->assign_ptr (current_alias_ops, lhsAV,
- tempvar);
- }
-
- /* *x = *y */
- else if ((TREE_CODE (op0) == INDIRECT_REF
- || TREE_CODE (op0) == ARRAY_REF)
- && (TREE_CODE (op1) == INDIRECT_REF
- || TREE_CODE (op1) == ARRAY_REF))
- {
- /* This becomes temp = *y and *x = temp . */
- alias_var tempvar;
- tree temp;
- temp = create_tmp_var_raw (void_type_node, "aliastmp");
- tempvar = current_alias_ops->add_var (current_alias_ops, temp);
- current_alias_ops->ptr_assign (current_alias_ops, tempvar,
- rhsAV);
- current_alias_ops->assign_ptr (current_alias_ops, lhsAV,
- tempvar);
- }
-
- /* *x = (cast) y */
- else if ((TREE_CODE (op0) == INDIRECT_REF
- || TREE_CODE (op0) == ARRAY_REF)
- && is_gimple_cast (op1))
- {
- if (rhsAV != NULL)
- {
- /* This becomes temp = (cast) y and *x = temp. */
- alias_var tempvar;
- tree temp;
- temp = create_tmp_var_raw (void_type_node, "aliastmp");
- tempvar = current_alias_ops->add_var (current_alias_ops,
- temp);
- current_alias_ops->simple_assign (current_alias_ops,
- tempvar, rhsAV);
- current_alias_ops->assign_ptr (current_alias_ops, lhsAV,
- tempvar);
- }
- }
- /* *x = <something else> */
- else
- {
- if (rhsAV != NULL)
- current_alias_ops->assign_ptr (current_alias_ops, lhsAV,
- rhsAV);
- }
- }
- }
- /* Calls without return values. */
- else if (TREE_CODE (stp) == CALL_EXPR)
- {
- alias_var callvar;
- varray_type args;
- tree arg;
- callvar = get_alias_var (TREE_OPERAND (stp, 0));
- if (callvar != NULL)
- {
-
- /* NORETURN and CONST functions with no return value
- have no effect on aliasing (as may be seen above,
- const functions that return a value might have an
- effect on aliasing, since the return value can point
- to one of the arguments. */
- if (call_may_clobber (stp))
- {
- int argnum;
- VARRAY_GENERIC_PTR_INIT (args, 1, "Arguments");
- bitmap_clear (addrargs);
- for (arg = TREE_OPERAND (stp, 1), argnum=0;
- arg;
- arg = TREE_CHAIN (arg), argnum++)
- {
- alias_var aav = get_alias_var (TREE_VALUE (arg));
- if (aav)
- {
- VARRAY_PUSH_GENERIC_PTR (args, aav);
- if (TREE_CODE (TREE_VALUE (arg)) == ADDR_EXPR)
- bitmap_set_bit (addrargs, argnum);
- }
-
- }
-
- if (current_alias_ops->function_call (current_alias_ops, NULL,
- callvar, args, addrargs))
- if (!current_alias_ops->ip && flag_argument_noalias != 2)
- intra_function_call (args);
- }
- }
- }
-}
-
-/* Create the alias_var for a function definition DECL, it's
- arguments, and it's return value. If FORCE is true, we force
- creation of the alias_var, regardless of whether one exists already.
-
- This includes creation of alias_var's for
- - The function itself.
- - The arguments.
- - The return value. */
-
-static alias_var
-create_fun_alias_var (tree decl, int force)
-{
- alias_var avar, retvar;
- tree rdecl;
- varray_type params = NULL;
-
- if (!force)
- {
- if (DECL_PTA_ALIASVAR (decl))
- return DECL_PTA_ALIASVAR (decl);
- }
-
- VARRAY_GENERIC_PTR_INIT (params, 1, "Arguments");
- if (DECL_ARGUMENTS (decl) != NULL)
- {
- tree arg;
- for (arg = DECL_ARGUMENTS (decl); arg; arg = TREE_CHAIN (arg))
- {
- alias_var var = get_alias_var (arg);
- VARRAY_PUSH_GENERIC_PTR (params, var);
- /* Incoming pointers can point to pta_global_var, unless
- either we are interprocedural, or we can do ip on all
- statics + this function has been defined + it's not an
- external function. */
- if (POINTER_TYPE_P (TREE_TYPE (arg))
- && !current_alias_ops->ip
- /* FIXME: Need to let analyzer decide in partial case. */
- && (!current_alias_ops->ip_partial
- || !cgraph_local_info (decl)->local))
- current_alias_ops->simple_assign (current_alias_ops, var,
- get_alias_var (pta_global_var));
- }
- }
- else if (TYPE_ARG_TYPES (TREE_TYPE (decl)) != NULL)
- {
- tree arg;
- /* FIXME: Handle varargs */
- for (arg = TYPE_ARG_TYPES (TREE_TYPE (decl));
- arg && TREE_VALUE (arg) != void_type_node;
- arg = TREE_CHAIN (arg))
- {
- tree fakedecl = create_tmp_var_raw (TREE_VALUE (arg), "normarg");
- alias_var var;
- DECL_CONTEXT (fakedecl) = current_function_decl;
- var = get_alias_var (fakedecl);
- VARRAY_PUSH_GENERIC_PTR (params, var);
-
- /* Incoming pointers can point to pta_global_var, unless
- either we are interprocedural, or we can do ip on all
- statics + this function has been defined + it's not an
- external function. */
- if (POINTER_TYPE_P (TREE_TYPE (fakedecl))
- && !current_alias_ops->ip
- /* FIXME: need to let analyzer decide in partial case. */
- && (!current_alias_ops->ip_partial
- || !TREE_STATIC (decl)
- || TREE_PUBLIC (decl)))
- current_alias_ops->simple_assign (current_alias_ops, var,
- get_alias_var (pta_global_var));
- }
- }
- /* Functions declared like void f() are *not* equivalent to void
- f(void). You can pass an argument to them. Thus, we need to
- create some fake argument that would alias any actuals that get
- passed to our function. */
- else
- {
- tree fakedecl = create_tmp_var_raw (void_type_node, "fakearg");
- alias_var fakevar;
- DECL_CONTEXT (fakedecl) = current_function_decl;
- fakevar = get_alias_var (fakedecl);
- VARRAY_PUSH_GENERIC_PTR (params, fakevar);
- }
-
- if (!DECL_RESULT (decl))
- {
- rdecl = create_tmp_var_raw (TREE_TYPE (TREE_TYPE (decl)), "_rv_");
- retvar = current_alias_ops->add_var (current_alias_ops, rdecl);
- DECL_PTA_ALIASVAR (rdecl) = retvar;
- }
- else
- {
- retvar = current_alias_ops->add_var (current_alias_ops,
- DECL_RESULT (decl));
- DECL_PTA_ALIASVAR (DECL_RESULT (decl)) = retvar;
- }
- VARRAY_PUSH_GENERIC_PTR (alias_vars, retvar);
- ALIAS_VAR_VARNUM (retvar) = VARRAY_ACTIVE_SIZE (alias_vars) - 1;
- avar = current_alias_ops->add_var (current_alias_ops, decl);
- VARRAY_PUSH_GENERIC_PTR (alias_vars, avar);
- ALIAS_VAR_VARNUM (avar) = VARRAY_ACTIVE_SIZE (alias_vars) - 1;
-
- current_alias_ops->function_def (current_alias_ops, avar, params, retvar);
- DECL_PTA_ALIASVAR (decl) = avar;
-
- /* FIXME: Also, if this is a defining declaration then add the annotation
- to all extern definitions of the function. */
- return avar;
-}
-
-/* Create an alias variable for a pointer-to-member function DECL of
- type TYPE, it's arguments, and it's return value.
- Returns the alias_var for the PTF.
-
- This includes creating alias_var's for
- - The function itself.
- - The arguments.
- - The return value. */
-
-static alias_var
-create_fun_alias_var_ptf (tree decl, tree type)
-{
- alias_var avar, retvar;
- tree rdecl;
- varray_type params = NULL;
-
- if (DECL_PTA_ALIASVAR (decl))
- return DECL_PTA_ALIASVAR (decl);
-
- VARRAY_GENERIC_PTR_INIT (params, 1, "Arguments");
-
- if (TYPE_ARG_TYPES (type) != NULL)
- {
- tree arg;
- /* FIXME: Handle varargs */
- for (arg = TYPE_ARG_TYPES (type);
- arg && TREE_VALUE (arg) != void_type_node;
- arg = TREE_CHAIN (arg))
- {
- tree fakedecl = create_tmp_var_raw (TREE_VALUE (arg), "ptfarg");
- alias_var var;
- DECL_CONTEXT (fakedecl) = DECL_CONTEXT (decl);
- var = get_alias_var (fakedecl);
- VARRAY_PUSH_GENERIC_PTR (params, var);
- }
- }
- /* Functions declared like void f() are *not* equivalent to void
- f(void). You can pass an argument to them. Thus, we need to
- create some fake argument that would alias any actuals that get
- passed to our function. */
- else
- {
- tree fakedecl = create_tmp_var_raw (void_type_node, "fakearg");
- alias_var fakevar;
- DECL_CONTEXT (fakedecl) = DECL_CONTEXT (decl);
- fakevar = get_alias_var (fakedecl);
- VARRAY_PUSH_GENERIC_PTR (params, fakevar);
- }
-
- rdecl = create_tmp_var_raw (TREE_TYPE (type), "_rv_");
- retvar = current_alias_ops->add_var (current_alias_ops, rdecl);
- VARRAY_PUSH_GENERIC_PTR (alias_vars, retvar);
- ALIAS_VAR_VARNUM (retvar) = VARRAY_ACTIVE_SIZE (alias_vars) - 1;
-
- avar = current_alias_ops->add_var (current_alias_ops, decl);
- VARRAY_PUSH_GENERIC_PTR (alias_vars, avar);
- ALIAS_VAR_VARNUM (avar) = VARRAY_ACTIVE_SIZE (alias_vars) - 1;
-
- current_alias_ops->function_def (current_alias_ops, avar, params, retvar);
- DECL_PTA_ALIASVAR (decl) = avar;
-
- return avar;
-}
-
-/* Create the alias_var for a *_DECL node DECL.
- Returns the alias_var for DECL.
-
- This function also handles creation of alias_var's for PTF
- variables. */
-
-static alias_var
-create_alias_var (tree decl)
-{
- alias_var avar;
-
- gcc_assert (DECL_P (decl));
-
- if (DECL_PTA_ALIASVAR (decl))
- return DECL_PTA_ALIASVAR (decl);
-
- if (POINTER_TYPE_P (TREE_TYPE (decl))
- && TREE_CODE (TREE_TYPE (TREE_TYPE (decl))) == FUNCTION_TYPE)
- {
- avar = create_fun_alias_var_ptf (decl, TREE_TYPE (TREE_TYPE (decl)));
- }
- else
- avar = current_alias_ops->add_var (current_alias_ops, decl);
-
- if (DECL_P (decl))
- {
- DECL_PTA_ALIASVAR (decl) = avar;
- }
-
- VARRAY_PUSH_GENERIC_PTR (alias_vars, avar);
- ALIAS_VAR_VARNUM (avar) = VARRAY_ACTIVE_SIZE (alias_vars) - 1;
- return avar;
-}
-
-/* Create points-to sets for the current function. */
-
-static void
-create_alias_vars (void)
-{
- basic_block bb;
-#if HAVE_BANSHEE
- if (flag_tree_points_to == PTA_ANDERSEN)
- current_alias_ops = andersen_alias_ops;
- else
-#endif
- {
- current_alias_ops = NULL;
- flag_tree_points_to = PTA_NONE;
- return;
- }
-
- pta_global_var = build_decl (VAR_DECL, get_identifier (".pta_global_var"),
- size_type_node);
- DECL_ARTIFICIAL (pta_global_var) = 1;
- TREE_READONLY (pta_global_var) = 1;
- DECL_EXTERNAL (pta_global_var) = 0;
- TREE_STATIC (pta_global_var) = 1;
- TREE_USED (pta_global_var) = 1;
- DECL_CONTEXT (pta_global_var) = current_function_decl;
- TREE_THIS_VOLATILE (pta_global_var) = 1;
- TREE_ADDRESSABLE (pta_global_var) = 0;
-
- init_alias_vars ();
-
- DECL_PTA_ALIASVAR (current_function_decl) = NULL;
- get_alias_var (current_function_decl);
-
- /* First, walk the variables and their DECL_INITIAL's */
- if (cfun->unexpanded_var_list)
- {
- tree vars, var;
- for (vars = cfun->unexpanded_var_list; vars; vars = TREE_CHAIN (vars))
- {
- var = TREE_VALUE (vars);
- if (TREE_CODE (var) != LABEL_DECL
- && TREE_STATIC (var)
- && DECL_INITIAL (var))
- find_func_aliases (var);
- }
- }
-
- /* Now walk all statements and derive aliases. */
- FOR_EACH_BB (bb)
- {
- block_stmt_iterator bsi;
- for (bsi = bsi_start (bb); !bsi_end_p (bsi); bsi_next (&bsi))
- find_func_aliases (bsi_stmt (bsi));
- }
-
- pta_global_var = NULL_TREE;
-}
-
-static bool
-gate_pta (void)
-{
-#ifdef HAVE_BANSHEE
- return flag_tree_points_to != PTA_NONE;
-#else
- return false;
-#endif
-}
-
-struct tree_opt_pass pass_build_pta =
-{
- "pta", /* name */
- gate_pta, /* gate */
- create_alias_vars, /* execute */
- NULL, /* sub */
- NULL, /* next */
- 0, /* static_pass_number */
- TV_TREE_PTA, /* tv_id */
- PROP_cfg, /* properties_required */
- PROP_pta, /* properties_provided */
- 0, /* properties_destroyed */
- 0, /* todo_flags_start */
- 0, /* todo_flags_finish */
- 0 /* letter */
-};
-
-
-/* Delete created points-to sets. */
-
-static void
-delete_alias_vars (void)
-{
- size_t i;
-
- for (i = 0; i < VARRAY_ACTIVE_SIZE (local_alias_vars); i++)
- {
- tree key = VARRAY_TREE (local_alias_vars, i);
- gcc_assert (DECL_P (key));
- DECL_PTA_ALIASVAR (key) = NULL;
- }
-
- for (i = 0; i < VARRAY_ACTIVE_SIZE (local_alias_varnums); i ++)
- VARRAY_GENERIC_PTR (alias_vars, VARRAY_INT (local_alias_varnums, i)) = NULL;
- if (!current_alias_ops->ip && !current_alias_ops->ip_partial)
- {
- /* VARRAY_CLEAR (alias_vars); */
- VARRAY_CLEAR (local_alias_vars);
- VARRAY_CLEAR (local_alias_varnums);
- }
- BITMAP_XFREE (addrargs);
- current_alias_ops->cleanup (current_alias_ops);
-}
-
-struct tree_opt_pass pass_del_pta =
-{
- "pta", /* name */
- gate_pta, /* gate */
- delete_alias_vars, /* execute */
- NULL, /* sub */
- NULL, /* next */
- 0, /* static_pass_number */
- TV_TREE_PTA, /* tv_id */
- PROP_pta, /* properties_required */
- 0, /* properties_provided */
- PROP_pta, /* properties_destroyed */
- 0, /* todo_flags_start */
- 0, /* todo_flags_finish */
- 0 /* letter */
-};
-
-
-/* Initialize points-to analysis machinery. */
-
-void
-init_alias_vars (void)
-{
- current_alias_ops->init (current_alias_ops);
- addrargs = BITMAP_XMALLOC ();
- VARRAY_TREE_INIT (local_alias_vars, 10, "Local alias vars");
- VARRAY_INT_INIT (local_alias_varnums, 10, "Local alias varnums");
- if ((!current_alias_ops->ip && !current_alias_ops->ip_partial)
- || alias_vars == NULL)
- VARRAY_GENERIC_PTR_INIT (alias_vars, 10, "Alias vars");
-}
-
-/* Return true if PTR can't point to anything (i.e. it has an empty
- points-to set. */
-bool
-empty_points_to_set (tree ptr)
-{
- alias_var ptrtv;
-
-#if !FIELD_BASED
-#else
- if (TREE_CODE (ptr) == COMPONENT_REF)
- ptr = TREE_OPERAND (ptr, 1);
-#endif
-
- gcc_assert (DECL_P (ptr));
- ptrtv = DECL_PTA_ALIASVAR (ptr);
- if (!ptrtv)
- return true;
-
- return current_alias_ops->empty_points_to_set (current_alias_ops, ptrtv);
-}
-
-/* Return true if PTR and VAR have the same points-to set. */
-
-bool
-same_points_to_set (tree ptr, tree var)
-{
- alias_var ptrtv, vartv;
-
-#if !FIELD_BASED
-#else
- if (TREE_CODE (ptr) == COMPONENT_REF)
- ptr = TREE_OPERAND (ptr, 1);
- if (TREE_CODE (var) == COMPONENT_REF)
- var = TREE_OPERAND (var, 1);
-#endif
-
- if (ptr == var)
- return true;
-
- gcc_assert (DECL_P (ptr));
- ptrtv = DECL_PTA_ALIASVAR (ptr);
- if (!ptrtv)
- return false;
-
- gcc_assert (DECL_P (var));
- vartv = DECL_PTA_ALIASVAR (var);
- if (!vartv)
- return false;
-
- return current_alias_ops->same_points_to_set (current_alias_ops, vartv, ptrtv);
-}
-
-/* Determine whether two variables (PTR and VAR) may-alias.
- Returns TRUE if PTR may-alias VAR. */
-
-bool
-ptr_may_alias_var (tree ptr, tree var)
-{
- alias_var ptrtv, vartv;
-
-#if !FIELD_BASED
-#else
- if (TREE_CODE (ptr) == COMPONENT_REF)
- ptr = TREE_OPERAND (ptr, 1);
- if (TREE_CODE (var) == COMPONENT_REF)
- var = TREE_OPERAND (var, 1);
-#endif
-
- if (ptr == var)
- return true;
-
- gcc_assert (DECL_P (ptr));
- ptrtv = DECL_PTA_ALIASVAR (ptr);
- if (!ptrtv)
- return false;
-
- gcc_assert (DECL_P (var));
- vartv = DECL_PTA_ALIASVAR (var);
- if (!vartv)
- return false;
-
- return current_alias_ops->may_alias (current_alias_ops, ptrtv, vartv);
-}
-
-#define MASK_POINTER(P) ((unsigned)((unsigned long)(P) & 0xffff))
-
-const char *
-alias_get_name (tree t)
-{
- const char *name;
-
-#if FIELD_BASED
- if (TREE_CODE (t) == FIELD_DECL)
- {
- /* First get the name of the field, then the prefix, then smash them
- together. */
- const char *fieldname = IDENTIFIER_POINTER (DECL_NAME (t));
- const char *prefix = alias_get_name (DECL_CONTEXT (t));
- char *smashed;
- size_t neededlen = strlen (fieldname) + strlen (prefix) + 2;
- smashed = ggc_alloc (neededlen);
- sprintf (smashed, "%s.%s", prefix, fieldname);
- name = smashed;
-
- }
- else if (TYPE_P (t))
- {
- if (TYPE_NAME (t) && IDENTIFIER_POINTER (TYPE_NAME (t)))
- name = IDENTIFIER_POINTER (TYPE_NAME (t));
- else
- name = "<unnamed type>";
- }
- else
-#endif
- {
- if (TREE_CODE (t) == FUNCTION_DECL)
- name = IDENTIFIER_POINTER (DECL_NAME (t));
- else if (TREE_CODE (t) == RESULT_DECL)
- name = "<return value>";
- else
- name = get_name (t);
- }
-
- if (!name)
- {
- char *namep;
- /* 2 = UF
- 4 = the masked pointer
- 2 = the <> around it
- 1 = the terminator. */
- namep = ggc_alloc (2 + 4 + 2 + 1);
- sprintf (namep, "<UV%x>", MASK_POINTER (t));
- return namep;
- }
-
- return name;
-}
-
-#include "gt-tree-alias-common.h"
+++ /dev/null
-/* Tree based points-to analysis
- Copyright (C) 2002, 2003 Free Software Foundation, Inc.
- Contributed by Daniel Berlin <dberlin@dberlin.org>
-
-This file is part of GCC.
-
-GCC is free software; you can redistribute it and/or modify
-under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
-(at your option) any later version.
-
-GCC is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GCC; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-*/
-
-#ifndef TREE_ALIAS_COMMON
-#define TREE_ALIAS_COMMON
-
-#include "tree-alias-type.h"
-
-/* Alias analysis function pointers.
- Functions implemented by the actual alias analysis algorithms in
- order for them to work with the common points-to structure. */
-struct tree_alias_ops
-{
- /* Initialization.
- Called right before we start using the other functions. */
- void (*init) (struct tree_alias_ops *);
-
- /* Cleanup.
- Called when we are finished with the alias analyzer. */
- void (*cleanup) (struct tree_alias_ops *);
-
- /* Add variable.
- Called when we want to inform the alias analyzer about a new
- variable we've found. */
- alias_var (*add_var) (struct tree_alias_ops *, tree);
-
- /* Add variable equivalent to existing one.
- Called when we want to inform the alias analyzer about a new
- variable that has the same points-to set as an existing
- variable. */
- alias_var (*add_var_same) (struct tree_alias_ops *, tree,
- alias_var);
-
- /* Process a simple assignment (a = b).
- Called to process simple assignment statements of the form a = b,
- where a and b are both variables. */
- void (*simple_assign) (struct tree_alias_ops *, alias_var,
- alias_var);
- /* Process an address assignment (a = &b).
- Called to process address assignment statements of the form a =
- &b, where a and b are both variables. */
- void (*addr_assign) (struct tree_alias_ops *, alias_var, alias_var);
-
- /* Process a pointer assignment (a = *b).
- Called to process pointer assignment statements of the form a =
- *b, where a and b are both variables. */
- void (*ptr_assign) (struct tree_alias_ops *, alias_var, alias_var);
-
- /* Process an operator assignment (a = op (...))
- Called to process operators of the form a = op(...), where a is a
- variable. */
- void (*op_assign) (struct tree_alias_ops *, alias_var, varray_type,
- tree, bitmap);
- /* Process a heap assignment (a = alloc (...))
- Called to process a heap assignment of the form a = alloc
- (...), where a is a variable, and *alloc is a function that
- returns new memory. */
- void (*heap_assign) (struct tree_alias_ops *, alias_var);
-
- /* Process an assignment to a pointer (*a = b)
- Called to process assignment to pointer statements of the form
- *a = b, where a and b are both variables. */
- void (*assign_ptr) (struct tree_alias_ops *, alias_var, alias_var);
-
- /* Process a function definition.
- Called to inform the alias analyzer about a new function
- definition. */
- void (*function_def) (struct tree_alias_ops *, alias_var,
- varray_type, alias_var);
-
- /* Process a function call.
- Return 1 if we need to assume conservative side-effects. */
- int (*function_call) (struct tree_alias_ops *, alias_var,
- alias_var, varray_type, bitmap);
-
- /* Determine if two alias variables may alias. */
- bool (*may_alias) (struct tree_alias_ops *, alias_var, alias_var);
-
- /* Determine if two alias variables have the same points-to set. */
- bool (*same_points_to_set) (struct tree_alias_ops *, alias_var,
- alias_var);
-
- /* Determine if the alias variable has an empty points-to set. */
- bool (*empty_points_to_set) (struct tree_alias_ops *, alias_var);
-
- /* Private data. */
- void *data;
-
- /* Interprocedural. */
- unsigned int ip:1;
-
- /* Can do conservative interprocedural analysis if we save the
- * info. */
- unsigned int ip_partial:1;
-
-};
-
-extern struct tree_alias_ops *current_alias_ops;
-extern void init_alias_vars (void);
-extern bool ptr_may_alias_var (tree, tree);
-extern bool same_points_to_set (tree, tree);
-extern bool empty_points_to_set (tree);
-extern const char *alias_get_name (tree);
-
-#endif /* TREE_ALIAS_COMMON */
+++ /dev/null
-/* Tree based linear points-to analysis
- Copyright (C) 2002, 2003 Free Software Foundation, Inc.
- Contributed by Daniel Berlin <dberlin@dberlin.org>
-
-This file is part of GCC.
-
-GCC is free software; you can redistribute it and/or modify
-under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
-(at your option) any later version.
-
-GCC is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GCC; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-*/
-
-#include "config.h"
-#include "system.h"
-#include "coretypes.h"
-#include "tm.h"
-#include "ggc.h"
-#include "tree-alias-type.h"
-
-alias_var
-alias_var_new_with_aterm (tree decl, struct aterm_ *term)
-{
- alias_var ret = ggc_alloc (sizeof (struct alias_var_aterm));
- ALIAS_VAR_KIND (ret) = ATERM_AVAR;
- ALIAS_VAR_DECL (ret) = decl;
- ALIAS_VAR_ATERM (ret) = term;
- return ret;
-}
+++ /dev/null
-/* Tree based linear points-to analysis
- Copyright (C) 2002, 2003 Free Software Foundation, Inc.
- Contributed by Daniel Berlin <dberlin@dberlin.org>
-
-This file is part of GCC.
-
-GCC is free software; you can redistribute it and/or modify
-under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
-(at your option) any later version.
-
-GCC is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GCC; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-*/
-
-#ifndef TREE_ALIAS_TYPE_H
-#define TREE_ALIAS_TYPE_H
-
-#include "varray.h"
-
-union alias_var_def;
-struct aterm_;
-struct aterm_list_a;
-
-enum alias_var_kind
-{
- ATERM_AVAR
-};
-
-struct alias_var_common GTY (())
-{
- enum alias_var_kind kind;
- unsigned int varnum;
- tree decl;
-};
-
-struct alias_var_aterm GTY (())
-{
- struct alias_var_common common;
- struct aterm_ * GTY((skip (""))) term;
- struct aterm_list_a *GTY ((skip (""))) ptset;
-};
-
-union alias_var_def GTY ((desc ("%0.common.kind")))
-{
- struct alias_var_common GTY ((tag ("-1"))) common;
- struct alias_var_aterm GTY ((tag ("ATERM_AVAR"))) aterm;
-};
-
-typedef union alias_var_def *alias_var;
-
-#define ALIAS_VAR_KIND(x) ((x)->common.kind)
-#define ALIAS_VAR_VARNUM(x) ((x)->common.varnum)
-#define ALIAS_VAR_DECL(x) ((x)->common.decl)
-#define ALIAS_VAR_ATERM(x) ((x)->aterm.term)
-#define ALIAS_VAR_PTSET(x) ((x)->aterm.ptset)
-union alias_type_def;
-typedef union alias_type_def *alias_type;
-
-alias_var alias_var_new_with_aterm (tree, struct aterm_ *);
-
-#endif /* TREE_ALIAS_TYPE_H */
#include "tree-gimple.h"
#include "tree-flow.h"
#include "tree-inline.h"
-#include "tree-alias-common.h"
#include "tree-pass.h"
#include "convert.h"
#include "params.h"
#include "tree-inline.h"
#include "varray.h"
#include "timevar.h"
-#include "tree-alias-common.h"
#include "hashtab.h"
#include "tree-dump.h"
#include "tree-pass.h"
#include "tree-inline.h"
#include "tree-mudflap.h"
#include "tree-pass.h"
-#include "tree-alias-common.h"
#include "ggc.h"
#include "cgraph.h"
#include "graph.h"
p = &pass_all_optimizations.sub;
NEXT_PASS (pass_referenced_vars);
- NEXT_PASS (pass_build_pta);
NEXT_PASS (pass_build_ssa);
NEXT_PASS (pass_may_alias);
NEXT_PASS (pass_rename_ssa_copies);
NEXT_PASS (pass_phiopt);
NEXT_PASS (pass_tail_calls);
NEXT_PASS (pass_late_warn_uninitialized);
- NEXT_PASS (pass_del_pta);
NEXT_PASS (pass_del_ssa);
NEXT_PASS (pass_nrv);
NEXT_PASS (pass_remove_useless_vars);
#include "tree-inline.h"
#include "varray.h"
#include "timevar.h"
-#include "tree-alias-common.h"
#include "hashtab.h"
#include "tree-dump.h"
#include "tree-ssa-live.h"
extern struct tree_opt_pass pass_build_cfg;
extern struct tree_opt_pass pass_tree_profile;
extern struct tree_opt_pass pass_referenced_vars;
-extern struct tree_opt_pass pass_build_pta;
-extern struct tree_opt_pass pass_del_pta;
extern struct tree_opt_pass pass_sra;
extern struct tree_opt_pass pass_tail_recursion;
extern struct tree_opt_pass pass_tail_calls;
#include "tree-gimple.h"
#include "tree-flow.h"
#include "tree-inline.h"
-#include "tree-alias-common.h"
#include "tree-pass.h"
#include "convert.h"
#include "params.h"
unsigned int simple_resolved;
unsigned int tbaa_queries;
unsigned int tbaa_resolved;
- unsigned int pta_queries;
- unsigned int pta_resolved;
};
NULL, /* next */
0, /* static_pass_number */
TV_TREE_MAY_ALIAS, /* tv_id */
- PROP_cfg | PROP_ssa | PROP_pta, /* properties_required */
+ PROP_cfg | PROP_ssa, /* properties_required */
PROP_alias, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
}
}
- if (flag_tree_points_to != PTA_NONE)
- alias_stats.pta_queries++;
-
- /* If -ftree-points-to is given, check if PTR may point to VAR. */
- if (flag_tree_points_to == PTA_ANDERSEN
- && !ptr_may_alias_var (ptr, var))
- {
- alias_stats.alias_noalias++;
- alias_stats.pta_resolved++;
- return false;
- }
-
alias_stats.alias_mayalias++;
return true;
}
for (i = 0, tag = NULL_TREE; i < ai->num_pointers; i++)
{
struct alias_map_d *curr = ai->pointers[i];
- if (tag_set == curr->set
- && (flag_tree_points_to == PTA_NONE
- || same_points_to_set (curr->var, ptr)))
+ if (tag_set == curr->set)
{
tag = var_ann (curr->var)->type_mem_tag;
break;
alias_stats.tbaa_queries);
fprintf (file, "Total TBAA resolved:\t%u\n",
alias_stats.tbaa_resolved);
- fprintf (file, "Total PTA queries:\t%u\n",
- alias_stats.pta_queries);
- fprintf (file, "Total PTA resolved:\t%u\n",
- alias_stats.pta_resolved);
}
#include "tree-gimple.h"
#include "tree-inline.h"
#include "timevar.h"
-#include "tree-alias-common.h"
#include "hashtab.h"
#include "tree-dump.h"
#include "tree-ssa-live.h"
#include "tree-inline.h"
#include "varray.h"
#include "timevar.h"
-#include "tree-alias-common.h"
#include "hashtab.h"
#include "tree-dump.h"
#include "tree-ssa-live.h"
#include "tree-inline.h"
#include "varray.h"
#include "timevar.h"
-#include "tree-alias-common.h"
#include "hashtab.h"
#include "tree-dump.h"
#include "tree-pass.h"
+++ /dev/null
-autom4te.cache
+++ /dev/null
-Copyright (c) 2000-2001
- The Regents of the University of California. All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions
-are met:
-1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-3. Neither the name of the University nor the names of its contributors
- may be used to endorse or promote products derived from this software
- without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-SUCH DAMAGE.
+++ /dev/null
-2004-06-27 Giovanni Bajo <giovannibajo@gcc.gnu.org>
-
- PR bootstrap/15627
- * engine/flowrow-sort.c (update_upper_bound): Converted comment to
- C-style.
- (flowrow_inclusion): Likewise.
- (flowrow_extract_field): Unnest field_eq.
- * engine/setif-sort.c (search_ubs): Unnest search_ubs_aux.
- (search_lbs): Unnest search_lbs_aux.
- (setif_inclusion): Unnest collapse_cycle_lower, collapse_cycle_upper,
- update_lower_bound, update_upper_bound.
-
-2004-06-15 Paolo Bonzini <bonzini@gnu.org>
-
- * Makefile.in: Regenerate with automake 1.8.5.
- * aclocal.m4: Likewise.
- * engine/Makefile.in: Likewise.
- * libcompat/Makefile.in: Likewise.
- * points-to/Makefile.in: Likewise.
- * configure: Regenerate.
- * .cvsignore: New file.
-
-2004-05-28 Kelley Cook <kcook@gcc.gnu.org>
-
- * configure.in: Rename to ...
- * configure.ac: this. Update to modern autoconf style.
- Correct AC_INIT macro with the actual package name.
- Replace gcc_AC_HEADER_STDBOOL and GCC_AC_C__BOOL with AC_HEADER_STDBOOL.
- * acinclude.m4, stamp.h-in: Delete.
- * config.h, configure: Regenerate with autoconf 2.59.
- * aclocal.m4, Makefile.in: Regenerate with automake 1.7.9.
- * engine/Makefile.in: Likewise.
- * libcompat/Makefile.in: Likewise.
- * points-to/Makefile.in: Likewise.
-
-2004-05-24 Daniel Berlin <dberlin@dberlin.org>
-
- PR other/15627
- * engine/util.h: Include ansidecl.h.
- Make max and min static inline.
- * engine/util.c: Remove max and min from here.
-
-2004-03-26 Andreas Jaeger <aj@suse.de>
-
- * configure.in: Remove GCC_NO_EXECUTABLES.
- * configure: Regenerated.
-
-2004-03-07 Daniel Berlin <dberlin@dberlin.org>
-
- * engine/Makefile.am (AM_CFLAGS): Add -I$(top_srcddir)/../include, so we
- can get ansidecl.h and friends.
- * engine/array.c (array_extend): Fix unsigned/signed comparison.
- * engine/banshee.h (struct gen_e): Just make void * when empty, instead
- of empty struct.
- * engine/compiler.h: Don't ever define HAVE_VARIADIC_MACROS, -pedantic
- whines about them even when we know we can use them.
- * engine/dot.c: constify our char *'s everywhere.
- (declare_node): Cast &result to char * before casting to hash_data *.
- * engine/dot.h: constify our char *'s everywhere.
- * engine/flow-var.c: Ditto.
- * engine/flow-var.h: Ditto.
- * engine/flowrow-sort.c: Include ansidecl.h.
- (get_contour): Mark unused parameter.
- (update_upper_bound): Make comment /* instead of //.
- (field_eq): Staticify.
- * engine/hash.c (string_hash): Staticify.
- (string_eq): Ditto.
- (entry_cmp): Ditto.
- * engine/hash.h: Move comments around.
- (hash_table_apply): Add prototype.
- * engine/hashset.c (INIT_TABLE_SIZE): Remove extra semicolon.
- (EMPTY_KEY): Ditto.
- * engine/jcollection.c (jcoll_create_chain): // -> /* comment.
- (jcoll_accum): Staticify.
- * engine/list.c (sort_linked_list): Staticify.
- (compare): Use comparator_fn as last argument, not void *.
- * engine/list.h: Declare the functions even for opaque lists.
- (list_clear macro): don't return value.
- * engine/setif-sort.c: Replaced with new version from banshee cvs.
- * engine/setif-var.c: constify our char *'s.
- * engine/setif-var.h: Ditto.
- * engine/setst-var.c: Ditto.
- * engine/setst-var.h: Ditto.
- * engine/stamp.c (stamp_string): Use long, not int.
- Cast through char *.
- * engine/stamp.h (stamp): Long, not int.
- * engine/term-sort.c (term_print_stats): Mark argument unused.
- include ansidecl.h.
- * engine/term-var.c: constify the char *'s.
- * engine/term-var.h: Ditto.
- * engine/ufind.h (union find update macro): Don't return uf_update's value
- (which is void anyway).
- * engine/util.c (ptr_hash): Return long, not int.
- * engine/util.h (ptr_hash): Ditto.
-
-2004-02-29 Andreas Jaeger <aj@suse.de>
-
- * configure.in: Set ac_libbanshee_warn_cflags for GCC.
- * configure: Regenerated.
-
- * libcompat/Makefile.am (AM_CFLAGS): Add
- ac_libbanshee_warn_cflags.
- * engine/Makefile.am (AM_CFLAGS): Likewise.
- * points-to/Makefile.am (AM_CFLAGS): Likewise.
-
- * libcompat/Makefile.in: Regenerated.
- * engine/Makefile.in: Regenerated.
- * points-to/Makefile.in: Regenerated.
- * Makefile.in: Regenerated.
-
- * libcompat/radix-tree.c: Include <stdlib.h> for calloc.
-
-2004-02-03 Daniel Berlin <dberlin@dberlin.org>
-
- Fix PR other/12220
- * engine/Makefile.am: Remove -fno-strict-aliasing.
- * libcompat/Makefile.am: Ditto.
- * points-to/Makefile.am: Ditto.
- * configure: Regenerated.
- * config.h.in: Ditto.
- * Makefile.in: Ditto.
- * engine/Makefile.am: Ditto.
- * libcompat/Makefile.am: Ditto.
- * points-to/Makefile.am: Ditto.
-
-2003-07-01 Daniel Berlin <dberlin@dberlin.org>
-
- * acinclude.m4: New, copy the bool tests from gcc.
-
- * configure.in: Use the new bool tests.
-
- * Regenerate configure.
-
- * engine/bool.h: Rewrite to use the part of gcc's system.h that does
- bool type handling.
-
-2002-12-26 Daniel Berlin <dberlin@dberlin.org>
-
- * Makefile.am: Use the same flag passing hack all other subdirs use.
-
- * */Makefile.am: Use -fno-strict-aliasing till i get rid of the
- type-punning.
-
- * Regenerate configure and Makefiles.
-
- * engine/setst-*.c: Remove nested functions.
-
-2002-11-28 Diego Novillo <dnovillo@redhat.com>
-
- * aclocal.m4: Don't call aclocal and automake with a
- version number suffix.
- * Makefile.in, config.h.in, configure,
- engine/Makefile.in, libcompat/Makefile.in,
- points-to/Makefile.in: Regenerate.
-
-2002-11-24 Daniel Berlin <dberlin@dberlin.org>
-
- * points-to/andersen_terms.c: Fix multi-line string literals
-
-2002-10-31 Daniel Berlin <dberlin@dberlin.org>
-
- * Autoconf'ed, automak'ed, de-nested functified, etc.
+++ /dev/null
-SUBDIRS = engine points-to libcompat
-# Work around what appears to be a GNU make bug handling MAKEFLAGS
-# values defined in terms of make variables, as is the case for CC and
-# friends when we are called from the top level Makefile.
-AM_MAKEFLAGS = \
- "AR_FLAGS=$(AR_FLAGS)" \
- "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
- "CFLAGS=$(CFLAGS)" \
- "CXXFLAGS=$(CXXFLAGS)" \
- "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
- "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
- "INSTALL=$(INSTALL)" \
- "INSTALL_DATA=$(INSTALL_DATA)" \
- "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
- "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
- "LDFLAGS=$(LDFLAGS)" \
- "LIBCFLAGS=$(LIBCFLAGS)" \
- "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
- "MAKE=$(MAKE)" \
- "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
- "PICFLAG=$(PICFLAG)" \
- "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
- "SHELL=$(SHELL)" \
- "EXPECT=$(EXPECT)" \
- "RUNTEST=$(RUNTEST)" \
- "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
- "exec_prefix=$(exec_prefix)" \
- "infodir=$(infodir)" \
- "libdir=$(libdir)" \
- "prefix=$(prefix)" \
- "tooldir=$(tooldir)" \
- "AR=$(AR)" \
- "AS=$(AS)" \
- "CC=$(CC)" \
- "CXX=$(CXX)" \
- "LD=$(LD)" \
- "LIBCFLAGS=$(LIBCFLAGS)" \
- "NM=$(NM)" \
- "PICFLAG=$(PICFLAG)" \
- "RANLIB=$(RANLIB)" \
- "DESTDIR=$(DESTDIR)"
+++ /dev/null
-# Makefile.in generated by automake 1.8.5 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004 Free Software Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-srcdir = @srcdir@
-top_srcdir = @top_srcdir@
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-top_builddir = .
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-INSTALL = @INSTALL@
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-subdir = .
-DIST_COMMON = README $(am__configure_deps) $(srcdir)/../install-sh \
- $(srcdir)/../missing $(srcdir)/../mkinstalldirs \
- $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
- $(srcdir)/config.h.in $(top_srcdir)/configure AUTHORS COPYING \
- ChangeLog INSTALL NEWS
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
- $(ACLOCAL_M4)
-am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
- configure.lineno configure.status.lineno
-mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
-CONFIG_HEADER = config.h
-CONFIG_CLEAN_FILES =
-SOURCES =
-DIST_SOURCES =
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
- html-recursive info-recursive install-data-recursive \
- install-exec-recursive install-info-recursive \
- install-recursive installcheck-recursive installdirs-recursive \
- pdf-recursive ps-recursive uninstall-info-recursive \
- uninstall-recursive
-ETAGS = etags
-CTAGS = ctags
-DIST_SUBDIRS = $(SUBDIRS)
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-distdir = $(PACKAGE)-$(VERSION)
-top_distdir = $(distdir)
-am__remove_distdir = \
- { test ! -d $(distdir) \
- || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
- && rm -fr $(distdir); }; }
-DIST_ARCHIVES = $(distdir).tar.gz
-GZIP_ENV = --best
-distuninstallcheck_listfiles = find . -type f -print
-distcleancheck_listfiles = find . -type f -print
-ACLOCAL = @ACLOCAL@
-AMDEP_FALSE = @AMDEP_FALSE@
-AMDEP_TRUE = @AMDEP_TRUE@
-AMTAR = @AMTAR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CFLAGS = @CFLAGS@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EGREP = @EGREP@
-EXEEXT = @EXEEXT@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-LDFLAGS = @LDFLAGS@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LTLIBOBJS = @LTLIBOBJS@
-MAINT = @MAINT@
-MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
-MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
-MAKEINFO = @MAKEINFO@
-OBJEXT = @OBJEXT@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-RANLIB = @RANLIB@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRIP = @STRIP@
-VERSION = @VERSION@
-ac_ct_CC = @ac_ct_CC@
-ac_ct_RANLIB = @ac_ct_RANLIB@
-ac_ct_STRIP = @ac_ct_STRIP@
-ac_libbanshee_warn_cflags = @ac_libbanshee_warn_cflags@
-am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
-am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-bindir = @bindir@
-build_alias = @build_alias@
-datadir = @datadir@
-exec_prefix = @exec_prefix@
-host_alias = @host_alias@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-SUBDIRS = engine points-to libcompat
-# Work around what appears to be a GNU make bug handling MAKEFLAGS
-# values defined in terms of make variables, as is the case for CC and
-# friends when we are called from the top level Makefile.
-AM_MAKEFLAGS = \
- "AR_FLAGS=$(AR_FLAGS)" \
- "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
- "CFLAGS=$(CFLAGS)" \
- "CXXFLAGS=$(CXXFLAGS)" \
- "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
- "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
- "INSTALL=$(INSTALL)" \
- "INSTALL_DATA=$(INSTALL_DATA)" \
- "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
- "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
- "LDFLAGS=$(LDFLAGS)" \
- "LIBCFLAGS=$(LIBCFLAGS)" \
- "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
- "MAKE=$(MAKE)" \
- "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
- "PICFLAG=$(PICFLAG)" \
- "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
- "SHELL=$(SHELL)" \
- "EXPECT=$(EXPECT)" \
- "RUNTEST=$(RUNTEST)" \
- "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
- "exec_prefix=$(exec_prefix)" \
- "infodir=$(infodir)" \
- "libdir=$(libdir)" \
- "prefix=$(prefix)" \
- "tooldir=$(tooldir)" \
- "AR=$(AR)" \
- "AS=$(AS)" \
- "CC=$(CC)" \
- "CXX=$(CXX)" \
- "LD=$(LD)" \
- "LIBCFLAGS=$(LIBCFLAGS)" \
- "NM=$(NM)" \
- "PICFLAG=$(PICFLAG)" \
- "RANLIB=$(RANLIB)" \
- "DESTDIR=$(DESTDIR)"
-
-all: config.h
- $(MAKE) $(AM_MAKEFLAGS) all-recursive
-
-.SUFFIXES:
-am--refresh:
- @:
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
- @for dep in $?; do \
- case '$(am__configure_deps)' in \
- *$$dep*) \
- echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
- cd $(srcdir) && $(AUTOMAKE) --gnu \
- && exit 0; \
- exit 1;; \
- esac; \
- done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
- cd $(top_srcdir) && \
- $(AUTOMAKE) --gnu Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- @case '$?' in \
- *config.status*) \
- echo ' $(SHELL) ./config.status'; \
- $(SHELL) ./config.status;; \
- *) \
- echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
- cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
- esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
- $(SHELL) ./config.status --recheck
-
-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
- cd $(srcdir) && $(AUTOCONF)
-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
- cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
-
-config.h: stamp-h1
- @if test ! -f $@; then \
- rm -f stamp-h1; \
- $(MAKE) stamp-h1; \
- else :; fi
-
-stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
- @rm -f stamp-h1
- cd $(top_builddir) && $(SHELL) ./config.status config.h
-$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
- cd $(top_srcdir) && $(AUTOHEADER)
- rm -f stamp-h1
- touch $@
-
-distclean-hdr:
- -rm -f config.h stamp-h1
-uninstall-info-am:
-
-# This directory's subdirectories are mostly independent; you can cd
-# into them and run `make' without going through this Makefile.
-# To change the values of `make' variables: instead of editing Makefiles,
-# (1) if the variable is set in `config.status', edit `config.status'
-# (which will cause the Makefiles to be regenerated when you run `make');
-# (2) otherwise, pass the desired values on the `make' command line.
-$(RECURSIVE_TARGETS):
- @set fnord $$MAKEFLAGS; amf=$$2; \
- dot_seen=no; \
- target=`echo $@ | sed s/-recursive//`; \
- list='$(SUBDIRS)'; for subdir in $$list; do \
- echo "Making $$target in $$subdir"; \
- if test "$$subdir" = "."; then \
- dot_seen=yes; \
- local_target="$$target-am"; \
- else \
- local_target="$$target"; \
- fi; \
- (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
- || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
- done; \
- if test "$$dot_seen" = "no"; then \
- $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
- fi; test -z "$$fail"
-
-mostlyclean-recursive clean-recursive distclean-recursive \
-maintainer-clean-recursive:
- @set fnord $$MAKEFLAGS; amf=$$2; \
- dot_seen=no; \
- case "$@" in \
- distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
- *) list='$(SUBDIRS)' ;; \
- esac; \
- rev=''; for subdir in $$list; do \
- if test "$$subdir" = "."; then :; else \
- rev="$$subdir $$rev"; \
- fi; \
- done; \
- rev="$$rev ."; \
- target=`echo $@ | sed s/-recursive//`; \
- for subdir in $$rev; do \
- echo "Making $$target in $$subdir"; \
- if test "$$subdir" = "."; then \
- local_target="$$target-am"; \
- else \
- local_target="$$target"; \
- fi; \
- (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
- || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
- done && test -z "$$fail"
-tags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
- done
-ctags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
- done
-
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) ' { files[$$0] = 1; } \
- END { for (i in files) print i; }'`; \
- mkid -fID $$unique
-tags: TAGS
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- tags=; \
- here=`pwd`; \
- if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
- include_option=--etags-include; \
- empty_fix=.; \
- else \
- include_option=--include; \
- empty_fix=; \
- fi; \
- list='$(SUBDIRS)'; for subdir in $$list; do \
- if test "$$subdir" = .; then :; else \
- test ! -f $$subdir/TAGS || \
- tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
- fi; \
- done; \
- list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) ' { files[$$0] = 1; } \
- END { for (i in files) print i; }'`; \
- if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
- test -n "$$unique" || unique=$$empty_fix; \
- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- $$tags $$unique; \
- fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- tags=; \
- here=`pwd`; \
- list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) ' { files[$$0] = 1; } \
- END { for (i in files) print i; }'`; \
- test -z "$(CTAGS_ARGS)$$tags$$unique" \
- || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
- $$tags $$unique
-
-GTAGS:
- here=`$(am__cd) $(top_builddir) && pwd` \
- && cd $(top_srcdir) \
- && gtags -i $(GTAGS_ARGS) $$here
-
-distclean-tags:
- -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-
-distdir: $(DISTFILES)
- $(am__remove_distdir)
- mkdir $(distdir)
- $(mkdir_p) $(distdir)/..
- @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
- topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
- list='$(DISTFILES)'; for file in $$list; do \
- case $$file in \
- $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
- $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
- esac; \
- if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
- dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
- if test "$$dir" != "$$file" && test "$$dir" != "."; then \
- dir="/$$dir"; \
- $(mkdir_p) "$(distdir)$$dir"; \
- else \
- dir=''; \
- fi; \
- if test -d $$d/$$file; then \
- if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
- cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
- fi; \
- cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
- else \
- test -f $(distdir)/$$file \
- || cp -p $$d/$$file $(distdir)/$$file \
- || exit 1; \
- fi; \
- done
- list='$(SUBDIRS)'; for subdir in $$list; do \
- if test "$$subdir" = .; then :; else \
- test -d "$(distdir)/$$subdir" \
- || mkdir "$(distdir)/$$subdir" \
- || exit 1; \
- (cd $$subdir && \
- $(MAKE) $(AM_MAKEFLAGS) \
- top_distdir="../$(top_distdir)" \
- distdir="../$(distdir)/$$subdir" \
- distdir) \
- || exit 1; \
- fi; \
- done
- -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
- ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
- ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
- ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
- || chmod -R a+r $(distdir)
-dist-gzip: distdir
- $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
- $(am__remove_distdir)
-
-dist-bzip2: distdir
- $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
- $(am__remove_distdir)
-
-dist-tarZ: distdir
- $(AMTAR) chof - $(distdir) | compress -c >$(distdir).tar.Z
- $(am__remove_distdir)
-
-dist-shar: distdir
- shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
- $(am__remove_distdir)
-
-dist-zip: distdir
- -rm -f $(distdir).zip
- zip -rq $(distdir).zip $(distdir)
- $(am__remove_distdir)
-
-dist dist-all: distdir
- $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
- $(am__remove_distdir)
-
-# This target untars the dist file and tries a VPATH configuration. Then
-# it guarantees that the distribution is self-contained by making another
-# tarfile.
-distcheck: dist
- case '$(DIST_ARCHIVES)' in \
- *.tar.gz*) \
- GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - ;;\
- *.tar.bz2*) \
- bunzip2 -c $(distdir).tar.bz2 | $(AMTAR) xf - ;;\
- *.tar.Z*) \
- uncompress -c $(distdir).tar.Z | $(AMTAR) xf - ;;\
- *.shar.gz*) \
- GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
- *.zip*) \
- unzip $(distdir).zip ;;\
- esac
- chmod -R a-w $(distdir); chmod a+w $(distdir)
- mkdir $(distdir)/_build
- mkdir $(distdir)/_inst
- chmod a-w $(distdir)
- dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
- && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
- && cd $(distdir)/_build \
- && ../configure --srcdir=.. --prefix="$$dc_install_base" \
- $(DISTCHECK_CONFIGURE_FLAGS) \
- && $(MAKE) $(AM_MAKEFLAGS) \
- && $(MAKE) $(AM_MAKEFLAGS) dvi \
- && $(MAKE) $(AM_MAKEFLAGS) check \
- && $(MAKE) $(AM_MAKEFLAGS) install \
- && $(MAKE) $(AM_MAKEFLAGS) installcheck \
- && $(MAKE) $(AM_MAKEFLAGS) uninstall \
- && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
- distuninstallcheck \
- && chmod -R a-w "$$dc_install_base" \
- && ({ \
- (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
- && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
- && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
- && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
- distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
- } || { rm -rf "$$dc_destdir"; exit 1; }) \
- && rm -rf "$$dc_destdir" \
- && $(MAKE) $(AM_MAKEFLAGS) dist \
- && rm -rf $(DIST_ARCHIVES) \
- && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
- $(am__remove_distdir)
- @(echo "$(distdir) archives ready for distribution: "; \
- list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
- sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
-distuninstallcheck:
- @cd $(distuninstallcheck_dir) \
- && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
- || { echo "ERROR: files left after uninstall:" ; \
- if test -n "$(DESTDIR)"; then \
- echo " (check DESTDIR support)"; \
- fi ; \
- $(distuninstallcheck_listfiles) ; \
- exit 1; } >&2
-distcleancheck: distclean
- @if test '$(srcdir)' = . ; then \
- echo "ERROR: distcleancheck can only run from a VPATH build" ; \
- exit 1 ; \
- fi
- @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
- || { echo "ERROR: files left in build directory after distclean:" ; \
- $(distcleancheck_listfiles) ; \
- exit 1; } >&2
-check-am: all-am
-check: check-recursive
-all-am: Makefile config.h
-installdirs: installdirs-recursive
-installdirs-am:
-install: install-recursive
-install-exec: install-exec-recursive
-install-data: install-data-recursive
-uninstall: uninstall-recursive
-
-install-am: all-am
- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-recursive
-install-strip:
- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- `test -z '$(STRIP)' || \
- echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
-mostlyclean-generic:
-
-clean-generic:
-
-distclean-generic:
- -rm -f $(CONFIG_CLEAN_FILES)
-
-maintainer-clean-generic:
- @echo "This command is intended for maintainers to use"
- @echo "it deletes files that may require special tools to rebuild."
-clean: clean-recursive
-
-clean-am: clean-generic mostlyclean-am
-
-distclean: distclean-recursive
- -rm -f $(am__CONFIG_DISTCLEAN_FILES)
- -rm -f Makefile
-distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
-
-dvi: dvi-recursive
-
-dvi-am:
-
-html: html-recursive
-
-info: info-recursive
-
-info-am:
-
-install-data-am:
-
-install-exec-am:
-
-install-info: install-info-recursive
-
-install-man:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-recursive
- -rm -f $(am__CONFIG_DISTCLEAN_FILES)
- -rm -rf $(top_srcdir)/autom4te.cache
- -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-recursive
-
-mostlyclean-am: mostlyclean-generic
-
-pdf: pdf-recursive
-
-pdf-am:
-
-ps: ps-recursive
-
-ps-am:
-
-uninstall-am: uninstall-info-am
-
-uninstall-info: uninstall-info-recursive
-
-.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
- check-am clean clean-generic clean-recursive ctags \
- ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-shar \
- dist-tarZ dist-zip distcheck distclean distclean-generic \
- distclean-hdr distclean-recursive distclean-tags \
- distcleancheck distdir distuninstallcheck dvi dvi-am html \
- html-am info info-am install install-am install-data \
- install-data-am install-exec install-exec-am install-info \
- install-info-am install-man install-strip installcheck \
- installcheck-am installdirs installdirs-am maintainer-clean \
- maintainer-clean-generic maintainer-clean-recursive \
- mostlyclean mostlyclean-generic mostlyclean-recursive pdf \
- pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
- uninstall-info-am
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
+++ /dev/null
-This is banshee, a toolkit for constructing constraint-based program analyses.
-See the user manual in docs/banshee.ps for a complete description of banshee.
-
-This is a beta release of banshee. Although banshee has been designed to solve
-many kinds of constraints, it has only been extensively tested on
-Andersen's-style points-to analysis.
-
-banshee is distributed under the BSD license. See the COPYRIGHT file for more
-details.
-
-Send bug reports to jkodumal@cs.berkeley.edu.
\ No newline at end of file
+++ /dev/null
-# generated automatically by aclocal 1.8.5 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
-# Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-# -*- Autoconf -*-
-# Copyright (C) 2002, 2003 Free Software Foundation, Inc.
-# Generated from amversion.in; do not edit by hand.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-
-# AM_AUTOMAKE_VERSION(VERSION)
-# ----------------------------
-# Automake X.Y traces this macro to ensure aclocal.m4 has been
-# generated from the m4 files accompanying Automake X.Y.
-AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.8"])
-
-# AM_SET_CURRENT_AUTOMAKE_VERSION
-# -------------------------------
-# Call AM_AUTOMAKE_VERSION so it can be traced.
-# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
-AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
- [AM_AUTOMAKE_VERSION([1.8.5])])
-
-# AM_AUX_DIR_EXPAND
-
-# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
-# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
-# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
-#
-# Of course, Automake must honor this variable whenever it calls a
-# tool from the auxiliary directory. The problem is that $srcdir (and
-# therefore $ac_aux_dir as well) can be either absolute or relative,
-# depending on how configure is run. This is pretty annoying, since
-# it makes $ac_aux_dir quite unusable in subdirectories: in the top
-# source directory, any form will work fine, but in subdirectories a
-# relative path needs to be adjusted first.
-#
-# $ac_aux_dir/missing
-# fails when called from a subdirectory if $ac_aux_dir is relative
-# $top_srcdir/$ac_aux_dir/missing
-# fails if $ac_aux_dir is absolute,
-# fails when called from a subdirectory in a VPATH build with
-# a relative $ac_aux_dir
-#
-# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
-# are both prefixed by $srcdir. In an in-source build this is usually
-# harmless because $srcdir is `.', but things will broke when you
-# start a VPATH build or use an absolute $srcdir.
-#
-# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
-# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
-# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
-# and then we would define $MISSING as
-# MISSING="\${SHELL} $am_aux_dir/missing"
-# This will work as long as MISSING is not called from configure, because
-# unfortunately $(top_srcdir) has no meaning in configure.
-# However there are other variables, like CC, which are often used in
-# configure, and could therefore not use this "fixed" $ac_aux_dir.
-#
-# Another solution, used here, is to always expand $ac_aux_dir to an
-# absolute PATH. The drawback is that using absolute paths prevent a
-# configured tree to be moved without reconfiguration.
-
-AC_DEFUN([AM_AUX_DIR_EXPAND],
-[dnl Rely on autoconf to set up CDPATH properly.
-AC_PREREQ([2.50])dnl
-# expand $ac_aux_dir to an absolute path
-am_aux_dir=`cd $ac_aux_dir && pwd`
-])
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-# serial 6
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])
-AC_SUBST([$1_FALSE])
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.])
-fi])])
-
-# serial 7 -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
-# Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-
-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "GCJ", or "OBJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named `D' -- because `-MD' means `put the output
- # in D'.
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
- # Solaris 8's {/usr,}/bin/sh.
- touch sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- case $depmode in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE(dependency-tracking,
-[ --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-#serial 2
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[for mf in $CONFIG_FILES; do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named `Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
- # Extract the definition of DEP_FILES from the Makefile without
- # running `make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n 's/^U = //p' < "$mf"`
- test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
- # We invoke sed twice because it is the simplest approach to
- # changing $(DEPDIR) to its actual value in the expansion.
- for file in `sed -n '
- /^DEP_FILES = .*\\\\$/ {
- s/^DEP_FILES = //
- :loop
- s/\\\\$//
- p
- n
- /\\\\$/ b loop
- p
- }
- /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
-done
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each `.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Do all the work for Automake. -*- Autoconf -*-
-
-# This macro actually does too much some checks are only needed if
-# your package does certain things. But this isn't really a big deal.
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
-# Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-# serial 11
-
-# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
-# AM_INIT_AUTOMAKE([OPTIONS])
-# -----------------------------------------------
-# The call with PACKAGE and VERSION arguments is the old style
-# call (pre autoconf-2.50), which is being phased out. PACKAGE
-# and VERSION should now be passed to AC_INIT and removed from
-# the call to AM_INIT_AUTOMAKE.
-# We support both call styles for the transition. After
-# the next Automake release, Autoconf can make the AC_INIT
-# arguments mandatory, and then we can depend on a new Autoconf
-# release and drop the old call support.
-AC_DEFUN([AM_INIT_AUTOMAKE],
-[AC_PREREQ([2.58])dnl
-dnl Autoconf wants to disallow AM_ names. We explicitly allow
-dnl the ones we care about.
-m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
-AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
-AC_REQUIRE([AC_PROG_INSTALL])dnl
-# test to see if srcdir already configured
-if test "`cd $srcdir && pwd`" != "`pwd`" &&
- test -f $srcdir/config.status; then
- AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
-fi
-
-# test whether we have cygpath
-if test -z "$CYGPATH_W"; then
- if (cygpath --version) >/dev/null 2>/dev/null; then
- CYGPATH_W='cygpath -w'
- else
- CYGPATH_W=echo
- fi
-fi
-AC_SUBST([CYGPATH_W])
-
-# Define the identity of the package.
-dnl Distinguish between old-style and new-style calls.
-m4_ifval([$2],
-[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
- AC_SUBST([PACKAGE], [$1])dnl
- AC_SUBST([VERSION], [$2])],
-[_AM_SET_OPTIONS([$1])dnl
- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
-
-_AM_IF_OPTION([no-define],,
-[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
- AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
-
-# Some tools Automake needs.
-AC_REQUIRE([AM_SANITY_CHECK])dnl
-AC_REQUIRE([AC_ARG_PROGRAM])dnl
-AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
-AM_MISSING_PROG(AUTOCONF, autoconf)
-AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
-AM_MISSING_PROG(AUTOHEADER, autoheader)
-AM_MISSING_PROG(MAKEINFO, makeinfo)
-AM_MISSING_PROG(AMTAR, tar)
-AM_PROG_INSTALL_SH
-AM_PROG_INSTALL_STRIP
-AC_REQUIRE([AM_PROG_MKDIR_P])dnl
-# We need awk for the "check" target. The system "awk" is bad on
-# some platforms.
-AC_REQUIRE([AC_PROG_AWK])dnl
-AC_REQUIRE([AC_PROG_MAKE_SET])dnl
-AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-
-_AM_IF_OPTION([no-dependencies],,
-[AC_PROVIDE_IFELSE([AC_PROG_CC],
- [_AM_DEPENDENCIES(CC)],
- [define([AC_PROG_CC],
- defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
-AC_PROVIDE_IFELSE([AC_PROG_CXX],
- [_AM_DEPENDENCIES(CXX)],
- [define([AC_PROG_CXX],
- defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
-])
-])
-
-
-# When config.status generates a header, we must update the stamp-h file.
-# This file resides in the same directory as the config header
-# that is generated. The stamp files are numbered to have different names.
-
-# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
-# loop where config.status creates the headers, so we can generate
-# our stamp files there.
-AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
-[# Compute $1's index in $config_headers.
-_am_stamp_count=1
-for _am_header in $config_headers :; do
- case $_am_header in
- $1 | $1:* )
- break ;;
- * )
- _am_stamp_count=`expr $_am_stamp_count + 1` ;;
- esac
-done
-echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
-
-# AM_PROG_INSTALL_SH
-# ------------------
-# Define $install_sh.
-
-# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-AC_DEFUN([AM_PROG_INSTALL_SH],
-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
-install_sh=${install_sh-"$am_aux_dir/install-sh"}
-AC_SUBST(install_sh)])
-
-# -*- Autoconf -*-
-# Copyright (C) 2003 Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-# serial 1
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Add --enable-maintainer-mode option to configure.
-# From Jim Meyering
-
-# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004
-# Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-# serial 3
-
-AC_DEFUN([AM_MAINTAINER_MODE],
-[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
- dnl maintainer-mode is disabled by default
- AC_ARG_ENABLE(maintainer-mode,
-[ --enable-maintainer-mode enable make rules and dependencies not useful
- (and sometimes confusing) to the casual installer],
- USE_MAINTAINER_MODE=$enableval,
- USE_MAINTAINER_MODE=no)
- AC_MSG_RESULT([$USE_MAINTAINER_MODE])
- AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
- MAINT=$MAINTAINER_MODE_TRUE
- AC_SUBST(MAINT)dnl
-]
-)
-
-AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-# serial 2
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-# -*- Autoconf -*-
-
-
-# Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-# serial 3
-
-# AM_MISSING_PROG(NAME, PROGRAM)
-# ------------------------------
-AC_DEFUN([AM_MISSING_PROG],
-[AC_REQUIRE([AM_MISSING_HAS_RUN])
-$1=${$1-"${am_missing_run}$2"}
-AC_SUBST($1)])
-
-
-# AM_MISSING_HAS_RUN
-# ------------------
-# Define MISSING if not defined so far and test if it supports --run.
-# If it does, set am_missing_run to use it, otherwise, to nothing.
-AC_DEFUN([AM_MISSING_HAS_RUN],
-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
-test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
-# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
-else
- am_missing_run=
- AC_MSG_WARN([`missing' script is too old or missing])
-fi
-])
-
-# AM_PROG_MKDIR_P
-# ---------------
-# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
-
-# Copyright (C) 2003, 2004 Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
-# created by `make install' are always world readable, even if the
-# installer happens to have an overly restrictive umask (e.g. 077).
-# This was a mistake. There are at least two reasons why we must not
-# use `-m 0755':
-# - it causes special bits like SGID to be ignored,
-# - it may be too restrictive (some setups expect 775 directories).
-#
-# Do not use -m 0755 and let people choose whatever they expect by
-# setting umask.
-#
-# We cannot accept any implementation of `mkdir' that recognizes `-p'.
-# Some implementations (such as Solaris 8's) are not thread-safe: if a
-# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
-# concurrently, both version can detect that a/ is missing, but only
-# one can create it and the other will error out. Consequently we
-# restrict ourselves to GNU make (using the --version option ensures
-# this.)
-AC_DEFUN([AM_PROG_MKDIR_P],
-[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
- # Keeping the `.' argument allows $(mkdir_p) to be used without
- # argument. Indeed, we sometimes output rules like
- # $(mkdir_p) $(somedir)
- # where $(somedir) is conditionally defined.
- # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
- # expensive solution, as it forces Make to start a sub-shell.)
- mkdir_p='mkdir -p -- .'
-else
- # On NextStep and OpenStep, the `mkdir' command does not
- # recognize any option. It will interpret all options as
- # directories to create, and then abort because `.' already
- # exists.
- for d in ./-p ./--version;
- do
- test -d $d && rmdir $d
- done
- # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
- if test -f "$ac_aux_dir/mkinstalldirs"; then
- mkdir_p='$(mkinstalldirs)'
- else
- mkdir_p='$(install_sh) -d'
- fi
-fi
-AC_SUBST([mkdir_p])])
-
-# Helper functions for option handling. -*- Autoconf -*-
-
-# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-# serial 2
-
-# _AM_MANGLE_OPTION(NAME)
-# -----------------------
-AC_DEFUN([_AM_MANGLE_OPTION],
-[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
-
-# _AM_SET_OPTION(NAME)
-# ------------------------------
-# Set option NAME. Presently that only means defining a flag for this option.
-AC_DEFUN([_AM_SET_OPTION],
-[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
-
-# _AM_SET_OPTIONS(OPTIONS)
-# ----------------------------------
-# OPTIONS is a space-separated list of Automake options.
-AC_DEFUN([_AM_SET_OPTIONS],
-[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
-
-# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
-# -------------------------------------------
-# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
-AC_DEFUN([_AM_IF_OPTION],
-[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
-
-#
-# Check to make sure that the build environment is sane.
-#
-
-# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-# serial 3
-
-# AM_SANITY_CHECK
-# ---------------
-AC_DEFUN([AM_SANITY_CHECK],
-[AC_MSG_CHECKING([whether build environment is sane])
-# Just in case
-sleep 1
-echo timestamp > conftest.file
-# Do `set' in a subshell so we don't clobber the current shell's
-# arguments. Must try -L first in case configure is actually a
-# symlink; some systems play weird games with the mod time of symlinks
-# (eg FreeBSD returns the mod time of the symlink's containing
-# directory).
-if (
- set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
- if test "$[*]" = "X"; then
- # -L didn't work.
- set X `ls -t $srcdir/configure conftest.file`
- fi
- rm -f conftest.file
- if test "$[*]" != "X $srcdir/configure conftest.file" \
- && test "$[*]" != "X conftest.file $srcdir/configure"; then
-
- # If neither matched, then we have a broken ls. This can happen
- # if, for instance, CONFIG_SHELL is bash and it inherits a
- # broken ls alias from the environment. This has actually
- # happened. Such a system could not be considered "sane".
- AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
-alias in your environment])
- fi
-
- test "$[2]" = conftest.file
- )
-then
- # Ok.
- :
-else
- AC_MSG_ERROR([newly created file is older than distributed files!
-Check your system clock])
-fi
-AC_MSG_RESULT(yes)])
-
-# AM_PROG_INSTALL_STRIP
-
-# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-# One issue with vendor `install' (even GNU) is that you can't
-# specify the program used to strip binaries. This is especially
-# annoying in cross-compiling environments, where the build's strip
-# is unlikely to handle the host's binaries.
-# Fortunately install-sh will honor a STRIPPROG variable, so we
-# always use install-sh in `make install-strip', and initialize
-# STRIPPROG with the value of the STRIP variable (set by the user).
-AC_DEFUN([AM_PROG_INSTALL_STRIP],
-[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
-# Installed binaries are usually stripped using `strip' when the user
-# run `make install-strip'. However `strip' might not be the right
-# tool to use in cross-compilation environments, therefore Automake
-# will honor the `STRIP' environment variable to overrule this program.
-dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
-if test "$cross_compiling" != no; then
- AC_CHECK_TOOL([STRIP], [strip], :)
-fi
-INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
-AC_SUBST([INSTALL_STRIP_PROGRAM])])
-
+++ /dev/null
-/* config.h.in. Generated from configure.ac by autoheader. */
-
-/* Define to 1 if you have the `atexit' function. */
-#undef HAVE_ATEXIT
-
-/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
-#undef HAVE_DOPRNT
-
-/* Define to 1 if you have the `dup2' function. */
-#undef HAVE_DUP2
-
-/* Define to 1 if you have the <fcntl.h> header file. */
-#undef HAVE_FCNTL_H
-
-/* Define to 1 if you have the `floor' function. */
-#undef HAVE_FLOOR
-
-/* Define to 1 if you have the `getpagesize' function. */
-#undef HAVE_GETPAGESIZE
-
-/* Define to 1 if you have the <inttypes.h> header file. */
-#undef HAVE_INTTYPES_H
-
-/* Define to 1 if you have the <limits.h> header file. */
-#undef HAVE_LIMITS_H
-
-/* Define to 1 if you have the <memory.h> header file. */
-#undef HAVE_MEMORY_H
-
-/* Define to 1 if you have the `memset' function. */
-#undef HAVE_MEMSET
-
-/* Define to 1 if you have a working `mmap' system call. */
-#undef HAVE_MMAP
-
-/* Define to 1 if you have the `munmap' function. */
-#undef HAVE_MUNMAP
-
-/* Define to 1 if stdbool.h conforms to C99. */
-#undef HAVE_STDBOOL_H
-
-/* Define to 1 if you have the <stddef.h> header file. */
-#undef HAVE_STDDEF_H
-
-/* Define to 1 if you have the <stdint.h> header file. */
-#undef HAVE_STDINT_H
-
-/* Define to 1 if you have the <stdlib.h> header file. */
-#undef HAVE_STDLIB_H
-
-/* Define to 1 if you have the <strings.h> header file. */
-#undef HAVE_STRINGS_H
-
-/* Define to 1 if you have the <string.h> header file. */
-#undef HAVE_STRING_H
-
-/* Define to 1 if you have the <sys/param.h> header file. */
-#undef HAVE_SYS_PARAM_H
-
-/* Define to 1 if you have the <sys/stat.h> header file. */
-#undef HAVE_SYS_STAT_H
-
-/* Define to 1 if you have the <sys/types.h> header file. */
-#undef HAVE_SYS_TYPES_H
-
-/* Define to 1 if you have the <unistd.h> header file. */
-#undef HAVE_UNISTD_H
-
-/* Define to 1 if you have the `vprintf' function. */
-#undef HAVE_VPRINTF
-
-/* Define to 1 if the system has the type `_Bool'. */
-#undef HAVE__BOOL
-
-/* Name of package */
-#undef PACKAGE
-
-/* Define to the address where bug reports for this package should be sent. */
-#undef PACKAGE_BUGREPORT
-
-/* Define to the full name of this package. */
-#undef PACKAGE_NAME
-
-/* Define to the full name and version of this package. */
-#undef PACKAGE_STRING
-
-/* Define to the one symbol short name of this package. */
-#undef PACKAGE_TARNAME
-
-/* Define to the version of this package. */
-#undef PACKAGE_VERSION
-
-/* Define to 1 if you have the ANSI C header files. */
-#undef STDC_HEADERS
-
-/* Version number of package */
-#undef VERSION
-
-/* Define to empty if `const' does not conform to ANSI C. */
-#undef const
-
-/* Define to `__inline__' or `__inline' if that's what the C compiler
- calls it, or to nothing if 'inline' is not supported under any name. */
-#ifndef __cplusplus
-#undef inline
-#endif
-
-/* Define to `int' if <sys/types.h> does not define. */
-#undef pid_t
-
-/* Define to `unsigned' if <sys/types.h> does not define. */
-#undef size_t
+++ /dev/null
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.59 for libbanshee 0.9.
-#
-# Report bugs to <dberlin@dberlin.org>.
-#
-# Copyright (C) 2003 Free Software Foundation, Inc.
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
-
-# Be Bourne compatible
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
-elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
- set -o posix
-fi
-DUALCASE=1; export DUALCASE # for MKS sh
-
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- as_unset=unset
-else
- as_unset=false
-fi
-
-
-# Work around bugs in pre-3.0 UWIN ksh.
-$as_unset ENV MAIL MAILPATH
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
-do
- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- eval $as_var=C; export $as_var
- else
- $as_unset $as_var
- fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)$' \| \
- . : '\(.\)' 2>/dev/null ||
-echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
- /^X\/\(\/\/\)$/{ s//\1/; q; }
- /^X\/\(\/\).*/{ s//\1/; q; }
- s/.*/./; q'`
-
-
-# PATH needs CR, and LINENO needs CR and PATH.
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- echo "#! /bin/sh" >conf$$.sh
- echo "exit 0" >>conf$$.sh
- chmod +x conf$$.sh
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- PATH_SEPARATOR=';'
- else
- PATH_SEPARATOR=:
- fi
- rm -f conf$$.sh
-fi
-
-
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x$as_lineno_3" = "x$as_lineno_2" || {
- # Find who we are. Look in the path if we contain no path at all
- # relative or not.
- case $0 in
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
-
- ;;
- esac
- # We did not find ourselves, most probably we were run as `sh COMMAND'
- # in which case we are not to be found in the path.
- if test "x$as_myself" = x; then
- as_myself=$0
- fi
- if test ! -f "$as_myself"; then
- { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
- { (exit 1); exit 1; }; }
- fi
- case $CONFIG_SHELL in
- '')
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for as_base in sh bash ksh sh5; do
- case $as_dir in
- /*)
- if ("$as_dir/$as_base" -c '
- as_lineno_1=$LINENO
- as_lineno_2=$LINENO
- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
- test "x$as_lineno_1" != "x$as_lineno_2" &&
- test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
- $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
- $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
- CONFIG_SHELL=$as_dir/$as_base
- export CONFIG_SHELL
- exec "$CONFIG_SHELL" "$0" ${1+"$@"}
- fi;;
- esac
- done
-done
-;;
- esac
-
- # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- # uniformly replaced by the line number. The first 'sed' inserts a
- # line-number line before each line; the second 'sed' does the real
- # work. The second script uses 'N' to pair each line-number line
- # with the numbered line, and appends trailing '-' during
- # substitution so that $LINENO is not a special case at line end.
- # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
- sed '=' <$as_myself |
- sed '
- N
- s,$,-,
- : loop
- s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
- t loop
- s,-$,,
- s,^['$as_cr_digits']*\n,,
- ' >$as_me.lineno &&
- chmod +x $as_me.lineno ||
- { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- { (exit 1); exit 1; }; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensible to this).
- . ./$as_me.lineno
- # Exit status is that of the last command.
- exit
-}
-
-
-case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
- *c*,-n*) ECHO_N= ECHO_C='
-' ECHO_T=' ' ;;
- *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
- *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
-esac
-
-if expr a : '\(a\)' >/dev/null 2>&1; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-rm -f conf$$ conf$$.exe conf$$.file
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
- # We could just check for DJGPP; but this test a) works b) is more generic
- # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
- if test -f conf$$.exe; then
- # Don't use ln at all; we don't have any links
- as_ln_s='cp -p'
- else
- as_ln_s='ln -s'
- fi
-elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
-else
- as_ln_s='cp -p'
-fi
-rm -f conf$$ conf$$.exe conf$$.file
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p=:
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-as_executable_p="test -f"
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-# IFS
-# We need space, tab and new line, in precisely that order.
-as_nl='
-'
-IFS=" $as_nl"
-
-# CDPATH.
-$as_unset CDPATH
-
-
-# Name of the host.
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-exec 6>&1
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_config_libobj_dir=.
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-# Maximum number of lines to put in a shell here document.
-# This variable seems obsolete. It should probably be removed, and
-# only ac_max_sed_lines should be used.
-: ${ac_max_here_lines=38}
-
-# Identity of this package.
-PACKAGE_NAME='libbanshee'
-PACKAGE_TARNAME='libbanshee'
-PACKAGE_VERSION='0.9'
-PACKAGE_STRING='libbanshee 0.9'
-PACKAGE_BUGREPORT='dberlin@dberlin.org'
-
-ac_unique_file="engine/flowrow-sort.c"
-# Factoring default headers for most tests.
-ac_includes_default="\
-#include <stdio.h>
-#if HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#if HAVE_SYS_STAT_H
-# include <sys/stat.h>
-#endif
-#if STDC_HEADERS
-# include <stdlib.h>
-# include <stddef.h>
-#else
-# if HAVE_STDLIB_H
-# include <stdlib.h>
-# endif
-#endif
-#if HAVE_STRING_H
-# if !STDC_HEADERS && HAVE_MEMORY_H
-# include <memory.h>
-# endif
-# include <string.h>
-#endif
-#if HAVE_STRINGS_H
-# include <strings.h>
-#endif
-#if HAVE_INTTYPES_H
-# include <inttypes.h>
-#else
-# if HAVE_STDINT_H
-# include <stdint.h>
-# endif
-#endif
-#if HAVE_UNISTD_H
-# include <unistd.h>
-#endif"
-
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE RANLIB ac_ct_RANLIB ac_libbanshee_warn_cflags MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CPP EGREP LIBOBJS LTLIBOBJS'
-ac_subst_files=''
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datadir='${prefix}/share'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-libdir='${exec_prefix}/lib'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-infodir='${prefix}/info'
-mandir='${prefix}/man'
-
-ac_prev=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval "$ac_prev=\$ac_option"
- ac_prev=
- continue
- fi
-
- ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_option in
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
- | --da=*)
- datadir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/-/_/g'`
- eval "enable_$ac_feature=no" ;;
-
- -enable-* | --enable-*)
- ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- { (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/-/_/g'`
- case $ac_option in
- *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
- *) ac_optarg=yes ;;
- esac
- eval "enable_$ac_feature='$ac_optarg'" ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst \
- | --locals | --local | --loca | --loc | --lo)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* \
- | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package| sed 's/-/_/g'`
- case $ac_option in
- *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
- *) ac_optarg=yes ;;
- esac
- eval "with_$ac_package='$ac_optarg'" ;;
-
- -without-* | --without-*)
- ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid package name: $ac_package" >&2
- { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/-/_/g'`
- eval "with_$ac_package=no" ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) { echo "$as_me: error: unrecognized option: $ac_option
-Try \`$0 --help' for more information." >&2
- { (exit 1); exit 1; }; }
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
- { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
- { (exit 1); exit 1; }; }
- ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
- eval "$ac_envvar='$ac_optarg'"
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- { echo "$as_me: error: missing argument to $ac_option" >&2
- { (exit 1); exit 1; }; }
-fi
-
-# Be sure to have absolute paths.
-for ac_var in exec_prefix prefix
-do
- eval ac_val=$`echo $ac_var`
- case $ac_val in
- [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
- *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
- { (exit 1); exit 1; }; };;
- esac
-done
-
-# Be sure to have absolute paths.
-for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
- localstatedir libdir includedir oldincludedir infodir mandir
-do
- eval ac_val=$`echo $ac_var`
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) ;;
- *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
- { (exit 1); exit 1; }; };;
- esac
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used." >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then its parent.
- ac_confdir=`(dirname "$0") 2>/dev/null ||
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$0" : 'X\(//\)[^/]' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| \
- . : '\(.\)' 2>/dev/null ||
-echo X"$0" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
- /^X\(\/\/\)$/{ s//\1/; q; }
- /^X\(\/\).*/{ s//\1/; q; }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r $srcdir/$ac_unique_file; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r $srcdir/$ac_unique_file; then
- if test "$ac_srcdir_defaulted" = yes; then
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
- { (exit 1); exit 1; }; }
- else
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
- { (exit 1); exit 1; }; }
- fi
-fi
-(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
- { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
- { (exit 1); exit 1; }; }
-srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
-ac_env_build_alias_set=${build_alias+set}
-ac_env_build_alias_value=$build_alias
-ac_cv_env_build_alias_set=${build_alias+set}
-ac_cv_env_build_alias_value=$build_alias
-ac_env_host_alias_set=${host_alias+set}
-ac_env_host_alias_value=$host_alias
-ac_cv_env_host_alias_set=${host_alias+set}
-ac_cv_env_host_alias_value=$host_alias
-ac_env_target_alias_set=${target_alias+set}
-ac_env_target_alias_value=$target_alias
-ac_cv_env_target_alias_set=${target_alias+set}
-ac_cv_env_target_alias_value=$target_alias
-ac_env_CC_set=${CC+set}
-ac_env_CC_value=$CC
-ac_cv_env_CC_set=${CC+set}
-ac_cv_env_CC_value=$CC
-ac_env_CFLAGS_set=${CFLAGS+set}
-ac_env_CFLAGS_value=$CFLAGS
-ac_cv_env_CFLAGS_set=${CFLAGS+set}
-ac_cv_env_CFLAGS_value=$CFLAGS
-ac_env_LDFLAGS_set=${LDFLAGS+set}
-ac_env_LDFLAGS_value=$LDFLAGS
-ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
-ac_cv_env_LDFLAGS_value=$LDFLAGS
-ac_env_CPPFLAGS_set=${CPPFLAGS+set}
-ac_env_CPPFLAGS_value=$CPPFLAGS
-ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
-ac_cv_env_CPPFLAGS_value=$CPPFLAGS
-ac_env_CPP_set=${CPP+set}
-ac_env_CPP_value=$CPP
-ac_cv_env_CPP_set=${CPP+set}
-ac_cv_env_CPP_value=$CPP
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures libbanshee 0.9 to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-_ACEOF
-
- cat <<_ACEOF
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --datadir=DIR read-only architecture-independent data [PREFIX/share]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --infodir=DIR info documentation [PREFIX/info]
- --mandir=DIR man documentation [PREFIX/man]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
- case $ac_init_help in
- short | recursive ) echo "Configuration of libbanshee 0.9:";;
- esac
- cat <<\_ACEOF
-
-Optional Features:
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
- --enable-maintainer-mode enable make rules and dependencies not useful
- (and sometimes confusing) to the casual installer
-
-Some influential environment variables:
- CC C compiler command
- CFLAGS C compiler flags
- LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
- nonstandard directory <lib dir>
- CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
- headers in a nonstandard directory <include dir>
- CPP C preprocessor
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-Report bugs to <dberlin@dberlin.org>.
-_ACEOF
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- ac_popdir=`pwd`
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d $ac_dir || continue
- ac_builddir=.
-
-if test "$ac_dir" != .; then
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- # A "../" for each directory in $ac_dir_suffix.
- ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
-else
- ac_dir_suffix= ac_top_builddir=
-fi
-
-case $srcdir in
- .) # No --srcdir option. We are building in place.
- ac_srcdir=.
- if test -z "$ac_top_builddir"; then
- ac_top_srcdir=.
- else
- ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
- fi ;;
- [\\/]* | ?:[\\/]* ) # Absolute path.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir ;;
- *) # Relative path.
- ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_builddir$srcdir ;;
-esac
-
-# Do not use `cd foo && pwd` to compute absolute paths, because
-# the directories may not exist.
-case `pwd` in
-.) ac_abs_builddir="$ac_dir";;
-*)
- case "$ac_dir" in
- .) ac_abs_builddir=`pwd`;;
- [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
- *) ac_abs_builddir=`pwd`/"$ac_dir";;
- esac;;
-esac
-case $ac_abs_builddir in
-.) ac_abs_top_builddir=${ac_top_builddir}.;;
-*)
- case ${ac_top_builddir}. in
- .) ac_abs_top_builddir=$ac_abs_builddir;;
- [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
- *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
- esac;;
-esac
-case $ac_abs_builddir in
-.) ac_abs_srcdir=$ac_srcdir;;
-*)
- case $ac_srcdir in
- .) ac_abs_srcdir=$ac_abs_builddir;;
- [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
- *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
- esac;;
-esac
-case $ac_abs_builddir in
-.) ac_abs_top_srcdir=$ac_top_srcdir;;
-*)
- case $ac_top_srcdir in
- .) ac_abs_top_srcdir=$ac_abs_builddir;;
- [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
- *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
- esac;;
-esac
-
- cd $ac_dir
- # Check for guested configure; otherwise get Cygnus style configure.
- if test -f $ac_srcdir/configure.gnu; then
- echo
- $SHELL $ac_srcdir/configure.gnu --help=recursive
- elif test -f $ac_srcdir/configure; then
- echo
- $SHELL $ac_srcdir/configure --help=recursive
- elif test -f $ac_srcdir/configure.ac ||
- test -f $ac_srcdir/configure.in; then
- echo
- $ac_configure --help
- else
- echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi
- cd "$ac_popdir"
- done
-fi
-
-test -n "$ac_init_help" && exit 0
-if $ac_init_version; then
- cat <<\_ACEOF
-libbanshee configure 0.9
-generated by GNU Autoconf 2.59
-
-Copyright (C) 2003 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit 0
-fi
-exec 5>config.log
-cat >&5 <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by libbanshee $as_me 0.9, which was
-generated by GNU Autoconf 2.59. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- echo "PATH: $as_dir"
-done
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_sep=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
- ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
- 2)
- ac_configure_args1="$ac_configure_args1 '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
- # Get rid of the leading space.
- ac_sep=" "
- ;;
- esac
- done
-done
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Be sure not to use single quotes in there, as some shells,
-# such as our DU 5.0 friend, will then `close' the trap.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- cat <<\_ASBOX
-## ---------------- ##
-## Cache variables. ##
-## ---------------- ##
-_ASBOX
- echo
- # The following way of writing the cache mishandles newlines in values,
-{
- (set) 2>&1 |
- case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
- *ac_space=\ *)
- sed -n \
- "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
- ;;
- *)
- sed -n \
- "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
- ;;
- esac;
-}
- echo
-
- cat <<\_ASBOX
-## ----------------- ##
-## Output variables. ##
-## ----------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=$`echo $ac_var`
- echo "$ac_var='"'"'$ac_val'"'"'"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- cat <<\_ASBOX
-## ------------- ##
-## Output files. ##
-## ------------- ##
-_ASBOX
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=$`echo $ac_var`
- echo "$ac_var='"'"'$ac_val'"'"'"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- cat <<\_ASBOX
-## ----------- ##
-## confdefs.h. ##
-## ----------- ##
-_ASBOX
- echo
- sed "/^$/d" confdefs.h | sort
- echo
- fi
- test "$ac_signal" != 0 &&
- echo "$as_me: caught signal $ac_signal"
- echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core &&
- rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
- ' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -rf conftest* confdefs.h
-# AIX cpp loses on an empty file, so make sure it contains at least a newline.
-echo >confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer explicitly selected file to automatically selected ones.
-if test -z "$CONFIG_SITE"; then
- if test "x$prefix" != xNONE; then
- CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
- else
- CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
- fi
-fi
-for ac_site_file in $CONFIG_SITE; do
- if test -r "$ac_site_file"; then
- { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
-echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file"
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special
- # files actually), so we avoid doing that.
- if test -f "$cache_file"; then
- { echo "$as_me:$LINENO: loading cache $cache_file" >&5
-echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . $cache_file;;
- *) . ./$cache_file;;
- esac
- fi
-else
- { echo "$as_me:$LINENO: creating cache $cache_file" >&5
-echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in `(set) 2>&1 |
- sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val="\$ac_cv_env_${ac_var}_value"
- eval ac_new_val="\$ac_env_${ac_var}_value"
- case $ac_old_set,$ac_new_set in
- set,)
- { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
-echo "$as_me: former value: $ac_old_val" >&2;}
- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
-echo "$as_me: current value: $ac_new_val" >&2;}
- ac_cache_corrupted=:
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
- ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
- { (exit 1); exit 1; }; }
-fi
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ac_config_headers="$ac_config_headers config.h"
-
-am__api_version="1.8"
-ac_aux_dir=
-for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
- if test -f $ac_dir/install-sh; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f $ac_dir/install.sh; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f $ac_dir/shtool; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
-echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
- { (exit 1); exit 1; }; }
-fi
-ac_config_guess="$SHELL $ac_aux_dir/config.guess"
-ac_config_sub="$SHELL $ac_aux_dir/config.sub"
-ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in
- ./ | .// | /cC/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- done
- done
- ;;
-esac
-done
-
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. We don't cache a
- # path for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the path is relative.
- INSTALL=$ac_install_sh
- fi
-fi
-echo "$as_me:$LINENO: result: $INSTALL" >&5
-echo "${ECHO_T}$INSTALL" >&6
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-echo "$as_me:$LINENO: checking whether build environment is sane" >&5
-echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
-# Just in case
-sleep 1
-echo timestamp > conftest.file
-# Do `set' in a subshell so we don't clobber the current shell's
-# arguments. Must try -L first in case configure is actually a
-# symlink; some systems play weird games with the mod time of symlinks
-# (eg FreeBSD returns the mod time of the symlink's containing
-# directory).
-if (
- set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
- if test "$*" = "X"; then
- # -L didn't work.
- set X `ls -t $srcdir/configure conftest.file`
- fi
- rm -f conftest.file
- if test "$*" != "X $srcdir/configure conftest.file" \
- && test "$*" != "X conftest.file $srcdir/configure"; then
-
- # If neither matched, then we have a broken ls. This can happen
- # if, for instance, CONFIG_SHELL is bash and it inherits a
- # broken ls alias from the environment. This has actually
- # happened. Such a system could not be considered "sane".
- { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
-alias in your environment" >&5
-echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
-alias in your environment" >&2;}
- { (exit 1); exit 1; }; }
- fi
-
- test "$2" = conftest.file
- )
-then
- # Ok.
- :
-else
- { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
-Check your system clock" >&5
-echo "$as_me: error: newly created file is older than distributed files!
-Check your system clock" >&2;}
- { (exit 1); exit 1; }; }
-fi
-echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6
-test "$program_prefix" != NONE &&
- program_transform_name="s,^,$program_prefix,;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s,\$,$program_suffix,;$program_transform_name"
-# Double any \ or $. echo might interpret backslashes.
-# By default was `s,x,x', remove it if useless.
-cat <<\_ACEOF >conftest.sed
-s/[\\$]/&&/g;s/;s,x,x,$//
-_ACEOF
-program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
-rm conftest.sed
-
-# expand $ac_aux_dir to an absolute path
-am_aux_dir=`cd $ac_aux_dir && pwd`
-
-test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
-# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
-else
- am_missing_run=
- { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
-echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
-fi
-
-if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
- # Keeping the `.' argument allows $(mkdir_p) to be used without
- # argument. Indeed, we sometimes output rules like
- # $(mkdir_p) $(somedir)
- # where $(somedir) is conditionally defined.
- # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
- # expensive solution, as it forces Make to start a sub-shell.)
- mkdir_p='mkdir -p -- .'
-else
- # On NextStep and OpenStep, the `mkdir' command does not
- # recognize any option. It will interpret all options as
- # directories to create, and then abort because `.' already
- # exists.
- for d in ./-p ./--version;
- do
- test -d $d && rmdir $d
- done
- # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
- if test -f "$ac_aux_dir/mkinstalldirs"; then
- mkdir_p='$(mkinstalldirs)'
- else
- mkdir_p='$(install_sh) -d'
- fi
-fi
-
-for ac_prog in gawk mawk nawk awk
-do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
-if test "${ac_cv_prog_AWK+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$AWK"; then
- ac_cv_prog_AWK="$AWK" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_AWK="$ac_prog"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-
-fi
-fi
-AWK=$ac_cv_prog_AWK
-if test -n "$AWK"; then
- echo "$as_me:$LINENO: result: $AWK" >&5
-echo "${ECHO_T}$AWK" >&6
-else
- echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6
-fi
-
- test -n "$AWK" && break
-done
-
-echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
-echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
-set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
-if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat >conftest.make <<\_ACEOF
-all:
- @echo 'ac_maketemp="$(MAKE)"'
-_ACEOF
-# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
-eval