diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-03-15 16:04:12 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-03-15 16:06:47 +0100 |
commit | b1c472c7021ebb85afdc5c4afd0e0fcd74ab15d9 (patch) | |
tree | 31188e07bdbb13a205c0f26283b3692150f8498e /configure.in | |
parent | 2db82ffc1bdd5865e51932930bb5c4688e2de8a3 (diff) |
do not leave temporary files after a configure check
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.in b/configure.in index f71014dde0d2..72b45b945299 100644 --- a/configure.in +++ b/configure.in @@ -4495,13 +4495,15 @@ struct S2: S1<int> { virtual ~S2(); }; struct S3: S2 { virtual ~S3(); }; S3::~S3() {} _ACEOF gccvisinlineshiddenok=yes - if ! $CXX $CXXFLAGS $CPPFLAGS -shared -fPIC -fvisibility-inlines-hidden conftestlib1.cc -o lib1.so >/dev/null 2>/dev/null; then + if ! $CXX $CXXFLAGS $CPPFLAGS -shared -fPIC -fvisibility-inlines-hidden conftestlib1.cc -o libconftest1.so >/dev/null 2>/dev/null; then gccvisinlineshiddenok=no else - if ! $CXX $CXXFLAGS $CPPFLAGS -shared -fPIC -fvisibility-inlines-hidden conftestlib2.cc -L. -l1 -Wl,-z,defs -o lib2.so >/dev/null 2>/dev/null; then + if ! $CXX $CXXFLAGS $CPPFLAGS -shared -fPIC -fvisibility-inlines-hidden conftestlib2.cc -L. -lconftest1 -Wl,-z,defs -o libconftest2.so >/dev/null 2>/dev/null; then gccvisinlineshiddenok=no fi fi + + rm -f libconftest1.so libconftest2.so AC_MSG_RESULT([$gccvisinlineshiddenok]) if test "$gccvisinlineshiddenok" = "no"; then |