]>
Commit | Line | Data |
---|---|---|
4ad1743a JB |
1 | --- gnuplot-3.7.1/m4/path-lib.m4.orig Thu Aug 19 16:20:19 1999 |
2 | +++ gnuplot-3.7.1/m4/path-lib.m4 Sat Oct 20 21:06:36 2001 | |
3 | @@ -14,11 +14,7 @@ | |
4 | AC_TRY_LINK(dnl | |
5 | ifelse([$2], [main], , dnl Avoid conflicting decl of main. | |
6 | [/* Override any gcc2 internal prototype to avoid an error. */ | |
7 | -]ifelse(AC_LANG, CPLUSPLUS, [#ifdef __cplusplus | |
8 | -extern "C" | |
9 | -#endif | |
10 | -])dnl | |
11 | -[/* We use char because int might match the return type of a gcc2 | |
12 | + /* We use char because int might match the return type of a gcc2 | |
13 | builtin and then its argument prototype would still apply. */ | |
14 | char $2(); | |
15 | ]), | |
81f48443 JB |
16 | --- gnuplot-3.7.1/configure.in.orig Thu Aug 19 16:20:19 1999 |
17 | +++ gnuplot-3.7.1/configure.in Sat Oct 20 21:06:36 2001 | |
18 | @@ -385,12 +385,12 @@ | |
19 | [#ifdef sun | |
20 | yes | |
21 | #endif | |
22 | -], AC_CHECK_LIB(suntool, window_create,dnl | |
23 | - AC_CHECK_HEADER(suntool/sunview.h,dnl | |
24 | - AC_DEFINE(SUN, 1, | |
25 | +], [AC_CHECK_LIB(suntool, window_create,dnl | |
26 | + [AC_CHECK_HEADER(suntool/sunview.h,dnl | |
27 | + [AC_DEFINE(SUN, 1, | |
28 | [ Define if you want to use the sunview terminal (sun). ])dnl | |
29 | - TERMLIBS="$TERMLIBS -lsuntool -lsunwindow -lpixrect"),,dnl | |
30 | - [-lsunwindow -lpixrect])) | |
31 | + TERMLIBS="$TERMLIBS -lsuntool -lsunwindow -lpixrect"])],,dnl | |
32 | + [-lsunwindow -lpixrect])]) | |
33 | ||
34 | dnl Process with and enable options | |
35 |