diff options
author | Alexey Neyman <stilor@att.net> | 2016-12-17 14:26:13 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-17 14:26:13 -0800 |
commit | cccb8d84817bca1cf1d33cfdb5932f361437c229 (patch) | |
tree | 60c299213161c35280e6a5ddbeb49713cf944eea /patches/dmalloc/5.5.2/160-strdup_macro.patch | |
parent | a72f841bc2d2a1b3db838d3178d46f010b2f760e (diff) | |
parent | e593a1a30b193f7aef2f439a28f162e8c5b3fd6e (diff) | |
download | crosstool-ng-cccb8d84817bca1cf1d33cfdb5932f361437c229.tar.gz crosstool-ng-cccb8d84817bca1cf1d33cfdb5932f361437c229.tar.bz2 crosstool-ng-cccb8d84817bca1cf1d33cfdb5932f361437c229.zip |
Merge pull request #508 from stilor/drop-dmalloc
Drop dmalloc
Diffstat (limited to 'patches/dmalloc/5.5.2/160-strdup_macro.patch')
-rw-r--r-- | patches/dmalloc/5.5.2/160-strdup_macro.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/patches/dmalloc/5.5.2/160-strdup_macro.patch b/patches/dmalloc/5.5.2/160-strdup_macro.patch deleted file mode 100644 index 4974d140..00000000 --- a/patches/dmalloc/5.5.2/160-strdup_macro.patch +++ /dev/null @@ -1,39 +0,0 @@ ---- dmalloc-5.5.2.orig/configure 2008-06-17 13:10:09.000000000 +0200 -+++ dmalloc-5.5.2/configure 2008-06-17 13:11:25.000000000 +0200 -@@ -4691,8 +4691,35 @@ - echo "$as_me:$LINENO: checking strdup macro" >&5 - echo $ECHO_N "checking strdup macro... $ECHO_C" >&6 - if test "$cross_compiling" = yes; then -- ac_cv_strdup_macro=no -+ cat >conftest.$ac_ext <<_ACEOF -+/* confdefs.h */ -+_ACEOF -+cat confdefs.h >>conftest.$ac_ext -+cat >>conftest.$ac_ext <<_ACEOF -+/* end confdefs.h. */ -+ -+#if HAVE_STDLIB_H -+# include <string.h> -+#endif -+ -+#ifndef strdup -+ choke me -+#endif - -+main() { exit(0); } -+ -+_ACEOF -+rm -f conftest.o conftest.obj -+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 -+ (eval $ac_compile) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); }; then -+ ac_cv_strdup_macro=yes -+else -+ ac_cv_strdup_macro=no -+fi -+ - else - cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ |