[Macro Index Page] | [Download M4 Source] |
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.
20040907
Ludovic Courtès <ludo@chbouib.org>
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