aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2013-10-16 05:36:38 +0300
committerArnold D. Robbins <arnold@skeeve.com>2013-10-16 05:36:38 +0300
commit2c76d05179339ca7100c0e5649dd2e0d50a0cb4c (patch)
tree6aca34865b80892a9d060f0f6001e3360d3adca6 /configure
parent9a5ad7ae3c0bb78eebdf18ede5521e2cd14f111c (diff)
downloadegawk-2c76d05179339ca7100c0e5649dd2e0d50a0cb4c.tar.gz
egawk-2c76d05179339ca7100c0e5649dd2e0d50a0cb4c.tar.bz2
egawk-2c76d05179339ca7100c0e5649dd2e0d50a0cb4c.zip
Fix for readline checks on Solaris.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 03e0838f..ed3aec6b 100755
--- a/configure
+++ b/configure
@@ -10437,7 +10437,8 @@ int main(int argc, char **argv)
dup(fd);
line = readline("giveittome> ");
- printf("got <%s>\n", line);
+ /* some printfs don't handle NULL for %s */
+ printf("got <%s>\n", line ? line : "(NULL)");
return 0;
}
_ACEOF