Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make error with external libs #411

Closed
RekGRpth opened this issue Jan 25, 2021 · 2 comments
Closed

make error with external libs #411

RekGRpth opened this issue Jan 25, 2021 · 2 comments
Assignees
Labels
bug Something isn't working priority-high
Milestone

Comments

@RekGRpth
Copy link

make error with external libs after commit 1456c4f

c++: error: ../png/libpng.a: No such file or directory
c++: error: ../zlib/libz.a: No such file or directory
c++: error: ../jpeg/libjpeg.a: No such file or directory

solve

diff --git a/configure b/configure
index a338aa4..94fe552 100755
--- a/configure
+++ b/configure
@@ -6183,7 +6183,8 @@ then :
   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
        JPEGINC=""
-       JPEG="",
+       JPEG=""
+else
        JPEGINC="-I../jpeg"
        JPEG="jpeg"
        NEWLIBS="../jpeg/libjpeg.a $NEWLIBS"
@@ -6270,7 +6271,8 @@ then :
   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
        ZLIBINC=""
-       ZLIB="",
+       ZLIB=""
+else
        ZLIBINC="-I../zlib"
        ZLIB="zlib"
        NEWLIBS="../zlib/libz.a $NEWLIBS"
@@ -6357,7 +6359,8 @@ then :
   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
        PNGINC=""
-       PNG="",
+       PNG=""
+else
        PNGINC="-I../png"
        PNG="png"
        NEWLIBS="../png/libpng.a $NEWLIBS"
@michaelrsweet
Copy link
Owner

@RekGRpth Actually I need to stick in some "], [" to get the else in there - that was all for migrating to the recommended autoconf stuff now that 2.70 is out...

@michaelrsweet michaelrsweet self-assigned this Jan 25, 2021
@michaelrsweet michaelrsweet added bug Something isn't working priority-high labels Jan 25, 2021
@michaelrsweet michaelrsweet added this to the Stable milestone Jan 25, 2021
@michaelrsweet
Copy link
Owner

[master 6898d0a] Fix regression in configure script (Issue #411)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority-high
Projects
None yet
Development

No branches or pull requests

2 participants