summaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-07-26 14:11:59 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-07-26 14:11:59 (GMT)
commitdbbe605e74981331368e171f87bbd0837aaceeb2 (patch)
tree6742edde24e9d9faebd916c4a5b5e22f26c3af3d /bootstrap
parentcc2173478e572faa7f8b3a12143b5092454b30fc (diff)
downloadCMake-dbbe605e74981331368e171f87bbd0837aaceeb2.zip
CMake-dbbe605e74981331368e171f87bbd0837aaceeb2.tar.gz
CMake-dbbe605e74981331368e171f87bbd0837aaceeb2.tar.bz2
ENH: put back so it works on hp
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap6
1 files changed, 3 insertions, 3 deletions
diff --git a/bootstrap b/bootstrap
index 9dff3df..1fb6698 100755
--- a/bootstrap
+++ b/bootstrap
@@ -537,10 +537,10 @@ fi
TMPFILE=`cmake_tmp_file`
cat > "${TMPFILE}.c" <<EOF
#include<stdio.h>
-int main(int argc, char* argv[])
+int main()
{
- printf("%d\n", (argv != 0));
- return argc-1;
+ printf("1\n");
+ return 0;
}
EOF
for a in ${cmake_c_compilers}; do