aboutsummaryrefslogtreecommitdiffstats
path: root/macros
diff options
context:
space:
mode:
Diffstat (limited to 'macros')
-rw-r--r--macros/ChangeLog4
-rw-r--r--macros/psiconv.m453
2 files changed, 57 insertions, 0 deletions
diff --git a/macros/ChangeLog b/macros/ChangeLog
index f7c7173ad9..4b2db43891 100644
--- a/macros/ChangeLog
+++ b/macros/ChangeLog
@@ -1,3 +1,7 @@
+2001-07-24 Jody Goldberg <jgoldberg@home.com>
+
+ * psiconv.m4 : Add psion macros from Frodo Looijaard <frodol@dds.nl>
+
2001-07-24 Frederic Crozat <fcrozat@mandrakesoft.com>
* gnome-print-check.m4 (AM_PATH_GNOME_PRINT):
diff --git a/macros/psiconv.m4 b/macros/psiconv.m4
new file mode 100644
index 0000000000..eaf56f43ac
--- /dev/null
+++ b/macros/psiconv.m4
@@ -0,0 +1,53 @@
+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)
+])
3436b0eda74839a1c7b9336'>The FreeBSD KDE is please to announce the release of KDE 4.3.4,miwi2009-12-021-3/+3 * The KDE FreeBSD team is proud to announce the release of KDE 4.3.3miwi2009-11-273-6/+5 * lzmautils-devel -> xznaddy2009-09-211-1/+2 * The FreeBSD KDE is please to announce the release of KDE 4.3.1,tabthorpe2009-09-023-5/+4 * Mk/bsd.kde4.mk:makc2009-08-102-18/+8 * The KDE FreeBSD team is proud to announce the release of KDE 4.3.0miwi2009-08-055-49/+87 * - bump all port that indirectly depends on libjpeg and have not yet been bump...dinoex2009-07-311-0/+1 * The KDE FreeBSD team is pleased to announce KDE 4.2.4, the last bugfixmiwi2009-06-032-4/+3 * Add optional dependency on print/kdeutils4-printer-appletmakc2009-05-161-1/+9 * Chase libgmp and bump PORTREVISION.ale2009-05-131-1/+2 * Update KDE ports to 4.2.3makc2009-05-103-9/+14 * - Mark all kde4 ports MAKE_JOBS_UNSAFEmiwi2009-04-171-1/+1 * The KDE FreeBSD team is proud to announce the release of KDE 4.2.2miwi2009-04-023-7/+9 * bump PORTREVISION after cmake updatemakc2009-03-251-0/+1 * Update KDE to 4.2.1.makc2009-03-092-3/+23 * The KDE FreeBSD team is proud to announce the release of KDE 4.2.0miwi2009-02-094-68/+32 * kde@freebsd team is pleased to announce KDE 4.1.4, the last bugfix release in...makc2009-01-143-5/+9 * Bump PORTREVISION's after OpenLDAP update.delphij2009-01-061-0/+1 * The KDE FreeBSD team is proud to announce the release of KDE 4.1.1miwi2008-09-032-3/+16 * The KDE FreeBSD team is proud to announce the release of KDE 4.1.0miwi2008-08-106-641/+217 * Fix kdeutils for amd64-current (and perhaps other 64-bitdeischen2008-06-041-0/+92 * - Remove USE_GETOPT_LONG which is a no-op since March 2007pav2008-03-201-1/+0