Permalink
Browse files

use MODTIME_RAW

  • Loading branch information...
1 parent 0ca0056 commit 23de80a0d8a0a89e88998e76549a639d6fc9fec1 @coolwanglu coolwanglu committed Mar 5, 2013
Showing with 2 additions and 67 deletions.
  1. +1 −1 configure.ac
  2. +1 −1 fontforge/stamp.c
  3. +0 −65 inc/config.h_vms
View
@@ -352,7 +352,7 @@ FONTFORGE_MODTIME="`date '+%s'`L"
FONTFORGE_MODTIME_STR="`date +'%H:%M %Z %e-%b-%Y'`"
FONTFORGE_VERSIONDATE="`date '+%Y%m%d'`"
AC_DEFINE_UNQUOTED(FONTFORGE_GIT_VERSION,"$FONTFORGE_GIT_VERSION","git hash that source are built from")
-AC_DEFINE_UNQUOTED(FONTFORGE_MODTIME,$FONTFORGE_MODTIME,"Epoch time that configure was run at")
+AC_DEFINE_UNQUOTED(FONTFORGE_MODTIME,"$FONTFORGE_MODTIME","Epoch time that configure was run at")
AC_DEFINE_UNQUOTED(FONTFORGE_MODTIME_STR,"$FONTFORGE_MODTIME_STR",
"A user friendly date that that configure was run at: For example 01:48 GMT 6-Sep-2012")
AC_DEFINE_UNQUOTED(FONTFORGE_VERSIONDATE,"$FONTFORGE_VERSIONDATE","YYYYMMDD as number when configure was run")
View
@@ -4,6 +4,6 @@
#include <fontforge-config.h>
#include <time.h>
-const time_t source_modtime = FONTFORGE_MODTIME; /* Seconds since 1970 (standard unix time) */
+const time_t source_modtime = FONTFORGE_MODTIME_RAW; /* Seconds since 1970 (standard unix time) */
const char *source_modtime_str = FONTFORGE_MODTIME_STR;
const char *source_version_str = FONTFORGE_VERSIONDATE; /* Year, month, day */
View
@@ -1,65 +0,0 @@
-#ifndef _FF_CONFIG_H
-# define _FF_CONFIG_H 1
-
-#define HAVE_DLFCN_H 1
-#define _NO_PYTHON 1
-#define HAVE_ICONV_H 1
-#undef HAVE_STDINT_H
-#define HAVE_LANGINFO_H 1
-#define HAVE_PTHREAD_H 1
-#define NOTHREADS 1
-#undef HAVE_IEEEFP_H
-#undef FREETYPE_HAS_DEBUGGER
-#define _HAS_LONGLONG 1
-#define HAVE_LIBINTL_H 1
-#undef _STATIC_LIBINTL
-#define _STATIC_LIBUNGIF 1
-#define _STATIC_LIBPNG 1
-#undef _STATIC_LIBPNG12
-#define _STATIC_LIBTIFF 1
-#define _STATIC_LIBJPEG 1
-#undef _STATIC_LIBSPIRO
-#define _STATIC_LIBXML2 1
-#define _STATIC_LIBXML 1
-#define _STATIC_LIBFREETYPE 1
-#undef _STATIC_LIBUNINAMESLIST
-#undef _STATIC_LIBCAIRO
-#define _NO_LIBUNINAMESLIST 1
-#undef SHAREDIR
-#undef LIBDIR
-#undef PREFIX
-#undef _CursorsMustBe16x16
-#undef _Keyboard
-#undef __Mac
-#undef _BrokenBitmapImages
-#undef _ModKeysAutoRepeat
-#undef __CygWin
-#define _NO_XINPUT 1
-#undef FONTFORGE_CONFIG_CAPSLOCK_FOR_ALT
-#undef FONTFORGE_CONFIG_SHOW_RAW_POINTS
-#undef FONTFORGE_CONFIG_USE_DOUBLE
-#undef FONTFORGE_CONFIG_GB12345
-#undef FONTFORGE_CONFIG_TILEPATH
-#undef _NO_FFSCRIPT
-#undef _NO_TZSET
-#undef _NO_FREETYPE
-#undef _NO_LIBXML
-#undef _NO_LIBUNGIF
-#undef _NO_LIBPNG
-#undef _LIBPNG12
-#undef _NO_LIBJPEG
-#undef _NO_LIBTIFF
-#define _NO_LIBSPIRO 1
-#undef NODYNAMIC
-#undef FREETYPE_HAS_DEBUGGER
-#undef _NO_SNPRINTF
-#define _NO_XKB 1
-#undef X_DISPLAY_MISSING
-#undef PYTHON_LIB_NAME
-#define _NO_LIBCAIRO 1
-#undef WORDS_BIGENDIAN
-
-#define PLUGINDIR "/FONTFORGE$PLUGINS"
-
-#define fork vfork
-#endif

0 comments on commit 23de80a

Please sign in to comment.