File: ac_libtoolize_cflags.m4

package info (click to toggle)
autoconf-archive 20060312-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 4,180 kB
  • ctags: 13
  • sloc: sh: 455; makefile: 44
file content (18 lines) | stat: -rw-r--r-- 571 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
dnl @synopsis AC_LIBTOOLIZE_CFLAGS(COMPILER-FLAGS-VAR)
dnl
dnl Change the contents of variable COMPILER-FLAGS-VAR so that they are
dnl Libtool friendly, ie. prefix each of them with `-Xcompiler' so that
dnl Libtool doesn't remove them.
dnl
dnl @category Misc
dnl @author Ludovic Courts <ludo@chbouib.org>
dnl @version 2004-09-07
dnl @license AllPermissive

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