From: David McCullough Date: Thu, 7 May 2009 23:09:35 +0000 (+0000) Subject: Update configure to get the new ctor/dtor option. X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=e89584662974c926fe5fc43f64c60513ffc25be2;p=elf2flt.git Update configure to get the new ctor/dtor option. --- diff --git a/configure b/configure index 3256367..0196e6a 100755 --- a/configure +++ b/configure @@ -638,6 +638,7 @@ ac_includes_default="\ ac_subst_vars='LTLIBOBJS LIBOBJS SYMBOL_PREFIX +emit_ctor_dtor emit_relocs got_check binutils_ldscript_dir @@ -718,6 +719,7 @@ with_binutils_ldscript_dir with_binutils_build_dir enable_got_check enable_emit_relocs +enable_emit_ctor_dtor ' ac_precious_vars='build_alias host_alias @@ -1354,6 +1356,7 @@ Optional Features: --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --disable-got-check - disable check for GOT (needed on H8) --disable-emit-relocs - don't use the --emit-relocs (-q) linker option + --enable-emit-ctor-dtor manually create ctor/dtor list Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] @@ -1904,6 +1907,15 @@ else fi +# Check whether --enable-emit_ctor_dtor was given. +if test "${enable_emit_ctor_dtor+set}" = set; then + enableval=$enable_emit_ctor_dtor; emit_ctor_dtor=$enableval +else + emit_ctor_dtor=no + +fi + + ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do if test -f "$ac_dir/install-sh"; then @@ -4674,6 +4686,7 @@ done + ac_config_files="$ac_config_files Makefile ld-elf2flt elf2flt.ld" cat >confcache <<\_ACEOF