Mercurial > mplayer.hg
changeset 28405:73908b8bd543
cosmetics: Fix indentation after last commit.
author | diego |
---|---|
date | Sun, 01 Feb 2009 14:39:33 +0000 |
parents | 613f075b4ef0 |
children | 913ded838571 |
files | configure |
diffstat | 1 files changed, 13 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Sun Feb 01 14:38:28 2009 +0000 +++ b/configure Sun Feb 01 14:39:33 2009 +0000 @@ -2937,26 +2937,26 @@ fi echores "$inet_pton" - echocheck "inet_aton()" +echocheck "inet_aton()" def_inet_aton='#define HAVE_INET_ATON 0' inet_aton=no - cat > $TMPC << EOF +cat > $TMPC << EOF #include <sys/types.h> #include <sys/socket.h> #include <arpa/inet.h> int main(void) { (void) inet_aton(0, 0); return 0; } EOF - if cc_check $_ld_sock ; then - # NOTE: Linux has libresolv but does not need it - test $_ld_sock && _res_comment="using $_ld_sock" - def_inet_aton='#define HAVE_INET_ATON 1' - inet_aton=yes - elif cc_check $_ld_sock -lresolv ; then - _ld_sock="$_ld_sock -lresolv" - _res_comment="using $_ld_sock" - def_inet_aton='#define HAVE_INET_ATON 1' - inet_aton=yes - fi +if cc_check $_ld_sock ; then + # NOTE: Linux has libresolv but does not need it + test $_ld_sock && _res_comment="using $_ld_sock" + def_inet_aton='#define HAVE_INET_ATON 1' + inet_aton=yes +elif cc_check $_ld_sock -lresolv ; then + _ld_sock="$_ld_sock -lresolv" + _res_comment="using $_ld_sock" + def_inet_aton='#define HAVE_INET_ATON 1' + inet_aton=yes +fi echores "$inet_aton"