Changeset 3044

Show
Ignore:
Timestamp:
06/29/07 23:49:01 (1 year ago)
Author:
tg
Message:

build with ssl if ssl is found, for the host

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/tools/tntnet/Makefile

    r2728 r3044  
    1111$(WRKBUILD)/.configured: ${WRKBUILD}/.prepared 
    1212        mkdir -p $(STAGING_TOOLS)/bin 
    13         cd $(WRKBUILD); rm -rf config.cache; \ 
     13        ssl=openssl; \ 
     14        test -e /usr/include/openssl/ssl.h || ssl=no; \ 
     15        for a in /usr/lib/libssl.*; do \ 
     16                test -e "$$a" || ssl=no; \ 
     17                break; \ 
     18        done; cd $(WRKBUILD); rm -rf config.cache; \ 
    1419            env \ 
    1520                PATH=$(STAGING_TOOLS)/bin:$$PATH \ 
     
    1924                --with-cgi=no \ 
    2025                --with-server=yes \ 
    21                 --with-ssl=no
     26                --with-ssl=$$ssl
    2227                --with-demos=no \ 
    2328                --disable-nls \