diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-07-26 14:11:59 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-07-26 14:11:59 (GMT) |
commit | dbbe605e74981331368e171f87bbd0837aaceeb2 (patch) | |
tree | 6742edde24e9d9faebd916c4a5b5e22f26c3af3d /bootstrap | |
parent | cc2173478e572faa7f8b3a12143b5092454b30fc (diff) | |
download | CMake-dbbe605e74981331368e171f87bbd0837aaceeb2.zip CMake-dbbe605e74981331368e171f87bbd0837aaceeb2.tar.gz CMake-dbbe605e74981331368e171f87bbd0837aaceeb2.tar.bz2 |
ENH: put back so it works on hp
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |