ObjFW  Check-in [ab6e11e51e]

Overview
Comment:configure: Fix extension for OFZIP

Using ${PROG_SUFFIX} does no work here as extra.mk can be included
before buildsys.mk. Using $ac_cv_exeext and double quotes so it gets
substituted works, though.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: ab6e11e51e6f1b609879e71b174947cb973085eb93181701bcc5d62406d4f195
User & Date: js on 2014-02-17 21:38:22
Other Links: manifest | tags
Context
2014-02-17
21:38
configure: Fix extension for OFZIP check-in: ab6e11e51e user: js tags: trunk
20:51
Move OFINICategory to separate file check-in: 9d6adbf3d9 user: js tags: trunk
18:25
Add OFINIFile check-in: 355e24465d user: js tags: trunk
Changes

Modified configure.ac from [7d5f97e559] to [bfa3ebaa09].

589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
AC_MSG_RESULT($atomic_ops)

AC_ARG_ENABLE(files,
	AS_HELP_STRING([--disable-files], [disable file support]))
AS_IF([test x"$enable_files" != x"no"], [
	AC_DEFINE(OF_HAVE_FILES, 1, [Whether we have files])
	AC_SUBST(USE_SRCS_FILES, '${SRCS_FILES}')
	AC_SUBST(OFZIP, 'ofzip${PROG_SUFFIX}')
])

AC_CHECK_FUNCS([sysconf gmtime_r localtime_r nanosleep lstat])

AC_CHECK_HEADERS([pwd.h grp.h])
AC_CHECK_FUNC(chmod, [
	AC_DEFINE(OF_HAVE_CHMOD, 1, [Whether we have chmod()])







|







589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
AC_MSG_RESULT($atomic_ops)

AC_ARG_ENABLE(files,
	AS_HELP_STRING([--disable-files], [disable file support]))
AS_IF([test x"$enable_files" != x"no"], [
	AC_DEFINE(OF_HAVE_FILES, 1, [Whether we have files])
	AC_SUBST(USE_SRCS_FILES, '${SRCS_FILES}')
	AC_SUBST(OFZIP, "ofzip$ac_cv_exeext")
])

AC_CHECK_FUNCS([sysconf gmtime_r localtime_r nanosleep lstat])

AC_CHECK_HEADERS([pwd.h grp.h])
AC_CHECK_FUNC(chmod, [
	AC_DEFINE(OF_HAVE_CHMOD, 1, [Whether we have chmod()])