diff options
author | Glenn Morris <rgm@gnu.org> | 2011-09-25 06:19:40 -0400 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2011-09-25 06:19:40 -0400 |
commit | bb72ce91987bea078a4aa72b198759975c126399 (patch) | |
tree | dc4b0cbad76e7a71c040b9cff6ad5d6c5c87a50a /autogen | |
parent | 590c056d7e48687031c391ac2f073bc25a990f10 (diff) | |
download | emacs-bb72ce91987bea078a4aa72b198759975c126399.tar.gz |
Auto-commit of generated files.
Diffstat (limited to 'autogen')
-rwxr-xr-x | autogen/configure | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/autogen/configure b/autogen/configure index 8483168848a..1f304212838 100755 --- a/autogen/configure +++ b/autogen/configure @@ -8057,14 +8057,9 @@ case $opsys in LIB_STANDARD=-lc START_FILES='pre-crt0.o $(CRT_DIR)/crt0.o' ;; - netbsd | openbsd ) - if test -f $CRT_DIR/crti.o; then - LIB_STANDARD='-lgcc -lc -lgcc $(CRT_DIR)/crtend.o $(CRT_DIR)/crtn.o' - START_FILES='pre-crt0.o $(CRT_DIR)/crt0.o $(CRT_DIR)/crti.o $(CRT_DIR)/crtbegin.o' - else - LIB_STANDARD='-lgcc -lc -lgcc $(CRT_DIR)/crtend.o' - START_FILES='pre-crt0.o $(CRT_DIR)/crt0.o $(CRT_DIR)/crtbegin.o' - fi + netbsd | openbsd ) + LIB_STANDARD='-lgcc -lc -lgcc $(CRT_DIR)/crtend.o' + START_FILES='pre-crt0.o $(CRT_DIR)/crt0.o $(CRT_DIR)/crtbegin.o' ;; esac @@ -8163,6 +8158,19 @@ fi # crt_files != "" +case $opsys in + netbsd | openbsd ) + if test -f $CRT_DIR/crti.o; then + + test -f $CRT_DIR/crtn.o || \ + as_fn_error "Required file not found: crtn.o" "$LINENO" 5 + + LIB_STANDARD='-lgcc -lc -lgcc $(CRT_DIR)/crtend.o $(CRT_DIR)/crtn.o' + START_FILES='pre-crt0.o $(CRT_DIR)/crt0.o $(CRT_DIR)/crti.o $(CRT_DIR)/crtbegin.o' + fi + ;; +esac + |