fix gif detection
Stefan Schuermans

Stefan Schuermans commited on 2019-08-22 12:37:13
Showing 1 changed files, with 2 additions and 2 deletions.

... ...
@@ -76,10 +76,10 @@ cfg/mng.cfg: | cfg/bin
76 76
 	  fi >>$@
77 77
 
78 78
 cfg/gif%.cfg: | cfg/bin
79
-	if $(CC) $(CFG_INCDIR) $(CFG_LIBDIR) -o cfg/bin/gif$* gif$*.c -lgif \
79
+	if $(CC) $(CFG_INCDIR) $(CFG_LIBDIR) -o cfg/bin/gif$* config/gif$*.c -lgif \
80 80
 	  && ./cfg/bin/gif$*; \
81 81
 	  then echo "GIF$*=1"; \
82
-	  else echo "GIF$*=1"; \
82
+	  else echo "GIF$*=0"; \
83 83
 	  fi >$@
84 84
 
85 85
 cfg/gif.cfg: cfg/gif4.cfg cfg/gif5.cfg
86 86