ports/net/nxproxy/files/patch-nxcomp-configure.in
Tilman Keskinoz 95477e3d51 Teach configure about clang
Reported by:	clang pointyhat run
2011-06-21 13:11:17 +00:00

23 lines
498 B
Text

--- ../nxcomp/configure.in.orig 2011-06-21 15:06:20.000000000 +0200
+++ ../nxcomp/configure.in 2011-06-21 15:07:01.000000000 +0200
@@ -5,11 +5,6 @@
AC_INIT(NX.h)
AC_PREREQ(2.13)
-dnl Set our default compilation flags.
-
-CXXFLAGS="-O3 -fno-rtti -fno-exceptions"
-CFLAGS="-O3"
-
dnl Reset default linking directives.
LIBSTATIC=""
@@ -49,7 +44,7 @@
dnl Check for programs.
AC_PROG_CXX
-AC_PROG_CC
+AC_PROG_CC([clang gcc cc])
AC_LANG_CPLUSPLUS
dnl Check whether option -Wno-deprecated