builtin and then its argument prototype would still apply. */
char $2();
]),
+--- gnuplot-3.7.1/configure.in.orig Thu Aug 19 16:20:19 1999
++++ gnuplot-3.7.1/configure.in Sat Oct 20 21:06:36 2001
+@@ -385,12 +385,12 @@
+ [#ifdef sun
+ yes
+ #endif
+-], AC_CHECK_LIB(suntool, window_create,dnl
+- AC_CHECK_HEADER(suntool/sunview.h,dnl
+- AC_DEFINE(SUN, 1,
++], [AC_CHECK_LIB(suntool, window_create,dnl
++ [AC_CHECK_HEADER(suntool/sunview.h,dnl
++ [AC_DEFINE(SUN, 1,
+ [ Define if you want to use the sunview terminal (sun). ])dnl
+- TERMLIBS="$TERMLIBS -lsuntool -lsunwindow -lpixrect"),,dnl
+- [-lsunwindow -lpixrect]))
++ TERMLIBS="$TERMLIBS -lsuntool -lsunwindow -lpixrect"])],,dnl
++ [-lsunwindow -lpixrect])])
+
+ dnl Process with and enable options
+
Summary(tr): Matematiksel görselleþtirme paketi
Name: gnuplot
Version: 3.7.1
-Release: 15
+Release: 16
License: GPL
Group: Applications/Math
Source0: http://prdownloads.sourceforge.net/gnuplot/%{name}-%{version}.tar.gz
Patch1: %{name}-info.patch
Patch2: %{name}-acfix.patch
URL: http://gnuplot.sourceforge.net/
-BuildRequires: readline-devel
-BuildRequires: libpng >= 1.0.8
BuildRequires: XFree86-devel
-BuildRequires: zlib-devel
-BuildRequires: ncurses-devel
BuildRequires: autoconf
BuildRequires: automake
+BuildRequires: libpng >= 1.0.8
+BuildRequires: ncurses-devel
+BuildRequires: readline-devel
+BuildRequires: zlib-devel
#BuildRequires: xemacs-lisp-programming
#or --without-lisp-files
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
autoconf
autoheader
-%configure \
+if [ -f %{_pkgconfigdir}/libpng12.pc ] ; then
+ CPPFLAGS="`pkg-config libpng12 --cflags`"
+fi
+%configure CPPFLAGS="$CPPFLAGS" \
--with-readline=gnu \
--with-png \
--without-gd \