aboutsummaryrefslogtreecommitdiffstats
path: root/macros/psiconv.m4
diff options
context:
space:
mode:
authorgfarris <gfarris@src.gnome.org>2001-12-04 12:46:41 +0800
committergfarris <gfarris@src.gnome.org>2001-12-04 12:46:41 +0800
commitedd7c48be63e486f0c8c424fdc556c57503c4374 (patch)
treef2f245320b0bc90a72dd0ef4b3d977bc8a9bc051 /macros/psiconv.m4
parent4afdf27f16d59449354dd3b5d71248b750c0a20b (diff)
downloadgsoc2013-evolution-edd7c48be63e486f0c8c424fdc556c57503c4374.tar
gsoc2013-evolution-edd7c48be63e486f0c8c424fdc556c57503c4374.tar.gz
gsoc2013-evolution-edd7c48be63e486f0c8c424fdc556c57503c4374.tar.bz2
gsoc2013-evolution-edd7c48be63e486f0c8c424fdc556c57503c4374.tar.lz
gsoc2013-evolution-edd7c48be63e486f0c8c424fdc556c57503c4374.tar.xz
gsoc2013-evolution-edd7c48be63e486f0c8c424fdc556c57503c4374.tar.zst
gsoc2013-evolution-edd7c48be63e486f0c8c424fdc556c57503c4374.zip
*** empty log message ***
svn path=/trunk/; revision=14857
Diffstat (limited to 'macros/psiconv.m4')
-rw-r--r--macros/psiconv.m453
1 files changed, 0 insertions, 53 deletions
diff --git a/macros/psiconv.m4 b/macros/psiconv.m4
deleted file mode 100644
index eaf56f43ac..0000000000
--- a/macros/psiconv.m4
+++ /dev/null
@@ -1,53 +0,0 @@
-dnl
-dnl PSICONV_INIT
-dnl
-
-AC_DEFUN([PSICONV_INIT],[
- AC_SUBST(PSICONV_LIBS)
- AC_SUBST(PSICONV_CFLAGS)
-
- AC_ARG_WITH(psiconv-includes,
- [ --with-psiconv-includes Specify location of Psiconv headers],[
- psiconv_cflags="-I$withval"
- ])
-
- AC_ARG_WITH(psiconv-libs,
- [ --with-psiconv-libs Specify location of Psiconv libs],[
- psiconv_libs="-L$withval"
- ])
-
- AC_ARG_WITH(psiconv,
- [ --with-psiconv Enable/disable Psiconv support],
- if test x$withval = xyes; then
- want_psiconv=yes
- else
- if test "x$withval" = xno; then
- want_psiconv=no
- else
- want_psiconv=yes
- fi
- fi,
- want_psiconv=yes)
-
-
- if test "$want_psiconv" = "yes"; then
- ac_save_CFLAGS="$CFLAGS"
- ac_save_LIBS="$LIBS"
- CFLAGS="$CFLAGS $psiconv_cflags"
- LIBS="$LIBS $psiconv_libs"
- AC_CHECK_LIB(psiconv,psiconv_parse,want_psiconv=yes,want_psiconv=no)
- CFLAGS="$ac_save_CFLAGS"
- LIBS="$ac_save_LIBS"
- fi
-
- if test "$want_psiconv" = "yes"; then
- PSICONV_LIBS="${psiconv_libs} -lpsiconv"
- PSICONV_CFLAGS="$psiconv_cflags"
- with_psiconv=true
- else
- PSICONV_LIBS=""
- PSICONV_CFLAGS=""
- with_psiconv=false
- fi
- AM_CONDITIONAL(WITH_PSICONV,$with_psiconv)
-])