$NetBSD: patch-aa,v 1.2 2012/11/16 00:41:33 joerg Exp $

--- configure.orig	2005-07-01 07:52:28.000000000 +0000
+++ configure
@@ -19403,7 +19403,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
 
 # Add options to compiler command line, if compiler accepts it
-function add_compiler_opts() {
+add_compiler_opts() {
 	for option in $* ; do
 		SAVE_CXXFLAGS="$CXXFLAGS"
 		CXXFLAGS="$CXXFLAGS $option"
@@ -19650,7 +19650,7 @@ _ACEOF
 echo "$as_me:$LINENO: result: ${std}" >&5
 echo "${ECHO_T}${std}" >&6
 if ! test -z "${std}" ; then
-	usestd="using namespace ${std};"
+	usestd="namespace ${std} {} using namespace ${std};"
 fi
 
 
