summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2015-05-15 10:25:46 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2015-09-21 16:08:30 -0700
commitaa5606be1c0ea72b38de48ca333c7da5436368ef (patch)
treea224075365a3fad0ba3f2859d499ded10850d4aa /configure.ac
parentfa0bb01899d586e02cf51892c17edd22e462a46c (diff)
Make configure test for LD_NO_UNDEFINED_FLAG on Solaris work w/autoconf 2.69
After upgrading from autoconf 2.68 to 2.69, this test started failing with "conftest.c", line 149: undefined symbol: NULL so use a raw 0 pointer to avoid header dependencies in the autoconf generated test case. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 0ab756dc7..bb56529cf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1760,7 +1760,7 @@ case "$host_os" in
# XORG_DRIVER_LIBS="-Wl,-z,defs -Wl,-z,parent=${bindir}/Xorg"
],[],
[AC_LANG_SOURCE([extern int main(int argc, char **argv);
- int call_main(void) { return main(0, NULL); }])])
+ int call_main(void) { return main(0, (void *)0); }])])
rm -f conftest.parent
])
;;