mirror of
https://github.com/fltk/fltk.git
synced 2026-05-27 19:10:24 +08:00
Fix for fltk when make install used
This commit is contained in:
+5
-1
@@ -50,7 +50,11 @@ OPTIM="@OPTIM@"
|
|||||||
CAIROFLAGS="@CAIROFLAGS@"
|
CAIROFLAGS="@CAIROFLAGS@"
|
||||||
|
|
||||||
# Config
|
# Config
|
||||||
if grep -q '^#define FLTK_HAVE_CAIRO 1' $selfdir/FL/fl_config.h; then
|
if ( ( test -f "$includedir/FL/fl_config.h" && \
|
||||||
|
grep -q '^#define FLTK_HAVE_CAIRO 1' "$includedir/FL/fl_config.h" ) \
|
||||||
|
|| \
|
||||||
|
( test -f "$selfdir/FL/fl_config.h" && \
|
||||||
|
grep -q '^#define FLTK_HAVE_CAIRO 1' "$selfdir/FL/fl_config.h" ) ) ; then
|
||||||
FLTK_HAVE_CAIRO=1
|
FLTK_HAVE_CAIRO=1
|
||||||
else
|
else
|
||||||
FLTK_HAVE_CAIRO=0
|
FLTK_HAVE_CAIRO=0
|
||||||
|
|||||||
Reference in New Issue
Block a user