cmake HAVE_ALLOCA examples

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"
)

etternagame/etterna extern/fftw-3.3.8/CMakeLists.txt :78

check_symbol_exists (alloca alloca.h HAVE_ALLOCA)

etternagame/etterna extern/fftw-3.3.8/CMakeLists.txt :80

unset (HAVE_ALLOCA CACHE)

etternagame/etterna extern/fftw-3.3.8/CMakeLists.txt :81

check_symbol_exists (alloca malloc.h HAVE_ALLOCA)

SWI-Prolog/swipl-devel cmake/GCCBuiltins.cmake :41

check_c_source_compiles(
    "#include <alloca.h>\nint main() { char *s = alloca(10); return s!=0; }"
    HAVE_ALLOCA)

Unidata/netcdf-c CMakeLists.txt :1214

CHECK_SYMBOL_EXISTS(alloca "alloca.h" HAVE_ALLOCA)

inolen/redream deps/sdl2/CMakeLists.txt :674

check_function_exists(alloca 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)

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

check_function_exists(alloca HAVE_ALLOCA)

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

check_symbol_exists("alloca" "alloca.h" 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)

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

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)

kkos/oniguruma CMakeLists.txt :48

check_symbol_exists(alloca "alloca.h" HAVE_ALLOCA)

kkos/oniguruma CMakeLists.txt :50

check_symbol_exists(alloca "stdlib.h;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)