Skip to content

Commit

Permalink
configure: remove unused malloc.h and memalign checks
Browse files Browse the repository at this point in the history
  • Loading branch information
ulmus-scott authored and linuxdude42 committed Jun 29, 2022
1 parent 30f8922 commit 47c6ed9
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions mythtv/configure
Expand Up @@ -1668,7 +1668,6 @@ HEADERS_LIST="
mach_mach_time_h
machine_ioctl_bt848_h
machine_ioctl_meteor_h
malloc_h
mntent_h
opencv2_core_core_c_h
OpenGL_gl3_h
Expand Down Expand Up @@ -1739,7 +1738,6 @@ MATH_FUNCS="

SYSTEM_FUNCS="
access
aligned_malloc
arc4random
clock_gettime
closesocket
Expand Down Expand Up @@ -1772,13 +1770,11 @@ SYSTEM_FUNCS="
lzo1x_999_compress
mach_absolute_time
MapViewOfFile
memalign
mkstemp
mmap
mprotect
nanosleep
PeekNamedPipe
posix_memalign
pthread_cancel
sched_getaffinity
SetConsoleTextAttribute
Expand Down Expand Up @@ -4799,7 +4795,6 @@ case $target_os in
disable dv1394
disable dvb
disable ceton
enable memalign_hack
disable mythtranscode
disable network
enable opengl
Expand Down Expand Up @@ -5676,10 +5671,6 @@ case "$custom_allocator" in
;;
esac

check_func_headers malloc.h _aligned_malloc && enable aligned_malloc
check_func ${malloc_prefix}memalign && enable memalign
check_func ${malloc_prefix}posix_memalign && enable posix_memalign

check_func access
check_func_headers stdlib.h arc4random
check_func_headers time.h clock_gettime ||
Expand Down Expand Up @@ -7098,12 +7089,6 @@ check_deps $CONFIG_LIST \

enabled threads && ! enabled pthreads && ! enabled atomics_native && die "non pthread threading without atomics not supported, try adding --enable-pthreads or --cpu=i486 or higher if you are on x86"


if test $target_os = "haiku"; then
disable memalign
disable posix_memalign
fi

# add_dep lib dep
# -> enable ${lib}_deps_${dep}
# -> add $dep to ${lib}_deps only once
Expand Down

0 comments on commit 47c6ed9

Please sign in to comment.