]> icculus.org git repositories - icculus/xz.git/blob - m4/tuklib_progname.m4
Removed what I believe is an incorrect #ifdef HAVE_* test.
[icculus/xz.git] / m4 / tuklib_progname.m4
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
22 AC_DEFUN_ONCE([TUKLIB_PROGNAME], [
23 AC_REQUIRE([TUKLIB_COMMON])
24 AC_CHECK_DECLS([program_invocation_name], [], [], [#include <errno.h>])
25 ])dnl