| Download M4 Source | Macro Index Page |
AC_LIBTOOLIZE_CFLAGS(COMPILER-FLAGS-VAR)
Change the contents of variable COMPILER-FLAGS-VAR so that they are Libtool friendly, ie. prefix each of them with `-Xcompiler' so that Libtool doesn't remove them.
Ludovic Courtès <ludo@chbouib.org>
2004-09-07
AC_DEFUN([AC_LIBTOOLIZE_CFLAGS],
[ac_libtoolize_ldflags_temp=""
for i in $$1
do
ac_libtoolize_ldflags_temp="$ac_libtoolize_ldflags_temp -Xcompiler $i"
done
$1="$ac_libtoolize_ldflags_temp"])dnl