aboutsummaryrefslogtreecommitdiff
path: root/package/sudo/sudo-1.6.8p12-002-no-cxx-configcheck.patch
blob: 0a0b0a46abec4c3c1d9769e1ae4ba2764df7e30a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff -u sudo-1.6.8p12.orig/configure sudo-1.6.8p12/configure
--- sudo-1.6.8p12.orig/configure	2006-12-21 12:06:02.000000000 +0100
+++ sudo-1.6.8p12/configure	2006-12-21 12:12:06.000000000 +0100
@@ -6072,7 +6072,8 @@
 fi
 
 done
-
+if test -n "$CXX"
+then
 ac_ext=cc
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -6654,7 +6655,7 @@
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-
+fi
 ac_ext=f
 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'