config root man

Current Path : /usr/src/crypto/heimdal/cf/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/src/crypto/heimdal/cf/version-script.m4

dnl check if ld supports --version-script
dnl
AC_DEFUN([rk_VERSIONSCRIPT],[
AC_CACHE_CHECK(for ld --version-script, rk_cv_version_script,[
  rk_cv_version_script=no

  cat > conftest.map <<EOF
HEIM_GSS_V1 {
        global: gss*;
};
HEIM_GSS_V1_1 {
        global: gss_init_creds;
} HEIM_GSS_V1;
EOF
cat > conftest.c <<EOF
int gss_init_creds(int foo) { return 0; }
EOF

  if AC_TRY_COMMAND([${CC-cc} $CFLAGS $LDFLAGS -shared
                               -o conftest.so conftest.c
                               -Wl,--version-script,conftest.map]);
  then
    rk_cv_version_script=yes
  fi
rm -f conftest*
])

if test $rk_cv_version_script = yes ; then
  doversioning=yes
  LDFLAGS_VERSION_SCRIPT="-Wl,--version-script,"
else
  doversioning=no
  LDFLAGS_VERSION_SCRIPT=
fi
AC_SUBST(VERSIONING)

AM_CONDITIONAL(versionscript,test $doversioning = yes)
AC_SUBST(LDFLAGS_VERSION_SCRIPT)

])

Man Man