- increased compatibility with RedHat's readline-4.2-1 package
[ginac.git] / acinclude.m4
index 12350184e76403c573c38cd4fb136e4185f5bee5..e52e450145800c87d11aff0e5d97a2e7a5e38a0b 100644 (file)
@@ -23,7 +23,7 @@ main()
     fd = fopen("conftest.out", "w");
     fprintf(fd, "%s\n", rl_library_version);
     fclose(fd);
-    exit(0);
+    return 0;
 }], ginac_cv_rlversion=`cat 'conftest.out'`, ginac_cv_rlversion='unknown', ginac_cv_rlversion='4.2')
 if test "x${ginac_cv_rlversion}" != "xunknown"; then
   RL_VERSION_MAJOR=`echo ${ginac_cv_rlversion} | sed -e 's/\([[0-9]]\)\.\([[0-9]]\)/\1/'`