diff options
author | Thomas Wouters <thomas@python.org> | 2000-08-05 23:28:51 (GMT) |
---|---|---|
committer | Thomas Wouters <thomas@python.org> | 2000-08-05 23:28:51 (GMT) |
commit | 3a58420d86fcad7e1f74d9dbd5a7146207af49ba (patch) | |
tree | 8db0427467a9690a93d74e7c0c803121f10634e8 /config.h.in | |
parent | e8643c465d0b0a4deb396aa51b585335781c906c (diff) | |
download | cpython-3a58420d86fcad7e1f74d9dbd5a7146207af49ba.zip cpython-3a58420d86fcad7e1f74d9dbd5a7146207af49ba.tar.gz cpython-3a58420d86fcad7e1f74d9dbd5a7146207af49ba.tar.bz2 |
Cleanup configure.in. Specifically:
- Don't call both AC_CHECK_FUNCS and AC_REPLACE_FUNC for 'hypot', as the
latter already does everything the former does (because it's implemented as
a call to the former.)
- Don't call AC_CHECK_FUNC() without any 'action' clauses or with an action
clause that just defines HAVE_<function>. Instead, call AC_CHECK_FUNCS,
which defines 'HAVE_<function>' of itself, possibly with aditional 'action'
clauses.
No checks are removed by this patch, only moved around, and some duplicates
are removed.
Diffstat (limited to 'config.h.in')
-rw-r--r-- | config.h.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config.h.in b/config.h.in index 32d5e85..5db7bd7 100644 --- a/config.h.in +++ b/config.h.in @@ -109,9 +109,6 @@ /* Define this if your time.h defines altzone */ #undef HAVE_ALTZONE -/* Define this if you have gethostbyname() */ -#undef HAVE_GETHOSTBYNAME - /* Define this if you have some version of gethostbyname_r() */ #undef HAVE_GETHOSTBYNAME_R @@ -335,6 +332,9 @@ /* Define if you have the getgroups function. */ #undef HAVE_GETGROUPS +/* Define if you have the gethostbyname function. */ +#undef HAVE_GETHOSTBYNAME + /* Define if you have the getlogin function. */ #undef HAVE_GETLOGIN |