aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorNeal Gompa <ngompa13@gmail.com>2017-07-30 18:50:22 -0400
committerNeal Gompa <ngompa13@gmail.com>2017-07-30 18:50:22 -0400
commitfa83599987fc8aed33c3cfc25eaec1fa371b606c (patch)
tree0eb952cde0ca57de156a99e05bbb78d2fbe58eea /Makefile.am
parent574eace7cad124e7602b69b76b6e2fb26da9630e (diff)
downloadrpm-setup-fa83599987fc8aed33c3cfc25eaec1fa371b606c.tar
rpm-setup-fa83599987fc8aed33c3cfc25eaec1fa371b606c.tar.gz
rpm-setup-fa83599987fc8aed33c3cfc25eaec1fa371b606c.tar.bz2
rpm-setup-fa83599987fc8aed33c3cfc25eaec1fa371b606c.tar.xz
rpm-setup-fa83599987fc8aed33c3cfc25eaec1fa371b606c.zip
Remove find-lang.pl in favor of using upstream find-lang.sh
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am1
1 files changed, 0 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index f96323f..2411bc1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -26,7 +26,6 @@ pkg_scripts = \
devel.prov \
devel.req \
drop-ld-no-undefined-for-shared-lib-modules-in-libtool \
- find-lang.pl \
fix-dlsearch-path-in-libtool-for-multilib \
fix-libtool-from-moving-options-after-libs \
fix-libtool-ltmain-from-overlinking \
an> h_errno; struct hostent* gethostbyname2(const char *host,int AF) { static struct hostent hostbuf; struct hostent *hp; size_t hstbuflen; char *tmphstbuf; int res; int herr; hstbuflen = 1024; /* Allocate buffer, remember to free it to avoid a memory leakage. */ tmphstbuf = malloc (hstbuflen); while ((res = gethostbyname2_r (host, AF,&hostbuf, tmphstbuf, hstbuflen, &hp, &herr)) == ERANGE) { /* Enlarge the buffer. */ hstbuflen *= 2; tmphstbuf = realloc (tmphstbuf, hstbuflen); } /* Check for errors. */ if (res || hp == NULL) return NULL; return hp; }