summaryrefslogtreecommitdiff
path: root/modules/getprogname
blob: 0631589ee6abcc2e975749be5c358962ffc6870f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Description:
Program name management.

Files:
lib/getprogname.h
lib/getprogname.c
m4/getprogname.m4

Depends-on:
stdlib
basename-lgpl   [test $HAVE_GETPROGNAME = 0]
extensions      [test $HAVE_GETPROGNAME = 0]
open            [test $HAVE_GETPROGNAME = 0]

configure.ac:
gl_FUNC_GETPROGNAME
gl_CONDITIONAL([GL_COND_OBJ_GETPROGNAME],
               [test $HAVE_GETPROGNAME = 0 || test $REPLACE_GETPROGNAME = 1])
AM_COND_IF([GL_COND_OBJ_GETPROGNAME], [
  gl_PREREQ_GETPROGNAME
])
gl_STDLIB_MODULE_INDICATOR([getprogname])

Makefile.am:
if GL_COND_OBJ_GETPROGNAME
lib_SOURCES += getprogname.c
endif

Include:
<stdlib.h>

License:
LGPLv2+

Maintainer:
All