Commit 4af2f18cc3adedf2dce3dd865a6b6bab336fa466

Werner Lemberg 2000-11-11T05:55:41

Minor fixes.

diff --git a/builds/cygwin/freetype-config.in b/builds/cygwin/freetype-config.in
index 8575a07..b32b126 100644
--- a/builds/cygwin/freetype-config.in
+++ b/builds/cygwin/freetype-config.in
@@ -44,7 +44,7 @@ while test $# -gt 0; do
     echo_exec_prefix=yes
     ;;
   --version)
-    echo @VERSION@
+    echo @version_info@
     exit 0
     ;;
   --cflags)
diff --git a/builds/cygwin/install.mk b/builds/cygwin/install.mk
index fb5e98e..938ac78 100644
--- a/builds/cygwin/install.mk
+++ b/builds/cygwin/install.mk
@@ -33,7 +33,8 @@ install: $(PROJECT_LIBRARY)
 	-for P in $(CACHE_H) ; do                                      \
           $(INSTALL_DATA) $$P $(includedir)/freetype2/freetype/cache ; \
         done
-	$(INSTALL) -m a+x $(BUILD)/freetype-config $(bindir)/freetype-config
+	$(INSTALL_SCRIPT) -m 755 $(BUILD)/freetype-config \
+          $(bindir)/freetype-config
 
 
 uninstall:
diff --git a/builds/unix/.cvsignore b/builds/unix/.cvsignore
index e76c25d..cc8ec6a 100644
--- a/builds/unix/.cvsignore
+++ b/builds/unix/.cvsignore
@@ -5,3 +5,4 @@ config.cache
 config.log
 libtool
 ftconfig.h
+freetype-config
diff --git a/builds/unix/freetype-config.in b/builds/unix/freetype-config.in
index 8575a07..b32b126 100644
--- a/builds/unix/freetype-config.in
+++ b/builds/unix/freetype-config.in
@@ -44,7 +44,7 @@ while test $# -gt 0; do
     echo_exec_prefix=yes
     ;;
   --version)
-    echo @VERSION@
+    echo @version_info@
     exit 0
     ;;
   --cflags)
diff --git a/builds/unix/install.mk b/builds/unix/install.mk
index 78b3dfc..0b07072 100644
--- a/builds/unix/install.mk
+++ b/builds/unix/install.mk
@@ -33,7 +33,8 @@ install: $(PROJECT_LIBRARY)
 	-for P in $(CACHE_H) ; do                                      \
           $(INSTALL_DATA) $$P $(includedir)/freetype2/freetype/cache ; \
         done
-	$(INSTALL) -m a+x $(BUILD)/freetype-config $(bindir)/freetype-config
+	$(INSTALL_SCRIPT) -m 755 $(BUILD)/freetype-config \
+          $(bindir)/freetype-config
 
 
 uninstall: