Home modules.gotpike.org
Username: Password: [Create Account]
[Forgot Password?]

Modules

ADT
Database
GTK2
GUI
IP
PiJAX
Public
Sql
Stdio
Subversion
System
Tools
Xosd
lua
v4l2
wx

Recent Changes

Public.Parser.XML2 1.50
Public.ZeroMQ 1.1
Public.Template.Mustache 1.0
Public.Protocols.XMPP 1.4
Sql.Provider.jdbc 1.0

Popular Downloads

Public.Parser.JSON2 1.0
Public.Parser.JSON 0.2
GTK2 2.23
Public.Web.FCGI 1.8
Public.Parser.XML2 1.48


Module Information
Subversion
Viewing contents of Subversion-0.112/configure.in

# $Id: configure.in 104 2005-03-12 23:06:20Z marcus $
AC_INIT(svnmod.c)
AC_CONFIG_HEADER(config.h)
AC_PREREQ(2.50)

AC_MODULE_INIT()

MY_AC_PATH_PROG(SVN_CONFIG,svn-config,no)

if test no = "$SVN_CONFIG"; then
  for d in "/usr/include" "/usr/local/include" "${prefix}/include" "${ac_default_prefix}/include"; do
    if test -d "${d}/subversion-1"; then
      SVN_INCLUDES="-I${d}/subversion-1"
    fi
  done
else
  SVN_CFLAGS="`\"\$SVN_CONFIG\" --cflags`"
  SVN_CPPFLAGS="`\"\$SVN_CONFIG\" --cppflags`"
  SVN_INCLUDES="`\"\$SVN_CONFIG\" --includes`"
  SVN_LDFLAGS="`\"\$SVN_CONFIG\" --ldflags` -L`\"\$SVN_CONFIG\" --prefix`/lib"
  SVN_LIBS="`\"\$SVN_CONFIG\" --libs`"
fi

MY_AC_PATH_PROG(APR_CONFIG,apr-config,no,[[$PATH ${exec_prefix}/apr/bin ${prefix}/apr/bin ${ac_default_prefix}/apr/bin]])

if test no = "$APR_CONFIG"; then
  :
else
  SVN_CFLAGS="${SVN_CFLAGS} `\"\$APR_CONFIG\" --cflags`"
  SVN_CPPFLAGS="${SVN_CPPFLAGS} `\"\$APR_CONFIG\" --cppflags`"
  SVN_INCLUDES="${SVN_INCLUDES} `\"\$APR_CONFIG\" --includes`"
  SVN_LDFLAGS="${SVN_LDFLAGS} `\"\$APR_CONFIG\" --ldflags`"
  SVN_LIBS="${SVN_LIBS} `\"\$APR_CONFIG\" --libs`"
fi

old_LIBS="$LIBS"
LIBS="$SVN_LIBS"

AC_CHECK_LIB(svn_subr-1,svn_io_check_path)
AC_CHECK_LIB(svn_auth-1,svn_auth_first_credentials)
AC_CHECK_LIB(svn_delta-1,svn_txdelta)
AC_CHECK_LIB(svn_repos-1,svn_repos_open)
AC_CHECK_LIB(svn_fs-1,svn_fs_parse_id)
AC_CHECK_LIB(svn_ra_local-1,svn_ra_local_init)
AC_CHECK_LIB(svn_ra_dav-1,svn_ra_dav_init)
AC_CHECK_LIB(svn_ra-1,svn_ra_init_ra_libs)
AC_CHECK_LIB(svn_wc-1,svn_wc_adm_open)
AC_CHECK_LIB(svn_client-1,svn_client_checkout)

SVN_LIBS="$LIBS"
LIBS="$old_LIBS"

AC_SUBST(SVN_CFLAGS)
AC_SUBST(SVN_CPPFLAGS)
AC_SUBST(SVN_INCLUDES)
AC_SUBST(SVN_LDFLAGS)
AC_SUBST(SVN_LIBS)

AC_OUTPUT(Makefile,echo FOO >stamp-h )


gotpike.org | Copyright © 2004 - 2019 | Pike is a trademark of Department of Computer and Information Science, Linköping University