diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-02-01 14:39:33 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-02-01 14:39:33 +0000 |
commit | 73608fa00b9366e30d947d6d301db0484acf936f (patch) | |
tree | c437a3b5a1a1e6973df73cb39bd2caeb60dc8c37 /configure | |
parent | 7e1662839a13794af3b0262b8cb99c0965acf072 (diff) | |
download | mpv-73608fa00b9366e30d947d6d301db0484acf936f.tar.bz2 mpv-73608fa00b9366e30d947d6d301db0484acf936f.tar.xz |
cosmetics: Fix indentation after last commit.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28440 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 26 |
1 files changed, 13 insertions, 13 deletions
@@ -2937,26 +2937,26 @@ elif cc_check $_ld_sock -lresolv ; then 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" |