Index: configure.in =================================================================== RCS file: /afs/ncsa.uiuc.edu/src/ssh/CVSTREE/ssh/configure.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- configure.in 1999/01/28 20:28:54 1.2 +++ configure.in 1999/01/28 21:07:04 1.3 @@ -1335,6 +1335,20 @@ AC_DEFINE(SCP_ALL_STATISTICS_ENABLED) ) +AC_MSG_CHECKING(whether to link statically) +AC_ARG_WITH(static-linking, +[ --with-static-linking Link binaries statically], +[ case "$withval" in + no) + AC_MSG_RESULT(no) + ;; + *) + AC_MSG_RESULT(yes) + LDFLAGS="-static $LDFLAGS" + esac], +AC_MSG_RESULT(no) +) + # We include this here only to make it visible in --help; this is only used # in the gmp subdirectory. AC_ARG_ENABLE(asm, Index: configure.in =================================================================== RCS file: /afs/ncsa.uiuc.edu/src/ssh/CVSTREE/ssh/gmp-2.0.2-ssh-2/configure.in,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- configure.in 1999/01/22 16:37:09 1.1 +++ configure.in 1999/01/28 21:06:44 1.2 @@ -509,6 +509,20 @@ AC_CACHE_VAL(ac_cv_gmp_other_links, [ ac_cv_gmp_other_links="$other_links" ]) AC_MSG_RESULT(done) +AC_MSG_CHECKING(whether to link statically) +AC_ARG_WITH(static-linking, +[ --with-static-linking Link binaries statically], +[ case "$withval" in + no) + AC_MSG_RESULT(no) + ;; + *) + AC_MSG_RESULT(yes) + LDFLAGS="-static $LDFLAGS" + esac], +AC_MSG_RESULT(no) +) + MPN_DISTCLEANFILES="$ac_cv_gmp_asm_links $ac_cv_gmp_other_links gmp-mparam.h asm-syntax.h conftest.c" (cd mpn; rm -f $MPN_DISTCLEANFILES) (cd mpn; $LN_S $ac_cv_gmp_asm_files $ac_cv_gmp_other_files .)