Skip to content

Commit 8f2bb33

Browse files
committed
prepare for 1.2.2
1 parent b0d3498 commit 8f2bb33

File tree

2 files changed

+73
-1
lines changed

2 files changed

+73
-1
lines changed

configure

+72
Original file line numberDiff line numberDiff line change
@@ -5166,6 +5166,78 @@ fi
51665166
unset ax_saved_CPPFLAGS
51675167
51685168
5169+
if test x$ax_cv_panel != "xyes"; then :
5170+
5171+
5172+
5173+
5174+
ax_saved_LIBS=$LIBS
5175+
ax_saved_CPPFLAGS=$CPPFLAGS
5176+
5177+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Curses Panel library with panel.h" >&5
5178+
$as_echo_n "checking for Curses Panel library with panel.h... " >&6; }
5179+
if ${ax_cv_header_panel_h+:} false; then :
5180+
$as_echo_n "(cached) " >&6
5181+
else
5182+
5183+
LIBS="$ax_saved_LIBS -lpanel $CURSES_LIBS"
5184+
CPPFLAGS="$ax_saved_CPPFLAGS $CURSES_CFLAGS"
5185+
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5186+
/* end confdefs.h. */
5187+
5188+
#include <panel.h>
5189+
5190+
int
5191+
main ()
5192+
{
5193+
5194+
WINDOW *win = newwin(0, 0, 0, 0);
5195+
PANEL *pan = new_panel(win);
5196+
5197+
;
5198+
return 0;
5199+
}
5200+
_ACEOF
5201+
if ac_fn_c_try_link "$LINENO"; then :
5202+
ax_cv_header_panel_h=yes
5203+
else
5204+
ax_cv_header_panel_h=no
5205+
fi
5206+
rm -f core conftest.err conftest.$ac_objext \
5207+
conftest$ac_exeext conftest.$ac_ext
5208+
5209+
fi
5210+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_header_panel_h" >&5
5211+
$as_echo "$ax_cv_header_panel_h" >&6; }
5212+
if test "x$ax_cv_header_panel_h" = xyes; then :
5213+
5214+
ax_cv_panel=yes
5215+
PANEL_LIBS="-lpanel"
5216+
5217+
$as_echo "#define HAVE_PANEL 1" >>confdefs.h
5218+
5219+
5220+
$as_echo "#define HAVE_PANEL_H 1" >>confdefs.h
5221+
5222+
5223+
else
5224+
5225+
if test "x$ax_cv_panel" = xyes; then :
5226+
5227+
else
5228+
ax_cv_panel=no
5229+
fi
5230+
5231+
fi
5232+
5233+
LIBS=$ax_saved_LIBS
5234+
CPPFLAGS=$ax_saved_CPPFLAGS
5235+
unset ax_saved_LIBS
5236+
unset ax_saved_CPPFLAGS
5237+
5238+
5239+
5240+
fi
51695241
51705242
elif test "x$ax_cv_curses_which" = xncurses; then :
51715243

src/pspg.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
#endif
6666
#endif
6767

68-
#define PSPG_VERSION "1.2.1"
68+
#define PSPG_VERSION "1.2.2"
6969

7070
/* GNU Hurd does not define MAXPATHLEN */
7171
#ifndef MAXPATHLEN

0 commit comments

Comments
 (0)