1# 2# SYNOPSIS 3# 4# TUKLIB_PROGNAME 5# 6# DESCRIPTION 7# 8# Put argv[0] into a global variable progname. On DOS-like systems, 9# modify it so that it looks nice (no full path or .exe suffix). 10# 11# This .m4 file is needed allow this module to use glibc's 12# program_invocation_name. 13# 14# COPYING 15# 16# Author: Lasse Collin 17# 18# This file has been put into the public domain. 19# You can do whatever you want with this file. 20# 21 22AC_DEFUN_ONCE([TUKLIB_PROGNAME], [ 23AC_REQUIRE([TUKLIB_COMMON]) 24AC_CHECK_DECLS([program_invocation_name], [], [], [#include <errno.h>]) 25])dnl 26