Changeset c5f2e5b in rtems
- Timestamp:
- 03/31/99 23:11:47 (25 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 6b719b8d
- Parents:
- 0e78ec3a
- Location:
- c/src/lib/libbsp/i386/pc386/tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/i386/pc386/tools/Makefile.in
r0e78ec3a rc5f2e5b 1 # Makefile.in generated automatically by automake 1. 4from Makefile.am2 3 # Copyright (C) 1994, 1995 -8, 1999Free Software Foundation, Inc.1 # Makefile.in generated automatically by automake 1.2 from Makefile.am 2 3 # Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc. 4 4 # This Makefile.in is free software; the Free Software Foundation 5 # gives unlimited permission to copy and/or distribute it, 6 # with or without modifications, as long as this notice is preserved. 7 8 # This program is distributed in the hope that it will be useful, 9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without 10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 # PARTICULAR PURPOSE. 5 # gives unlimited permission to copy, distribute and modify it. 12 6 13 7 # … … 16 10 17 11 18 # $Id$ 19 20 # NOTE: This is a temporary work-around to keep 21 # "make debug" and "make debug_install" working. 22 # Once automake is fully integrated these make targets 23 # and this file will probably be removed 24 25 26 SHELL = @SHELL@ 12 SHELL = /bin/sh 27 13 28 14 srcdir = @srcdir@ … … 45 31 oldincludedir = /usr/include 46 32 47 DESTDIR =48 49 33 pkgdatadir = $(datadir)/@PACKAGE@ 50 34 pkglibdir = $(libdir)/@PACKAGE@ … … 57 41 58 42 INSTALL = @INSTALL@ 59 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)43 INSTALL_PROGRAM = @INSTALL_PROGRAM@ 60 44 INSTALL_DATA = @INSTALL_DATA@ 61 45 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 62 46 transform = @program_transform_name@ 63 47 64 NORMAL_INSTALL = :65 PRE_INSTALL = :66 POST_INSTALL = :67 NORMAL_UNINSTALL = :68 PRE_UNINSTALL = :69 POST_UNINSTALL = :48 NORMAL_INSTALL = true 49 PRE_INSTALL = true 50 POST_INSTALL = true 51 NORMAL_UNINSTALL = true 52 PRE_UNINSTALL = true 53 POST_UNINSTALL = true 70 54 build_alias = @build_alias@ 71 55 build_triplet = @build@ … … 86 70 EXTRA_DIST = Spec.doc 87 71 88 noinst_PROGRAMS = bin2boot binpatch 89 72 noinst_PROGRAMS = \ 73 bin2boot \ 74 binpatch 90 75 91 76 bin2boot_SOURCES = bin2boot.c … … 103 88 bin2boot_OBJECTS = bin2boot.o 104 89 bin2boot_LDADD = $(LDADD) 105 bin2boot_DEPENDENCIES =106 90 bin2boot_LDFLAGS = 107 91 binpatch_OBJECTS = binpatch.o 108 92 binpatch_LDADD = $(LDADD) 109 binpatch_DEPENDENCIES =110 93 binpatch_LDFLAGS = 111 94 CFLAGS = @CFLAGS@ 112 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 113 CCLD = $(CC) 114 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ 95 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) 96 LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@ 115 97 DIST_COMMON = Makefile.am Makefile.in aclocal.m4 configure configure.in 116 98 … … 119 101 120 102 TAR = tar 121 GZIP _ENV= --best103 GZIP = --best 122 104 DEP_FILES = .deps/bin2boot.P .deps/binpatch.P 123 105 SOURCES = $(bin2boot_SOURCES) $(binpatch_SOURCES) 124 106 OBJECTS = $(bin2boot_OBJECTS) $(binpatch_OBJECTS) 125 107 126 all: all-redirect 108 default: all 109 127 110 .SUFFIXES: 128 .SUFFIXES: . S .c .o .s129 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../../../../../../automake/local.am111 .SUFFIXES: .c .o 112 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 130 113 cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile 131 114 132 Makefile: $(srcdir)/Makefile.in 115 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) 133 116 cd $(top_builddir) \ 134 117 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status … … 137 120 cd $(srcdir) && $(ACLOCAL) 138 121 139 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)122 config.status: $(srcdir)/configure 140 123 $(SHELL) ./config.status --recheck 141 124 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) … … 145 128 146 129 clean-noinstPROGRAMS: 147 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)130 test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) 148 131 149 132 distclean-noinstPROGRAMS: … … 151 134 maintainer-clean-noinstPROGRAMS: 152 135 153 . s.o:136 .c.o: 154 137 $(COMPILE) -c $< 155 138 156 .S.o:157 $(COMPILE) -c $<158 159 139 mostlyclean-compile: 160 -rm -f *.o core *.core140 rm -f *.o core 161 141 162 142 clean-compile: 163 143 164 144 distclean-compile: 165 -rm -f *.tab.c145 rm -f *.tab.c 166 146 167 147 maintainer-clean-compile: … … 177 157 tags: TAGS 178 158 179 ID: $(HEADERS) $(SOURCES) $(LISP) 180 list='$(SOURCES) $(HEADERS)'; \ 181 unique=`for i in $$list; do echo $$i; done | \ 182 awk ' { files[$$0] = 1; } \ 183 END { for (i in files) print i; }'`; \ 184 here=`pwd` && cd $(srcdir) \ 185 && mkid -f$$here/ID $$unique $(LISP) 186 187 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) 159 ID: $(HEADERS) $(SOURCES) 160 here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS) 161 162 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) 188 163 tags=; \ 189 164 here=`pwd`; \ 190 list='$(SOURCES) $(HEADERS)'; \ 191 unique=`for i in $$list; do echo $$i; done | \ 192 awk ' { files[$$0] = 1; } \ 193 END { for (i in files) print i; }'`; \ 194 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ 195 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) 165 test -z "$(ETAGS_ARGS)$(SOURCES)$(HEADERS)$$tags" \ 166 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $(SOURCES) $(HEADERS) -o $$here/TAGS) 196 167 197 168 mostlyclean-tags: … … 200 171 201 172 distclean-tags: 202 -rm -f TAGS ID173 rm -f TAGS ID 203 174 204 175 maintainer-clean-tags: … … 211 182 # tarfile. 212 183 distcheck: dist 213 -rm -rf $(distdir)214 GZIP=$(GZIP _ENV) $(TAR) zxf $(distdir).tar.gz184 rm -rf $(distdir) 185 GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz 215 186 mkdir $(distdir)/=build 216 187 mkdir $(distdir)/=inst … … 218 189 cd $(distdir)/=build \ 219 190 && ../configure --srcdir=.. --prefix=$$dc_install_base \ 220 && $(MAKE) $(AM_MAKEFLAGS) \ 221 && $(MAKE) $(AM_MAKEFLAGS) dvi \ 222 && $(MAKE) $(AM_MAKEFLAGS) check \ 223 && $(MAKE) $(AM_MAKEFLAGS) install \ 224 && $(MAKE) $(AM_MAKEFLAGS) installcheck \ 225 && $(MAKE) $(AM_MAKEFLAGS) dist 226 -rm -rf $(distdir) 227 @banner="$(distdir).tar.gz is ready for distribution"; \ 228 dashes=`echo "$$banner" | sed s/./=/g`; \ 229 echo "$$dashes"; \ 230 echo "$$banner"; \ 231 echo "$$dashes" 191 && $(MAKE) \ 192 && $(MAKE) dvi \ 193 && $(MAKE) check \ 194 && $(MAKE) install \ 195 && $(MAKE) installcheck \ 196 && $(MAKE) dist 197 rm -rf $(distdir) 198 @echo "========================"; \ 199 echo "$(distdir).tar.gz is ready for distribution"; \ 200 echo "========================" 232 201 dist: distdir 233 202 -chmod -R a+r $(distdir) 234 GZIP=$(GZIP _ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)235 -rm -rf $(distdir)203 GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir) 204 rm -rf $(distdir) 236 205 dist-all: distdir 237 206 -chmod -R a+r $(distdir) 238 GZIP=$(GZIP _ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)239 -rm -rf $(distdir)207 GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir) 208 rm -rf $(distdir) 240 209 distdir: $(DISTFILES) 241 -rm -rf $(distdir)210 rm -rf $(distdir) 242 211 mkdir $(distdir) 243 212 -chmod 777 $(distdir) 244 213 here=`cd $(top_builddir) && pwd`; \ 245 top_distdir=`cd $(distdir) && pwd`; \ 246 distdir=`cd $(distdir) && pwd`; \ 214 top_distdir=`cd $(top_distdir) && pwd`; \ 247 215 cd $(top_srcdir) \ 248 216 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile 249 217 @for file in $(DISTFILES); do \ 250 218 d=$(srcdir); \ 251 if test -d $$d/$$file; then \ 252 cp -pr $$/$$file $(distdir)/$$file; \ 253 else \ 254 test -f $(distdir)/$$file \ 255 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ 256 || cp -p $$d/$$file $(distdir)/$$file || :; \ 257 fi; \ 219 test -f $(distdir)/$$file \ 220 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ 221 || cp -p $$d/$$file $(distdir)/$$file; \ 258 222 done 259 223 224 MKDEP = gcc -M $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) 225 260 226 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) 227 -include .deps/.P 228 .deps/.P: $(BUILT_SOURCES) 229 echo > $@ 261 230 262 231 -include $(DEP_FILES) … … 267 236 268 237 distclean-depend: 269 -rm -rf .deps270 238 271 239 maintainer-clean-depend: 272 273 %.o: %.c 274 @echo '$(COMPILE) -c $<'; \ 275 $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< 276 @-cp .deps/$(*F).pp .deps/$(*F).P; \ 277 tr ' ' '\012' < .deps/$(*F).pp \ 278 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ 279 >> .deps/$(*F).P; \ 280 rm .deps/$(*F).pp 281 282 %.lo: %.c 283 @echo '$(LTCOMPILE) -c $<'; \ 284 $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< 285 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ 286 < .deps/$(*F).pp > .deps/$(*F).P; \ 287 tr ' ' '\012' < .deps/$(*F).pp \ 288 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ 289 >> .deps/$(*F).P; \ 290 rm -f .deps/$(*F).pp 291 info-am: 292 info: info-am 293 dvi-am: 294 dvi: dvi-am 295 check-am: all-am 296 check: check-am 297 installcheck-am: 298 installcheck: installcheck-am 299 install-exec-am: install-exec-local 300 install-exec: install-exec-am 301 302 install-data-am: 303 install-data: install-data-am 304 305 install-am: all-am 306 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 307 install: install-am 308 uninstall-am: 309 uninstall: uninstall-am 310 all-am: Makefile $(PROGRAMS) 311 all-redirect: all-am 240 rm -rf .deps 241 242 .deps/%.P: %.c 243 @echo "Computing dependencies for $<..." 244 @o='o'; \ 245 test -n "$o" && o='$$o'; \ 246 $(MKDEP) $< >$@.tmp \ 247 && sed "s,^\(.*\)\.o:,\1.$$o \1.l$$o $@:," < $@.tmp > $@ \ 248 && rm -f $@.tmp 249 info: 250 dvi: 251 check: all 252 $(MAKE) 253 installcheck: 254 install-exec: install-exec-local 255 @$(NORMAL_INSTALL) 256 257 install-data: 258 @$(NORMAL_INSTALL) 259 260 install: install-exec install-data all 261 @: 262 263 uninstall: 264 265 all: Makefile $(PROGRAMS) 266 312 267 install-strip: 313 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-sinstall268 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install 314 269 installdirs: 315 270 316 271 317 272 mostlyclean-generic: 273 test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) 318 274 319 275 clean-generic: 276 test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) 320 277 321 278 distclean-generic: 322 -rm -f Makefile $(CONFIG_CLEAN_FILES) 323 -rm -f config.cache config.log stamp-h stamp-h[0-9]* 279 rm -f Makefile $(DISTCLEANFILES) 280 rm -f config.cache config.log stamp-h stamp-h[0-9]* 281 test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) 324 282 325 283 maintainer-clean-generic: 326 mostlyclean-am: mostlyclean-noinstPROGRAMS mostlyclean-compile \ 284 test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) 285 test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) 286 mostlyclean: mostlyclean-noinstPROGRAMS mostlyclean-compile \ 327 287 mostlyclean-tags mostlyclean-depend mostlyclean-generic 328 288 329 mostlyclean: mostlyclean-am 330 331 clean-am: clean-noinstPROGRAMS clean-compile clean-tags clean-depend \ 332 clean-generic mostlyclean-am 333 334 clean: clean-am 335 336 distclean-am: distclean-noinstPROGRAMS distclean-compile distclean-tags \ 337 distclean-depend distclean-generic clean-am 338 339 distclean: distclean-am 340 -rm -f config.status 341 342 maintainer-clean-am: maintainer-clean-noinstPROGRAMS \ 289 clean: clean-noinstPROGRAMS clean-compile clean-tags clean-depend \ 290 clean-generic mostlyclean 291 292 distclean: distclean-noinstPROGRAMS distclean-compile distclean-tags \ 293 distclean-depend distclean-generic clean 294 rm -f config.status 295 296 maintainer-clean: maintainer-clean-noinstPROGRAMS \ 343 297 maintainer-clean-compile maintainer-clean-tags \ 344 298 maintainer-clean-depend maintainer-clean-generic \ 345 distclean -am299 distclean 346 300 @echo "This command is intended for maintainers to use;" 347 301 @echo "it deletes files that may require special tools to rebuild." 348 349 maintainer-clean: maintainer-clean-am 350 -rm -f config.status 351 352 .PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \ 302 rm -f config.status 303 304 .PHONY: default mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \ 353 305 clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \ 354 306 mostlyclean-compile distclean-compile clean-compile \ 355 307 maintainer-clean-compile tags mostlyclean-tags distclean-tags \ 356 308 clean-tags maintainer-clean-tags distdir mostlyclean-depend \ 357 distclean-depend clean-depend maintainer-clean-depend info-am info \ 358 dvi-am dvi check check-am installcheck-am installcheck \ 359 install-exec-local install-exec-am install-exec install-data-am \ 360 install-data install-am install uninstall-am uninstall all-redirect \ 361 all-am all installdirs mostlyclean-generic distclean-generic \ 362 clean-generic maintainer-clean-generic clean mostlyclean distclean \ 363 maintainer-clean 309 distclean-depend clean-depend maintainer-clean-depend info dvi \ 310 installcheck install-exec install-data install uninstall all \ 311 installdirs mostlyclean-generic distclean-generic clean-generic \ 312 maintainer-clean-generic clean mostlyclean distclean maintainer-clean 364 313 365 314 … … 372 321 $(INSTALL_PROGRAM) binpatch $(PROJECT_ROOT)/${RTEMS_BSP}/build-tools 373 322 374 debug-am: 375 376 debug: debug-am 377 378 debug_install-am: 379 380 debug_install: debug_install-am 381 382 profile-am: 383 384 profile: profile-am 385 386 profile_install-am: 387 388 profile_install: profile_install-am 389 390 .PHONY: debug debug_install profile profile_install 323 include $(top_srcdir)/../../../../../../../automake/local.am 391 324 392 325 # Tell versions [3.59,3.63) of GNU make to not export all variables. -
c/src/lib/libbsp/i386/pc386/tools/aclocal.m4
r0e78ec3a rc5f2e5b 1 dnl aclocal.m4 generated automatically by aclocal 1.4 2 3 dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. 4 dnl This file is free software; the Free Software Foundation 5 dnl gives unlimited permission to copy and/or distribute it, 6 dnl with or without modifications, as long as this notice is preserved. 7 8 dnl This program is distributed in the hope that it will be useful, 9 dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without 10 dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 dnl PARTICULAR PURPOSE. 1 dnl aclocal.m4 generated automatically by aclocal 1.2 12 2 13 3 dnl $Id$ … … 100 90 101 91 AC_DEFUN(AM_INIT_AUTOMAKE, 102 [AC_REQUIRE([A C_PROG_INSTALL])92 [AC_REQUIRE([AM_PROG_INSTALL]) 103 93 PACKAGE=[$1] 104 94 AC_SUBST(PACKAGE) … … 110 100 fi 111 101 ifelse([$3],, 112 AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE" , [Name of package])113 AC_DEFINE_UNQUOTED(VERSION, "$VERSION" , [Version number of package]))114 A C_REQUIRE([AM_SANITY_CHECK])115 AC_ REQUIRE([AC_ARG_PROGRAM])102 AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE") 103 AC_DEFINE_UNQUOTED(VERSION, "$VERSION")) 104 AM_SANITY_CHECK 105 AC_ARG_PROGRAM 116 106 dnl FIXME This is truly gross. 117 107 missing_dir=`cd $ac_aux_dir && pwd` … … 121 111 AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir) 122 112 AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir) 123 AC_REQUIRE([AC_PROG_MAKE_SET])]) 113 AC_PROG_MAKE_SET]) 114 115 116 # serial 1 117 118 AC_DEFUN(AM_PROG_INSTALL, 119 [AC_REQUIRE([AC_PROG_INSTALL]) 120 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' 121 AC_SUBST(INSTALL_SCRIPT)dnl 122 ]) 124 123 125 124 # … … 139 138 if ( 140 139 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` 141 if test " [$]*" = "X"; then140 if test "$@" = "X"; then 142 141 # -L didn't work. 143 142 set X `ls -t $srcdir/configure conftestfile` 144 143 fi 145 if test "[$]*" != "X $srcdir/configure conftestfile" \146 && test "[$]*" != "X conftestfile $srcdir/configure"; then147 148 # If neither matched, then we have a broken ls. This can happen149 # if, for instance, CONFIG_SHELL is bash and it inherits a150 # broken ls alias from the environment. This has actually151 # happened. Such a system could not be considered "sane".152 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken153 alias in your environment])154 fi155 156 144 test "[$]2" = conftestfile 157 145 ) -
c/src/lib/libbsp/i386/pc386/tools/configure
r0e78ec3a rc5f2e5b 2 2 3 3 # Guess values for system-dependent variables and create Makefiles. 4 # Generated automatically using autoconf version 2.1 34 # Generated automatically using autoconf version 2.12 5 5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. 6 6 # … … 50 50 subdirs= 51 51 MFLAGS= MAKEFLAGS= 52 SHELL=${CONFIG_SHELL-/bin/sh}53 52 # Maximum number of lines to put in a shell here document. 54 53 ac_max_here_lines=12 … … 334 333 335 334 -version | --version | --versio | --versi | --vers) 336 echo "configure generated by autoconf version 2.1 3"335 echo "configure generated by autoconf version 2.12" 337 336 exit 0 ;; 338 337 … … 504 503 ac_cpp='$CPP $CPPFLAGS' 505 504 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 506 ac_link='${CC-cc} -o conftest ${ac_exeext}$CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'505 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 507 506 cross_compiling=$ac_cv_prog_cc_cross 508 507 509 ac_exeext=510 ac_objext=o511 508 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then 512 509 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. … … 549 546 550 547 echo $ac_n "checking for RTEMS Version""... $ac_c" 1>&6 551 echo "configure:5 52: checking for RTEMS Version" >&5548 echo "configure:549: checking for RTEMS Version" >&5 552 549 if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then 553 550 RTEMS_VERSION=`grep Version ${srcdir}/${RTEMS_TOPdir}/VERSION | \ … … 585 582 586 583 # Make sure we can run config.sub. 587 if $ {CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :584 if $ac_config_sub sun4 >/dev/null 2>&1; then : 588 585 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } 589 586 fi 590 587 591 588 echo $ac_n "checking host system type""... $ac_c" 1>&6 592 echo "configure:59 3: checking host system type" >&5589 echo "configure:590: checking host system type" >&5 593 590 594 591 host_alias=$host … … 597 594 case $nonopt in 598 595 NONE) 599 if host_alias=`$ {CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :596 if host_alias=`$ac_config_guess`; then : 600 597 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } 601 598 fi ;; … … 604 601 esac 605 602 606 host=`$ {CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`603 host=`$ac_config_sub $host_alias` 607 604 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 608 605 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` … … 611 608 612 609 echo $ac_n "checking target system type""... $ac_c" 1>&6 613 echo "configure:61 4: checking target system type" >&5610 echo "configure:611: checking target system type" >&5 614 611 615 612 target_alias=$target … … 622 619 esac 623 620 624 target=`$ {CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`621 target=`$ac_config_sub $target_alias` 625 622 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 626 623 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` … … 629 626 630 627 echo $ac_n "checking build system type""... $ac_c" 1>&6 631 echo "configure:6 32: checking build system type" >&5628 echo "configure:629: checking build system type" >&5 632 629 633 630 build_alias=$build … … 640 637 esac 641 638 642 build=`$ {CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`639 build=`$ac_config_sub $build_alias` 643 640 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 644 641 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` … … 654 651 655 652 echo $ac_n "checking rtems target cpu""... $ac_c" 1>&6 656 echo "configure:65 7: checking rtems target cpu" >&5653 echo "configure:654: checking rtems target cpu" >&5 657 654 case "${target}" in 658 655 # hpux unix port should go here … … 689 686 # IRIX /sbin/install 690 687 # AIX /bin/install 691 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag692 688 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 693 689 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 694 690 # ./install, which can be erroneously created by make from ./install.sh. 695 691 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 696 echo "configure:69 7: checking for a BSD compatible install" >&5692 echo "configure:693: checking for a BSD compatible install" >&5 697 693 if test -z "$INSTALL"; then 698 694 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 699 695 echo $ac_n "(cached) $ac_c" 1>&6 700 696 else 701 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=" :"697 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" 702 698 for ac_dir in $PATH; do 703 699 # Account for people who put trailing slashes in PATH elements. … … 706 702 *) 707 703 # OSF1 and SCO ODT 3.0 have their own names for install. 708 # Don't use installbsd from OSF since it installs stuff as root 709 # by default. 710 for ac_prog in ginstall scoinst install; do 704 for ac_prog in ginstall installbsd scoinst install; do 711 705 if test -f $ac_dir/$ac_prog; then 712 706 if test $ac_prog = install && 713 707 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then 714 708 # AIX install. It has an incompatible calling convention. 709 # OSF/1 installbsd also uses dspmsg, but is usable. 715 710 : 716 711 else … … 742 737 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 743 738 739 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 740 741 744 742 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' 745 743 746 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 744 745 PACKAGE=rtems-lib-libbsp-i386-pc386-tools 746 747 VERSION=$RTEMS_VERSION 748 749 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then 750 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } 751 fi 747 752 748 753 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 749 echo "configure:75 0: checking whether build environment is sane" >&5754 echo "configure:755: checking whether build environment is sane" >&5 750 755 # Just in case 751 756 sleep 1 … … 758 763 if ( 759 764 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` 760 if test " $*" = "X"; then765 if test "" = "X"; then 761 766 # -L didn't work. 762 767 set X `ls -t $srcdir/configure conftestfile` 763 768 fi 764 if test "$*" != "X $srcdir/configure conftestfile" \765 && test "$*" != "X conftestfile $srcdir/configure"; then766 767 # If neither matched, then we have a broken ls. This can happen768 # if, for instance, CONFIG_SHELL is bash and it inherits a769 # broken ls alias from the environment. This has actually770 # happened. Such a system could not be considered "sane".771 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken772 alias in your environment" 1>&2; exit 1; }773 fi774 775 769 test "$2" = conftestfile 776 770 ) … … 803 797 test "$program_transform_name" = "" && program_transform_name="s,x,x," 804 798 805 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6806 echo "configure:807: checking whether ${MAKE-make} sets \${MAKE}" >&5807 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`808 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then809 echo $ac_n "(cached) $ac_c" 1>&6810 else811 cat > conftestmake <<\EOF812 all:813 @echo 'ac_maketemp="${MAKE}"'814 EOF815 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.816 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`817 if test -n "$ac_maketemp"; then818 eval ac_cv_prog_make_${ac_make}_set=yes819 else820 eval ac_cv_prog_make_${ac_make}_set=no821 fi822 rm -f conftestmake823 fi824 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then825 echo "$ac_t""yes" 1>&6826 SET_MAKE=827 else828 echo "$ac_t""no" 1>&6829 SET_MAKE="MAKE=${MAKE-make}"830 fi831 832 833 PACKAGE=rtems-lib-libbsp-i386-pc386-tools834 835 VERSION=$RTEMS_VERSION836 837 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then838 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }839 fi840 841 842 843 799 missing_dir=`cd $ac_aux_dir && pwd` 844 800 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 845 echo "configure:8 46: checking for working aclocal" >&5801 echo "configure:802: checking for working aclocal" >&5 846 802 # Run test in a subshell; some versions of sh will print an error if 847 803 # an executable is not found, even if stderr is redirected. … … 856 812 857 813 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 858 echo "configure:8 59: checking for working autoconf" >&5814 echo "configure:815: checking for working autoconf" >&5 859 815 # Run test in a subshell; some versions of sh will print an error if 860 816 # an executable is not found, even if stderr is redirected. … … 869 825 870 826 echo $ac_n "checking for working automake""... $ac_c" 1>&6 871 echo "configure:8 72: checking for working automake" >&5827 echo "configure:828: checking for working automake" >&5 872 828 # Run test in a subshell; some versions of sh will print an error if 873 829 # an executable is not found, even if stderr is redirected. … … 882 838 883 839 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 884 echo "configure:8 85: checking for working autoheader" >&5840 echo "configure:841: checking for working autoheader" >&5 885 841 # Run test in a subshell; some versions of sh will print an error if 886 842 # an executable is not found, even if stderr is redirected. … … 895 851 896 852 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 897 echo "configure:8 98: checking for working makeinfo" >&5853 echo "configure:854: checking for working makeinfo" >&5 898 854 # Run test in a subshell; some versions of sh will print an error if 899 855 # an executable is not found, even if stderr is redirected. … … 907 863 fi 908 864 865 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 866 echo "configure:867: checking whether ${MAKE-make} sets \${MAKE}" >&5 867 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 868 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then 869 echo $ac_n "(cached) $ac_c" 1>&6 870 else 871 cat > conftestmake <<\EOF 872 all: 873 @echo 'ac_maketemp="${MAKE}"' 874 EOF 875 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 876 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` 877 if test -n "$ac_maketemp"; then 878 eval ac_cv_prog_make_${ac_make}_set=yes 879 else 880 eval ac_cv_prog_make_${ac_make}_set=no 881 fi 882 rm -f conftestmake 883 fi 884 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 885 echo "$ac_t""yes" 1>&6 886 SET_MAKE= 887 else 888 echo "$ac_t""no" 1>&6 889 SET_MAKE="MAKE=${MAKE-make}" 890 fi 909 891 910 892 … … 912 894 set dummy gcc; ac_word=$2 913 895 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 914 echo "configure: 915: checking for $ac_word" >&5896 echo "configure:897: checking for $ac_word" >&5 915 897 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 916 898 echo $ac_n "(cached) $ac_c" 1>&6 … … 919 901 ac_cv_prog_CC="$CC" # Let the user override the test. 920 902 else 921 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 922 ac_dummy="$PATH" 923 for ac_dir in $ac_dummy; do 903 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 904 for ac_dir in $PATH; do 924 905 test -z "$ac_dir" && ac_dir=. 925 906 if test -f $ac_dir/$ac_word; then … … 942 923 set dummy cc; ac_word=$2 943 924 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 944 echo "configure:9 45: checking for $ac_word" >&5925 echo "configure:926: checking for $ac_word" >&5 945 926 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 946 927 echo $ac_n "(cached) $ac_c" 1>&6 … … 949 930 ac_cv_prog_CC="$CC" # Let the user override the test. 950 931 else 951 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"932 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 952 933 ac_prog_rejected=no 953 ac_dummy="$PATH" 954 for ac_dir in $ac_dummy; do 934 for ac_dir in $PATH; do 955 935 test -z "$ac_dir" && ac_dir=. 956 936 if test -f $ac_dir/$ac_word; then … … 987 967 fi 988 968 989 if test -z "$CC"; then990 case "`uname -s`" in991 *win32* | *WIN32*)992 # Extract the first word of "cl", so it can be a program name with args.993 set dummy cl; ac_word=$2994 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6995 echo "configure:996: checking for $ac_word" >&5996 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then997 echo $ac_n "(cached) $ac_c" 1>&6998 else999 if test -n "$CC"; then1000 ac_cv_prog_CC="$CC" # Let the user override the test.1001 else1002 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"1003 ac_dummy="$PATH"1004 for ac_dir in $ac_dummy; do1005 test -z "$ac_dir" && ac_dir=.1006 if test -f $ac_dir/$ac_word; then1007 ac_cv_prog_CC="cl"1008 break1009 fi1010 done1011 IFS="$ac_save_ifs"1012 fi1013 fi1014 CC="$ac_cv_prog_CC"1015 if test -n "$CC"; then1016 echo "$ac_t""$CC" 1>&61017 else1018 echo "$ac_t""no" 1>&61019 fi1020 ;;1021 esac1022 fi1023 969 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 1024 970 fi 1025 971 1026 972 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1027 echo "configure: 1028: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5973 echo "configure:974: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1028 974 1029 975 ac_ext=c … … 1031 977 ac_cpp='$CPP $CPPFLAGS' 1032 978 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 1033 ac_link='${CC-cc} -o conftest ${ac_exeext}$CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'979 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 1034 980 cross_compiling=$ac_cv_prog_cc_cross 1035 981 1036 cat > conftest.$ac_ext << EOF 1037 1038 #line 1039 "configure" 982 cat > conftest.$ac_ext <<EOF 983 #line 984 "configure" 1039 984 #include "confdefs.h" 1040 1041 985 main(){return(0);} 1042 986 EOF 1043 if { (eval echo configure: 1044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then987 if { (eval echo configure:988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1044 988 ac_cv_prog_cc_works=yes 1045 989 # If we can't run a trivial program, we are probably using a cross compiler. … … 1055 999 fi 1056 1000 rm -fr conftest* 1057 ac_ext=c1058 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.1059 ac_cpp='$CPP $CPPFLAGS'1060 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'1061 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'1062 cross_compiling=$ac_cv_prog_cc_cross1063 1001 1064 1002 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 … … 1067 1005 fi 1068 1006 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1069 echo "configure:10 70: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&51007 echo "configure:1008: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1070 1008 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1071 1009 cross_compiling=$ac_cv_prog_cc_cross 1072 1010 1073 1011 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1074 echo "configure:10 75: checking whether we are using GNU C" >&51012 echo "configure:1013: checking whether we are using GNU C" >&5 1075 1013 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 1076 1014 echo $ac_n "(cached) $ac_c" 1>&6 … … 1081 1019 #endif 1082 1020 EOF 1083 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:10 84: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then1021 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1022: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1084 1022 ac_cv_prog_gcc=yes 1085 1023 else … … 1092 1030 if test $ac_cv_prog_gcc = yes; then 1093 1031 GCC=yes 1094 else 1095 GCC= 1096 fi 1097 1098 ac_test_CFLAGS="${CFLAGS+set}" 1099 ac_save_CFLAGS="$CFLAGS" 1100 CFLAGS= 1101 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1102 echo "configure:1103: checking whether ${CC-cc} accepts -g" >&5 1032 ac_test_CFLAGS="${CFLAGS+set}" 1033 ac_save_CFLAGS="$CFLAGS" 1034 CFLAGS= 1035 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1036 echo "configure:1037: checking whether ${CC-cc} accepts -g" >&5 1103 1037 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1104 1038 echo $ac_n "(cached) $ac_c" 1>&6 … … 1115 1049 1116 1050 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 1117 if test "$ac_test_CFLAGS" = set; then 1118 CFLAGS="$ac_save_CFLAGS" 1119 elif test $ac_cv_prog_cc_g = yes; then 1120 if test "$GCC" = yes; then 1051 if test "$ac_test_CFLAGS" = set; then 1052 CFLAGS="$ac_save_CFLAGS" 1053 elif test $ac_cv_prog_cc_g = yes; then 1121 1054 CFLAGS="-g -O2" 1122 1055 else 1123 CFLAGS="- g"1056 CFLAGS="-O2" 1124 1057 fi 1125 1058 else 1126 if test "$GCC" = yes; then 1127 CFLAGS="-O2" 1128 else 1129 CFLAGS= 1130 fi 1059 GCC= 1060 test "${CFLAGS+set}" = set || CFLAGS="-g" 1131 1061 fi 1132 1062 … … 1135 1065 do 1136 1066 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1137 echo "configure:1 138: checking for $ac_func" >&51067 echo "configure:1068: checking for $ac_func" >&5 1138 1068 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1139 1069 echo $ac_n "(cached) $ac_c" 1>&6 1140 1070 else 1141 1071 cat > conftest.$ac_ext <<EOF 1142 #line 1 143 "configure"1072 #line 1073 "configure" 1143 1073 #include "confdefs.h" 1144 1074 /* System header to define __stub macros and hopefully few prototypes, … … 1163 1093 ; return 0; } 1164 1094 EOF 1165 if { (eval echo configure:1 166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1095 if { (eval echo configure:1096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1166 1096 rm -rf conftest* 1167 1097 eval "ac_cv_func_$ac_func=yes" … … 1211 1141 # and sets the high bit in the cache file unless we assign to the vars. 1212 1142 (set) 2>&1 | 1213 case `(ac_space=' '; set | grep ac_space) 2>&1` in1143 case `(ac_space=' '; set) 2>&1` in 1214 1144 *ac_space=\ *) 1215 1145 # `set' does not quote correctly, so add quotes (double-quote substitution … … 1290 1220 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; 1291 1221 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) 1292 echo "$CONFIG_STATUS generated by autoconf version 2.1 3"1222 echo "$CONFIG_STATUS generated by autoconf version 2.12" 1293 1223 exit 0 ;; 1294 1224 -help | --help | --hel | --he | --h) … … 1310 1240 $ac_vpsub 1311 1241 $extrasub 1312 s%@SHELL@%$SHELL%g1313 1242 s%@CFLAGS@%$CFLAGS%g 1314 1243 s%@CPPFLAGS@%$CPPFLAGS%g 1315 1244 s%@CXXFLAGS@%$CXXFLAGS%g 1316 s%@FFLAGS@%$FFLAGS%g1317 1245 s%@DEFS@%$DEFS%g 1318 1246 s%@LDFLAGS@%$LDFLAGS%g … … 1351 1279 s%@build_os@%$build_os%g 1352 1280 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g 1281 s%@INSTALL_DATA@%$INSTALL_DATA%g 1353 1282 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g 1354 s%@INSTALL_DATA@%$INSTALL_DATA%g1355 1283 s%@PACKAGE@%$PACKAGE%g 1356 1284 s%@VERSION@%$VERSION%g
Note: See TracChangeset
for help on using the changeset viewer.