View | Details | Raw Unified | Return to bug 59996
Collapse All | Expand All

(-)file_not_specified_in_diff (-6 / +7 lines)
Line  Link Here
0
-- native/build/tcnative.m4
0
++ native/build/tcnative.m4
Lines 210-231 case "$use_openssl" in Link Here
210
            TCN_OPENSSL_LIBS="-lssl -lcrypto"
210
            TCN_OPENSSL_LIBS="-lssl -lcrypto"
211
        else
211
        else
212
            TCN_OPENSSL_INC="-I$use_openssl/include"
212
            TCN_OPENSSL_INC="-I$use_openssl/include"
213
            test -d $use_openssl/lib64 && libdir=lib64 || libdir=lib
213
            case $host in
214
            case $host in
214
            *-solaris*)
215
            *-solaris*)
215
                TCN_OPENSSL_LIBS="-L$use_openssl/lib -R$use_openssl/lib -lssl -lcrypto"
216
                TCN_OPENSSL_LIBS="-L$use_openssl/$libdir -R$use_openssl/$libdir -lssl -lcrypto"
216
                ;;
217
                ;;
217
            *-hp-hpux*)
218
            *-hp-hpux*)
218
                TCN_OPENSSL_LIBS="-L$use_openssl/lib -Wl,+b: -lssl -lcrypto"
219
                TCN_OPENSSL_LIBS="-L$use_openssl/$libdir -Wl,+b: -lssl -lcrypto"
219
                ;;
220
                ;;
220
            *linux*)
221
            *linux*)
221
                TCN_OPENSSL_LIBS="-L$use_openssl/lib -Wl,-rpath,$use_openssl/lib -lssl -lcrypto"
222
                TCN_OPENSSL_LIBS="-L$use_openssl/$libdir -Wl,-rpath,$use_openssl/$libdir -lssl -lcrypto"
222
                ;;
223
                ;;
223
            *)
224
            *)
224
                TCN_OPENSSL_LIBS="-L$use_openssl/lib -lssl -lcrypto"
225
                TCN_OPENSSL_LIBS="-L$use_openssl/$libdir -lssl -lcrypto"
225
                ;;
226
                ;;
226
            esac
227
            esac
227
        fi
228
        fi
228
        AC_MSG_RESULT(using openssl from $use_openssl/lib and $use_openssl/include)
229
        AC_MSG_RESULT(using openssl from $use_openssl/$libdir and $use_openssl/include)
229
230
230
        saved_cflags="$CFLAGS"
231
        saved_cflags="$CFLAGS"
231
        saved_libs="$LIBS"
232
        saved_libs="$LIBS"

Return to bug 59996