common/autoconf/libraries.m4

changeset 904
37d2736caf46
parent 873
72ef61df77e5
child 961
fd6b64f87155
child 972
f3697e0783e2
     1.1 --- a/common/autoconf/libraries.m4	Wed Oct 30 17:31:01 2013 +0000
     1.2 +++ b/common/autoconf/libraries.m4	Wed Oct 30 13:41:36 2013 -0700
     1.3 @@ -481,10 +481,10 @@
     1.4      AC_MSG_CHECKING([if we can compile and link with freetype])
     1.5      AC_LANG_PUSH(C++)
     1.6      PREV_CXXCFLAGS="$CXXFLAGS"
     1.7 -    PREV_LDFLAGS="$LDFLAGS"
     1.8 +    PREV_LIBS="$LIBS"
     1.9      PREV_CXX="$CXX"
    1.10      CXXFLAGS="$CXXFLAGS $FREETYPE_CFLAGS" 
    1.11 -    LDFLAGS="$LDFLAGS $FREETYPE_LIBS"
    1.12 +    LIBS="$LIBS $FREETYPE_LIBS"
    1.13      CXX="$FIXPATH $CXX"
    1.14      AC_LINK_IFELSE([AC_LANG_SOURCE([[
    1.15            #include<ft2build.h>
    1.16 @@ -508,7 +508,7 @@
    1.17          ]
    1.18      )
    1.19      CXXCFLAGS="$PREV_CXXFLAGS"
    1.20 -    LDFLAGS="$PREV_LDFLAGS"
    1.21 +    LIBS="$PREV_LIBS"
    1.22      CXX="$PREV_CXX"
    1.23      AC_LANG_POP(C++)
    1.24  

mercurial