Commit eaed65b6 authored by Andy Wingo Wingo's avatar Andy Wingo Wingo

m4/: New file, tries to disable some CXX and fortran checks.

Original commit message from CVS:
2005-07-18  Andy Wingo  <wingo@pobox.com>

* m4/Makefile.am (EXTRA_DIST):
* m4/as-libtool-tags.m4: New file, tries to disable some CXX and
fortran checks.
parent ac7272b7
2005-07-18 Andy Wingo <wingo@pobox.com>
* m4/Makefile.am (EXTRA_DIST):
* m4/as-libtool-tags.m4: New file, tries to disable some CXX and
fortran checks.
2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
* m4/gst-error.m4:
......
......@@ -6,6 +6,7 @@ EXTRA_DIST = \
as-compiler.m4 \
as-docbook.m4 \
as-libtool.m4 \
as-libtool-tags.m4 \
as-python.m4 \
as-scrub-include.m4 \
as-version.m4 \
......
dnl as-libtool-tags.m4 0.1.4
dnl autostars m4 macro for selecting libtool "tags" (languages)
dnl Andy Wingo does not claim credit for this macro
dnl $Id$
dnl AS_LIBTOOL_TAGS([tags...])
dnl example
dnl AS_LIBTOOL_TAGS([]) for only C (no fortran, etc)
dnl this macro
dnl - Sets CXX, GCJ, and F77 to "no" unless they are in TAGS
dnl - Should be called before AC_PROG_LIBTOOL
AC_DEFUN([AS_LIBTOOL_TAGS],
[
tags=[$1]
if -n "$tags"; then
AC_MSG_NOTICE([allowing libtool to support $tag])
fi
if test -n "$tags" && echo CXX | grep "$tags"; then
true
else
CXX=no
fi
if test -n "$tags" && echo F77 | grep "$tags"; then
true
else
F77=no
fi
if test -n "$tags" && echo GCJ | grep "$tags"; then
true
else
GCJ=no
fi
])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment