r9372@totoro: nickm | 2006-11-21 10:59:47 -0500

Small cross-compilation fixes.


svn:r8980
This commit is contained in:
Nick Mathewson 2006-11-21 23:50:31 +00:00
parent facc49cf6f
commit d97c759138
2 changed files with 5 additions and 5 deletions

View File

@ -281,8 +281,8 @@ AC_CACHE_CHECK([whether we need extra options to link libevent],
int main(int c, char **v) { int main(int c, char **v) {
event_init(); return 0; event_init(); return 0;
}], }],
libevent_runs=yes, libevent_runs=no) libevent_runs=yes, libevent_runs=no, libevent_runs=cross)
if test $libevent_runs = yes ; then if test $libevent_runs != no ; then
if test -z "$le_extra" ; then if test -z "$le_extra" ; then
ac_cv_libevent_linker_option='(none)' ac_cv_libevent_linker_option='(none)'
else else
@ -402,8 +402,8 @@ int main(void)
return(RAND_status() <= 0); return(RAND_status() <= 0);
} }
], ],
openssl_runs=yes, openssl_runs=no) openssl_runs=yes, openssl_runs=no, openssl_runs=cross)
if test $openssl_runs = yes ; then if test $openssl_runs != no ; then
if test "$linked_with" = nothing; then if test "$linked_with" = nothing; then
linked_with="$ssl_extra" linked_with="$ssl_extra"
fi fi

View File

@ -124,7 +124,7 @@ then
exit $EXITVAL exit $EXITVAL
fi fi
if [ ! -z $GEN_BUILD -a ! -f configure ] if [ ! -z "$GEN_BUILD" -a ! -f configure ]
then then
export NOCONF=yes export NOCONF=yes
./autogen.sh ./autogen.sh