]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
configure: remove unused conditionals and support for order only rules.
authorGary V. Vaughan <gary@gnu.org>
Sun, 27 Nov 2011 16:50:15 +0000 (23:50 +0700)
committerGary V. Vaughan <gary@gnu.org>
Thu, 4 Oct 2012 13:11:06 +0000 (20:11 +0700)
Clean up some more unused cruft.
* configure.ac (HAVE_CXX, HAVE_F77, HAVE_FC, HAVE_GCJ, HAVE_RC):
Remove.  These were only used by the recently removed legacy
tests.
[order-only prerequisites]: Ditto.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
configure.ac

index f3a5e730f1ffe20c4a8f8f42857ce83eb991e5d0..ae8dc2d8a054d8bacff1bd7d1500e03c66f4c550 100644 (file)
@@ -157,44 +157,6 @@ LT_LANG(Windows Resource)
 AC_SUBST([to_host_file_cmd])dnl
 AC_SUBST([to_tool_file_cmd])dnl
 
-## --------------------------- ##
-## Work out which tests to run ##
-## --------------------------- ##
-AM_CONDITIONAL(HAVE_CXX,[test -n "[$]_LT_TAGVAR(compiler, CXX)"])
-AM_CONDITIONAL(HAVE_F77,[test -n "[$]_LT_TAGVAR(compiler, F77)"])
-AM_CONDITIONAL(HAVE_FC,[test -n "[$]_LT_TAGVAR(compiler, FC)"])
-AM_CONDITIONAL(HAVE_GCJ, [test -n "[$]_LT_TAGVAR(compiler, GCJ)"])
-AM_CONDITIONAL(HAVE_RC, [test -n "[$]_LT_TAGVAR(compiler, RC)"])
-
-## Whether `make' supports order-only prerequisites.
-AC_CACHE_CHECK([whether ${MAKE-make} supports order-only prerequisites],
-  [lt_cv_make_order_only],
-  [mkdir conftest.dir
-   cd conftest.dir
-   touch b
-   touch a
-cat >confmk << 'END'
-ORDER = |
-a: b $(ORDER) c
-a b c:
-       touch $[]@
-END
-   touch c
-   if ${MAKE-make} -s -q -f confmk >/dev/null 2>&1; then
-     lt_cv_make_order_only=yes
-   else
-     lt_cv_make_order_only=no
-   fi
-   cd ..
-   rm -rf conftest.dir
-])
-if test yes = "$lt_cv_make_order_only"; then
-  ORDER='|'
-else
-  ORDER=''
-fi
-AC_SUBST([ORDER])
-
 ## ---------------------- ##
 ## Gnulib initialisation. ##
 ## ---------------------- ##