gentoo-ebuilds/dev-embedded/gpsim/files/gpsim-0.32.1-configure.patch
Fabio Rossi 83f9cf691f
dev-embedded/gpsim: new revision 0.32.1-r1
- added support to the gui
- improved configure.ac (conftest.c error and missing libs)

Closes: https://bugs.gentoo.org/922300
Closes: https://bugs.gentoo.org/949813
Signed-off-by: Fabio Rossi <rossi.f@inwind.it>
Closes: https://github.com/gentoo/gentoo/pull/40615
Signed-off-by: Sam James <sam@gentoo.org>
2025-02-19 17:57:37 +00:00

26 lines
582 B
Diff

--- ./configure.ac 2025-02-17 13:54:52.780179636 +0100
+++ ./configure.ac.new 2025-02-17 13:55:02.913179831 +0100
@@ -169,11 +169,6 @@
fi
X_LDFLAGS="$X_LDFLAGS -lm"
-wi_LIB_READLINE
- if test "$wi_cv_lib_readline" != yes; then
- AC_MSG_ERROR(Cannot find readline library)
- fi
-
# Checks for programs.
AC_PROG_CXX
AC_PROG_CXXCPP
@@ -186,6 +181,11 @@
AC_PROG_LEX(noyywrap)
LT_INIT
+wi_LIB_READLINE
+ if test "$wi_cv_lib_readline" != yes; then
+ AC_MSG_ERROR(Cannot find readline library)
+ fi
+
# Checks for libraries.
AC_LANG([C++])
#AC_CHECK_LIB([gpsim], [main])