Codebase list httping / beb18bb
use mktemp in configure script Folkert van Heusden 9 years ago
3 changed file(s) with 7 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
1010 # do not wish to do so, delete this exception statement from your
1111 # version. If you delete this exception statement from all source
1212 # files in the program, then also delete it here.
13 # $Revision$
13 # $Revision: 278 $
1414
1515 -include makefile.inc
1616
3333 LOCALEDIR=/usr/share/locale
3434
3535 DEBUG=yes
36 WFLAGS=-Wall -W -Wextra -pedantic
36 WFLAGS=-Wall -W -Wextra -pedantic -D_FORTIFY_SOURCE=2
3737 OFLAGS=
3838 CFLAGS+=$(WFLAGS) $(OFLAGS) -DVERSION=\"$(VERSION)\" -DLOCALEDIR=\"$(LOCALEDIR)\"
3939 LDFLAGS+=-lm
00 #! /bin/sh
11
2 FILE=/tmp/a.out_eb_$$
3 FILE2=/tmp/a.out_eb2_$$
2 FILE=`mktemp`
3 FILE2=`mktemp`
44
55 echo \*\*\* HTTPing v`grep VERSION version | cut -d = -f 2` \(`echo $Revision$ | awk '{ print $2; }'`\) configure script \*\*\*
66 echo
00 /* Released under GPLv2 with exception for the OpenSSL library. See license.txt */
1 /* $Revision$ */
1 /* $Revision: 278 $ */
22
33 #define _GNU_SOURCE
44 #include <sys/ioctl.h>
985985 };
986986
987987 setlocale(LC_ALL, "");
988 bindtextdomain("httping", LOCALEDIR);
989 textdomain("httping");
988 bindtextdomain("HTTPing", LOCALEDIR);
989 textdomain("HTTPing");
990990
991991 init_statst(&t_resolve);
992992 init_statst(&t_connect);