Skip to content

Commit 9bbf2b8

Browse files
committed
Merge pull request flutter#4 from oerdnj/master
Allow BUILD to be specified on the configure command line
2 parents 99f0289 + 45a2369 commit 9bbf2b8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

configure.ac

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
AC_PREREQ([2.56])
55
AC_INIT([libjpeg-turbo], [1.4.80])
6-
BUILD=`date +%Y%m%d`
76

87
AM_INIT_AUTOMAKE([-Wall foreign dist-bzip2])
98
AC_PREFIX_DEFAULT(/opt/libjpeg-turbo)
@@ -22,6 +21,10 @@ AC_PROG_INSTALL
2221
AC_PROG_LIBTOOL
2322
AC_PROG_LN_S
2423

24+
AC_ARG_WITH([build-date], [Use custom build string to enable reproducible builds (default: YYMMDD)],
25+
[BUILD="$with_build_date"],
26+
[BUILD=`date +%Y%m%d`])
27+
2528
# When the prefix is /opt/libjpeg-turbo, we assume that an "official" binary is
2629
# being created, and thus we install things into specific locations.
2730

0 commit comments

Comments
 (0)