Lines 1-13
Link Here
|
1 |
--- src/Makefile.orig 2018-02-24 09:51:55 UTC |
1 |
--- src/Makefile.orig 2023-03-15 09:34:19 UTC |
2 |
+++ src/Makefile |
2 |
+++ src/Makefile |
3 |
@@ -16,9 +16,9 @@ ifeq ($(shell PKG_CONFIG_PATH=$(PKG_CONF |
3 |
@@ -16,9 +16,9 @@ ifeq ($(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) pkg-c |
4 |
$(error "libpng is required - install libpng-dev") |
4 |
$(error "libpng is required - install libpng-dev") |
5 |
endif |
5 |
endif |
6 |
|
6 |
|
7 |
-ifeq ($(shell $(ECHO) "\#include <stdio.h>\n\#include <jpeglib.h>\nint main() { struct jpeg_error_mgr jerr; jpeg_std_error(&jerr); return 0; }" | $(CC) -pipe -x c -o $(CONFIGTEMP) $(ARCHINCLUDES) $(LDFLAGS) - -ljpeg 2>/dev/null || echo no; $(RM) -f $(CONFIGTEMP)), no) |
7 |
-ifeq ($(shell $(CC) ../misc/jpeg-test.c -o $(CONFIGTEMP) $(ARCHINCLUDES) $(LDFLAGS) -ljpeg 2>/dev/null || echo no; $(RM) -f $(CONFIGTEMP)), no) |
8 |
- $(error "libjpeg is required - install libjpeg-dev, libjpeg8-dev or libjpeg62-dev") |
8 |
- $(error "libjpeg is required - install libjpeg-dev, libjpeg8-dev or libjpeg62-dev") |
9 |
-endif |
9 |
-endif |
10 |
+#ifeq ($(shell $(ECHO) "\#include <stdio.h>\n\#include <jpeglib.h>\nint main() { struct jpeg_error_mgr jerr; jpeg_std_error(&jerr); return 0; }" | $(CC) -pipe -x c -o $(CONFIGTEMP) $(ARCHINCLUDES) $(LDFLAGS) - -ljpeg 2>/dev/null || echo no; $(RM) -f $(CONFIGTEMP)), no) |
10 |
+#ifeq ($(shell $(CC) ../misc/jpeg-test.c -o $(CONFIGTEMP) $(ARCHINCLUDES) $(LDFLAGS) -ljpeg 2>/dev/null || echo no; $(RM) -f $(CONFIGTEMP)), no) |
11 |
+# $(error "libjpeg is required - install libjpeg-dev, libjpeg8-dev or libjpeg62-dev") |
11 |
+# $(error "libjpeg is required - install libjpeg-dev, libjpeg8-dev or libjpeg62-dev") |
12 |
+#endif |
12 |
+#endif |
13 |
|
13 |
|