summaryrefslogtreecommitdiffstats
path: root/c++/configure
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2000-11-15 16:23:21 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2000-11-15 16:23:21 (GMT)
commit8d6ec211c165325b214ca6e559edc4fdfa4d21f9 (patch)
tree502760d6fd263c80f04cab858b8226c930071d3c /c++/configure
parent927e5beba7929b055a56b38a8c9ff843ff9b6e19 (diff)
downloadhdf5-8d6ec211c165325b214ca6e559edc4fdfa4d21f9.zip
hdf5-8d6ec211c165325b214ca6e559edc4fdfa4d21f9.tar.gz
hdf5-8d6ec211c165325b214ca6e559edc4fdfa4d21f9.tar.bz2
[svn-r2917] Purpose:
Bug fix Description: Namespace wasn't being detected properly. Solution: Changed it to do it properly (not putting the main() function in the namespace); Platforms tested: Linux
Diffstat (limited to 'c++/configure')
-rwxr-xr-xc++/configure6
1 files changed, 3 insertions, 3 deletions
diff --git a/c++/configure b/c++/configure
index aaf5539..1576a53 100755
--- a/c++/configure
+++ b/c++/configure
@@ -1832,11 +1832,11 @@ extern "C" void exit(int);
using namespace std;
namespace H5 {
-
-int main(void) { return 0; }
-
+int fnord;
}
+int main(void) { fnord = 37; return 0; }
+
EOF
if { (eval echo configure:1842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then