Rev 13317 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 13317 | Rev 13454 | ||
---|---|---|---|
Line 213... | Line 213... | ||
213 | AC_ARG_WITH(wimsd,[ --without-wimsd Don't compile wimsd (standalone http server)],echo Compile wimsd: $with_wimsd, with_wimsd=yes; echo Compile wimsd: yes) |
213 | AC_ARG_WITH(wimsd,[ --without-wimsd Don't compile wimsd (standalone http server)],echo Compile wimsd: $with_wimsd, with_wimsd=yes; echo Compile wimsd: yes) |
214 | if test "$with_wimsd" = "yes"; then |
214 | if test "$with_wimsd" = "yes"; then |
215 | BUILD_WIMSD=wimsd |
215 | BUILD_WIMSD=wimsd |
216 | fi |
216 | fi |
217 | 217 | ||
- | 218 | if test -n "$SOURCE_DATE_EPOCH"; then |
|
- | 219 | # When a debian package is built, SOURCE_DATE_EPOCH is defined, so |
|
- | 220 | # the build date is taken from the head of the file debian/changelog. |
|
- | 221 | # This provides reproducible builds, and more security in Debian. |
|
- | 222 | date=`date --utc --date="@$SOURCE_DATE_EPOCH" +%Y-%m-%d` |
|
- | 223 | else |
|
218 | date=`date +%Y-%m-%d` |
224 | date=`date +%Y-%m-%d` |
- | 225 | fi |
|
- | 226 | ||
219 | DEFINES="-DGNU_SOURCE -DVERSION_DATE=\\\"$date\\\"" |
227 | DEFINES="-DGNU_SOURCE -DVERSION_DATE=\\\"$date\\\"" |
220 | AC_SUBST(D_CASE_INSENSITIVE_FS) |
228 | AC_SUBST(D_CASE_INSENSITIVE_FS) |
221 | AC_SUBST(STATIC_LIB) |
229 | AC_SUBST(STATIC_LIB) |
222 | AC_SUBST(DEFINES) |
230 | AC_SUBST(DEFINES) |
223 | AC_SUBST(STRIP) |
231 | AC_SUBST(STRIP) |