Check for the gencat program and give a missing warning if
not present.
Change-Id: I71cdaa0840215b53071be4481a5f23b2f8667bda
Reviewed-on: http://gerrit.openafs.org/7203
Reviewed-by: Simon Wilkinson <simonxwilkinson@gmail.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
-$(RM) -f afszcm.cat
case ${SYS_NAME} in \
sgi_* ) \
- gencat -m afszcm.cat afs_trace.msf ;; \
+ ${GENCAT} -m afszcm.cat afs_trace.msf ;; \
*_linux* | *_umlinux* ) \
- gencat --new afszcm.cat afs_trace.msf ;; \
+ ${GENCAT} --new afszcm.cat afs_trace.msf ;; \
*_darwin_* ) \
- gencat -new afszcm.cat afs_trace.msf ;; \
+ ${GENCAT} -new afszcm.cat afs_trace.msf ;; \
* ) \
- gencat afszcm.cat afs_trace.msf ;; \
+ ${GENCAT} afszcm.cat afs_trace.msf ;; \
esac
depinstall: afszcm.cat AFS_component_version_number.c \
AC_CHECK_PROGS(CP, cp, [${am_missing_run}cp])
AC_CHECK_PROGS(STRIP, strip, [${am_missing_run}strip])
AC_CHECK_PROGS(LORDER, lorder, [${am_missing_run}lorder])
+AC_CHECK_PROGS(GENCAT, gencat, [${am_missing_run}gencat])
dnl TODO - need to disable STRIP if we are doing debugging in any user space code
DEST = @DEST@
DIR_roken = @DIR_roken@
FSINCLUDES = @FSINCLUDES@
+GENCAT = @GENCAT@
INCLUDE_LIBINTL = @INCLUDE_libintl@
KERN_DBG = @KERN_DBG@
KERN_OPTMZ = @KERN_OPTMZ@