Check for the gencat program and give a missing warning if
not present.
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>
(cherry picked from commit
dcefc4576020c2c076af1a4af07cc827bf4eea40)
Change-Id: I383af43e6bb26de0095629e99d41e0e0b6bcb685
Reviewed-on: http://gerrit.openafs.org/11158
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
-$(RM) -f afszcm.cat
case ${SYS_NAME} in \
sgi_* ) \
- gencat -m afszcm.cat afs_trace.msf ;; \
+ ${GENCAT} -m afszcm.cat afs_trace.msf ;; \
sun*_4* ) \
/usr/etc/gencat 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
DBG = @DBG@
DEST = @DEST@
FSINCLUDES = @FSINCLUDES@
+GENCAT = @GENCAT@
INCLUDE_LIBINTL = @INCLUDE_libintl@
KERN_DBG = @KERN_DBG@
KERN_OPTMZ = @KERN_OPTMZ@