no more -fPIC check; refs #41

master
Marc Wäckerlin 10 years ago
parent d7f4952012
commit 6b1bdb8d85
  1. 6
      ax_check_qt.m4

@ -78,10 +78,4 @@ AC_DEFUN([AX_CXX_CHECK_QT], [
AM_CONDITIONAL(HAVE_$1, test $HAVE_$1 -eq 1) AM_CONDITIONAL(HAVE_$1, test $HAVE_$1 -eq 1)
AC_SUBST(AM_CPPFLAGS) AC_SUBST(AM_CPPFLAGS)
AC_SUBST(AM_CXXFLAGS) AC_SUBST(AM_CXXFLAGS)
AX_CHECK_COMPILE_FLAG(-fPIC, [AM_CXXFLAGS+=" -fPIC"])
AX_CHECK_COMPILE_FLAG(-DPIC, [AM_CXXFLAGS+=" -DPIC"])
AX_CHECK_COMPILE_FLAG(-fPIE, [AM_CXXFLAGS+=" -fPIE"])
AX_CHECK_LINK_FLAG(-fPIC, [LDFLAGS+=" -fPIC"])
AX_CHECK_LINK_FLAG(-DPIC, [LDFLAGS+=" -DPIC"])
AX_CHECK_LINK_FLAG(-fPIE, [LDFLAGS+=" -fPIE"])
]) ])

Loading…
Cancel
Save