8000 flex/configure.ac at master · andyzhou192/flex · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
{"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"doc","path":"doc","contentType":"directory"},{"name":"examples","path":"examples","contentType":"directory"},{"name":"lib","path":"lib","contentType":"directory"},{"name":"m4","path":"m4","contentType":"directory"},{"name":"po","path":"po","contentType":"directory"},{"name":"src","path":"src","contentType":"directory"},{"name":"tests","path":"tests","contentType":"directory"},{"name":"tools","path":"tools","contentType":"directory"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":".indent.pro","path":".indent.pro","contentType":"file"},{"name":".mailmap","path":".mailmap","contentType":"file"},{"name":".prev-version","path":".prev-version","contentType":"file"},{"name":"AUTHORS","path":"AUTHORS","contentType":"file"},{"name":"CODE_OF_CONDUCT.md","path":"CODE_OF_CONDUCT.md","contentType":"file"},{"name":"COPYING","path":"COPYING","contentType":"file"},{"name":"Makefile.am","path":"Makefile.am","contentType":"file"},{"name":"NEWS","path":"NEWS","contentType":"file"},{"name":"ONEWS","path":"ONEWS","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"THANKS","path":"THANKS","contentType":"file"},{"name":"autogen.sh","path":"autogen.sh","contentType":"file"},{"name":"configure.ac","path":"configure.ac","contentType":"file"},{"name":"control.ac","path":"control.ac","contentType":"file"}],"totalCount":23}},"fileTreeProcessingTime":1.764458,"foldersToFetch":[],"incompleteFileTree":false,"repo":{"id":108390752,"defaultBranch":"master","name":"flex","ownerLogin":"andyzhou192","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2017-10-26T09:31:06.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/3654759?v=4","public":true,"private":false,"isOrgOwned":false},"codeLineWrapEnabled":false,"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"master","listCacheKey":"v0:1617041318.118884","canEdit":false,"refType":"branch","currentOid":"0db9f8903a446e7026874be519b8dc55a471f014"},"path":"configure.ac","currentUser":null,"blob":{"rawLines":["# -*- Autoconf -*-","# Process this file with autoconf to produce a configure script.","","# This file is part of flex.","","# Redistribution and use in source and binary forms, with or without","# modification, are permitted provided that the following conditions","# are met:","","# 1. Redistributions of source code must retain the above copyright","# notice, this list of conditions and the following disclaimer.","# 2. Redistributions in binary form must reproduce the above copyright","# notice, this list of conditions and the following disclaimer in the","# documentation and/or other materials provided with the distribution.","","# Neither the name of the University nor the names of its contributors","# may be used to endorse or promote products derived from this software","# without specific prior written permission.","","# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR","# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED","# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR","# PURPOSE.","","# autoconf requirements and initialization","","AC_INIT([the fast lexical analyser generator],[2.6.4],[flex-help@lists.sourceforge.net],[flex])","AC_PREREQ([2.60])","AC_CONFIG_SRCDIR([src/scan.l])","AC_CONFIG_AUX_DIR([build-aux])","AC_USE_SYSTEM_EXTENSIONS","LT_INIT","AM_INIT_AUTOMAKE([1.15 -Wno-portability foreign std-options dist-lzip parallel-tests subdir-objects])","AC_CONFIG_HEADER([src/config.h])","AC_CONFIG_LIBOBJ_DIR([lib])","AC_CONFIG_MACRO_DIR([m4])","SHARED_VERSION_INFO=\"2:0:0\"","AC_SUBST(SHARED_VERSION_INFO)","","# checks for programs","","AM_GNU_GETTEXT([external])","AM_GNU_GETTEXT_VERSION([0.19.7])","AC_PROG_YACC","AS_IF([test \"$YACC\" != 'bison -y'], [","\tYACC=\"\\${top_srcdir}/build-aux/missing bison -y\"","\tAC_MSG_NOTICE(no bison program found: only required for maintainers)","\t])","AM_CONDITIONAL([HAVE_BISON], [test \"$YACC\" = 'bison -y'])","AM_PROG_LEX","AC_PROG_CC","AX_PROG_CC_FOR_BUILD","AC_PROG_CXX","AM_PROG_CC_C_O","AC_PROG_LN_S","AC_PROG_AWK","AC_PROG_INSTALL","","pkgconfigdir=${libdir}/pkgconfig","AC_SUBST(pkgconfigdir)","","# allow passing a variable `WARNINGFLAGS',","# either when invoking `configure', or when invoking `make'","# default to something useful if GCC was detected","","AC_ARG_ENABLE([warnings],"," [AS_HELP_STRING([--enable-warnings],"," [enable a bunch of compiler warning flags (defaults to GCC warning flags).])],"," [AS_IF([test \"x$GCC\" = xyes],"," [ : ${WARNINGFLAGS=\"-Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -Wold-style-definition -Wredundant-decls -Wconversion -Wno-unused-but-set-variable\"} ])])","","AC_SUBST([WARNINGFLAGS])","","AC_ARG_ENABLE([libfl],"," [AS_HELP_STRING([--disable-libfl],"," [do not build -lfl runtime support library])],"," [], [enable_libfl=yes])","AM_CONDITIONAL([ENABLE_LIBFL], [test \"x$enable_libfl\" = xyes])","","# --disable-bootstrap is intended only to workaround problems with bootstrap","# (e.g. when cross-compiling flex or when bootstrapping has bugs).","# Ideally we should be able to bootstrap even when cross-compiling.","AC_ARG_ENABLE([bootstrap],"," [AS_HELP_STRING([--disable-bootstrap],"," [don't perform a bootstrap when building flex])],"," [], [enable_bootstrap=yes])","AM_CONDITIONAL([ENABLE_BOOTSTRAP], [test \"x$enable_bootstrap\" = xyes])","","AM_CONDITIONAL([CROSS], [test \"x$cross_compiling\" = xyes])","","AC_PATH_PROG([HELP2MAN], help2man, [\\${top_srcdir}/build-aux/missing help2man])"," AS_IF([test \"$HELP2MAN\" = \"\\${top_srcdir}/build-aux/missing help2man\"],"," AC_MSG_WARN(help2man: program not found: building man page will not work)"," )","","AC_PATH_PROGS([TEXI2DVI], [gtexi2dvi texi2dvi], [\\${top_srcdir}/build-aux/missing texi2dvi])"," AS_IF([test \"$TEXI2DVI\" = \"\\${top_srcdir}/build-aux/missing texi2dvi\"],"," AC_MSG_WARN(texi2dvi: program not found: building pdf version of manual will not work)"," )","","# Check for a m4 that supports -P","","AC_CACHE_CHECK([for m4 that supports -P], [ac_cv_path_M4],","[AC_PATH_PROGS_FEATURE_CHECK([M4], [gm4 gnum4 m4],"," [[m4out=`echo 'm''4_divnum' | $ac_path_M4 -P`]"," [test \"x$m4out\" = x0 \\"," \u0026\u0026 ac_cv_path_M4=$ac_path_M4 ac_path_M4_found=:]],"," [AC_MSG_ERROR([could not find m4 that supports -P])])])","AC_SUBST([M4], [$ac_cv_path_M4])","AC_DEFINE_UNQUOTED([M4], [\"$M4\"], [Define to the m4 executable name.])","","AC_PATH_PROG([INDENT], indent, [\\${top_srcdir}/build-aux/missing indent])"," AC_MSG_CHECKING(if $INDENT is GNU indent)"," AS_IF([$INDENT --version 2\u003e/dev/null | head -n 1 | grep \"GNU indent\" \u003e/dev/null],"," [AC_MSG_RESULT(yes)],"," [AC_MSG_RESULT(no)"," AC_MSG_WARN($INDENT does not appear to be GNU indent; 'make indent' may not function properly)"," ])","","# checks for headers","","AC_CHECK_HEADERS([regex.h strings.h sys/stat.h sys/wait.h unistd.h], [],"," [AC_MSG_ERROR(required header not found on your system)])","","AC_CHECK_HEADERS([inttypes.h libintl.h limits.h locale.h malloc.h netinet/in.h])","","# checks for libraries","","# The test test-pthread uses libpthread, so we check for it here, but","# all we need is the preprocessor symbol defined since we don't need","# LIBS to include libpthread for building flex.","","LIBPTHREAD=''","AC_CHECK_LIB(pthread, pthread_mutex_lock,"," [AC_CHECK_HEADERS([pthread.h], [LIBPTHREAD=-lpthread],"," [AC_MSG_WARN([pthread tests will be skipped])])],"," [AC_MSG_WARN([pthread tests will be skipped])])","AC_SUBST([LIBPTHREAD])","","AC_CHECK_LIB(m, log10)","","# Checks for typedefs, structures, and compiler characteristics.","","AC_HEADER_STDBOOL","AC_C_CONST","AC_TYPE_SIZE_T","","# Checks for library functions.","","AC_FUNC_ALLOCA","AC_FUNC_FORK","dnl Autoconf bug: AC_FUNC_MALLOC and AC_FUNC_REALLOC might not warn of cross","dnl compilation. Workaround this.","AC_FUNC_MALLOC","AS_IF([test \"$cross_compiling\" = yes],"," AC_MSG_WARN([result $ac_cv_func_malloc_0_nonnull guessed because of cross compilation]))","AC_FUNC_REALLOC","AS_IF([test \"$cross_compiling\" = yes],"," AC_MSG_WARN([result $ac_cv_func_realloc_0_nonnull guessed because of cross compilation]))","","AC_CHECK_FUNCS([dup2 dnl","memset dnl","regcomp dnl","strcasecmp dnl","strchr dnl","strdup dnl","strtol dnl","], [], [AC_MSG_ERROR(required library function not found on your system)])","","# Optional library functions","AC_CHECK_FUNCS([dnl","pow dnl Used only by \"examples/manual/expr\"","setlocale dnl Needed only if NLS is enabled","reallocarr dnl NetBSD function. Use reallocarray if not available.","reallocarray dnl OpenBSD function. We have replacement if not available.","])","","AC_CONFIG_FILES(","Makefile","doc/Makefile","examples/Makefile","examples/fastwc/Makefile","examples/manual/Makefile","po/Makefile.in","src/libfl.pc","src/Makefile","tools/Makefile","tests/Makefile",")","","AC_OUTPUT"],"stylingDirectives":null,"colorizedLines":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/andyzhou192/flex/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":"configure.ac","displayUrl":"https://github.com/andyzhou192/flex/blob/master/configure.ac?raw=true","headerInfo":{"blobSize":"6.47 KB","deleteTooltip":"You must be signed in to make or propose changes","editTooltip":"You must be signed in to make or propose changes","ghDesktopPath":"https://desktop.github.com","isGitLfs":false,"onBranch":true,"shortPath":"3c977a4","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fandyzhou192%2Fflex%2Fblob%2Fmaster%2Fconfigure.ac","isCSV":false,"isRichtext":false,"toc":null,"lineInfo":{"truncatedLoc":"191","truncatedSloc":"155"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplate":null,"discussionTemplate":null,"language":"M4Sugar","languageID":216,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/andyzhou192/flex/blob/master/configure.ac","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/andyzhou192/flex/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/andyzhou192/flex/raw/refs/heads/master/configure.ac","renderImageOrRaw":false,"richText":null,"renderedFileInfo":null,"shortPath":null,"symbolsEnabled":true,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":{"timed_out":false,"not_analyzed":true,"symbols":[]}},"copilotInfo":null,"copilotAccessAllowed":false,"modelsAccessAllowed":false,"modelsRepoIntegrationEnabled":false,"csrf_tokens":{"/andyzhou192/flex/branches":{"post":"xVhrl92neiHqgz_gNSKZbvIFrtb8jvLaAgTwuZ7ltxj-6yEsW7kLLEmKCee_Pgyot1qs2pGjbJHCUoC7mKlr5A"},"/repos/preferences":{"post":"mPpmoLSF_vB9bfJ49J_XxzXvbnlVYgZup07SFyBSgEBtY6LyssP9LJmLJ8oKtLxPA2mcUVA4V_dVv44vQxANkg"}}},"title":"flex/configure.ac at master · andyzhou192/flex","appPayload":{"helpUrl":"https://docs.github.com","findFileWorkerPath":"/assets-cdn/worker/find-file-worker-7d7eb7c71814.js","findInFileWorkerPath":"/assets-cdn/worker/find-in-file-worker-1ae9fa256942.js","githubDevUrl":null,"enabled_features":{"code_nav_ui_events":false,"react_blob_overlay":false,"accessible_code_button":true,"github_models_repo_integration":false}}}
0