cmake HAVE_ALLOCA examples

Kitware/VTK ThirdParty/netcdf/vtknetcdf/CMakeLists.txt :191

check_symbol_exists("alloca" "alloca.h" HAVE_ALLOCA)

crossuo/crossuo deps/sdl-2.0.10-c1be3add38/CMakeLists.txt :785

check_function_exists(alloca HAVE_ALLOCA)

MiKTeX/miktex CMakeLists.txt :1285

check_symbol_exists(alloca "malloc.h" HAVE_ALLOCA)

MiKTeX/miktex CMakeLists.txt :1287

check_function_exists(alloca HAVE_ALLOCA)

AtomicGameEngine/AtomicGameEngine Source/ThirdParty/SDL/CMakeLists.txt :579

check_c_source_compiles ("
        #include <alloca.h>
        int main(int argc, char** argv) { alloca(0); }" HAVE_ALLOCA)

urho3d/urho3d Source/ThirdParty/SDL/CMakeLists.txt :615

check_c_source_compiles ("
        #include <alloca.h>
        int main(int argc, char** argv) { alloca(0); }" HAVE_ALLOCA)

u3d-community/U3D Source/ThirdParty/SDL/CMakeLists.txt :969

check_c_source_compiles ("
        #include <alloca.h>
        int main(int argc, char** argv) { alloca(0); }" HAVE_ALLOCA)

spotify/pedalboard vendors/fftw3/CMakeLists.txt :79

check_symbol_exists (alloca alloca.h HAVE_ALLOCA)

spotify/pedalboard vendors/fftw3/CMakeLists.txt :81

unset (HAVE_ALLOCA CACHE)

spotify/pedalboard vendors/fftw3/CMakeLists.txt :82

check_symbol_exists (alloca malloc.h HAVE_ALLOCA)

gazebosim/gazebo-classic deps/opende/CMakeLists.txt :36

CHECK_CXX_SOURCE_COMPILES("#include <alloca.h> 
int main() {alloca(0); return 1;}" HAVE_ALLOCA)

google/filament third_party/libsdl2/CMakeLists.txt :711

check_function_exists(alloca HAVE_ALLOCA)

hlrs-vis/covise src/tools/bison++/CMakeLists.txt :3

ADD_DEFINITIONS(
  -DPACKAGE_NAME=\"FULL-PACKAGE-NAME\"
  -DPACKAGE_TARNAME=\"full-package-name\"
  -DPACKAGE_VERSION=\"VERSION\"
  -DPACKAGE_STRING=\"FULL-PACKAGE-NAME_VERSION\"
  -DDEFPACKAGE_BUGREPORT=\"BUG-REPORT-ADDRESS\"
  -DPACKAGE=\"bison++\"
  -DVERSION=\"2.21.5\"
  -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
  -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
  -DHAVE_ALLOCA_H=1 -DHAVE_MALLOC_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1
  -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_STDLIB_H=1
  -DHAVE_MALLOC=1
  -DXPFILE="${COVISEDIR}/src/tools/bison++/bison.cc"
  -DXHFILE="${COVISEDIR}/src/tools/bison++/bison.h"
  -DXPFILE1="${COVISEDIR}/src/tools/bison++/bison.hairy"
)