Download M4 Source | Macro History | Category Index |
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
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.