diff --git a/ANNOUNCE b/ANNOUNCE
index 1b7afa2d9..4a9330acc 100644
--- a/ANNOUNCE
+++ b/ANNOUNCE
@@ -384,6 +384,7 @@ Version 1.5.0beta45 [August 24, 2010]
simply copies the file; in the future it may actually generate the
file from scripts/pnglibconf.dfa as the other build systems do.
Changed pngvalid to work when floating point APIs are disabled
+ Renamed the prebuilt scripts/pnglibconf.h to scripts/pnglibconf.h.prebuilt
Send comments/corrections/commendations to png-mng-implement at lists.sf.net:
(subscription required; visit
diff --git a/CHANGES b/CHANGES
index a5667dc0f..41adc8c0e 100644
--- a/CHANGES
+++ b/CHANGES
@@ -3021,6 +3021,7 @@ Version 1.5.0beta45 [August 24, 2010]
simply copies the file; in the future it may actually generate the
file from scripts/pnglibconf.dfa as the other build systems do.
Changed pngvalid to work when floating point APIs are disabled
+ Renamed the prebuilt scripts/pnglibconf.h to scripts/pnglibconf.h.prebuilt
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit
diff --git a/INSTALL b/INSTALL
index fa879ea04..c041a3d7f 100644
--- a/INSTALL
+++ b/INSTALL
@@ -77,6 +77,7 @@ Your directory structure should look like this:
scripts
makefile.*
*.def (module definition files)
+ etc.
pngtest.png
etc.
zlib
diff --git a/png.h b/png.h
index 1376c8df6..51186ffb8 100644
--- a/png.h
+++ b/png.h
@@ -392,6 +392,9 @@
* the library has been built.
*/
#ifndef PNGLCONF_H
+ /* If pnglibconf.h is missing, you can
+ * copy scripts/pnglibconf.h.prebuilt to pnglibconf.h
+ */
# include "pnglibconf.h"
#endif
diff --git a/projects/vstudio/pnglibconf/pnglibconf.vcxproj b/projects/vstudio/pnglibconf/pnglibconf.vcxproj
index 39bfaed0f..2da2d0a2e 100644
--- a/projects/vstudio/pnglibconf/pnglibconf.vcxproj
+++ b/projects/vstudio/pnglibconf/pnglibconf.vcxproj
@@ -40,7 +40,7 @@
true
- copy ..\..\..\scripts\pnglibconf.h ..\..\..\pnglibconf.h
+ copy ..\..\..\scripts\pnglibconf.h_prebuilt ..\..\..\pnglibconf.h
Generating pnglibconf.h
@@ -49,7 +49,7 @@
..\..\..\pnglibconf.h
- ..\..\..\scripts\pnglibconf.h
+ ..\..\..\scripts\pnglibconf.h_prebuilt
@@ -100,7 +100,7 @@
true
- copy ..\..\..\scripts\pnglibconf.h ..\..\..\pnglibconf.h
+ copy ..\..\..\scripts\pnglibconf.h_prebuilt ..\..\..\pnglibconf.h
Generating pnglibconf.h
@@ -109,7 +109,7 @@
..\..\..\pnglibconf.h
- ..\..\..\scripts\pnglibconf.h
+ ..\..\..\scripts\pnglibconf.h_prebuilt
diff --git a/scripts/README.txt b/scripts/README.txt
index 75b4dc6f6..06c6dba7f 100644
--- a/scripts/README.txt
+++ b/scripts/README.txt
@@ -1,7 +1,7 @@
Makefiles for libpng version 1.5.0beta45 - August 24, 2010
-pnglibconf.h => Stores configuration settings
+pnglibconf.h.prebuilt => Stores configuration settings
makefile.linux => Linux/ELF makefile
(gcc, creates libpng15.so.15.1.5.0beta45)
makefile.gcc => Generic makefile (gcc, creates static libpng.a)
diff --git a/scripts/makefile.amiga b/scripts/makefile.amiga
index f66c07fc3..228b5c22a 100644
--- a/scripts/makefile.amiga
+++ b/scripts/makefile.amiga
@@ -43,8 +43,8 @@ $(AR) libpng.lib r $(OBJS)
$(OBJS): pngpriv.h png.h pngconf.h pnglibconf.h pnginfo.h pngstruct.h pngdebug.h
-pnglibconf.h: scripts/pnglibconf.h
-$(CP) scripts/pnglibconf.h pnglibconf.h
+pnglibconf.h: scripts/pnglibconf.h.prebuilt
+$(CP) scripts/pnglibconf.h.prebuilt pnglibconf.h
pngtest: pngtest.o libpng.lib
$(LN)