o Remove reading the '-static' flag from the package metadata.
)
AC_SUBST(SSHMODE)
-AC_MSG_CHECKING(whether to build only static binaries)
-AC_ARG_ENABLE(static-only,
-[ --enable-static-only Build only static binaries
- --disable-static-only Build shared binaries where supported (default)],
-[ case "$enableval" in
- yes)
- AC_MSG_RESULT(yes)
- LDFLAGS="$LDFLAGS -static"
- ;;
- *) AC_MSG_RESULT(no)
- ;;
- esac ],
- AC_MSG_RESULT(no)
-)
-
# Where to place sshd.pid
piddir=/var/run
# make sure the directory exists
<Build_Step>
. $GLOBUS_LOCATION/libexec/globus-build-env-FLAVOR_GPTMACRO.sh
- if test "STATIC_LINK_GPTMACRO" = "yes"; then
- static_option=--enable-static-only
- fi
-
- ./configure --prefix=INSTALLDIR_GPTMACRO --with-globus=INSTALLDIR_GPTMACRO --with-globus-flavor=FLAVOR_GPTMACRO --disable-suid-ssh $static_option GSI_OPENSSH_GPTMACRO
+ ./configure --prefix=INSTALLDIR_GPTMACRO --with-globus=INSTALLDIR_GPTMACRO --with-globus-flavor=FLAVOR_GPTMACRO --disable-suid-ssh GSI_OPENSSH_GPTMACRO
</Build_Step>
<Build_Step>