Skip to content

Commit

Permalink
Merge pull request libjpeg-turbo#4 from oerdnj/master
Browse files Browse the repository at this point in the history
Allow BUILD to be specified on the configure command line
  • Loading branch information
dcommander committed Jul 28, 2015
2 parents 722b5a2 + 7d75478 commit e97b8aa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

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

AM_INIT_AUTOMAKE([-Wall foreign dist-bzip2])
AC_PREFIX_DEFAULT(/opt/libjpeg-turbo)
Expand All @@ -22,6 +21,10 @@ AC_PROG_INSTALL
AC_PROG_LIBTOOL
AC_PROG_LN_S

AC_ARG_WITH([build-date], [Use custom build string to enable reproducible builds (default: YYMMDD)],
[BUILD="$with_build_date"],
[BUILD=`date +%Y%m%d`])

# When the prefix is /opt/libjpeg-turbo, we assume that an "official" binary is
# being created, and thus we install things into specific locations.

Expand Down

0 comments on commit e97b8aa

Please sign in to comment.