diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 4a61c82f4..c704da3d3 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: configure.ac,v 1.27 2002/03/22 17:23:26 stevesk Exp $ | 1 | # $Id: configure.ac,v 1.28 2002/03/22 18:19:54 stevesk Exp $ |
2 | 2 | ||
3 | AC_INIT | 3 | AC_INIT |
4 | AC_CONFIG_SRCDIR([ssh.c]) | 4 | AC_CONFIG_SRCDIR([ssh.c]) |
@@ -1603,6 +1603,32 @@ if test "x$ac_cv_libc_defines___progname" = "xyes" ; then | |||
1603 | AC_DEFINE(HAVE___PROGNAME) | 1603 | AC_DEFINE(HAVE___PROGNAME) |
1604 | fi | 1604 | fi |
1605 | 1605 | ||
1606 | AC_CACHE_CHECK([whether $CC implements __FUNCTION__], ac_cv_cc_implements___FUNCTION__, [ | ||
1607 | AC_TRY_LINK([ | ||
1608 | #include <stdio.h> | ||
1609 | ], | ||
1610 | [ printf("%s", __FUNCTION__); ], | ||
1611 | [ ac_cv_cc_implements___FUNCTION__="yes" ], | ||
1612 | [ ac_cv_cc_implements___FUNCTION__="no" ] | ||
1613 | ) | ||
1614 | ]) | ||
1615 | if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then | ||
1616 | AC_DEFINE(HAVE___FUNCTION__) | ||
1617 | fi | ||
1618 | |||
1619 | AC_CACHE_CHECK([whether $CC implements __func__], ac_cv_cc_implements___func__, [ | ||
1620 | AC_TRY_LINK([ | ||
1621 | #include <stdio.h> | ||
1622 | ], | ||
1623 | [ printf("%s", __func__); ], | ||
1624 | [ ac_cv_cc_implements___func__="yes" ], | ||
1625 | [ ac_cv_cc_implements___func__="no" ] | ||
1626 | ) | ||
1627 | ]) | ||
1628 | if test "x$ac_cv_cc_implements___func__" = "xyes" ; then | ||
1629 | AC_DEFINE(HAVE___func__) | ||
1630 | fi | ||
1631 | |||
1606 | AC_CACHE_CHECK([whether getopt has optreset support], | 1632 | AC_CACHE_CHECK([whether getopt has optreset support], |
1607 | ac_cv_have_getopt_optreset, [ | 1633 | ac_cv_have_getopt_optreset, [ |
1608 | AC_TRY_LINK( | 1634 | AC_TRY_LINK( |