openbsd-ports/devel/glog/patches/patch-configure
landry beea239526 Import glog-0.3.0:
The glog library implements application-level logging. This library
provides logging APIs based on C++-style streams and various helper
macros.
From MAINTAINER Vicent Auclair (thanks!) @ ACSEL and a few tweaks by me
2009-12-31 15:48:59 +00:00

30 lines
1.3 KiB
Plaintext

$OpenBSD: patch-configure,v 1.1.1.1 2009/12/31 15:48:59 landry Exp $
--- configure.orig Thu Jul 30 14:29:42 2009
+++ configure Fri Nov 27 23:35:25 2009
@@ -2470,6 +2470,7 @@ ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+acxx_link='$CXX -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
@@ -23954,7 +23955,7 @@ case "(($ac_try" in
*) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_link") 2>conftest.er1
+ (eval "$acxx_link") 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
@@ -24068,7 +24069,7 @@ do
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_GMOCK_CONFIG=""yes""
+ ac_cv_prog_GMOCK_CONFIG=""no""
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi