Changeset 273d4cce9641aea3d517d9617002bd89b432f256

Show
Ignore:
Timestamp:
03/06/08 16:39:41 (6 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1204821581 +0000
git-parent:

[0d0bc57be1657a2514de979adfc3438f8e9e3884]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1204821581 +0000
Message:

reorder ssl/crypto lib check and make the lack of libnetsmp and libssh2 non-fatal

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • configure.in

    r4330e3d r273d4cc  
    3535        MODULELD="$CC -shared" 
    3636        MODULEEXT=so 
     37        LDFLAGS="$LDFLAGS -L/usr/local/lib" 
     38        CFLAGS="$CFLAGS -I/usr/local/include -I/usr/local/include/postgresql" 
    3739        ;; 
    3840*) 
     
    6163AC_CHECK_LIB(termcap, tputs, , ) 
    6264AC_CHECK_LIB(curses, clear, , ) 
     65AC_CHECK_LIB(crypto, ERR_load_CRYPTO_strings, , 
     66        [ 
     67                AC_MSG_ERROR([libssl not found, but required]) 
     68        ] 
     69) 
    6370AC_CHECK_LIB(ssl, SSL_library_init, , 
    64         [ 
    65                 AC_MSG_ERROR([libssl not found, but required]) 
    66         ] 
    67 ) 
    68 AC_CHECK_LIB(crypto, ERR_load_CRYPTO_strings, , 
    6971        [ 
    7072                AC_MSG_ERROR([libssl not found, but required]) 
     
    106108        ], 
    107109        [ 
    108                 AC_MSG_ERROR([No libnetsnmp, skipping snmp module]) 
     110                AC_MSG_WARN([No libnetsnmp, skipping snmp module]) 
    109111        ] 
    110112) 
     
    118120        ], 
    119121        [ 
    120                 AC_MSG_ERROR([No libssh2, skipping ssh2 module]) 
     122                AC_MSG_WARN([No libssh2, skipping ssh2 module]) 
    121123        ] 
    122124)