[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r30132 - in branches/nfc-nfd-aware-client: . build/ac-macros

From: Arfrever Frehtes Taifersar Arahesis <arfrever.fta_at_gmail.com>
Date: Mon, 31 Mar 2008 18:48:41 +0200

2008-03-31 13:50 dionisos_at_tigris.org <dionisos_at_tigris.org> napisaƂ(a):
> Added: branches/nfc-nfd-aware-client/build/ac-macros/utf8proc.m4
> URL: http://svn.collab.net/viewvc/svn/branches/nfc-nfd-aware-client/build/ac-macros/utf8proc.m4?pathrev=30132
> ==============================================================================
> --- /dev/null 00:00:00 1970 (empty, because file is newly added)
> +++ branches/nfc-nfd-aware-client/build/ac-macros/utf8proc.m4 Mon Mar 31 04:50:28 2008 (r30132)
> @@ -0,0 +1,77 @@
> +dnl
> +dnl SVN_LIB_UTF8PROC
> +dnl
> +dnl Check configure options and assign variables related to
> +dnl the utf8proc library.
> +dnl
> +dnl If we find the library, set the shell variable
> +dnl `svn_lib_utf8proc' to `yes'. Otherwise, set `svn_lib_utf8proc'
> +dnl to `no'.
> +
> +AC_DEFUN(SVN_LIB_UTF8PROC,
> +[
> + AC_ARG_WITH(utf8proc, [AS_HELP_STRING([--with-utf8proc=PATH],
> + [Compile with utf8proc in PATH])],
> + [
> + with_utf8proc="$withval"
> + required="yes"
> + ],
> + [
> + with_utf8proc="yes"
> + required="no"
> + ])
> +
> + AC_MSG_CHECKING([whether to look for utf8proc])
> +
> + if test "${with_utf8proc}" = "no"; then
> + AC_MSG_RESULT([no])
> + svn_lib_utf8proc=no
> + else
> + AC_MSG_RESULT([yes])
> + saved_LDFLAGS="$LDFLAGS"
> + saved_CPPFLAGS="$CPPFLAGS"
> +
> + dnl If the user doesn't specify a (valid) directory
> + dnl (or he doesn't supply a --with-sasl option at all), we

"--with-sasl" :)

> + dnl want to look in the default directories: /usr and /usr/local.
> + dnl However, the compiler always looks in /usr/{lib,include} anyway,
> + dnl so we only need to look in /usr/local
> +
> + if test ! -d ${with_utf8proc}; then
> + AC_MSG_NOTICE([Looking in default locations])
> + with_utf8proc="/usr/local"
> + fi
> +
> + SVN_UTF8PROC_INCLUDES="-I${with_utf8proc}/include"
> + CPPFLAGS="$CPPFLAGS $SVN_UTF8PROC_INCLUDES"
> + LDFLAGS="$LDFLAGS -L${with_utf8proc}/lib"
> +
> + AC_CHECK_HEADER(utf8proc.h,
> + [AC_CHECK_LIB(utf8proc, utf8proc_map,
> + svn_lib_utf8proc=yes,
> + svn_lib_utf8proc=no)],
> + svn_lib_utf8proc=no)
> +
> + AC_MSG_CHECKING([for availability of utf8proc])
> + if test "$svn_lib_utf8proc" = "yes"; then
> + SVN_UTF8PROC_LIBS="-lutf8proc"
> + AC_MSG_RESULT([yes])
> + else
> + AC_MSG_RESULT([no])
> +
> + if test "$required" = "yes"; then
> + dnl The user explicitly requested SASL, but we couldn't find it.

"SASL" :)

> + dnl Exit with an error message.
> + AC_MSG_ERROR([Could not find utf8proc])
> + fi
> +
> + SVN_UTF8PROC_INCLUDES=""
> + LDFLAGS="$saved_LDFLAGS"
> + fi
> +
> + CPPFLAGS="$saved_CPPFLAGS"
> + fi
> +
> + AC_SUBST(SVN_UTF8PROC_INCLUDES)
> + AC_SUBST(SVN_UTF8PROC_LIBS)
> +])
>
> Modified: branches/nfc-nfd-aware-client/configure.ac
> URL: http://svn.collab.net/viewvc/svn/branches/nfc-nfd-aware-client/configure.ac?pathrev=30132&r1=30131&r2=30132
> ==============================================================================
> --- branches/nfc-nfd-aware-client/configure.ac Mon Mar 31 04:24:41 2008 (r30131)
> +++ branches/nfc-nfd-aware-client/configure.ac Mon Mar 31 04:50:28 2008 (r30132)
> @@ -1,7 +1,7 @@
> dnl configure.ac: Autoconfiscation for Subversion
> dnl Process this file with autoconf to produce a configure script.
>
> -AC_PREREQ(2.58)
> +APR_PREREQ(2.58)

What is APR_PREREQ?
Received on 2008-03-31 18:49:07 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.