mirror of
https://github.com/tmux/tmux.git
synced 2025-01-05 23:38:48 +00:00
Set CFLAGS also.
This commit is contained in:
parent
c6bcf3dba5
commit
032723c874
@ -190,6 +190,8 @@ PKG_CHECK_MODULES(
|
|||||||
[
|
[
|
||||||
AM_CPPFLAGS="$LIBEVENT_CFLAGS $AM_CPPFLAGS"
|
AM_CPPFLAGS="$LIBEVENT_CFLAGS $AM_CPPFLAGS"
|
||||||
CPPFLAGS="$AM_CPPFLAGS $SAVED_CPPFLAGS"
|
CPPFLAGS="$AM_CPPFLAGS $SAVED_CPPFLAGS"
|
||||||
|
AM_CFLAGS="$LIBEVENT_CFLAGS $AM_CFLAGS"
|
||||||
|
CFLAGS="$AM_CFLAGS $SAVED_CFLAGS"
|
||||||
LIBS="$LIBEVENT_LIBS $LIBS"
|
LIBS="$LIBEVENT_LIBS $LIBS"
|
||||||
found_libevent=yes
|
found_libevent=yes
|
||||||
],
|
],
|
||||||
@ -229,6 +231,8 @@ PKG_CHECK_MODULES(
|
|||||||
if test "x$found_ncurses" = xyes; then
|
if test "x$found_ncurses" = xyes; then
|
||||||
AM_CPPFLAGS="$LIBNCURSES_CFLAGS $LIBTINFO_CFLAGS $AM_CPPFLAGS"
|
AM_CPPFLAGS="$LIBNCURSES_CFLAGS $LIBTINFO_CFLAGS $AM_CPPFLAGS"
|
||||||
CPPFLAGS="$LIBNCURSES_CFLAGS $LIBTINFO_CFLAGS $SAVED_CPPFLAGS"
|
CPPFLAGS="$LIBNCURSES_CFLAGS $LIBTINFO_CFLAGS $SAVED_CPPFLAGS"
|
||||||
|
AM_CFLAGS="$LIBNCURSES_CFLAGS $LIBTINFO_CFLAGS $AM_CFLAGS"
|
||||||
|
CFLAGS="$LIBNCURSES_CFLAGS $LIBTINFO_CFLAGS $SAVED_CFLAGS"
|
||||||
LIBS="$LIBNCURSES_LIBS $LIBTINFO_LIBS $LIBS"
|
LIBS="$LIBNCURSES_LIBS $LIBTINFO_LIBS $LIBS"
|
||||||
else
|
else
|
||||||
AC_SEARCH_LIBS(
|
AC_SEARCH_LIBS(
|
||||||
|
Loading…
Reference in New Issue
Block a user