use mktemp in configure script
Folkert van Heusden
9 years ago
10 | 10 |
# do not wish to do so, delete this exception statement from your
|
11 | 11 |
# version. If you delete this exception statement from all source
|
12 | 12 |
# files in the program, then also delete it here.
|
13 | |
# $Revision$
|
|
13 |
# $Revision: 278 $
|
14 | 14 |
|
15 | 15 |
-include makefile.inc
|
16 | 16 |
|
|
33 | 33 |
LOCALEDIR=/usr/share/locale
|
34 | 34 |
|
35 | 35 |
DEBUG=yes
|
36 | |
WFLAGS=-Wall -W -Wextra -pedantic
|
|
36 |
WFLAGS=-Wall -W -Wextra -pedantic -D_FORTIFY_SOURCE=2
|
37 | 37 |
OFLAGS=
|
38 | 38 |
CFLAGS+=$(WFLAGS) $(OFLAGS) -DVERSION=\"$(VERSION)\" -DLOCALEDIR=\"$(LOCALEDIR)\"
|
39 | 39 |
LDFLAGS+=-lm
|
0 | 0 |
#! /bin/sh
|
1 | 1 |
|
2 | |
FILE=/tmp/a.out_eb_$$
|
3 | |
FILE2=/tmp/a.out_eb2_$$
|
|
2 |
FILE=`mktemp`
|
|
3 |
FILE2=`mktemp`
|
4 | 4 |
|
5 | 5 |
echo \*\*\* HTTPing v`grep VERSION version | cut -d = -f 2` \(`echo $Revision$ | awk '{ print $2; }'`\) configure script \*\*\*
|
6 | 6 |
echo
|
0 | 0 |
/* Released under GPLv2 with exception for the OpenSSL library. See license.txt */
|
1 | |
/* $Revision$ */
|
|
1 |
/* $Revision: 278 $ */
|
2 | 2 |
|
3 | 3 |
#define _GNU_SOURCE
|
4 | 4 |
#include <sys/ioctl.h>
|
|
985 | 985 |
};
|
986 | 986 |
|
987 | 987 |
setlocale(LC_ALL, "");
|
988 | |
bindtextdomain("httping", LOCALEDIR);
|
989 | |
textdomain("httping");
|
|
988 |
bindtextdomain("HTTPing", LOCALEDIR);
|
|
989 |
textdomain("HTTPing");
|
990 | 990 |
|
991 | 991 |
init_statst(&t_resolve);
|
992 | 992 |
init_statst(&t_connect);
|