mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Syncing with changes in edelib fltk.m4 macro
This commit is contained in:
parent
3adaf5a457
commit
ee4dbe0109
@ -152,8 +152,8 @@ if test -n "$FLTK_CONFIG"; then
|
|||||||
AC_MSG_ERROR([Looks like you have an older FLTK version ($fltk_version). Required is >= 1.1.7])
|
AC_MSG_ERROR([Looks like you have an older FLTK version ($fltk_version). Required is >= 1.1.7])
|
||||||
esac
|
esac
|
||||||
|
|
||||||
dnl remove -Wno-non-virtual-dtor from flags
|
dnl remove -Wno-non-virtual-dtor from flags (also, on NetBSD they added -O2 flag; stupid)
|
||||||
FLTK_CFLAGS=`$FLTK_CONFIG --cxxflags | sed -e 's/-Wno-non-virtual-dtor//'`
|
FLTK_CFLAGS=`$FLTK_CONFIG --cxxflags | sed -e 's/-Wno-non-virtual-dtor//' | sed -e 's/-O[1-3]//g'`
|
||||||
dnl remove -lsupc++ so we can chose what to use
|
dnl remove -lsupc++ so we can chose what to use
|
||||||
FLTK_LIBS_NOIMAGES=`$FLTK_CONFIG --ldflags | sed -e 's/-lsupc++//g'`
|
FLTK_LIBS_NOIMAGES=`$FLTK_CONFIG --ldflags | sed -e 's/-lsupc++//g'`
|
||||||
FLTK_LIBS=`$FLTK_CONFIG --use-images --ldflags | sed -e 's/-lsupc++//g'`
|
FLTK_LIBS=`$FLTK_CONFIG --use-images --ldflags | sed -e 's/-lsupc++//g'`
|
||||||
|
Loading…
Reference in New Issue
Block a user