@@ -3691,6 +3691,7 @@ _ACEOF
36913691
36923692
36933693
3694+ is_noop=no
36943695 use_elf_origin_trick=no
36953696 if test $RELOCATABLE = yes; then
36963697 # --enable-relocatable implies --disable-rpath
@@ -3709,28 +3710,33 @@ cat >>confdefs.h <<\_ACEOF
37093710_ACEOF
37103711
37113712 case "$host_os" in
3713+ mingw*) is_noop=yes ;;
37123714 linux*) use_elf_origin_trick=yes ;;
37133715 esac
3714- if test $use_elf_origin_trick = yes; then
3715- case "$ac_aux_dir" in
3716- /*) reloc_ldflags="$ac_aux_dir/reloc-ldflags" ;;
3717- *) reloc_ldflags="\$(top_builddir)/$ac_aux_dir/reloc-ldflags" ;;
3718- esac
3719- SET_RELOCATABLE="RELOCATABLE_LDFLAGS = \"$reloc_ldflags\" \"\$(host)\" \"\$(RELOCATABLE_LIBRARY_PATH)\""
3716+ if test $is_noop = yes; then
3717+ SET_RELOCATABLE="RELOCATABLE_LDFLAGS = :"
37203718 else
3721- SET_RELOCATABLE="INSTALL_PROGRAM_ENV = RELOC_LIBRARY_PATH_VAR=\"$shlibpath_var\" RELOC_LIBRARY_PATH_VALUE=\"\$(RELOCATABLE_LIBRARY_PATH)\" RELOC_PREFIX=\"\$(prefix)\" RELOC_COMPILE_COMMAND=\"\$(CC) \$(CPPFLAGS) \$(CFLAGS) \$(LDFLAGS)\" RELOC_SRCDIR=\"\$(RELOCATABLE_SRC_DIR)\" RELOC_BUILDDIR=\"\$(RELOCATABLE_BUILD_DIR)\" RELOC_CONFIG_H_DIR=\"\$(RELOCATABLE_CONFIG_H_DIR)\" RELOC_INSTALL_PROG=\"$INSTALL_PROGRAM\""
3722- case "$ac_aux_dir" in
3723- /*) INSTALL_PROGRAM="$ac_aux_dir/install-reloc" ;;
3724- *) INSTALL_PROGRAM="\$(top_builddir)/$ac_aux_dir/install-reloc" ;;
3725- esac
3719+ if test $use_elf_origin_trick = yes; then
3720+ case "$ac_aux_dir" in
3721+ /*) reloc_ldflags="$ac_aux_dir/reloc-ldflags" ;;
3722+ *) reloc_ldflags="\$(top_builddir)/$ac_aux_dir/reloc-ldflags" ;;
3723+ esac
3724+ SET_RELOCATABLE="RELOCATABLE_LDFLAGS = \"$reloc_ldflags\" \"\$(host)\" \"\$(RELOCATABLE_LIBRARY_PATH)\""
3725+ else
3726+ SET_RELOCATABLE="INSTALL_PROGRAM_ENV = RELOC_LIBRARY_PATH_VAR=\"$shlibpath_var\" RELOC_LIBRARY_PATH_VALUE=\"\$(RELOCATABLE_LIBRARY_PATH)\" RELOC_PREFIX=\"\$(prefix)\" RELOC_COMPILE_COMMAND=\"\$(CC) \$(CPPFLAGS) \$(CFLAGS) \$(LDFLAGS)\" RELOC_SRCDIR=\"\$(RELOCATABLE_SRC_DIR)\" RELOC_BUILDDIR=\"\$(RELOCATABLE_BUILD_DIR)\" RELOC_CONFIG_H_DIR=\"\$(RELOCATABLE_CONFIG_H_DIR)\" RELOC_INSTALL_PROG=\"$INSTALL_PROGRAM\""
3727+ case "$ac_aux_dir" in
3728+ /*) INSTALL_PROGRAM="$ac_aux_dir/install-reloc" ;;
3729+ *) INSTALL_PROGRAM="\$(top_builddir)/$ac_aux_dir/install-reloc" ;;
3730+ esac
3731+ fi
37263732 fi
37273733 else
37283734 SET_RELOCATABLE=
37293735 fi
37303736
37313737
37323738
3733- if test $use_elf_origin_trick = yes; then
3739+ if test $is_noop = yes || test $ use_elf_origin_trick = yes; then
37343740 RELOCATABLE_VIA_LD_TRUE=
37353741 RELOCATABLE_VIA_LD_FALSE='#'
37363742else
@@ -4990,7 +4996,7 @@ ia64-*-hpux*)
49904996 ;;
49914997*-*-irix6*)
49924998 # Find out which ABI we are using.
4993- echo '#line 4993 "configure"' > conftest.$ac_ext
4999+ echo '#line 4999 "configure"' > conftest.$ac_ext
49945000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49955001 (eval $ac_compile) 2>&5
49965002 ac_status=$?
63386344
63396345
63406346# Provide some information about the compiler.
6341- echo "$as_me:6341 :" \
6347+ echo "$as_me:6347 :" \
63426348 "checking for Fortran 77 compiler version" >&5
63436349ac_compiler=`set X $ac_compile; echo $2`
63446350{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
@@ -7399,11 +7405,11 @@ else
73997405 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
74007406 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
74017407 -e 's:$: $lt_compiler_flag:'`
7402- (eval echo "\"\$as_me:7402 : $lt_compile\"" >&5)
7408+ (eval echo "\"\$as_me:7408 : $lt_compile\"" >&5)
74037409 (eval "$lt_compile" 2>conftest.err)
74047410 ac_status=$?
74057411 cat conftest.err >&5
7406- echo "$as_me:7406 : \$? = $ac_status" >&5
7412+ echo "$as_me:7412 : \$? = $ac_status" >&5
74077413 if (exit $ac_status) && test -s "$ac_outfile"; then
74087414 # The compiler can only warn and ignore the option if not recognized
74097415 # So say no if there are warnings
@@ -7645,11 +7651,11 @@ else
76457651 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
76467652 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
76477653 -e 's:$: $lt_compiler_flag:'`
7648- (eval echo "\"\$as_me:7648 : $lt_compile\"" >&5)
7654+ (eval echo "\"\$as_me:7654 : $lt_compile\"" >&5)
76497655 (eval "$lt_compile" 2>conftest.err)
76507656 ac_status=$?
76517657 cat conftest.err >&5
7652- echo "$as_me:7652 : \$? = $ac_status" >&5
7658+ echo "$as_me:7658 : \$? = $ac_status" >&5
76537659 if (exit $ac_status) && test -s "$ac_outfile"; then
76547660 # The compiler can only warn and ignore the option if not recognized
76557661 # So say no if there are warnings
@@ -7705,11 +7711,11 @@ else
77057711 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
77067712 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
77077713 -e 's:$: $lt_compiler_flag:'`
7708- (eval echo "\"\$as_me:7708 : $lt_compile\"" >&5)
7714+ (eval echo "\"\$as_me:7714 : $lt_compile\"" >&5)
77097715 (eval "$lt_compile" 2>out/conftest.err)
77107716 ac_status=$?
77117717 cat out/conftest.err >&5
7712- echo "$as_me:7712 : \$? = $ac_status" >&5
7718+ echo "$as_me:7718 : \$? = $ac_status" >&5
77137719 if (exit $ac_status) && test -s out/conftest2.$ac_objext
77147720 then
77157721 # The compiler can only warn and ignore the option if not recognized
@@ -9890,7 +9896,7 @@ else
98909896 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
98919897 lt_status=$lt_dlunknown
98929898 cat > conftest.$ac_ext <<EOF
9893- #line 9893 "configure"
9899+ #line 9899 "configure"
98949900#include "confdefs.h"
98959901
98969902#if HAVE_DLFCN_H
@@ -9988,7 +9994,7 @@ else
99889994 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
99899995 lt_status=$lt_dlunknown
99909996 cat > conftest.$ac_ext <<EOF
9991- #line 9991 "configure"
9997+ #line 9997 "configure"
99929998#include "confdefs.h"
99939999
999410000#if HAVE_DLFCN_H
@@ -10246,7 +10252,8 @@ echo "$as_me: creating $ofile" >&6;}
1024610252#
1024710253# You should have received a copy of the GNU General Public License
1024810254# along with this program; if not, write to the Free Software
10249- # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
10255+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
10256+ # USA.
1025010257#
1025110258# As a special exception to the GNU General Public License, if you
1025210259# distribute this file as part of a program that contains a
@@ -12185,11 +12192,11 @@ else
1218512192 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1218612193 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1218712194 -e 's:$: $lt_compiler_flag:'`
12188- (eval echo "\"\$as_me:12188 : $lt_compile\"" >&5)
12195+ (eval echo "\"\$as_me:12195 : $lt_compile\"" >&5)
1218912196 (eval "$lt_compile" 2>conftest.err)
1219012197 ac_status=$?
1219112198 cat conftest.err >&5
12192- echo "$as_me:12192 : \$? = $ac_status" >&5
12199+ echo "$as_me:12199 : \$? = $ac_status" >&5
1219312200 if (exit $ac_status) && test -s "$ac_outfile"; then
1219412201 # The compiler can only warn and ignore the option if not recognized
1219512202 # So say no if there are warnings
@@ -12245,11 +12252,11 @@ else
1224512252 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1224612253 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1224712254 -e 's:$: $lt_compiler_flag:'`
12248- (eval echo "\"\$as_me:12248 : $lt_compile\"" >&5)
12255+ (eval echo "\"\$as_me:12255 : $lt_compile\"" >&5)
1224912256 (eval "$lt_compile" 2>out/conftest.err)
1225012257 ac_status=$?
1225112258 cat out/conftest.err >&5
12252- echo "$as_me:12252 : \$? = $ac_status" >&5
12259+ echo "$as_me:12259 : \$? = $ac_status" >&5
1225312260 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1225412261 then
1225512262 # The compiler can only warn and ignore the option if not recognized
@@ -13606,7 +13613,7 @@ else
1360613613 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1360713614 lt_status=$lt_dlunknown
1360813615 cat > conftest.$ac_ext <<EOF
13609- #line 13609 "configure"
13616+ #line 13616 "configure"
1361013617#include "confdefs.h"
1361113618
1361213619#if HAVE_DLFCN_H
@@ -13704,7 +13711,7 @@ else
1370413711 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1370513712 lt_status=$lt_dlunknown
1370613713 cat > conftest.$ac_ext <<EOF
13707- #line 13707 "configure"
13714+ #line 13714 "configure"
1370813715#include "confdefs.h"
1370913716
1371013717#if HAVE_DLFCN_H
@@ -14544,11 +14551,11 @@ else
1454414551 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1454514552 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1454614553 -e 's:$: $lt_compiler_flag:'`
14547- (eval echo "\"\$as_me:14547 : $lt_compile\"" >&5)
14554+ (eval echo "\"\$as_me:14554 : $lt_compile\"" >&5)
1454814555 (eval "$lt_compile" 2>conftest.err)
1454914556 ac_status=$?
1455014557 cat conftest.err >&5
14551- echo "$as_me:14551 : \$? = $ac_status" >&5
14558+ echo "$as_me:14558 : \$? = $ac_status" >&5
1455214559 if (exit $ac_status) && test -s "$ac_outfile"; then
1455314560 # The compiler can only warn and ignore the option if not recognized
1455414561 # So say no if there are warnings
@@ -14604,11 +14611,11 @@ else
1460414611 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1460514612 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1460614613 -e 's:$: $lt_compiler_flag:'`
14607- (eval echo "\"\$as_me:14607 : $lt_compile\"" >&5)
14614+ (eval echo "\"\$as_me:14614 : $lt_compile\"" >&5)
1460814615 (eval "$lt_compile" 2>out/conftest.err)
1460914616 ac_status=$?
1461014617 cat out/conftest.err >&5
14611- echo "$as_me:14611 : \$? = $ac_status" >&5
14618+ echo "$as_me:14618 : \$? = $ac_status" >&5
1461214619 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1461314620 then
1461414621 # The compiler can only warn and ignore the option if not recognized
@@ -16643,11 +16650,11 @@ else
1664316650 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1664416651 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1664516652 -e 's:$: $lt_compiler_flag:'`
16646- (eval echo "\"\$as_me:16646 : $lt_compile\"" >&5)
16653+ (eval echo "\"\$as_me:16653 : $lt_compile\"" >&5)
1664716654 (eval "$lt_compile" 2>conftest.err)
1664816655 ac_status=$?
1664916656 cat conftest.err >&5
16650- echo "$as_me:16650 : \$? = $ac_status" >&5
16657+ echo "$as_me:16657 : \$? = $ac_status" >&5
1665116658 if (exit $ac_status) && test -s "$ac_outfile"; then
1665216659 # The compiler can only warn and ignore the option if not recognized
1665316660 # So say no if there are warnings
@@ -16889,11 +16896,11 @@ else
1688916896 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1689016897 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1689116898 -e 's:$: $lt_compiler_flag:'`
16892- (eval echo "\"\$as_me:16892 : $lt_compile\"" >&5)
16899+ (eval echo "\"\$as_me:16899 : $lt_compile\"" >&5)
1689316900 (eval "$lt_compile" 2>conftest.err)
1689416901 ac_status=$?
1689516902 cat conftest.err >&5
16896- echo "$as_me:16896 : \$? = $ac_status" >&5
16903+ echo "$as_me:16903 : \$? = $ac_status" >&5
1689716904 if (exit $ac_status) && test -s "$ac_outfile"; then
1689816905 # The compiler can only warn and ignore the option if not recognized
1689916906 # So say no if there are warnings
@@ -16949,11 +16956,11 @@ else
1694916956 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
1695016957 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1695116958 -e 's:$: $lt_compiler_flag:'`
16952- (eval echo "\"\$as_me:16952 : $lt_compile\"" >&5)
16959+ (eval echo "\"\$as_me:16959 : $lt_compile\"" >&5)
1695316960 (eval "$lt_compile" 2>out/conftest.err)
1695416961 ac_status=$?
1695516962 cat out/conftest.err >&5
16956- echo "$as_me:16956 : \$? = $ac_status" >&5
16963+ echo "$as_me:16963 : \$? = $ac_status" >&5
1695716964 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1695816965 then
1695916966 # The compiler can only warn and ignore the option if not recognized
@@ -19134,7 +19141,7 @@ else
1913419141 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1913519142 lt_status=$lt_dlunknown
1913619143 cat > conftest.$ac_ext <<EOF
19137- #line 19137 "configure"
19144+ #line 19144 "configure"
1913819145#include "confdefs.h"
1913919146
1914019147#if HAVE_DLFCN_H
@@ -19232,7 +19239,7 @@ else
1923219239 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1923319240 lt_status=$lt_dlunknown
1923419241 cat > conftest.$ac_ext <<EOF
19235- #line 19235 "configure"
19242+ #line 19242 "configure"
1923619243#include "confdefs.h"
1923719244
1923819245#if HAVE_DLFCN_H
0 commit comments