{"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"VisualC-WinRT","path":"VisualC-WinRT","contentType":"directory"},{"name":"VisualC","path":"VisualC","contentType":"directory"},{"name":"Xcode-iOS","path":"Xcode-iOS","contentType":"directory"},{"name":"Xcode","path":"Xcode","contentType":"directory"},{"name":"acinclude","path":"acinclude","contentType":"directory"},{"name":"android-project-ant","path":"android-project-ant","contentType":"directory"},{"name":"android-project","path":"android-project","contentType":"directory"},{"name":"build-scripts","path":"build-scripts","contentType":"directory"},{"name":"cmake","path":"cmake","contentType":"directory"},{"name":"debian","path":"debian","contentType":"directory"},{"name":"docs","path":"docs","contentType":"directory"},{"name":"include","path":"include","contentType":"directory"},{"name":"src","path":"src","contentType":"directory"},{"name":"test","path":"test","contentType":"directory"},{"name":"visualtest","path":"visualtest","contentType":"directory"},{"name":"wayland-protocols","path":"wayland-protocols","contentType":"directory"},{"name":".hgignore","path":".hgignore","contentType":"file"},{"name":"Android.mk","path":"Android.mk","contentType":"file"},{"name":"BUGS.txt","path":"BUGS.txt","contentType":"file"},{"name":"CMakeLists.txt","path":"CMakeLists.txt","contentType":"file"},{"name":"COPYING.txt","path":"COPYING.txt","contentType":"file"},{"name":"CREDITS.txt","path":"CREDITS.txt","contentType":"file"},{"name":"INSTALL.txt","path":"INSTALL.txt","contentType":"file"},{"name":"Makefile.in","path":"Makefile.in","contentType":"file"},{"name":"Makefile.minimal","path":"Makefile.minimal","contentType":"file"},{"name":"Makefile.os2","path":"Makefile.os2","contentType":"file"},{"name":"Makefile.pandora","path":"Makefile.pandora","contentType":"file"},{"name":"Makefile.psp","path":"Makefile.psp","contentType":"file"},{"name":"Makefile.wiz","path":"Makefile.wiz","contentType":"file"},{"name":"README-SDL.txt","path":"README-SDL.txt","contentType":"file"},{"name":"README.txt","path":"README.txt","contentType":"file"},{"name":"SDL2.spec.in","path":"SDL2.spec.in","contentType":"file"},{"name":"SDL2Config.cmake","path":"SDL2Config.cmake","contentType":"file"},{"name":"TODO.txt","path":"TODO.txt","contentType":"file"},{"name":"VisualC.html","path":"VisualC.html","contentType":"file"},{"name":"WhatsNew.txt","path":"WhatsNew.txt","contentType":"file"},{"name":"autogen.sh","path":"autogen.sh","contentType":"file"},{"name":"cmake_uninstall.cmake.in","path":"cmake_uninstall.cmake.in","contentType":"file"},{"name":"configure","path":"configure","contentType":"file"},{"name":"configure.ac","path":"configure.ac","contentType":"file"},{"name":"sdl2-config-version.cmake.in","path":"sdl2-config-version.cmake.in","contentType":"file"},{"name":"sdl2-config.cmake.in","path":"sdl2-config.cmake.in","contentType":"file"},{"name":"sdl2-config.in","path":"sdl2-config.in","contentType":"file"},{"name":"sdl2.m4","path":"sdl2.m4","contentType":"file"},{"name":"sdl2.pc.in","path":"sdl2.pc.in","contentType":"file"}],"totalCount":45}},"fileTreeProcessingTime":5.380064,"foldersToFetch":[],"repo":{"id":330008801,"defaultBranch":"main","name":"SDL","ownerLogin":"libsdl-org","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2021-01-15T19:55:54.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/77683370?v=4","public":true,"private":false,"isOrgOwned":true},"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"99f87a71583bb86329c7fac393819e62772efd4f","listCacheKey":"v0:1709678518.0","canEdit":false,"refType":"tree","currentOid":"99f87a71583bb86329c7fac393819e62772efd4f"},"path":"sdl2-config.in","currentUser":null,"blob":{"rawLines":["#!/bin/sh","","prefix=@prefix@","exec_prefix=@exec_prefix@","exec_prefix_set=no","libdir=@libdir@","","@ENABLE_STATIC_FALSE@usage=\"\\","@ENABLE_STATIC_FALSE@Usage: $0 [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--libs]\"","@ENABLE_STATIC_TRUE@usage=\"\\","@ENABLE_STATIC_TRUE@Usage: $0 [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--libs] [--static-libs]\"","","if test $# -eq 0; then"," echo \"${usage}\" 1>&2"," exit 1","fi","","while test $# -gt 0; do"," case \"$1\" in"," -*=*) optarg=`echo \"$1\" | sed 's/[-_a-zA-Z0-9]*=//'` ;;"," *) optarg= ;;"," esac",""," case $1 in"," --prefix=*)"," prefix=$optarg"," if test $exec_prefix_set = no ; then"," exec_prefix=$optarg"," fi"," ;;"," --prefix)"," echo $prefix"," ;;"," --exec-prefix=*)"," exec_prefix=$optarg"," exec_prefix_set=yes"," ;;"," --exec-prefix)"," echo $exec_prefix"," ;;"," --version)"," echo @SDL_VERSION@"," ;;"," --cflags)"," echo -I@includedir@/SDL2 @SDL_CFLAGS@"," ;;","@ENABLE_SHARED_TRUE@ --libs)","@ENABLE_SHARED_TRUE@ echo -L@libdir@ @SDL_RLD_FLAGS@ @SDL_LIBS@","@ENABLE_SHARED_TRUE@ ;;","@ENABLE_STATIC_TRUE@@ENABLE_SHARED_TRUE@ --static-libs)","@ENABLE_STATIC_TRUE@@ENABLE_SHARED_FALSE@ --libs|--static-libs)","@ENABLE_STATIC_TRUE@ echo -L@libdir@ @SDL_STATIC_LIBS@","@ENABLE_STATIC_TRUE@ ;;"," *)"," echo \"${usage}\" 1>&2"," exit 1"," ;;"," esac"," shift","done"],"stylingDirectives":[[{"start":0,"end":9,"cssClass":"pl-c"},{"start":0,"end":2,"cssClass":"pl-c"}],[],[],[],[],[],[],[{"start":27,"end":29,"cssClass":"pl-s"},{"start":27,"end":28,"cssClass":"pl-pds"},{"start":28,"end":29,"cssClass":"pl-cce"}],[{"start":0,"end":102,"cssClass":"pl-s"},{"start":28,"end":30,"cssClass":"pl-smi"},{"start":101,"end":102,"cssClass":"pl-pds"}],[{"start":26,"end":28,"cssClass":"pl-s"},{"start":26,"end":27,"cssClass":"pl-pds"},{"start":27,"end":28,"cssClass":"pl-cce"}],[{"start":0,"end":117,"cssClass":"pl-s"},{"start":27,"end":29,"cssClass":"pl-smi"},{"start":116,"end":117,"cssClass":"pl-pds"}],[],[{"start":0,"end":2,"cssClass":"pl-k"},{"start":3,"end":7,"cssClass":"pl-c1"},{"start":8,"end":10,"cssClass":"pl-smi"},{"start":16,"end":17,"cssClass":"pl-k"},{"start":18,"end":22,"cssClass":"pl-k"}],[{"start":6,"end":10,"cssClass":"pl-c1"},{"start":11,"end":21,"cssClass":"pl-s"},{"start":11,"end":12,"cssClass":"pl-pds"},{"start":12,"end":20,"cssClass":"pl-smi"},{"start":20,"end":21,"cssClass":"pl-pds"},{"start":22,"end":26,"cssClass":"pl-k"}],[{"start":6,"end":10,"cssClass":"pl-c1"}],[{"start":0,"end":2,"cssClass":"pl-k"}],[],[{"start":0,"end":5,"cssClass":"pl-k"},{"start":6,"end":10,"cssClass":"pl-c1"},{"start":11,"end":13,"cssClass":"pl-smi"},{"start":19,"end":20,"cssClass":"pl-k"},{"start":21,"end":23,"cssClass":"pl-k"}],[{"start":2,"end":6,"cssClass":"pl-k"},{"start":7,"end":11,"cssClass":"pl-s"},{"start":7,"end":8,"cssClass":"pl-pds"},{"start":8,"end":10,"cssClass":"pl-smi"},{"start":10,"end":11,"cssClass":"pl-pds"},{"start":12,"end":14,"cssClass":"pl-k"}],[{"start":3,"end":4,"cssClass":"pl-k"},{"start":5,"end":6,"cssClass":"pl-k"},{"start":15,"end":54,"cssClass":"pl-s"},{"start":15,"end":16,"cssClass":"pl-pds"},{"start":21,"end":25,"cssClass":"pl-s"},{"start":21,"end":22,"cssClass":"pl-pds"},{"start":22,"end":24,"cssClass":"pl-smi"},{"start":24,"end":25,"cssClass":"pl-pds"},{"start":26,"end":27,"cssClass":"pl-k"},{"start":32,"end":53,"cssClass":"pl-s"},{"start":32,"end":33,"cssClass":"pl-pds"},{"start":52,"end":53,"cssClass":"pl-pds"},{"start":53,"end":54,"cssClass":"pl-pds"}],[{"start":2,"end":3,"cssClass":"pl-k"}],[{"start":2,"end":6,"cssClass":"pl-k"}],[],[{"start":2,"end":6,"cssClass":"pl-k"},{"start":7,"end":9,"cssClass":"pl-smi"},{"start":10,"end":12,"cssClass":"pl-k"}],[{"start":13,"end":14,"cssClass":"pl-k"}],[{"start":13,"end":20,"cssClass":"pl-smi"}],[{"start":6,"end":8,"cssClass":"pl-k"},{"start":9,"end":13,"cssClass":"pl-c1"},{"start":14,"end":30,"cssClass":"pl-smi"},{"start":36,"end":37,"cssClass":"pl-k"},{"start":38,"end":42,"cssClass":"pl-k"}],[{"start":20,"end":27,"cssClass":"pl-smi"}],[{"start":6,"end":8,"cssClass":"pl-k"}],[],[],[{"start":6,"end":10,"cssClass":"pl-c1"},{"start":11,"end":18,"cssClass":"pl-smi"}],[],[{"start":18,"end":19,"cssClass":"pl-k"}],[{"start":18,"end":25,"cssClass":"pl-smi"}],[],[],[],[{"start":6,"end":10,"cssClass":"pl-c1"},{"start":11,"end":23,"cssClass":"pl-smi"}],[],[],[{"start":6,"end":10,"cssClass":"pl-c1"}],[],[],[{"start":6,"end":10,"cssClass":"pl-c1"}],[],[],[{"start":26,"end":30,"cssClass":"pl-c1"}],[],[],[{"start":51,"end":52,"cssClass":"pl-k"}],[{"start":26,"end":30,"cssClass":"pl-c1"}],[],[{"start":4,"end":5,"cssClass":"pl-k"}],[{"start":6,"end":10,"cssClass":"pl-c1"},{"start":11,"end":21,"cssClass":"pl-s"},{"start":11,"end":12,"cssClass":"pl-pds"},{"start":12,"end":20,"cssClass":"pl-smi"},{"start":20,"end":21,"cssClass":"pl-pds"},{"start":22,"end":26,"cssClass":"pl-k"}],[{"start":6,"end":10,"cssClass":"pl-c1"}],[],[{"start":2,"end":6,"cssClass":"pl-k"}],[{"start":2,"end":7,"cssClass":"pl-c1"}],[{"start":0,"end":4,"cssClass":"pl-k"}]],"colorizedLines":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/libsdl-org/SDL/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":"sdl2-config.in","displayUrl":"https://github.com/libsdl-org/SDL/blame/99f87a71583bb86329c7fac393819e62772efd4f/sdl2-config.in?raw=true","headerInfo":{"blobSize":"1.38 KB","deleteTooltip":"You must be signed in to make or propose changes","editTooltip":"You must be signed in to make or propose changes","ghDesktopPath":null,"isGitLfs":false,"onBranch":false,"shortPath":"98d6e06","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Flibsdl-org%2FSDL%2Fblame%2F99f87a71583bb86329c7fac393819e62772efd4f%2Fsdl2-config.in","isCSV":false,"isRichtext":false,"toc":null,"lineInfo":{"truncatedLoc":"60","truncatedSloc":"55"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplate":null,"discussionTemplate":null,"language":"Shell","languageID":346,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/libsdl-org/SDL/blame/99f87a71583bb86329c7fac393819e62772efd4f/sdl2-config.in","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/libsdl-org/SDL/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/libsdl-org/SDL/raw/99f87a71583bb86329c7fac393819e62772efd4f/sdl2-config.in","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":true,"not_analyzed":false,"symbols":[]}},"copilotInfo":null,"copilotAccessAllowed":false,"blame":{"ranges":{"1":{"start":1,"oldStart":1,"end":51,"oldEnd":51,"commitOid":"0e45984fa036fff1912c62fee3ed4f5481f3c324","reblamePath":null},"52":{"start":52,"oldStart":52,"end":52,"oldEnd":52,"commitOid":"99f87a71583bb86329c7fac393819e62772efd4f","reblamePath":"sdl2-config.in"},"53":{"start":53,"oldStart":53,"end":60,"oldEnd":60,"commitOid":"0e45984fa036fff1912c62fee3ed4f5481f3c324","reblamePath":null}},"commits":{"0e45984fa036fff1912c62fee3ed4f5481f3c324":{"oid":"0e45984fa036fff1912c62fee3ed4f5481f3c324","message":"Fixed crash if initialization of EGL failed but was tried again later.\n\nThe internal function SDL_EGL_LoadLibrary() did not delete and remove a mostly\nuninitialized data structure if loading the library first failed. A later try to\nuse EGL then skipped initialization and assumed it was previously successful\nbecause the data structure now already existed. This led to at least one crash\nin the internal function SDL_EGL_ChooseConfig() because a NULL pointer was\ndereferenced to make a call to eglBindAPI().","shortMessageHtmlLink":"Fixed crash if initialization of EGL failed but was tried again later.","authorAvatarUrl":"https://avatars.githubusercontent.com/u/5358527?s=80&v=4","committerName":"Philipp Wiesemann","committerEmail":"philipp.wiesemann@arcor.de","committedDate":"2015-06-21T17:33:46.000+02:00","firstParentOid":null},"99f87a71583bb86329c7fac393819e62772efd4f":{"oid":"99f87a71583bb86329c7fac393819e62772efd4f","message":"build: Merge pkg-config Libs.private into Libs for static-only builds\n\nA project being built entirely statically will call pkg-config with\n--static, which utilises the Libs.private field. Conversely it will\nnot use --static when not being built entirely statically, even if\nthere is only a static build of SDL available. This will most likely\ncause the build to fail due to underlinking unless we merge the Libs\nfields.\n\nThis is what the Meson build system does when it generates pkg-config\nfiles. This also also follows the behaviour of sdl2-config.\n\nAt the same time, the runtime linker flags are not applicable to\nstatic-only builds so only add them for shared builds.","shortMessageHtmlLink":"build: Merge pkg-config Libs.private into Libs for static-only builds","authorAvatarUrl":"https://avatars.githubusercontent.com/u/35072?s=80&v=4","committerName":"James Le Cuirot","committerEmail":"chewi@gentoo.org","committedDate":"2020-04-11T23:38:34.000+01:00","firstParentOid":"bd7b4f39ed804dd7c6ed06f7255e59dde4b22c46"}},"ignoreRevs":{"path":".git-blame-ignore-revs","present":false,"timedOut":null}},"csrf_tokens":{"/libsdl-org/SDL/branches":{"post":"_ioik-suiYRquDwid-PsiK-InrfvhfiRHlvCJaiQRmI3Sz-41ktySMsxgdg-gTv4ddd992Q1evSCIr74bFZMHg"},"/repos/preferences":{"post":"3mZhosi-TfSMyHRNVf1_G4x1ZuU8FJEaeE5LPAK9k4TUZq0Usm-QGiKQeJpkG7pnG9Wq9GDj-KzMj0cdCKwlsw"}}},"title":"Blaming SDL/sdl2-config.in at 99f87a71583bb86329c7fac393819e62772efd4f ยท libsdl-org/SDL"}