This repository was archived by the owner on Oct 10, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ disconfopts=""
103103confopts=" python_majorversion=`\" $PYTHONHOME\\python\" -c 'import sys; print(sys.version_info.major)'`"
104104opts=`" $PGPATH/bin/pg_config" --configure | grep -Eo " '[^']*'|[^' ]*" | sed -e " s/^'//" -e " s/'$//" `
105105while read -r opt; do
106- case " $opt" in --with-*=*) ;; --with-* | --enable-*) opt=" ${opt/#--/}" ; opt=" ${opt//-/_}" confopts=" $confopts $opt=yes " ;; esac;
106+ case " $opt" in --with-*=* | --enable-nls* ) ;; --with-* | --enable-*) opt=" ${opt/#--/}" ; opt=" ${opt//-/_}" confopts=" $confopts $opt=yes " ;; esac;
107107 case " $opt" in --disable-dependency-tracking | --disable-rpath) ;; --disable-*) disconfopts=" $disconfopts $opt" ;; esac;
108108done <<< " $opts" ;
109109echo " confopts: $confopts"
Original file line number Diff line number Diff line change 141141disconfopts=" "
142142opts=` $1 /bin/pg_config --configure | grep -Eo " '[^']*'|[^' ]*" | sed -e " s/^'//" -e " s/'$//" `
143143while read -r opt; do
144- case " $opt " in --with-* =* ) ;; --with-* | --enable-* ) opt=" ${opt/# --/ } " ; opt=" ${opt// -/ _} " confopts=" $confopts $opt =yes " ;; esac ;
144+ case " $opt " in --with-* =* | --enable-nls * ) ;; --with-* | --enable-* ) opt=" ${opt/# --/ } " ; opt=" ${opt// -/ _} " confopts=" $confopts $opt =yes " ;; esac ;
145145 case " $opt " in --disable-dependency-tracking | --disable-rpath) ;; --disable-* ) disconfopts=" $disconfopts $opt " ;; esac ;
146146done <<< " $opts" ;
147147
You can’t perform that action at this time.
0 commit comments