Lines Matching refs:replace
37 raise ValueError('The option '+name+' should probably be '+name.replace('_', '-'));
41 raise ValueError('The option '+opt+' should probably be '+opt.replace('ifneeded', '1'));
43 if name.find(exc.replace('_','-')) > -1:
44 raise ValueError('The option '+opt+' should be '+opt.replace(exc.replace('_','-'),exc));
70 raise ValueError('The option '+opt+' should probably be '+opt.replace(oldname,newname))
101 name = name.replace(en_dash,'-')
106 name = name.replace('enable-cxx','with-clanguage=C++',1)
110 name = head.replace('enable-cxx','with-clanguage=C',1)
112 name = head.replace('enable-cxx','with-clanguage=C++',1)
117 name = name.replace('disable-cxx','with-clanguage=C',1)
121 name = head.replace('disable-cxx','with-clanguage=C++',1)
123 name = head.replace('disable-cxx','with-clanguage=C',1)
129 name = name.replace('enable-','with-',1)+'=1'
132 name = head.replace('enable-','with-',1)+'='+tail
135 name = name.replace('disable-','with-',1)+'=0'
139 name = head.replace('disable-','with-',1)+'='+tail
142 name = name.replace('without-','with-',1)+'=0'
146 name = head.replace('without-','with-',1)+'='+tail
155 name = name.replace('download-petsc4py','with-petsc4py')
156 name = name.replace('download-slepc4py','with-slepc4py')
157 name = name.replace('with-openmpi','with-mpi')
158 name = name.replace('with-mpich','with-mpi')
159 name = name.replace('with-blas-lapack','with-blaslapack')
160 name = name.replace('with-cuda-gencodearch','with-cuda-arch')
161 name = name.replace('download-hdf5-fortran-bindings','with-hdf5-fortran-bindings')
165 name = name.replace('with-debug','with-debugging')+'=1'
168 name = head.replace('with-debug','with-debugging')+'='+tail
172 name = name.replace('with-shared','with-shared-libraries')+'=1'
175 name = head.replace('with-shared','with-shared-libraries')+'='+tail
193 name = name.replace(i+'=',j+'=')
195 name = name.replace(i.lower()+'=',j.lower()+'=')